PowerPC: Fix compiler warnings
[glibc.git] / ChangeLog
blob39fce07ce352b66c208b54e04abd7e7b2768a1e4
1 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4         [weak_alias]: Fix compiler warning due trailing data.
5         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6         [weak_alias]: Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11         (__libc_ifunc_impl_list): Add memmove functions.
13 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16         Remove code.
17         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
18         Likewise
19         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20         Likewise
21         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22         Likewise
23         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24         Likewise
25         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26         Likewise
27         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28         Likewise
29         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30         Likewise
31         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32         Likewise
33         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34         Likewise
35         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36         Likewise
37         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38         Likewise
39         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40         Likewise
41         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42         Likewise
43         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44         Likewise
45         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46         Likewise
47         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
48         Likewise
50 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
53         to avoid alignment traps in non-cacheable memory.
54         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
57         multiarch objects.
58         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
59         file: multiarch power7 memmove.
60         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
61         multiarch default memmove.
62         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
63         multiarch memove for powerpc32/power4.
65         * string/bcopy.c: Use full path to include memmove.c.
66         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
67         multiarch objects.
68         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
69         bcopy for powerpc64.
70         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
71         bcopy for powerpc64.
72         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
73         and memmove implementations.
74         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
75         optimized multiarch memmove for POWER7/powerpc64.
76         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
77         default multiarch memmove for powerpc64.
78         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
79         multiarch for powerpc64.
80         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
81         for POWER7/powerpc64.
82         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
83         memmove for POWER7/powerpc64.
85         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
86         glibc default one.
88         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
89         __ELF_NATIVE_CLASS equal to 64.
91 2014-07-07  Roland McGrath  <roland@hack.frob.com>
93         * sysdeps/nptl/lowlevellock.h: File removed.
95         * NEWS: NPTL is no longer an add-on!
96         * nptl/internaltypes.h: Moved ...
97         * sysdeps/nptl/internaltypes.h: ... here.
98         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
99         * sysdeps/nptl/fork.c: Likewise.
100         * sysdeps/nptl/gai_misc.h: Likewise.
101         * sysdeps/nptl/librt-cancellation.c: Likewise.
102         * sysdeps/nptl/jmp-unwind.c: Likewise.
103         * sysdeps/nptl/setxid.h: Likewise.
104         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
105         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
106         * sysdeps/unix/sysv/linux/arm/Implies: New file.
107         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
108         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
109         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
110         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
111         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
112         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
113         * sysdeps/unix/sysv/linux/mips/Implies: New file.
114         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
115         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
116         * sysdeps/unix/sysv/linux/sh/Implies: New file.
117         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
118         * sysdeps/unix/sysv/linux/tile/Implies: New file.
119         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
120         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
121         * nptl/Makeconfig: Moved ...
122         * sysdeps/nptl/Makeconfig: ... here.
123         * nptl/configure: File removed.
124         * nptl/ANNOUNCE: File removed.
125         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
126         * sysdeps/unix/sysv/linux/configure: Regenerated.
128         * nptl/Makefile (routines): Add libc_pthread_init,
129         libc_multiple_threads, register-atfork and unregister-atfork.
130         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
131         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
132         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
133         pthread-pi-defines.sym, structsem.sym.
134         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
135         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
136         [$(subdir) = nptl] (tests): Add tst-setgetname.
137         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
138         * sysdeps/unix/sysv/linux/sigaction.c: Just include
139         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
140         [!LIBC_SIGACTION]: Remove aliases.
141         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
142         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
143         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
144         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
145         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
146         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
147         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
148         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
149         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
150         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
151         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
152         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
153         __libc_allocate_rtsig_private.
154         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
155         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
156         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
157         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
158         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
159         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
160         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
161         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
162         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
163         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
164         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
165         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
166         * nptl/internaltypes.h: ... here.
167         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
168         * sysdeps/nptl/jmp-unwind.c: ... here.
169         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
170         * nptl/libc-lowlevellock.c: ... here.
171         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
172         * nptl/libc_multiple_threads.c: ... here.
173         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
174         * nptl/libc_pthread_init.c: ... here.
175         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
176         * nptl/lowlevelbarrier.sym: ... here.
177         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
178         * nptl/lowlevelcond.sym: ... here.
179         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
180         * nptl/lowlevellock.c: ... here.
181         * nptl/lowlevellock.h: Moved ...
182         * sysdeps/nptl/lowlevellock.h: ... here.
183         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
184         * nptl/lowlevelrobustlock.c: ... here.
185         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
186         * nptl/lowlevelrobustlock.sym: ... here.
187         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
188         * nptl/lowlevelrwlock.sym: ... here.
189         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
190         * nptl/pt-fork.c: ... here.
191         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
192         * nptl/pthread-pi-defines.sym: ... here.
193         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
194         * nptl/pthread_attr_getaffinity.c: ... here.
195         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
196         * nptl/pthread_attr_setaffinity.c: ... here.
197         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
198         * nptl/pthread_mutex_cond_lock.c: ... here.
199         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
200         Update #include.
201         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
202         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
203         * nptl/pthread_once.c: ... here, replacing old file.
204         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
205         * nptl/pthread_yield.c: ... here.
206         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
207         * nptl/register-atfork.c: ... here.
208         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
209         * nptl/sem_post.c: ... here.
210         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
211         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
212         * nptl/sem_timedwait.c: ... here.
213         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
214         * nptl/sem_trywait.c: ... here.
215         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
216         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
217         * nptl/sem_wait.c: ... here.
218         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
219         * nptl/structsem.sym: ... here.
220         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
221         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
222         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
223         * nptl/unregister-atfork.c: ... here.
224         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
225         * nptl/unwindbuf.sym: ... here.
226         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
227         * sysdeps/nptl/fork.c: ... here.
228         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
229         * sysdeps/nptl/fork.h: ... here.
230         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
231         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
232         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
233         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
234         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
235         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
236         * sysdeps/unix/sysv/linux/getpid.c: ... here.
237         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
238         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
239         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
240         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
241         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
242         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
243         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
244         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
245         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
246         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
247         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
248         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
249         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
250         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
251         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
252         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
253         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
254         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
255         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
256         * sysdeps/unix/sysv/linux/raise.c: ... here.
257         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
258         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
259         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
260         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
261         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
262         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
263         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
264         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
265         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
266         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
267         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
268         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
269         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
270         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
271         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
273 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
275         * sysdeps/generic/memcopy.h: Add comment for
276         MEMCPY_OK_FOR_FWD_MEMMOVE.
278 2014-07-04  Will Newton  <will.newton@linaro.org>
280         * string/memchr.c: Merge from gnulib.
281         [_LIBC]: Remove conditionals.
282         (__ptr_t): Remove define.
283         (LONG_MAX_32_BITS): Likewise.
284         (LONG_MAX): Likewise.
285         (MEMCHR): Use ANSI prototype and optimize algorithm.
287         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
289 2014-07-03  Roland McGrath  <roland@hack.frob.com>
291         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
292         (lll_futex_timed_wait_bitset): Fix syscall argument count.
294         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
295         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
296         in a bare environment with no <stdlib.h> installed.
297         * sysdeps/nptl/configure: Regenerated.
299         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
301         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
302         AC_EGREP_CPP for kernel header checks, so they only succeed if
303         including <linux/version.h> actually works right.
304         * sysdeps/unix/sysv/linux/configure: Regenerated.
306         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
307         value so it's not diagnosed as unused.
309         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
310         thing) with "ifeq ($(subdir),rt)".
312 2014-07-03  Richard Henderson  <rth@redhat.com>
314         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
315         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
316         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
318         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
319         (math_force_eval): New.
321         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
322         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
324         * sysdeps/alpha/fpu/s_round.c: Remove file.
325         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
327         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
328         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
329         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
330         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
331         (_dl_start, print_statistics): Likewise.
332         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
333         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
335         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
336         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
337         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
338         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
339         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
340         (HP_SMALL_TIMING_AVAIL): Define.
341         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
342         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
343         (HP_SMALL_TIMING_AVAIL): Define.
344         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
345         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
347         * sysdeps/aarch64/hp-timing.h: New file.
349         * sysdeps/generic/hp-timing.h: Remove dead comment.
350         * sysdeps/generic/hp-timing-common.h: New file.
351         * sysdeps/alpha/hp-timing.h: Include it.
352         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
353         * sysdeps/i386/i686/hp-timing.h: Likewise.
354         * sysdeps/ia64/hp-timing.h: Likewise.
355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
356         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
357         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
358         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
359         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
360         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
361         (hp_timing_t): New.
363         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
364         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
365         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
366         * elf/rtld.c (_dl_start_final): Likewise.
367         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
368         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
369         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
370         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
371         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
373         (HP_TIMING_DIFF_INIT): Remove.
374         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
376         (HP_TIMING_DIFF_INIT): Remove.
377         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
378         * sysdeps/i386/i686/hp-timing.c: Remove file.
379         * sysdeps/x86_64/hp-timing.c: Remove file.
380         * sysdeps/ia64/hp-timing.c: Remove file.
381         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
382         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
383         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
384         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
386         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
387         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
388         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
389         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
390         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
391         (HP_TIMING_ACCUM): Remove.
392         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
393         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
394         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
396         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
397         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
398         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
399         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
400         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
401         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
402         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
403         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
405         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
407 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
409         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
411 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
413         Sync up with gettext.
414         * intl/loadmsgcat.c: Define O_BINARY if not defined.
415         [_MSC_VER]: Include malloc.h
416         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
417         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
418         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
419         TEMP_FAILURE_RETRY.  Cast return of alloca.
420         [!_LIBC] Call gl_rwlock_init.
421         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
423 2014-07-02  Roland McGrath  <roland@hack.frob.com>
425         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
426         before checking its value.
428 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
430         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
432         * debug/memcpy_chk.c: Don't include pagecopy.h.
433         * debug/mempcpy_chk.c: Likewise.
434         * string/memcpy.c: Likewise.
435         * string/memmove.c: Likewise.
436         * sysdeps/powerpc/memmove.c: Likewise.
437         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
438         definition of PAGE_COPY_FWD_MAYBE here...
439         * sysdeps/generic/pagecopy.h: ... from here.
440         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
442 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
443             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
447         optimizations.
448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
449         (__libc_ifunc_impl_list): Likewise.
450         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
451         multiarch strcat for PPC64.
452         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
453         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
455 2014-07-02  Roland McGrath  <roland@hack.frob.com>
457         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
459 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
461         * intl/loadmsgcat.c: Remove declaration of
462         get_sysdep_segment_value.
463         (get_sysdep_segment_value): Use ISO C style.
464         (_nl_load_domain): Use ISO C style.  Get rid of redundant
465         semicolon.  Fix typo and formatting in comment.
466         (_nl_unload_domain): Use ISO C style.
468         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
470 2014-07-02  Will Newton  <will.newton@linaro.org>
472         * malloc/obstack.c: Merge from gnulib master.
473         [HAVE_CONFIG_H]: Remove conditional code.
474         [!_LIBC]: Include config.h.
475         [!ELIDE_CODE]: Don't include inttypes.h, include
476         stdint.h unconditionally.
477         (print_and_abort): Mark as _Noreturn.
478         (_obstack_allocated_p): Mark as __attribute_pure__.
479         (obstack_free): Rename to __obstack_free.
480         [!__attribute__]: Remove conditional code.
481         * malloc/obstack.h: Merge from gnulib master.
482         [__cplusplus]: Move conditional down.
483         [!__attribute_pure__]: Define __attribute_pure__ here
484         if it is not already defined.
485         (_obstack_memory_used): Mark as __attribute_pure__.
486         [!__obstack_free]: Define as obstack_free.
487         [__GNUC__]: Remove check for ancient NeXT gcc.
489 2014-07-02  Will Newton  <will.newton@linaro.org>
490             Paul Eggert  <eggert@cs.ucla.edu>
492         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
494 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
496         * resolv/gethnamaddr.c: Add comment warning that the file is
497         not maintained.
499 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
501         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
502         entries.
504         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
505         entry for aio_cancel and aio_cancel64.
506         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
507         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
508         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
509         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
510         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
511         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
512         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
513         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
514         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
515         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
516         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
517         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
518         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
520 2014-07-01  Roland McGrath  <roland@hack.frob.com>
522         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
523         * nptl/pthread_mutex_lock.c: Likewise.
524         * nptl/pthread_mutex_timedlock.c: Likewise.
525         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
527 2014-07-01  Richard henderson  <rth@redhat.com>
529         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
530         (__isnan, __isnanl): Remove.
531         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
533         * sysdeps/alpha/fpu/libm-test-ulps: Update.
535 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
539 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
541         * resolv/nss_dns/dns-host.c (getanswer_r)
542         [MULTI_PTRS_ARE_ALIASES]: Remove code.
544 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
546         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
547         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
548         undefine.
549         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
550         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
552 2014-07-01  Roland McGrath <roland@hack.frob.com>
554         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
555         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
557         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
558         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
560         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
561         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
562         ... here.
563         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
564         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
566         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
567         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
568         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
569         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
571         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
572         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
573         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
574         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
575         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
576         Moved ...
577         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
578         ... here.
579         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
580         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
581         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
582         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
583         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
584         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
585         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
586         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
587         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
588         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
589         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
590         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
591         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
592         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
593         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
594         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
595         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
596         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
597         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
598         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
599         ... here.
600         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
602         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
603         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
604         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
605         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
606         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
607         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
609 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
611         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
612         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
613         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
614         Add sysdep.
616 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
620 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
622         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
623         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
625         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
627         * sysdeps/arm/libm-test-ulps: Regenerated.
629 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
630             Roland McGrath <roland@hack.frob.com>
632         * test-skeleton.c (signal_handler): Kill the whole process group
633         before killing the child individually.
634         (main): Report any failure on `setpgid'.
636 2014-06-30  Roland McGrath  <roland@hack.frob.com>
638         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
639         from _TLS_H to _ARM_NPTL_TLS_H.
640         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
641         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
643 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
645         [BZ #16539]
646         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
647         (__expm1l): Return argument unchanged when small but not
648         subnormal.
650         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
651         include macro name.
652         (_FP_UNPACK_RAW_1_P): Likewise.
653         (_FP_PACK_RAW_1): Likewise.
654         (_FP_PACK_RAW_1_P): Likewise.
655         (_FP_MUL_MEAT_1_wide): Likewise.
656         (_FP_MUL_MEAT_DW_1_hard): Likewise.
657         (_FP_MUL_MEAT_1_hard): Likewise.
658         (_FP_DIV_MEAT_1_imm): Likewise.
659         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
660         (_FP_DIV_MEAT_1_udiv): Likewise.
661         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
662         (_FP_UNPACK_RAW_2): Likewise.
663         (_FP_UNPACK_RAW_2_P): Likewise.
664         (_FP_PACK_RAW_2): Likewise.
665         (_FP_PACK_RAW_2_P): Likewise.
666         (_FP_MUL_MEAT_DW_2_wide): Likewise.
667         (_FP_MUL_MEAT_2_wide): Likewise.
668         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
669         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
670         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
671         (_FP_MUL_MEAT_2_gmp): Likewise.
672         (_FP_DIV_MEAT_2_udiv): Likewise.
673         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
674         (_FP_FRAC_SRL_4): Likewise.
675         (_FP_FRAC_SRST_4): Likewise.
676         (_FP_FRAC_SRS_4): Likewise.
677         (_FP_UNPACK_RAW_4): Likewise.
678         (_FP_UNPACK_RAW_4_P): Likewise.
679         (_FP_PACK_RAW_4): Likewise.
680         (_FP_PACK_RAW_4_P): Likewise.
681         (_FP_MUL_MEAT_DW_4_wide): Likewise.
682         (_FP_MUL_MEAT_4_wide): Likewise.
683         (_FP_MUL_MEAT_4_gmp): Likewise.
684         (umul_ppppmnnn): Likewise.
685         (_FP_DIV_MEAT_4_udiv): Likewise.
686         (__FP_FRAC_ADD_4): Likewise.
687         (__FP_FRAC_SUB_3): Likewise.
688         (__FP_FRAC_SUB_4): Likewise.
689         (__FP_FRAC_DEC_3): Likewise.
690         (__FP_FRAC_DEC_4): Likewise.
691         (__FP_FRAC_ADDI_4): Likewise.
692         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
693         (_FP_FRAC_SRL_8): Likewise.
694         (_FP_FRAC_SRS_8): Likewise.
696         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
697         include macro name.
698         (FP_UNPACK_RAW_EP): Likewise.
699         (FP_PACK_RAW_E): Likewise.
700         (FP_PACK_RAW_EP): Likewise.
701         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
702         (_FP_ISSIGNAN): Likewise.
703         (_FP_ADD_INTERNAL): Likewise.
704         (_FP_FMA): Likewise.
705         (_FP_CMP): Likewise.
706         (_FP_SQRT): Likewise.
707         (_FP_TO_INT): Likewise.
708         (_FP_FROM_INT): Likewise.
709         (FP_EXTEND): Likewise.
710         (_FP_DIV_MEAT_N_loop): Likewise.
712 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
714         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
715         throughout.
717 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
719         [BZ #17097]
720         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
721         result with correct sign in case of exponents that produce
722         overflow except for X very close to 1.
724 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
726         mktime: merge #if/#ifdef usage from glibc
727         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
728         as that works with both Glibc's and Gnulib's style.
729         See thread starting at Siddhesh Poyarekar's bug report at:
730         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
732 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
734         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
735         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
736         * sysdeps/tile/tilegx/memmove.c: Remove file.
738 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
740         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
741         abi-name definition.
742         * scripts/soversions.awk: Do not handle or generate ABI lines.
743         * shlib-versions: Remove ABI entries.
744         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
745         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
747 2014-06-27  Roland McGrath  <roland@hack.frob.com>
749         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
750         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
751         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
752         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
754         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
755         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
756         Moved ...
757         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
758         ... here.
759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
762         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
764         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
767         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
768         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
770         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
772         Moved ...
773         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
775         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
777         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
779         Moved ...
780         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
782         Moved ...
783         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
787         Moved ...
788         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
790         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
792         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
794         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
796         Moved ...
797         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
800         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
801         Moved ...
802         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
803         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
804         Moved ...
805         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
809         Moved ...
810         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
811         ... here.
812         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
813         Identical file removed.
814         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
815         Moved ...
816         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
817         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
818         Identical file removed.
819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
820         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
821         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
822         Moved ...
823         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
824         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
825         Identical file removed.
826         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
827         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
828         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
829         Identical file removed.
830         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
831         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
833         Identical file removed.
834         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
835         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
837         Identical file removed.
838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
839         Moved ...
840         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
842         Identical file removed.
843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
844         Moved ...
845         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
847         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
849         Identical file removed.
850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
851         Moved ...
852         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
853         ... here.
854         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
855         Identical file removed.
856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
857         Moved ...
858         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
860         Identical file removed.
861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
862         Moved ...
863         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
864         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
865         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
867         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
868         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
869         Moved ...
870         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
871         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
872         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
874         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
875         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
876         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
877         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
878         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
880 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
882         [BZ #17092]
883         * nscd/nscd.c (monitor_child): Return exit status of child
884         instead of return value from wait syscall.
886 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
888         * configure.ac (libc_commonpagesize): Remove variable.
889         (libc_relro_required): Likewise.
890         (libc_cv_z_relro): Remove configure test.
891         * configure: Regenerated.
892         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
893         variable.
894         (libc_relro_required): Likewise.
895         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
896         (libc_relro_required): Likewise.
897         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
898         (libc_relro_required): Likewise.
899         * sysdeps/arm/preconfigure: Regenerated.
900         * sysdeps/ia64/preconfigure: Remove file.
901         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
902         variable.
903         (libc_relro_required): Likewise.
905         [BZ #16561]
906         [BZ #16562]
907         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
908         (__ieee754_yn): Set FE_TONEAREST mode internally and then
909         recompute overflowing results in original rounding mode.
910         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
911         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
912         recompute overflowing results in original rounding mode.
913         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
914         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
915         recompute overflowing results in original rounding mode.
916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
917         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
918         recompute overflowing results in original rounding mode.
919         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
920         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
921         recompute overflowing results in original rounding mode.
922         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
923         (libc_feholdsetround_ctx): New macro.
924         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
925         * sysdeps/i386/fpu/libm-test-ulps: Update.
926         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
928 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
930         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
931         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
932         corresponding .cpsetup call.
934 2014-06-26  Roland McGrath  <roland@hack.frob.com>
936         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
937         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
938         * sysdeps/arm/Makefile [$(subdir) = csu]
939         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
940         (static-only-routines): Add aeabi_read_tp here.
941         (shared-only-routines): Add libc-aeabi_read_tp here.
942         (CFLAGS-libc-start.c): Add -fexceptions here.
943         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
944         (sysdep_routines, static-only-routines, shared-only-routines):
945         Don't add to these here.
946         (CFLAGS-libc-start.c): Likewise.
948         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
949         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
950         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
951         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
952         * sysdeps/arm/Makefile [$(subdir) = rt]
953         (librt-sysdep_routines, librt-shared-only-routines):
954         Append rt-aeabi_unwind_cpp_pr1 here.
955         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
956         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
957         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
958         (libpthread-sysdep_routines, libpthread-shared-only-routines):
959         Append nptl-aeabi_unwind_cpp_pr1 here.
960         (tests): Filter out tst-cleanupx4 here.
961         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
962         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
963         Don't do those here.
965 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
967         * scripts/list-sources.sh: Do not handle ports specially.
969 2014-06-26  Roland McGrath  <roland@hack.frob.com>
971         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
972         * sysdeps/arm/feupdateenv.c: Likewise.
974         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
976 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
978         * manual/texinfo.tex: Update to version 2014-05-05.10 with
979         trailing whitespace removed.
980         * scripts/config.guess: Update to version 2014-03-23.
981         * scripts/config.sub: Update to version 2014-05-01
982         * scripts/install-sh: Update to version 2013-12-25.23.
983         * scripts/move-if-change: Update from gnulib.
985 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
987         * debug/memmove_chk.c: Remove pagecopy.h include.
989 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
991         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
992         identical to gnulib mktime.
994 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
996         * configure.ac: Do not test for machine being rs6000.  Do not test
997         for powerpc*-*soft.
998         * configure: Regenerated.
1000         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1001         test.
1002         * configure: Regenerated.
1003         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1004         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1005         Remove configure test.
1006         * sysdeps/arm/configure: Regenerated.
1007         * sysdeps/nptl/configure.ac: Do not check
1008         libc_cv_asm_cfi_directives.
1009         * sysdeps/nptl/configure: Regenerated.
1010         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1011         * sysdeps/x86_64/nptl/configure: Remove generated file.
1012         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1013         unconditional.
1014         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1016 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1018         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1019         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1020         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1021         it is defined.
1023         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1024         instead of whether it is defined.
1025         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1026         * sysdeps/hppa/dl-machine.h: Likewise.
1027         * sysdeps/ia64/dl-machine.h: Likewise.
1028         * sysdeps/m68k/dl-machine.h: Likewise.
1029         * sysdeps/microblaze/dl-machine.h: Likewise.
1030         * sysdeps/mips/dl-machine.: Likewise.
1031         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1032         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1033         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1034         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1035         * sysdeps/sh/dl-machine.h: Likewise.
1036         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1037         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1038         * sysdeps/tile/dl-machine.h: Likewise.
1039         * sysdeps/x86_64/dl-machine.h: Likewise.
1041         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1042         code.
1043         (verify_persistent_db): Likewise.
1045 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1048         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1050         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1052         Moved ...
1053         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1054         ... here.
1055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1056         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1058         Identical file removed.
1059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1060         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1062         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1064         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1066         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1068         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1070         Moved ...
1071         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1073         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1075         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1077         Moved ...
1078         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1080         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1082         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1084         Identical file removed.
1085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1086         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1088         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1090         Moved ...
1091         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1092         ... here.
1093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1094         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1096         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1098         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1100         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1102         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1104         Moved ...
1105         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1107         Moved ...
1108         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1110         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1112         Moved ...
1113         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1115         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1117         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1118         folded into ...
1119         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1120         * sysdeps/unix/sysv/linux/s390/Versions
1121         (libpthread: GLIBC_2.19): New version set.
1122         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1123         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1124         (librt: GLIBC_2.3.3): New version set.
1125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1126         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1127         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1128         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1129         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1130         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1131         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1132         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1133         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1134         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1135         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1136         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1137         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1138         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1139         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1140         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1141         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1142         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1143         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1144         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1145         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1146         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1147         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1149         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1151         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1153         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1155         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1156         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1161         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1163         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1165         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1167         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1169         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1171         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1172         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1173         (__libc_vfork): Define the function under this name.
1174         [!NOT_IN_libc] (__vfork): Make this an alias.
1175         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1177         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1178         (__libc_vfork): Define the function under this name.
1179         [!NOT_IN_libc] (__vfork): Make this an alias.
1180         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1181         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1182         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1184         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1187         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1188         code that was previously under [RESET_PID].
1189         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1193         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1194         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1195         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1196         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1198         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1199         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1200         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1201         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1202         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1203         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1204         Moved ...
1205         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1206         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1207         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1208         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1209         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1210         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1211         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1212         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1213         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1217         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1219         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1220         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1221         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1222         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1223         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1224         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1225         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1226         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1227         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1228         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1229         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1230         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1231         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1232         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1233         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1235 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1237         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1238         that was previously under [RESET_PID].
1239         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1241 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1243         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1244         not undefine and redefine.
1245         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1246         [O_CLOEXEC]: Make code unconditional.
1247         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1248         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1249         <kernel-features.h>.
1250         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1251         conditional variable definition.
1252         (shm_open) [O_CLOEXEC]: Make code unconditional.
1253         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1254         code.
1256         * configure.ac (USE_REGPARMS): Don't define here.
1257         * configure: Regenerated.
1258         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1259         * sysdeps/i386/configure: Regenerated.
1261         * nptl/createthread.c: Don't include kernel-features.h.
1262         * nptl/pthread_cancel.c: Likewise.
1263         * nptl/pthread_condattr_setclock.c: Likewise.
1264         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1265         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1266         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1267         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1268         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1270         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1273         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1274         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1275         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1276         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1277         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1278         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1279         * nscd/gai.c: Likewise.
1280         * nss/nss_db/db-open.c: Likewise.
1281         * sysdeps/generic/ldsodefs.h: Likewise.
1282         * sysdeps/sh/nptl/tls.h: Likewise.
1283         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1284         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1285         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1286         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1287         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1288         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1289         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1290         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1291         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1292         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1293         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1294         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1295         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1296         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1297         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1298         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1299         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1300         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1301         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1302         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1303         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1304         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1305         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1306         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1307         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1311         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1312         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1313         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1314         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1315         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1316         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1317         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1318         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1320         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1321         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1322         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1323         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1324         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1325         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1326         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1327         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1328         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1329         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1330         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1331         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1332         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1333         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1334         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1335         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1336         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1337         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1338         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1339         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1340         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1363         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1364         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1365         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1366         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1367         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1368         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1369         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1370         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1371         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1372         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1373         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1374         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1375         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1376         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1377         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1378         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1379         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1380         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1381         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1382         * sysdeps/unix/sysv/linux/system.c: Likewise.
1383         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1384         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1385         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1386         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1387         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1388         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1389         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1391         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1392         * configure: Regenerated.
1393         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1395         * configure.ac (base_machine): Do not set specially for particular
1396         machines here.
1397         * configure: Regenerated.
1398         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1399         settings from configure.ac.
1400         * sysdeps/i386/preconfigure: New file.
1401         * sysdeps/s390/preconfigure: Likewise.
1402         * sysdeps/sh/preconfigure: Likewise.
1403         * sysdeps/sparc/preconfigure: Likewise.
1405 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1407         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1408         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1409         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1410         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1411         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1412         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1413         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1414         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1415         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1416         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1417         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1418         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1419         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1420         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1421         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1422         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1423         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1424         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1425         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1427         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1428         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1429         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1430         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1431         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1432         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1433         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1434         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1435         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1436         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1437         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1438         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1439         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1440         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1441         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1442         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1443         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1444         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1445         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1446         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1448         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1449         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1450         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1452         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1457         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1458         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1460         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1462         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1463         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1464         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1467         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1469         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1471         Moved ...
1472         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1473         ... here.
1474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1479         Moved ...
1480         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1486         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1488         Moved ...
1489         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1491         Moved ...
1492         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1494         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1496         Moved ...
1497         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1499         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1501         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1503         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1505         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1507         Moved ...
1508         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1509         ... here.
1510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1511         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1515         Moved ...
1516         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1518         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1520         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1522         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1527         Moved ...
1528         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1532         Moved ...
1533         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1535         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1537         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1539 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1541         * timezone/checktab.awk: Update from tzcode 2014e.
1542         * timezone/private.h: Likewise.
1543         * timezone/tzfile.h: Likewise.
1544         * timezone/zdump.c: Likewise.
1545         * timezone/zic.c: Likewise.
1547         * sysdeps/unix/sysv/linux/kernel-features.h
1548         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1549         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1550         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1551         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1552         Remove conditional code.
1554 2014-06-25  Will Newton  <will.newton@linaro.org>
1556         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1557         (_dl_arm_cap_flags): Add HWCAP2 values.
1558         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1559         (_DL_HWCAP_COUNT): Increase to 37.
1560         (_DL_HWCAP_LAST): New define.
1561         (_DL_HWCAP2_LAST): New define.
1562         (_dl_procinfo): Add support for printing
1563         AT_HWCAP2 entries.
1564         (_dl_string_hwcap): Use _dl_hwcap_string.
1566 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1570 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1572         * README: Do not mention ports directory.
1574         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1575         Remove macro.
1576         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1577         <kernel-features.h>.
1578         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1579         conditional variable definition.
1580         (__futimes): Update comment.
1581         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1582         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1584         [BZ #16560]
1585         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1586         arguments close to 0.
1587         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1588         Likewise.
1589         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1590         Likewise.
1591         * math/auto-libm-test-in: Add more tests of exp10.
1592         * math/auto-libm-test-out: Regenerated.
1593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1595         * sysdeps/unix/sysv/linux/kernel-features.h
1596         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1597         * sysdeps/unix/sysv/linux/readv.c: Do not include
1598         <kernel-features.h>.
1599         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1600         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1601         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1602         unconditional.
1603         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1604         conditional code.
1605         * sysdeps/unix/sysv/linux/writev.c: Do not include
1606         <kernel-features.h>.
1607         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1608         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1609         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1610         unconditional.
1611         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1612         conditional code.
1614 2014-06-25  Will Newton  <will.newton@linaro.org>
1616         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1617         comment changes throughout the file.  Remove checks
1618         for HAVE_*_H definitions that are not required.
1619         (__gen_tempname): Call abort if an unknown kind value is
1620         passed.
1622 2014-06-25  Andreas Schwab  <schwab@suse.de>
1624         [BZ #17086]
1625         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1626         scalbln, scalblnf, scalblnl in libc.
1628 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1630         [BZ #17086]
1631         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1632         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1633         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1635 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1637         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1638         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1639         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1640         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1641         Update #include.
1642         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1643         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1644         Update #include.
1645         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1646         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1647         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1648         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1649         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1650         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1651         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1652         * sysdeps/x86/bits/semaphore.h: ... here.
1653         * sysdeps/x86/nptl/elide.h: Moved ...
1654         * sysdeps/x86/elide.h: ... here.
1655         * sysdeps/x86_64/nptl/Implies: File removed.
1656         * sysdeps/i386/nptl/Implies: File removed.
1658 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1660         [BZ #16539]
1661         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1662         return the argument for normal arguments with exponent below -64.
1663         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1664         Likewise.
1665         * math/auto-libm-test-in: Add another test of expm1.
1666         * math/auto-libm-test-out: Regenerated.
1668         [BZ #16287]
1669         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1670         calling __erfcl for arguments at least 16.
1671         * math/auto-libm-test-in: Add more tests of erf.
1672         * math/auto-libm-test-out: Regenerated.
1674         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1675         individual architectures.
1676         * sysdeps/unix/sysv/linux/configure: Regenerated.
1677         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1678         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1679         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1680         (ldd_rewrite_script): Define variable.
1681         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1683         file.
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1685         generated file.
1686         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1687         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1688         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1689         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1690         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1691         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1692         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1693         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1695 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1697         [BZ #17084]
1698         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1699         Rename member __data.d to __data.__elision_data.
1701 2014-06-24  Wilco  <wdijkstr@arm.com>
1703         * NEWS: Add 16918 to fixed bug list.
1705 2014-06-24  Wilco  <wdijkstr@arm.com>
1707         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1709 2014-06-24  Wilco  <wdijkstr@arm.com>
1711         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1712         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1713         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1714         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1715         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1716         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1717         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1718         Use _FPU_MASK_RM.
1720 2014-06-24  Wilco  <wdijkstr@arm.com>
1722         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1724 2014-06-24  Wilco  <wdijkstr@arm.com>
1726         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1727         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1728         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1729         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1731 2014-06-24  Wilco  <wdijkstr@arm.com>
1733         [BZ #16918]
1734         * sysdeps/arm/feupdateenv.c (feupdateenv):
1735         Rewrite to reduce FPSCR accesses and fix return value.
1737 2014-06-24  Wilco  <wdijkstr@arm.com>
1739         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1740         Optimize to avoid unnecessary FPSCR writes.
1741         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1742         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1743         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1744         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1746 2014-06-24  Wilco  <wdijkstr@arm.com>
1748         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1749         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1750         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1751         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1752         Call libc_fetestexcept_vfp.
1753         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1754         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1755         __SOFTFP__ ifdef so that they can be built for softfp.
1757 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1759         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1760         argument type signed char.
1762         * Makerules (check-abi): Dump diff of symlist if the test
1763         fails.
1765 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1767         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1768         using abort.
1770         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1771         Remove unused variable ST.
1773 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1775         [BZ #16354]
1776         [BZ #17061]
1777         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1778         small arguments before calling __expm1.
1779         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1780         small arguments before calling __expm1f.
1781         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1782         small arguments before calling __expm1l.
1783         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1784         Likewise.
1785         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1786         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1787         spurious underflow for some cosh tests.
1788         * math/auto-libm-test-out: Regenerated.
1789         * sysdeps/i386/fpu/libm-test-ulps: Update.
1791         [BZ #17050]
1792         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1793         (__ieee754_y1): Set errno if return value overflows.
1794         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1795         (__ieee754_y1f): Set errno if return value overflows.
1796         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1797         (__ieee754_y1l): Set errno if return value overflows.
1798         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1799         (__ieee754_y1l): Set errno if return value overflows.
1800         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1801         * math/auto-libm-test-out: Regenerated.
1803         * math/gen-auto-libm-tests.c: Document use of
1804         ignore-zero-inf-sign.
1805         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1806         (input_flags): Add ignore-zero-inf-sign.
1807         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1808         * math/gen-libm-test.pl (generate_testfile): Handle
1809         ignore-zero-inf-sign.
1810         * math/auto-libm-test-in: Mark some cpow tests with
1811         ignore-zero-inf-sign and some with xfail-rounding.
1812         * math/auto-libm-test-out: Regenerated.
1813         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1814         * sysdeps/i386/fpu/libm-test-ulps: Update.
1815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1817         [BZ #16315]
1818         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1819         overflowing or underflowing operations take place with sign of
1820         result.
1821         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1822         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1823         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1824         (__ieee754_pow): Recompute overflowing and underflowing results in
1825         original rounding mode.
1826         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1827         (__powl_helper): Allow negative argument X and scale negated value
1828         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1829         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1830         overflowing or underflowing operations take place with sign of
1831         result.
1832         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1833         Include <math.h>.
1834         * math/auto-libm-test-in: Add more tests of pow.
1835         * math/auto-libm-test-out: Regenerated.
1836         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1837         (pow_tonearest_test_data): Remove.
1838         (pow_test_tonearest): Likewise.
1839         (pow_towardzero_test_data): Likewise.
1840         (pow_test_towardzero): Likewise.
1841         (pow_downward_test_data): Likewise.
1842         (pow_test_downward): Likewise.
1843         (pow_upward_test_data): Likewise.
1844         (pow_test_upward): Likewise.
1845         (main): Don't call removed functions.
1846         * sysdeps/i386/fpu/libm-test-ulps: Update.
1847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1849 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1852         Moved ...
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1855         Moved ...
1856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1858         Moved ...
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1861         Moved ...
1862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1864         File removed.
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1866         File removed.
1867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1868         File removed.
1869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1870         File removed.
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1872         File removed.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1874         File removed.
1875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1876         File removed.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1878         File removed.
1879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1880         File removed.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1882         File removed.
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1884         File removed.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1886         File removed.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1888         Moved ...
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1891         Moved ...
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1893         ... here.
1894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1895         Moved ...
1896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1898         Moved ...
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1901         Moved ...
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1904         Moved ...
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1907         Moved ...
1908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1910         Moved ...
1911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1913         Moved ...
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1917         ... here.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1919         Moved ...
1920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1922         Moved ...
1923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1924         ... here.
1925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1926         Moved ...
1927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1928         ... here.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1930         Moved ...
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1932         ... here.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1934         Moved ...
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1937         Moved ...
1938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1942         Moved ...
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1944         ... here.
1945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1946         Moved ...
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1948         ... here.
1949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1950         Moved ...
1951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1956         Moved ...
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1959         Moved ...
1960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1962         Moved ...
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1964         ... here.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1966         Moved ...
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1969         Moved ...
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1972         Moved ...
1973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1975         Moved ...
1976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1980         Moved ...
1981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1983         Moved ...
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1986         Moved ...
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1988         ... here.
1989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1992         ... here.
1993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1994         Moved ...
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1996         ... here.
1997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1998         Moved ...
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2007         Moved ...
2008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2009         ... here.
2010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2011         Moved ...
2012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2013         ... here.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2017         ... here.
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2019         Moved ...
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2022         Moved ...
2023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2025 2014-06-23  Will Newton  <will.newton@linaro.org>
2026             Wilco  <wdijkstr@arm.com>
2028         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2029         implementation.  Include get-rounding-mode.h.
2030         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2031         [!libc_feholdsetround_noex_ctx]: Define
2032         libc_feholdsetround_noex_ctx.
2033         [!libc_feholdsetround_noexf_ctx]: Define
2034         libc_feholdsetround_noexf_ctx.
2035         [!libc_feholdsetround_noexl_ctx]: Define
2036         libc_feholdsetround_noexl_ctx.
2037         (libc_feholdsetround_ctx): New function.
2038         (libc_feresetround_ctx): New function.
2039         (libc_feholdsetround_noex_ctx): New function.
2040         (libc_feresetround_noex_ctx): New function.
2042 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2044         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2045         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2046         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2047         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2048         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2049         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2051         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2052         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2053         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2054         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2055         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2056         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2058         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2060         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2062         Moved ...
2063         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2064         ... here.
2065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2066         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2068         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2070         Moved ...
2071         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2073         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2075         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2077         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2078         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2082         Moved ...
2083         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2085         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2087         Moved ...
2088         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2090         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2091         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2092         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2093         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2094         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2095         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2096         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2097         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2098         Moved ...
2099         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2100         ... here.
2101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2102         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2104         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2106         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2107         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2108         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2110         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2112         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2116         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2117         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2119         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2121         Moved ...
2122         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2124         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2126         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2128         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2129         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2130         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2131         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2132         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2133         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2134         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2135         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2137         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2138         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2139         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2140         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2141         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2142         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2143         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2145         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2146         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2147         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2148         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2149         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2150         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2151         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2152         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2153         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2155         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2157 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2159         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2160         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2161         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2162         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2163         (IPV6_PMTUDISC_INTERFACE): Likewise.
2164         (IPV6_PMTUDISC_OMIT): Likewise.
2166 2014-06-23  Andreas Schwab  <schwab@suse.de>
2168         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2169         Remove unused errout label.
2171 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2173         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2174         macro: hardware supports Vector Crypto instructions.
2176 2014-06-23  Will Newton  <will.newton@linaro.org>
2178         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2179         rather than __builtin_expect.
2181         * elf/dl-lookup.c (undefined_msg): Remove variable.
2182         (_dl_lookup_symbol_x): Replace undefined_msg with string
2183         literal.
2185         * elf/dl-lookup.c (do_lookup_unique): New function.
2186         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2187         to a separate function.
2189 2014-06-23  Andreas Schwab  <schwab@suse.de>
2191         [BZ #17079]
2192         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2193         before reading the next line.
2195 2014-06-23  Will Newton  <will.newton@linaro.org>
2197         * test-skeleton.c (signal_handler): Use printf and %m
2198         rather than perror.  Use printf rather than fprintf to
2199         stderr.  Use puts rather than fputs to stderr.
2200         (main): Likewise.
2202 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2204         * nscd/nscd.c (thread_info_t): Remove typedef.
2205         (thread_info): Remove variable.
2207 2014-06-21  Allan McRae  <allan@archlinux.org>
2209         * NEWS: Mention CVE-2014-4043.
2211 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2213         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2214         * nptl/smp.h: ... here.
2216         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2218         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2219         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2220         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2221         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2223         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2224         * nptl/stack-aliasing.h: New file.
2225         * sysdeps/i386/i686/stack-aliasing.h: New file.
2226         * sysdeps/i386/i686/nptl/Makefile: File removed.
2227         * sysdeps/x86_64/stack-aliasing.h: New file.
2228         * sysdeps/x86_64/nptl/Makefile
2229         (CFLAGS-pthread_create.c): Variable removed.
2231         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2232         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2233         old file.
2234         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2235         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2236         old file.
2238 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2240         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2241         (__ASSUME_SIGFRAME_V2): Remove macro.
2242         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2243         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2244         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2245         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2246         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2247         Declare as function.  Remove conditional macro definitions.
2248         (__default_rt_sa_restorer): Likewise.
2249         (__default_sa_restorer_v1): Remove declaration.
2250         (__default_sa_restorer_v2): Likewise.
2251         (__default_rt_sa_restorer_v1): Likewise.
2252         (__default_rt_sa_restorer_v2): Likewise.
2253         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2254         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2255         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2257 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2259         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2260         (libpthread-routines): Add sysdep.
2261         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2262         * sysdeps/unix/sysv/linux/sparc/Versions
2263         (libpthread: GLIBC_2.3.3): New version set.
2264         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2265         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2266         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2267         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2268         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2269         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2270         Moved ...
2271         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2272         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2273         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2274         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2275         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2277         * sysdeps/sparc/nptl/sem_init.c: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2279         * sysdeps/sparc/nptl/sem_post.c: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2281         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2283         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2285         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2286         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2287         (libpthread-routines): Add cpu_relax.
2288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2289         File removed.
2290         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2291         (librt: GLIBC_2.3.3): New version set.
2292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2293         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2294         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2295         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2298         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2300         Moved ...
2301         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2303         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2305         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2307         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2309         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2311         Moved ...
2312         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2313         Update #include.
2314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2315         Moved ...
2316         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2317         Update #include.
2318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2319         Moved ...
2320         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2321         Update #include.
2322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2323         Moved ...
2324         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2325         Update #include.
2326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2327         Moved ...
2328         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2329         Update #include.
2330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2331         Moved ...
2332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2333         Update #include.
2334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2335         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2341         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2343         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2348         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2350         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2352 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2354         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2355         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2356         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2357         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2358         * nscd/nscd.c: Likewise.
2359         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2360         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2361         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2362         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2364         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2365         <kernel-features.h>.
2366         (init_mq_netlink): Remove conditional have_sock_cloexec
2367         definitions.  Remove code conditional on have_sock_cloexec < 0.
2368         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2369         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2370         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2371         <kernel-features.h>.
2372         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2373         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2375 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2378         Add tests for memset_chk and memset.
2380         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2381         with AVX2_Usable.
2383 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2385         [BZ #16046]
2386         * elf/tst-dl-iter-static.c: New file.
2387         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2389         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2390         error.
2392 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2394         * sysdeps/unix/sysv/linux/kernel-features.h
2395         (__ASSUME_F_GETOWN_EX): Remove macro.
2396         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2397         <kernel-features.h>.
2398         (miss_F_GETOWN_EX): Remove variable or macro.
2399         (do_fcntl): Do not check miss_F_GETOWN_EX.
2400         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2403         Remove macro.
2404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2405         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2406         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2408         * sysdeps/unix/sysv/linux/kernel-features.h
2409         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2410         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2411         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2412         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2414 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2416         [BZ #17075]
2417         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2418         Fix calculation of the symbol's value.
2419         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2420         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2421         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2422         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2423         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2424         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2425         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2426         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2427         (modules-names): Add `tst-armtlsdescmod',
2428         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2429         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2430         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2431         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2432         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2433         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2434         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2435         ($(objpfx)tst-armtlsdescloc): New dependency.
2436         ($(objpfx)tst-armtlsdescextnow): Likewise.
2437         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2438         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2439         TLS scheme support.
2440         * sysdeps/arm/configure: Regenerate.
2442 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2444         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2445         (__atfct_seterrno_2): Likewise.
2446         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2447         <kernel-features.h>.
2448         (__ASSUME_ATFCTS): Do not undefine and redefine.
2449         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2450         (__have_atfcts): Remove conditional definition.
2451         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2452         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2453         unreachable if [__ASSUME_ATFCTS].
2454         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2455         not undefine and redefine.
2456         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2457         <kernel-features.h>.
2458         (faccessat) [__NR_faccessat]: Make code unconditional.
2459         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2460         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2461         <kernel-features.h>.
2462         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2463         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2464         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2465         <kernel-features.h>.
2466         (fchownat) [__NR_fchownat]: Make code unconditional.
2467         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2468         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2469         <kernel-features.h>.
2470         (futimesat) [__NR_futimesat]: Make code unconditional.
2471         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2472         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2473         <kernel-features.h>.
2474         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2475         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2476         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2477         <kernel-features.h>.
2478         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2479         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2480         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2481         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2482         <kernel-features.h>.
2483         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2484         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2485         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2486         <kernel-features.h>.
2487         (linkat) [__NR_linkat]: Make code unconditional.
2488         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2489         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2490         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2491         <kernel-features.h>.
2492         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2493         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2494         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2495         <kernel-features.h>.
2496         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2497         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2498         * sysdeps/unix/sysv/linux/openat.c: Do not include
2499         <kernel-features.h>.
2500         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2501         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2502         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2503         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2504         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2505         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2506         <kernel-features.h>.
2507         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2508         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2509         result of INLINE_SYSCALL directly, not via int variable.
2510         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2511         <kernel-features.h>.
2512         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2513         (renameat) [__NR_renameat]: Make code unconditional.
2514         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2515         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2516         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2519         (__ASSUME_ATFCTS): Do not undefine and redefine.
2520         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2521         <kernel-features.h>.
2522         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2523         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2524         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2525         <kernel-features.h>.
2526         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2527         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2528         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2529         (__ASSUME_ATFCTS): Do not undefine and redefine.
2530         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2531         <kernel-features.h>.
2532         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2533         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2534         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2535         <kernel-features.h>.
2536         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2537         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2539 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2541         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2543 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2545         [BZ #17069]
2546         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2547         constructed tree before returning error.
2548         * posix/bug-regexp36.c: Expand test case.
2550 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         [BZ #6803]
2553         * math/libm-test.inc (scalbln_test_date):
2554         Add errno expectations.
2555         * math/w_scalblnf.c: New File.
2556         Add wrapper which checks for setting errno to ERANGE.
2557         Add weak_alias for corresponding scalbln function.
2558         * math/w_scalbln.c: Likewise.
2559         * math/w_scalblnl.c: Likewise.
2560         * math/Makefile (libm-calls): Add w_scalbln.
2561         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2562         Remove weak_alias for corresponding scalbln function.
2563         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2565         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2566         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2567         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2568         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2569         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2570         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2571         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2572         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2573         Remove long_double_symbol for scalblnl function in libm, libc.
2574         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2575         Add wrapper which checks for setting errno to ERANGE.
2576         Add long_double_symbol for scalblnl function in libm, libc.
2577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2578         Remove long_double_symbol for scalblnl in libm.
2579         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2580         Add wrapper which checks for setting errno to ERANGE.
2581         Add long_double_symbol for scalblnl function in libm.
2582         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2583         Do not use wrapper because of own implementation.
2585 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2587         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2588         3 bytes for __pad1 for x32.
2589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2591 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2592             H.J. Lu  <hongjiu.lu@intel.com>
2594         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2595         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2596         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2597         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2598         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2600 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2602         [BZ #17069]
2603         * posix/regcomp.c (parse_expression): Deallocate partially
2604         constructed tree before returning error.
2605         * posix/Makefile.c (tests): Add bug-regex36.
2606         (generated): Add bug-regex36.mtrace.
2607         (tests-special): Add $(objpfx)bug-regex36-mem.out
2608         (bug-regex36-ENV): New variable.
2609         ($(objpfx)bug-regex36-mem.out): New rule.
2610         * posix/bug-regex36.c: New file.
2612 2014-06-19  Will Newton  <will.newton@linaro.org>
2614         * malloc/malloc.c (systrim): If extra is zero then return
2615         early.
2617 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2619         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2621 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2623         * sysdeps/aarch64/strchr.S: New file.
2625 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2627         [BZ #17022]
2628         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2629         from arguments -2 or below.
2630         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2631         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2633 2014-06-18  Andreas Schwab  <schwab@suse.de>
2635         [BZ #17062]
2636         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2637         of a bracket expr not to run off the end of the string.
2638         * posix/Makefile (tests): Add tst-fnmatch3.
2639         * posix/tst-fnmatch3.c: New file.
2641 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2643         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2644         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2645         [$(cross-compiling) = no]: Likewise.
2646         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2647         [$(cross-compiling) = no]: Likewise.
2649 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2651         [BZ #17031]
2652         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2653         double, adjusted for any remainder from the high double.
2654         * math/libm-test.inc (nearbyint): Add tests.
2655         (rint): Likewise.
2657 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2659         * nptl/sysdeps/powerpc/Makefile: Moved ...
2660         * sysdeps/powerpc/nptl/Makefile: ... here.
2661         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2662         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2663         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2664         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2665         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2666         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2667         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2668         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2669         * nptl/sysdeps/powerpc/tls.h: Moved ...
2670         * sysdeps/powerpc/nptl/tls.h: ... here.
2672 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2674         [BZ #16681]
2675         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2676         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2677         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2678         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2679         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2680         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2681         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2682         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2683         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2685 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2687         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2689 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2691         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2692         defined operator.
2694         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2695         $TIMEOUTFACTOR.
2697 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2699         [BZ #17058]
2700         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2701         non-executed part of the test.
2703 2014-06-16  Andreas Schwab  <schwab@suse.de>
2705         * string/bits/string2.h (strdup, strndup): Update feature guard.
2707 2014-06-14  David S. Miller  <davem@davemloft.net>
2709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2711 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2713         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2714         that was previously under [RESET_PID].
2715         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2717         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2718         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2719         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2720         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2721         (__libc_vfork): New strong alias.
2722         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2724 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2726         * sysdeps/generic/elide.h: New file.
2728 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2730         * Makefile (installed-headers): Adjust path of pthread.h header.
2732 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2734         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2735         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2737         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2739         * nptl/sysdeps/s390/Makefile: Moved ...
2740         * sysdeps/s390/nptl/Makefile: ... here.
2741         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2742         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2743         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2744         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2745         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2746         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2747         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2748         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2749         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2750         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2751         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2752         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2753         * nptl/sysdeps/s390/tls.h: Moved ...
2754         * sysdeps/s390/nptl/tls.h: ... here.
2756         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2757         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2759 2014-06-13  David S. Miller  <davem@davemloft.net>
2761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2764         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2768         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2769         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2770         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2771         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2772         Remove RESET_PID cpp guards.
2773         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2774         Remove RESET_PID cpp guards.
2775         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2777 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2779         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2780         __sp to uintptr_t.
2782 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2784         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2785         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2786         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2787         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2790         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2791         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2796         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2797         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2799         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2801         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2802         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2805         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2806         (pthread_rwlock_rdlock): Add elision.
2807         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2808         (pthread_rwlock_wrlock): Add elision.
2809         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2810         (pthread_rwlock_trywrlock): Add elision.
2811         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2812         (pthread_rwlock_tryrdlock): Add elision.
2813         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2814         (pthread_rwlock_tryrdlock): Add elision unlock.
2815         * nptl/sysdeps/pthread/pthread.h:
2816         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2817         (PTHREAD_RWLOCK_INITIALIZER,
2818         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2819         Handle new elision field.
2820         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2821         * sysdeps/arm/nptl/bits/pthreadtypes.h
2822         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2823         * sysdeps/sh/nptl/bits/pthreadtypes.h
2824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2825         * sysdeps/tile/nptl/bits/pthreadtypes.h
2826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2827         * sysdeps/a/nptl/bits/pthreadtypes.h
2828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2829         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2831         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2833         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2835         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2837         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2839         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2841         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2843         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2845         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2846         (elision_init): Set try_xbegin to zero when no RTM.
2847         * sysdeps/x86/nptl/bits/pthreadtypes.h
2848         (pthread_rwlock_t): Change __pad1 to __rwelision.
2849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2851 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2853         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2854         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2855         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2856         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2858 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2860         [BZ #16996]
2861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2862         that the cached result has been set before returning it.
2864 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2866         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2867         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2868         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2869         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2870         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2871         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2873         * nptl/sysdeps/sparc/Makefile: Moved ...
2874         * sysdeps/sparc/nptl/Makefile: ... here.
2875         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2876         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2877         * nptl/sysdeps/sparc/tls.h: Moved ...
2878         * sysdeps/sparc/nptl/tls.h: ... here.
2879         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2880         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2881         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2882         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2883         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2884         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2885         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2886         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2887         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2888         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2889         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2890         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2891         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2892         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2893         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2894         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2895         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2896         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2897         Update #include.
2898         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2899         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2900         Update #include.
2901         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2902         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2903         Update #include.
2904         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2906         Update #include.
2908         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2910         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2911         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2913         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2914         (struct list_links): Type removed.
2915         (struct thread_node, struct timer_node): Replace struct list_links
2916         with struct list_head.
2917         (list_unlink_ip): Likewise.
2918         * sysdeps/pthread/timer_routines.c
2919         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2920         (list_append, list_insbefore): Likewise.
2921         (list_init): Function removed.
2922         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2923         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2924         * sysdeps/pthread/Makefile: ... here, new file.
2926         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2927         * sysdeps/nptl/Implies: ... here.
2928         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2929         * nptl/sysdeps/pthread/list.h: Moved ...
2930         * include/list.h: ... here.
2931         * nptl/sysdeps/pthread/createthread.c: Moved ...
2932         * nptl/createthread.c: ... here.
2933         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2934         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2935         * nptl/pt-longjmp.c: ... here.
2936         * nptl/sysdeps/pthread/Makefile: Moved ...
2937         * sysdeps/nptl/Makefile: ... here.
2938         * nptl/sysdeps/pthread/Subdirs: Moved ...
2939         * sysdeps/nptl/Subdirs: ... here.
2940         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2941         * sysdeps/nptl/aio_misc.h: ... here.
2942         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2943         * sysdeps/nptl/bits/libc-lock.h: ... here.
2944         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2945         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2946         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2947         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2948         * nptl/sysdeps/pthread/configure: Moved ...
2949         * sysdeps/nptl/configure: ... here.
2950         * nptl/sysdeps/pthread/configure.ac: Moved ...
2951         * sysdeps/nptl/configure.ac: ... here.
2952         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2953         * sysdeps/nptl/gai_misc.h: ... here.
2954         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2955         * sysdeps/nptl/librt-cancellation.c: ... here.
2956         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2957         * sysdeps/nptl/malloc-machine.h: ... here.
2958         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2959         * sysdeps/nptl/pthread-functions.h: ... here.
2960         * nptl/sysdeps/pthread/pthread.h: Moved ...
2961         * sysdeps/nptl/pthread.h: ... here.
2962         * nptl/sysdeps/pthread/setxid.h: Moved ...
2963         * sysdeps/nptl/setxid.h: ... here.
2964         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2965         * sysdeps/nptl/sigfillset.c: ... here.
2966         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2967         * sysdeps/nptl/tcb-offsets.h: ... here.
2968         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2969         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2970         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2971         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2972         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2973         * sysdeps/pthread/allocalim.h: ... here.
2974         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2975         * sysdeps/pthread/bits/sigthread.h: ... here.
2976         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2977         * sysdeps/pthread/flockfile.c: ... here.
2978         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2979         * sysdeps/pthread/ftrylockfile.c: ... here.
2980         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2981         * sysdeps/pthread/funlockfile.c: ... here.
2982         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2983         * sysdeps/pthread/posix-timer.h: ... here.
2984         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2985         * sysdeps/pthread/timer_create.c: ... here.
2986         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2987         * sysdeps/pthread/timer_delete.c: ... here.
2988         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2989         * sysdeps/pthread/timer_getoverr.c: ... here.
2990         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2991         * sysdeps/pthread/timer_gettime.c: ... here.
2992         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2993         * sysdeps/pthread/timer_routines.c: ... here.
2994         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2995         * sysdeps/pthread/timer_settime.c: ... here.
2996         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2997         * sysdeps/pthread/tst-timer.c: ... here.
2998         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2999         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3001         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3002         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3004         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3005         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3006         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3007         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3008         Update #include target.
3009         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3010         * sysdeps/i386/i686/nptl/Makefile: ... here.
3011         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3012         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3013         Update #include target.
3014         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3015         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3016         * nptl/sysdeps/i386/Makefile: Moved ...
3017         * sysdeps/i386/nptl/Makefile: ... here.
3018         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3019         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3020         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3021         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3022         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3023         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3024         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3025         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3026         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3027         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3028         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3029         * nptl/sysdeps/i386/tls.h: Moved ...
3030         * sysdeps/i386/nptl/tls.h: ... here.
3032         * sysdeps/sh/Makefile [$(subdir) = csu]
3033         (gen-as-const-headers): Add tcb-offsets.sym.
3034         * nptl/sysdeps/sh/Makefile: File removed.
3035         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3036         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3037         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3038         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3039         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3040         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3041         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3042         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3043         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3044         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3045         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3046         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3047         * nptl/sysdeps/sh/tls.h: Moved ...
3048         * sysdeps/sh/nptl/tls.h: ... here.
3049         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3050         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3051         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3052         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3053         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3054         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3055         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3056         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3057         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3058         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3060         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3062         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3064         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3065         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3066         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3068         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3070         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3072         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3074         Moved ...
3075         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3076         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3077         Moved ...
3078         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3084         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3085         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3086         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3088         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3090         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3092         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3094         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3096         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3098 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3100         * posix/spawn_faction_addopen.c: Include string.h.
3102 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3104         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3105         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3106         * nptl/sysdeps/x86_64/Makefile: Moved ...
3107         * sysdeps/x86_64/nptl/Makefile: ... here.
3108         * nptl/sysdeps/x86_64/configure: Moved ...
3109         * sysdeps/x86_64/nptl/configure: ... here.
3110         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3111         * sysdeps/x86_64/nptl/configure.ac: ... here.
3112         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3113         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3114         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3115         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3116         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3117         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3118         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3119         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3120         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3121         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3122         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3123         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3124         * nptl/sysdeps/x86_64/tls.h: Moved ...
3125         * sysdeps/x86_64/nptl/tls.h: ... here.
3126         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3127         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3128         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3129         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3131         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3133 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3137 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3139         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3140         type.
3141         [POSIX] (off_t): Likewise.
3142         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3143         [POSIX] (S_ISBLK): Require macro.
3144         [POSIX] (S_ISCHR): Likewise.
3145         [POSIX] (S_ISDIR): Likewise.
3146         [POSIX] (S_ISFIFO): Likewise.
3147         [POSIX] (S_ISREG): Likewise.
3148         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3149         optional-macro.
3150         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3151         type.
3152         [POSIX] (time_t): Likewise.
3153         [POSIX] (timer_t): Likewise.
3155 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3157         [BZ #17048]
3158         * posix/spawn_int.h (struct __spawn_action): Make the path string
3159         non-const to support deallocation.
3160         * posix/spawn_faction_addopen.c
3161         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3162         * posix/spawn_faction_destroy.c
3163         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3164         path in all spawn_do_open actions.
3165         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3166         posix_spawn_file_actions_addopen.
3168 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3170         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3171         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3172         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3173         conditional code always true.
3174         (__libc_vfork): New alias.
3176 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3178         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3179         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3181         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3183         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3184         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3186         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3187         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3189         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3190         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3192 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3194         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3195         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3196         multiarch strcmp for PPC64.
3197         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3198         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3200         multiarch optimizations.
3201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3202         (__libc_ifunc_impl_list): Likewise.
3204 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3206         * benchtests/scripts/validate_benchout.py: New script.
3207         * benchtests/Makefile (bench-func): Call it.
3208         * benchtests/scripts/benchout.schema.json: New file.
3210 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3212         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3213         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3214         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3215         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3216         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3217         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3218         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3219         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3220         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3221         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3222         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3223         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3224         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3225         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3226         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3227         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3229         Moved ...
3230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3231         ... here.
3232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3233         Moved ...
3234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3236         Moved ...
3237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3238         ... here.
3239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3240         Moved ...
3241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3242         ... here.
3243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3244         Moved ...
3245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3247         Moved ...
3248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3249         ... here.
3250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3253         ... here.
3254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3255         Moved ...
3256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3258         Moved ...
3259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3260         ... here.
3261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3262         Moved ...
3263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3264         ... here.
3265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3266         Moved ...
3267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3268         ... here.
3269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3270         Moved ...
3271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3273         Moved ...
3274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3275         ... here.
3276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3277         Moved ...
3278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3279         ... here.
3280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3281         Moved ...
3282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3283         ... here.
3284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3285         Moved ...
3286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3288         Moved ...
3289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3290         ... here.
3291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3292         Moved ...
3293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3294         ... here.
3295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3296         Moved ...
3297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3299         Moved ...
3300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3301         ... here.
3302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3303         Moved ...
3304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3306         Moved ...
3307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3309         Moved ...
3310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3311         ... here.
3312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3313         Moved ...
3314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3315         ... here.
3316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3317         Moved ...
3318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3319         ... here.
3320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3321         Moved ...
3322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3324         Moved ...
3325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3326         ... here.
3327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3328         Moved ...
3329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3330         ... here.
3331         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3332         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3334         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3336         Moved ...
3337         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3338         ... here.
3339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3340         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3342         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3344         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3346         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3348         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3350         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3352         Moved ...
3353         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3354         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3355         Moved ...
3356         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3358         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3360         Moved ...
3361         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3363         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3364         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3365         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3366         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3367         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3369 2014-06-10  Wilco  <wdijkstr@arm.com>
3371         * math/test-fenv-return.c: New file.
3372         * math/Makefile: Add new test test-fenv-return.
3374 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3376         [BZ #17042]
3377         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3378         when x - 1 is zero.
3379         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3380         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3381         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3382         0.0L for an argument of 1.0L.
3383         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3384         Likewise.
3385         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3386         value when x - 1 is zero.
3387         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3388         * sysdeps/i386/fpu/libm-test-ulps: Update.
3389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3393         [BZ #15119]
3394         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3396 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3398         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3399         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3401 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3403         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3404         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3406         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3407         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3409         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3410         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3412         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3413         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3415         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3416         if not already defined.
3417         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3418         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3419         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3420         (TLS_INIT_TP): Use it.
3421         (TLS_DEFINE_INIT_TP): New macro.
3422         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3424 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3426         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3427         constant.
3428         [POSIX] (IXANY): Likewise.
3429         [POSIX] (OLCUC): Likewise.
3430         [POSIX || POSIX2008] (CBAUD): Do not allow.
3431         [POSIX || POSIX2008] (DEFECHO): Likewise.
3432         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3433         [POSIX || POSIX2008] (ECHOKE): Likewise.
3434         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3435         [POSIX || POSIX2008] (EXTA): Likewise.
3436         [POSIX || POSIX2008] (EXTB): Likewise.
3437         [POSIX || POSIX2008] (FLUSHO): Likewise.
3438         [POSIX || POSIX2008] (LOBLK): Likewise.
3439         [POSIX || POSIX2008] (PENDIN): Likewise.
3440         [POSIX || POSIX2008] (SWTCH): Likewise.
3441         [POSIX || POSIX2008] (VDISCARD): Likewise.
3442         [POSIX || POSIX2008] (VDSUSP): Likewise.
3443         [POSIX || POSIX2008] (VLNEXT): Likewise.
3444         [POSIX || POSIX2008] (VREPRINT): Likewise.
3445         [POSIX || POSIX2008] (VSTATUS): Likewise.
3446         [POSIX || POSIX2008] (VWERASE): Likewise.
3447         (B*): Change to B[0123456789]*.
3448         * conform/data/time.h-data [POSIX || UNIX98]
3449         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3450         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3451         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3452         [POSIX] (tm_*): Do not allow.
3454 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3456         * Makefile (install): Don't set LANGUAGE.
3457         * Makefile.in (install): Likewise.
3458         * assert/Makefile (test-assert-ENV): Remove variable.
3459         (test-assert-perr-ENV): Likewise.
3460         * elf/Makefile (neededtest4-ENV): Likewise.
3461         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3462         [$(cross-compiling) = no]: Don't set LANGUAGE.
3463         * io/ftwtest-sh (LANG): Remove variable.
3464         * libio/Makefile (tst-widetext-ENV): Likewise.
3465         * manual/install.texi (Running make install): Don't refer to
3466         environment settings for make install.
3467         * INSTALL: Regenerated.
3468         * nptl/tst-tls6.sh: Don't set LANG.
3469         * posix/globtest.sh (LANG): Remove variable.
3470         * string/Makefile (tester-ENV): Likewise.
3471         (inl-tester-ENV): Likewise.
3472         (noinl-tester-ENV): Likewise.
3473         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3474         [$(cross-compiling) = no]: Don't set LANGUAGE.
3475         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3476         without explicit environment settings.
3478 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3480         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3481         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3483         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3485 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3487         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3488         other files in the crypt directory.
3489         * crypt/crypt.c: Remove duplicate includes.
3490         * crypt/crypt-entry.c: Likewise.
3491         * crypt/crypt_util.c: Likewise.
3493 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3495         * Makeconfig (run-program-env): New variable.
3496         (run-program-prefix-before-env): Likewise.
3497         (run-program-prefix-after-env): Likewise.
3498         (run-program-prefix): Define in terms of new variables.
3499         (built-program-cmd-before-env): New variable.
3500         (built-program-cmd-after-env): Likewise.
3501         (built-program-cmd): Define in terms of new variables.
3502         (test-program-prefix-before-env): New variable.
3503         (test-program-prefix-after-env): Likewise.
3504         (test-program-prefix): Define in terms of new variables.
3505         (test-program-cmd-before-env): New variable.
3506         (test-program-cmd-after-env): Likewise.
3507         (test-program-cmd): Define in terms of new variables.
3508         * Rules (make-test-out): Use $(run-program-env).
3509         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3510         (help): Do not mention environment variables.  Mention
3511         --timeoutfactor option.
3512         (timeoutfactor): New variable.
3513         (blacklist_exports): Remove function.
3514         (exports): Remove variable.
3515         (command): Do not include ${exports}.
3516         * manual/install.texi (Configuring and compiling): Do not mention
3517         test wrappers preserving environment variables.  Mention that last
3518         assignment to a variable must take precedence.
3519         * INSTALL: Regenerated.
3520         * benchtests/Makefile (run-bench): Use $(run-program-env).
3521         * catgets/Makefile ($(objpfx)test1.cat): Use
3522         $(built-program-cmd-before-env), $(run-program-env) and
3523         $(built-program-cmd-after-env).
3524         ($(objpfx)test2.cat): Do not specify environment variables
3525         explicitly.
3526         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3527         $(run-program-env) and $(built-program-cmd-after-env).
3528         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3529         $(run-program-env) and $(test-program-cmd-after-env).
3530         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3531         explicitly.
3532         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3533         run_program_env and test_program_cmd_after_env arguments.
3534         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3535         * elf/tst-pathopt.sh: Use run_program_env argument.
3536         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3537         $(test-wrapper-env) and $(run-program-env).
3538         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3539         run_program_env arguments.
3540         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3541         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3542         $(test-program-prefix-before-env), $(run-program-env) and
3543         $(test-program-prefix-after-env).
3544         ($(objpfx)tst-gettext2.out): Likewise.
3545         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3546         run_program_env and test_program_prefix_after_env arguments.
3547         * intl/tst-gettext2.sh: Likewise.
3548         * intl/tst-gettext4.sh: Do not set environment variables
3549         explicitly.
3550         * intl/tst-gettext6.sh: Likewise.
3551         * intl/tst-translit.sh: Likewise.
3552         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3553         $(test-program-prefix-before-env), $(run-program-env) and
3554         $(test-program-prefix-after-env).
3555         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3556         run_program_env and test_program_prefix_after_env arguments.
3557         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3558         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3559         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3560         explicitly with each use of ${test_wrapper_env}.
3561         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3562         $(test-program-prefix-before-env), $(run-program-env) and
3563         $(test-program-prefix-after-env).
3564         * posix/tst-getconf.sh: Do not set environment variables
3565         explicitly.
3566         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3567         run_program_env and test_program_prefix_after_env arguments.
3568         * stdio-common/tst-printf.sh: Do not set environment variables
3569         explicitly.
3570         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3571         $(test-program-prefix-before-env), $(run-program-env) and
3572         $(test-program-prefix-after-env).
3573         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3574         run_program_env and test_program_prefix_after_env arguments.
3575         Split $test calls into $test_pre and $test.
3576         * timezone/Makefile (build-testdata): Use
3577         $(built-program-cmd-before-env), $(run-program-env) and
3578         $(built-program-cmd-after-env).
3580 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3582         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3583         strlen for non SHARED builds.
3585 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3587         * nptl/allocatestack.c (check_list): Inlined function...
3588         (__reclaim_stacks): ... here.
3590 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3592         [BZ #15698]
3593         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3594         memory overrun.
3596 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3598         * Rules (make-test-out): Include
3599         LOCPATH=$(common-objpfx)localedata in default environment.
3600         * debug/Makefile (tst-chk1-ENV): Remove variable.
3601         (tst-chk2-ENV): Likewise.
3602         (tst-chk3-ENV): Likewise.
3603         (tst-chk4-ENV): Likewise.
3604         (tst-chk5-ENV): Likewise.
3605         (tst-chk6-ENV): Likewise.
3606         (tst-lfschk1-ENV): Likewise.
3607         (tst-lfschk2-ENV): Likewise.
3608         (tst-lfschk3-ENV): Likewise.
3609         (tst-lfschk4-ENV): Likewise.
3610         (tst-lfschk5-ENV): Likewise.
3611         (tst-lfschk6-ENV): Likewise.
3612         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3613         (tst-iconv7-ENV): Likewise.
3614         * intl/Makefile (LOCPATH-ENV): Likewise.
3615         (tst-codeset-ENV): Likewise.
3616         (tst-gettext3-ENV): Likewise.
3617         (tst-gettext5-ENV): Likewise.
3618         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3619         (tst-fopenloc-ENV): Likewise.
3620         (tst-fgetws-ENV): Remove variable.
3621         (tst-ungetwc1-ENV): Likewise.
3622         (tst-ungetwc2-ENV): Likewise.
3623         (bug-ungetwc2-ENV): Likewise.
3624         (tst-swscanf-ENV): Likewise.
3625         (bug-ftell-ENV): Likewise.
3626         (tst-fgetwc-ENV): Likewise.
3627         (tst-fseek-ENV): Likewise.
3628         (tst-ftell-partial-wide-ENV): Likewise.
3629         (tst-ftell-active-handler-ENV): Likewise.
3630         (tst-ftell-append-ENV): Likewise.
3631         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3632         (tst-regexloc-ENV): Likewise.
3633         (bug-regex1-ENV): Likewise.
3634         (tst-regex-ENV): Likewise.
3635         (tst-regex2-ENV): Likewise.
3636         (bug-regex5-ENV): Likewise.
3637         (bug-regex6-ENV): Likewise.
3638         (bug-regex17-ENV): Likewise.
3639         (bug-regex18-ENV): Likewise.
3640         (bug-regex19-ENV): Likewise.
3641         (bug-regex20-ENV): Likewise.
3642         (bug-regex22-ENV): Likewise.
3643         (bug-regex23-ENV): Likewise.
3644         (bug-regex25-ENV): Likewise.
3645         (bug-regex26-ENV): Likewise.
3646         (bug-regex30-ENV): Likewise.
3647         (bug-regex32-ENV): Likewise.
3648         (bug-regex33-ENV): Likewise.
3649         (bug-regex34-ENV): Likewise.
3650         (bug-regex35-ENV): Likewise.
3651         (tst-rxspencer-ENV): Likewise.
3652         (tst-rxspencer-no-utf8-ENV): Likewise.
3653         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3654         (tst-sscanf-ENV): Likewise.
3655         (tst-swprintf-ENV): Likewise.
3656         (tst-swscanf-ENV): Likewise.
3657         (test-vfprintf-ENV): Likewise.
3658         (scanf13-ENV): Likewise.
3659         (bug14-ENV): Likewise.
3660         (tst-grouping-ENV): Likewise.
3661         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3662         (tst-strtod3-ENV): Likewise.
3663         (tst-strtod4-ENV): Likewise.
3664         (tst-strtod5-ENV): Likewise.
3665         (testmb2-ENV): Likewise./
3666         * string/Makefile (tst-strxfrm-ENV): Likewise.
3667         (tst-strxfrm2-ENV): Likewise.
3668         (bug-strcoll1-ENV): Likewise.
3669         (test-strcasecmp-ENV): Likewise.
3670         (test-strncasecmp-ENV): Likewise.
3671         * time/Makefile (tst-strptime-ENV): Likewise.
3672         (tst-ftime_l-ENV): Likewise.
3673         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3674         (tst-mbrtowc-ENV): Likewise.
3675         (tst-wcrtomb-ENV): Likewise.
3676         (tst-mbrtowc2-ENV): Likewise.
3677         (tst-c16c32-1-ENV): Likewise.
3678         (tst-mbsnrtowcs-ENV): Likewise.
3680 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3682         * manual/resource.texi (How to get information about the memory
3683         subsystem?): Fix typo.
3684         Reported by Peon de la Parra Ivan <peon@keba.com>
3686 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3688         [BZ #16882]
3689         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3690         (pthread_spin_lock): Branch out of spin loop to proper location.
3691         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3692         (pthread_spin_lock): Likewise.
3694         * nptl/tst-spin4.c: New test.
3695         * nptl/Makefile (tests): Add tst-spin4.
3697 2014-06-03  Andreas Schwab  <schwab@suse.de>
3699         [BZ #15946]
3700         * resolv/res_send.c (send_dg): Reload file descriptor after
3701         calling reopen.
3703 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3707 2014-06-03  Richard Henderson  <rth@redhat.com>
3709         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3710         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3711         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3712         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3713         in the SAVE_PID block.
3714         (__libc_vfork): New alias.
3715         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3717         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3718         child in registers, not on the stack.  Remove RESET_PID conditionals.
3719         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3721 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3723         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3725 2014-06-03  Wilco  <wdijkstr@arm.com>
3727         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3728         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3729         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3730         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3731         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3732         Likewise.
3734 2014-06-03  Wilco  <wdijkstr@arm.com>
3736         * sysdeps/aarch64/fpu/math_private.h
3737         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3738         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3739         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3740         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3741         Fix declarations.
3743 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3745         * crypt/crypt-private.h: Include ufc-crypt.h.
3746         (__b64_from_24bit): Declare extern.
3747         * crypt/crypt_util.c(__b64_from_24bit): New function.
3748         (b64t): New static const variable.
3749         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3750         (b64t): Remove variable.
3751         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3752         * crypt/sha256-crypt.c: Include crypt-private.h.
3753         (b64t): Remove variable.
3754         (__sha256_crypt_r): Remove b64_from_24bit and replace
3755         with __b64_from_24bit.
3756         * crypt/sha512-crypt.c: Likewise.
3758 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3760         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3761         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3762         Label the code __libc_vfork rather than __vfork.
3763         [!NOT_IN_libc] (vfork): Define as weak alias.
3764         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3765         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3766         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3768 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770         * malloc/malloc.c (malloc_info): Fix format specifier for
3771         n_mmaps.
3773 2014-06-02  Wilco  <wdijkstr@arm.com>
3775         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3776         FPCR write.
3778 2014-06-02  Wilco  <wdijkstr@arm.com>
3780         [BZ #17009]
3781         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3782         Rewrite to reduce FPCR/FPSR accesses.
3784 2014-06-01  David S. Miller  <davem@davemloft.net>
3786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788 2014-05-31  David S. Miller  <davem@davemloft.net>
3790         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3791         to occur in round to nearest mode when |x| >= 2.0
3793 2014-05-30  Richard Henderson  <rth@twiddle.net>
3795         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3796         (PSEUDO_RET_NOERRNO): Remove.
3797         (ret): Don't redefine.
3798         (ret_NOERRNO): Define in terms of ret.
3799         (ret_ERRVAL): Likewise.
3801         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3802         use of PSEUDO_RET; perform the error check directly.
3804 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3806         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3807         with __int128_t.
3809 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3811         * malloc/malloc (malloc_info): Fix formatting.
3813 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3814             Roland McGrath  <roland@hack.frob.com>
3816         * malloc/malloc (malloc_info): Also print mmapped statistics.
3818 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3820         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3821         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3823 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3825         * malloc/malloc.c (malloc_info): Inline mi_arena.
3827 2014-05-29  Richard Henderson  <rth@twiddle.net>
3829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3830         Remove comma before expanding ASM_ARGS_##nr.
3831         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3832         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3833         of ASM_ARGS_##nr.
3834         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3835         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3836         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3837         (ASM_ARGS_1): Add leading comma.
3839         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3840         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3841         to __errno_location.
3842         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3843         Remove the expected plt for __errno_location.
3845         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3846         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3847         call to __read_tp.
3849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3850         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3851         it and break it down.
3852         (DOCARGS_0, DOCARGS_1): Do nothing.
3853         (DOCARGS_2): Update to store into the new stack frame.
3854         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3855         (UNDOCARGS_1): Update to restore from the new stack frame.
3856         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3857         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3859         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3860         (SINGLE_THREAD_P): New parameter for result regno.
3861         (PSEUDO): Update to match; use cbz instead of beq.
3863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3864         Use ENTRY to define the _nocancel entry point.  Share the syscall
3865         and syscall error check paths with the cancel path.
3866         (PSEUDO_END): New.
3868         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3869         whitespace; tabs before and after asm mnemonics.
3871 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3873         [BZ #15132]
3874         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3875         Call fstat64 or stat64 internally, depending on arguments passed.
3876         Replace stat buffer argument with file descriptor argument.
3877         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3878         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3879         Pass fd to __internal_statvfs instead of calling fstat64.
3880         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3881         Pass fd to __internal_statvfs64 instead of calling fstat64.
3882         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3883         Pass -1 to __internal_statvfs instead of calling stat64.
3884         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3885         Pass -1 to __internal_statvfs64 instead of calling stat64.
3887 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3889         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3890         that was previously under [RESET_PID].
3891         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3893         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3894         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3896 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3898         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3900         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3901         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3903 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3905         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3907 2014-05-27  Andreas Schwab  <schwab@suse.de>
3909         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3910         TLS_INIT_TP macro.
3911         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3912         * elf/rtld.c (init_tls, dl_main): Likewise.
3913         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3914         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3915         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3916         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3917         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3918         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3919         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3920         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3921         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3922         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3923         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3924         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3925         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3926         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3927         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3928         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3929         * sysdeps/generic/tls.h: Update description.
3931 2014-05-27  Will Newton  <will.newton@linaro.org>
3933         [BZ #16990]
3934         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3935         and restore r2 rather than just restoring.
3937 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3939         [BZ #16724]
3940         * libio/tst-ftell-append.c: New test case.
3941         * libio/Makefile (tests): Add test case.
3942         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3943         append mode.
3944         * libio/wfileops.c (do_ftell_wide): Likewise.
3946 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3950         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3951         ...
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3954         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3955         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3957         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3959         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3960         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3961         Moved ...
3962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3964         Moved ...
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3966         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3967         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3968         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3969         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3970         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3971         ...
3972         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3973         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3974         Moved ...
3975         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3976         here.
3977         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3978         ...
3979         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3980         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3981         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3983         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3984         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3985         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3986         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3988         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3989         merge into ...
3990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3992         ...
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3995         ...
3996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3998         Moved ...
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4000         here.
4001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4002         Moved ...
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4005         Moved ...
4006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4009         conditional [RESET_PID].
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4012         removed.
4013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4014         removed.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4017         <tcb-offsets.h>.
4018         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4019         (__libc_vfork): New strong alias.
4020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4021         removed.
4022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4023         Removed.
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4026         <tcb-offsets.h>.
4027         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4028         (__libc_vfork): New strong alias.
4029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4030         removed.
4031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4032         removed.
4034 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4036         * malloc/malloc.c (mi_arena): New function.
4037         (malloc_info): Remove nested function mi_arena. Call non-nosted
4038         function mi_arena.
4040 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4042         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4043         by insrwi.
4044         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4045         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4046         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4047         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4048         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4049         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4050         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4052 2014-05-26  Andreas Schwab  <schwab@suse.de>
4054         [BZ #16984]
4055         * locale/programs/repertoire.c (repertoire_read): Add slash
4056         between I18NPATH element and file name.
4057         * locale/programs/locfile.c (locfile_read): Likewise.
4059 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4061         * nptl/pthread_mutexattr_settype.c
4062         (__pthread_mutexattr_settype):
4063         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4065 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4067         * nptl/tst-mutex5 (do_test):
4068         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4070 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4072         * benchtests/README: Document 'init' directive.
4073         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4074         BENCH_INIT.
4075         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4076         (parse_file): Recognize 'init' directive.
4078 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4080         [BZ #16796]
4081         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4082         alignment of struct pthread.
4084 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4086         [BZ #16878]
4087         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4088         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4089         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4090         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4092 2014-05-25  Richard Henderson  <rth@twiddle.net>
4094         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4095         (SINGLE_THREAD_P_PIC): Remove.
4096         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4097         (SINGLE_THREAD_P_PIC): Remove.
4099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4100         branch to syscall error ...
4101         (PSEUDO): ... here.
4102         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4103         from __local_syscall_error to .Lsyscall_error.
4104         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4105         (SYSCALL_ERROR): Update label name.
4107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4108         Do not use DOARGS/UNDOARGS.
4109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4110         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4111         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4112         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4113         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4116         block comment.
4118         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4119         define if !NOT_IN_libc.
4120         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4121         define with non-default symbol versions.
4123 2014-05-23  Richard Henderson  <rth@twiddle.net>
4125         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4126         (vfork, __vfork): Define via compat_symbol.
4128         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4129         [!HAVE_IFUNC] (vfork_compat): Remove.
4130         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4132 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4134         [BZ #16978]
4135         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4136         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4137         variable.
4139 2014-05-23  Richard Henderson  <rth@twiddle.net>
4141         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4142         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4143         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4144         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4146         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4147         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4148         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4149         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4150         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4151         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4153         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4154         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4155         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4156         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4157         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4158         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4159         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4160         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4161         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4162         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4163         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4164         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4165         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4167         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4168         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4169         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4170         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4171         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4172         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4177         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4178         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4179         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4180         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4181         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4182         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4183         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4184         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4185         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4186         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4187         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4188         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4189         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4190         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4191         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4192         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4193         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4195         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4197         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4199         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4201         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4203         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4204         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4205         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4206         before exiting on error.
4207         (__libc_vfork): New strong alias.
4208         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4209         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4211         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4212         that was previously under [RESET_PID].
4213         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4215         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4217 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4219         [BZ #16977]
4220         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4221         value when x - 1 is zero.
4222         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4223         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4224         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4225         0.0L for an argument of 1.0L.
4226         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4227         Likewise.
4228         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4229         value when x - 1 is zero.
4230         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4231         * sysdeps/i386/fpu/libm-test-ulps: Update.
4232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4236         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4237         alphasort and versionsort.
4239 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4241         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4242         macro.
4243         [copysignf]: Likewise.
4245 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4247         * crypt/md5-crypt.c: Fix formatting.
4249 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4251         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4252         (b64_from_24bit): New function.
4254 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4257         libc_hidden_builtin_def to ifunc.
4258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4259         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4261 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4263         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4264         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4266 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4268         * nscd/Depend (linuxthreads): Remove.
4269         (nptl): Add.
4270         * resolv/Depend (linuxthreads): Remove.
4271         * rt/Depend (linuxthreads): Remove.
4273         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4274         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4275         $(common-objpfx)elf/.
4276         (link-libc-before-gnulib): Likewise.
4277         (elfobjdir): Remove variable.
4278         * Makefile (install): Use $(elf-objpfx) instead of
4279         $(common-objpfx)elf/.
4280         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4281         $(elfobjdir)/.
4282         (link-libc-deps): Likewise.
4283         ($(common-objpfx)libc.so): Likewise.
4284         ($(common-objpfx)linkobj/libc.so): Likewise.
4285         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4286         instead of $(common-objpfx)elf/.
4287         (symbolic-link-list): Likewise.
4288         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4289         [$(cross-compiling) = no]: Likewise.
4290         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4291         $(elfobjdir)/.
4292         (static-gnulib-arch): Likewise.
4293         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4294         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4295         $(common-objpfx)elf/.
4297 2014-05-21  Richard Henderson  <rth@redhat.com>
4299         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4300         (SINGLE_THREAD_P): Use the correct width load.  Fold
4301         into the ldr offset.
4303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4304         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4306 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4308         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4309         (libgcc_s_resume): Use __attribute_used__.
4310         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4311         Likewise.
4313 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4315         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4316         optimization when used with float constants.
4318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4320 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4322         [BZ #16915]
4323         * locale/nl_langinfo_l.c: Make direct reference to every
4324         _nl_current_CATEGORY symbol.
4325         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4326         (tests-static): Add tst-langinfo-static.
4327         (tests-special): Add tst-langinfo-static.out.
4328         ($(objpfx)tst-langinfo.out): Redirect output.
4329         ($(objpfx)tst-langinfo-static.out): New.
4330         * localedata/tst-langinfo.sh: Send output to stdout.
4331         * localedata/tst-langinfo-static.c: New file.
4333         [BZ #16965]
4334         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4335         when the shift amount is modulo the limb size.
4337 2014-05-20  Richard Henderson  <rth@redhat.com>
4339         [BZ #16967]
4340         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4341         Change type of sa_flags from unsigned int to int.
4343         [BZ #16966]
4344         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4346         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4348 2014-05-20  Will Newton  <will.newton@linaro.org>
4350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4351         Test the return value of the system call in the nocancel case.
4353 2014-05-20  Will Newton  <will.newton@linaro.org>
4354             Yvan Roux  <yvan.roux@linaro.org>
4356         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4357         #include of asm/ptrace.h.
4358         (PTRACE_GET_THREAD_AREA): Remove #undef.
4359         (PTRACE_GETHBPREGS): Likewise.
4360         (PTRACE_SETHBPREGS): Likewise.
4361         (struct user_regs_struct): New structure.
4362         (struct user_fpsimd_struct): New structure.
4363         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4364         #include of asm/ptrace.h and second #include of sys/user.h.
4365         (PTRACE_GET_THREAD_AREA): Remove #undef.
4366         (PTRACE_GETHBPREGS): Likewise.
4367         (PTRACE_SETHBPREGS): Likewise.
4368         (ELF_NGREG): Use new struct user_regs_struct.
4369         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4371 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4373         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4376 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4378         [BZ #16958]
4379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4380         membar to avoid block loads/stores to overlap previous stores.
4382 2014-05-17  Richard Henderson  <rth@redhat.com>
4384         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4385         Create the __##syscall_name##_nocancel entry point.
4386         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4387         Remove; let the sysdep-cancel.h code create it.
4389 2014-05-17  David S. Miller  <davem@davemloft.net>
4391         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4392         Protect with __USE_GNU.
4393         (TIOCSET_TEMPT): Likewise.
4394         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4395         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4396         these are already provided in bits/ioctl-types.h
4398 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4400         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4401         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4403         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4404         Use wait4 regardless of [__NR_waitpid].
4406 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4408         PR libgcc/60166
4409         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4410         (_FP_NANSIGN_Q): Set the quiet bit.
4412 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4414         * benchtests/Makefile
4415         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4416         not $(common-objpfx)math/libm.so.
4417         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4418         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4419         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4420         $(common-objpfx)dlfcn/libdl.so.
4421         ($(objpfx)tst-audit8): Depend on $(libm), not
4422         $(common-objpfx)math/libm.so.
4423         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4424         not $(common-objpfx)dlfcn/libdl.so.
4425         * math/Makefile
4426         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4427         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4428         [$(build-shared) = yes].
4429         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4430         $(common-objpfx)nptl/libpthread.so.
4431         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4432         $(common-objpfx)math/libm.so$(libm.so-version) or
4433         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4434         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4435         $(common-objpfx)dlfcn/libdl.so.
4436         * setjmp/Makefile (link-libm): Remove variable.
4437         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4438         * stdio-common/Makefile (link-libm): Remove variable.
4439         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4440         * stdlib/Makefile (link-libm): Remove variable.
4441         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4442         ($(objpfx)tst-strtod-round): Likewise.
4443         ($(objpfx)tst-tininess): Likewise.
4444         ($(objpfx)tst-strtod-underflow): Likewise.
4445         ($(objpfx)tst-strtod6): Likewise.
4446         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4447         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4448         $(common-objpfx)dlfcn/libdl.so.
4450 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4452         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4453         BSD terminal modes definitions.
4455 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4457         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4458         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4460         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4461         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4462         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4463         Don't do #include_next.
4464         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4465         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4466         Don't do #include_next.
4467         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4468         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4469         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4470         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4472 2014-05-16  Allan McRae  <allan@archlinux.org>
4474         * po/sv.po: Update Swedish translation from translation project.
4476         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4477         in sed expression.
4479 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4481         [BZ #16917]
4482         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4483         errno if the TIOCGPTN ioctl fails with an error different than
4484         EINVAL.
4485         * login/tst-ptsname.c: New file.
4486         * login/Makefile (tests): Add tst-ptsname.
4488         [BZ #16943]
4489         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4490         and prlimit64.
4492 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4494         [BZ #16849]
4495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4496         herrno to return EAI_AGAIN.
4498 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4500         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4501         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4502         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4503         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4504         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4505         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4506         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4507         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4508         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4509         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4510         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4511         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4512         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4513         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4514         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4515         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4517         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4518         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4519         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4520         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4521         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4522         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4523         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4524         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4525         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4526         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4527         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4528         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4529         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4531         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4533         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4535         Moved ...
4536         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4538         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4540         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4542         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4544         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4546         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4548         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4550         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4552         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4554         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4556         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4558         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4560         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4562         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4564         Moved ...
4565         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4567         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4569         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4571         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4573         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4575         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4577         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4579         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4581         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4583         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4585         Moved ...
4586         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4588         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4590         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4591         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4592         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4593         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4594         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4595         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4596         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4597         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4598         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4599         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4600         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4601         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4602         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4603         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4604         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4605         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4606         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4607         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4608         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4609         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4610         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4611         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4612         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4613         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4614         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4615         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4616         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4617         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4619         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4620         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4622         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4623         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4625         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4626         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4627         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4628         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4629         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4630         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4631         Moved ...
4632         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4633         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4634         Moved ...
4635         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4636         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4637         Moved ...
4638         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4640         Moved ...
4641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4642         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4643         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4644         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4645         Moved ...
4646         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4647         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4648         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4649         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4650         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4652         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4653         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4654         Moved ...
4655         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4656         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4657         Moved ...
4658         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4659         ... here.
4660         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4661         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4662         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4663         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4664         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4665         Moved ...
4666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4667         ... here.
4668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4669         Moved ...
4670         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4671         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4672         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4673         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4674         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4675         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4676         Moved ...
4677         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4678         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4679         Moved ...
4680         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4681         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4682         Moved ...
4683         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4685         Moved ...
4686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4687         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4688         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4689         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4690         Moved ...
4691         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4692         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4693         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4695         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4696         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4697         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4698         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4699         Moved ...
4700         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4701         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4702         Moved ...
4703         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4704         ... here.
4705         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4706         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4707         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4708         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4709         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4710         Moved ...
4711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4712         ... here.
4713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4714         Moved ...
4715         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4717         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4718         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4719         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4720         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4721         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4722         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4723         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4724         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4725         Moved ...
4726         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4727         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4728         Moved ...
4729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4730         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4731         Moved ...
4732         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4733         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4734         Moved ...
4735         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4736         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4737         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4738         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4739         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4740         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4741         Moved ...
4742         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4743         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4744         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4745         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4746         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4747         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4748         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4749         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4750         Moved ...
4751         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4752         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4753         Moved ...
4754         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4755         ... here.
4756         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4757         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4758         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4759         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4760         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4761         Moved ...
4762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4763         ... here.
4764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4765         Moved ...
4766         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4767         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4768         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4769         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4770         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4771         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4772         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4773         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4774         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4775         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4776         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4778         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4779         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4781         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4782         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4784         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4785         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4786         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4787         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4788         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4789         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4790         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4791         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4792         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4793         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4794         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4795         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4798         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4799         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4800         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4802         Moved ...
4803         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4805         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4807         Moved ...
4808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4810         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4812         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4814         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4816         Moved ...
4817         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4818         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4819         Moved ...
4820         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4826         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4828         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4830         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4832         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4834         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4836         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4838         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4839         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4840         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4841         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4842         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4844         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4845         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4846         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4847         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4848         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4849         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4850         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4851         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4852         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4853         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4858         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4859         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4860         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4861         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4862         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4863         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4864         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4865         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4866         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4867         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4868         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4869         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4871         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4873         Update #include.
4874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4875         Likewise.
4876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4877         Likewise.
4878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4879         Likewise.
4880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4881         Likewise.
4882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4883         Likewise.
4884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4885         Likewise.
4886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4887         Likewise.
4888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4889         Likewise.
4890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4891         Likewise.
4892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4897         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4898         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4899         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4900         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4902         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4908         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4909         that was previously under [RESET_PID].
4910         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4911         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4912         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4914         * sysdeps/i386/nptl/Implies: New file.
4915         * sysdeps/x86_64/nptl/Implies: New file.
4916         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4917         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4918         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4919         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4921         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4922         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4923         (__libc_vfork): New strong alias.
4924         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4925         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4927         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4928         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4929         (__libc_vfork): New strong alias.
4930         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4931         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4933         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4934         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4935         (__libc_vfork): New strong alias.
4936         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4937         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4938         * nptl/pt-vfork.c: New file.
4939         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4940         (libpthread: GLIBC_2.20): New version set (empty).
4942 2014-05-14  Will Newton  <will.newton@linaro.org>
4944         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4945         rather than #if.
4947 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4949         [BZ #16564]
4950         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4951         arguments with exponent 65 or above.
4952         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4953         arguments 0x1p113L or above.
4954         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4955         to arguments 0x1p107L or above.
4956         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4957         positive arguments with exponent 65 or above.
4958         * math/auto-libm-test-in: Add more tests of log1p.
4959         * math/auto-libm-test-out: Regenerated.
4961         [BZ #16928]
4962         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4963         non-finite arguments is +0.
4964         * math/s_cacosf.c (__cacosf): Likewise.
4965         * math/s_cacosl.c (__cacosl): Likewise.
4966         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4967         * sysdeps/i386/fpu/libm-test-ulps: Update.
4968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970         [BZ #16927]
4971         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4972         value.
4973         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4974         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4975         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4976         for explicit high bit of mantissa when testing for argument equal
4977         to 1.
4978         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4979         * sysdeps/i386/fpu/libm-test-ulps: Update.
4980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4982         [BZ #16516]
4983         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4984         (__erf): Scale by 16 instead of 8 in potentially underflowing
4985         case.  Ensure exception if result actually underflows.
4986         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4987         (__erff): Scale by 16 instead of 8 in potentially underflowing
4988         case.  Ensure exception if result actually underflows.
4989         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4990         (efx8): Remove variable.
4991         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4992         case.  Ensure exception if result actually underflows.
4993         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4994         (efx8): Remove variable.
4995         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4996         case.  Ensure exception if result actually underflows.
4997         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4998         (efx8): Remove variable.
4999         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5000         case.  Ensure exception if result actually underflows.
5001         * math/auto-libm-test-in: Add more tests of erf.
5002         * math/auto-libm-test-out: Regenerated.
5004 2014-05-14  Andreas Schwab  <schwab@suse.de>
5006         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5007         Remove code conditionalized on USE___THREAD.
5009         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5010         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5011         not definedness.
5013 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5016         Define unconditionally.
5017         (__ASSUME_O_CLOEXEC): Likewise.
5018         (__ASSUME_SOCK_CLOEXEC): Likewise.
5019         (__ASSUME_IN_NONBLOCK): Likewise.
5020         (__ASSUME_PIPE2): Likewise.
5021         (__ASSUME_EVENTFD2): Likewise.
5022         (__ASSUME_SIGNALFD4): Likewise.
5023         (__ASSUME_DUP3): Likewise.
5024         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5025         (__ASSUME_DUP3): Do not define.
5026         (__ASSUME_EVENTFD2): Likewise.
5027         (__ASSUME_IN_NONBLOCK): Likewise.
5028         (__ASSUME_O_CLOEXEC): Likewise.
5029         (__ASSUME_PIPE2): Likewise.
5030         (__ASSUME_SIGNALFD4): Likewise.
5031         (__ASSUME_SOCK_CLOEXEC): Likewise.
5032         (__ASSUME_UTIMES): Undefine.
5033         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5034         (__ASSUME_UTIMES): Do not define.
5035         (__ASSUME_O_CLOEXEC): Likewise.
5036         (__ASSUME_SOCK_CLOEXEC): Likewise.
5037         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5038         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5039         0x020621].
5040         (__ASSUME_PIPE2): Likewise.
5041         (__ASSUME_EVENTFD2): Likewise.
5042         (__ASSUME_SIGNALFD4): Likewise.
5043         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5044         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5045         Do not define.
5046         (__ASSUME_EVENTFD2): Likewise.
5047         (__ASSUME_SIGNALFD4): Likewise.
5048         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5049         (__ASSUME_32BITUIDS): Likewise.
5050         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5051         (__ASSUME_IPC64): Likewise.
5052         (__ASSUME_ST_INO_64_BIT): Likewise.
5053         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5054         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5056         (__ASSUME_UTIMES): Do not define.
5057         (__ASSUME_PSELECT): Likewise.
5058         (__ASSUME_PPOLL): Likewise.
5059         (__ASSUME_O_CLOEXEC): Likewise.
5060         (__ASSUME_SOCK_CLOEXEC): Likewise.
5061         (__ASSUME_IN_NONBLOCK): Likewise.
5062         (__ASSUME_PIPE2): Likewise.
5063         (__ASSUME_EVENTFD2): Likewise.
5064         (__ASSUME_SIGNALFD4): Likewise.
5065         (__ASSUME_DUP3): Likewise.
5066         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5067         (__ASSUME_UTIMES): Likewise.
5068         (__ASSUME_O_CLOEXEC): Likewise.
5069         (__ASSUME_SOCK_CLOEXEC): Likewise.
5070         (__ASSUME_IN_NONBLOCK): Likewise.
5071         (__ASSUME_PIPE2): Likewise.
5072         (__ASSUME_EVENTFD2): Likewise.
5073         (__ASSUME_SIGNALFD4): Likewise.
5074         (__ASSUME_DUP3): Likewise.
5075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5076         (__ASSUME_UTIMES): Likewise.
5077         (__ASSUME_O_CLOEXEC): Likewise.
5078         (__ASSUME_SOCK_CLOEXEC): Likewise.
5079         (__ASSUME_IN_NONBLOCK): Likewise.
5080         (__ASSUME_PIPE2): Likewise.
5081         (__ASSUME_EVENTFD2): Likewise.
5082         (__ASSUME_SIGNALFD4): Likewise.
5083         (__ASSUME_DUP3): Likewise.
5084         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5085         Likewise.
5086         (__ASSUME_UTIMES): Likewise.
5087         (__ASSUME_EVENTFD2): Likewise.
5088         (__ASSUME_SIGNALFD4): Likewise.
5089         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5090         (__ASSUME_O_CLOEXEC): Likewise.
5091         (__ASSUME_SOCK_CLOEXEC): Likewise.
5092         (__ASSUME_IN_NONBLOCK): Likewise.
5093         (__ASSUME_PIPE2): Likewise.
5094         (__ASSUME_EVENTFD2): Likewise.
5095         (__ASSUME_SIGNALFD4): Likewise.
5096         (__ASSUME_DUP3): Likewise.
5097         (__ASSUME_UTIMES): Undefine.
5099         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5100         feclearexcept.  Remove symbol versioning code.
5101         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5102         symbol versioning code.
5103         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5104         symbol versioning code.
5105         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5106         feupdateenv.  Remove symbol versioning code.
5107         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5108         fegetexceptflag.  Remove symbol versioning code.
5109         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5110         fesetexceptflag.  Remove symbol versioning code.
5111         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5112         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5113         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5114         (__posix_fadvise64_l32): Remove prototype.
5115         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5116         code.
5118 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5120         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5121         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5122         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5123         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5125 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5127         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5128         current working directory
5130 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5132         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5133         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5134         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5135         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5136         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5137         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5138         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5139         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5140         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5141         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5142         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5143         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5144         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5145         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5146         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5147         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5148         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5149         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5150         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5151         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5152         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5153         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5154         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5155         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5156         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5157         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5158         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5159         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5160         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5161         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5162         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5163         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5164         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5165         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5166         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5167         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5168         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5169         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5170         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5171         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5172         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5173         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5175         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5176         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5178         * sysdeps/unix/sysv/linux/arm/Makefile
5179         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5180         Add rt-aeabi_unwind_cpp_pr1.
5181         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5182         Add nptl-aeabi_unwind_cpp_pr1.
5183         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5184         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5185         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5186         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5187         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5188         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5190         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5191         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5192         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5193         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5195         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5196         Deconditionalize the code that was previously under [RESET_PID].
5197         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5199         * sysdeps/generic/exit-thread.h: New file.
5200         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5201         * include/unistd.h (__exit_thread): Remove declaration.
5202         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5203         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5204         * csu/libc-start.c: Include <exit-thread.h>.
5205         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5206         * nptl/pthread_create.c: Include <exit-thread.h>.
5207         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5208         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5209         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5210         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5211         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5212         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5213         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5214         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5215         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5216         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5217         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5218         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5219         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5220         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5221         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5222         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5223         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5225 2014-05-13  Andreas Schwab  <schwab@suse.de>
5227         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5229 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5231         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5232         (__ASSUME_UTIMES): Do not condition on kernel version.
5233         (__ASSUME_PSELECT): Define unconditionally.
5234         (__ASSUME_PPOLL): Likewise.
5235         (__ASSUME_ATFCTS): Likewise.
5236         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5237         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5238         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5239         (__ASSUME_UTIMENSAT): Define unconditionally.
5240         (__ASSUME_PRIVATE_FUTEX): Likewise.
5241         (__ASSUME_FALLOCATE): Likewise.
5242         (__ASSUME_O_CLOEXEC): Likewise.
5243         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5244         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5245         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5246         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5247         (__ASSUME_IN_NONBLOCK): Likewise.
5248         (__ASSUME_PIPE2): Likewise.
5249         (__ASSUME_EVENTFD2): Likewise.
5250         (__ASSUME_SIGNALFD4): Likewise.
5251         (__ASSUME_DUP3): Likewise.
5252         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5253         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5254         (__ASSUME_AT_RANDOM): Likewise.
5255         (__ASSUME_PREADV): Likewise.
5256         (__ASSUME_PWRITEV): Likewise.
5257         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5258         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5259         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5260         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5261         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5262         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5263         (__ASSUME_O_CLOEXEC): Define unconditionally.
5264         (__ASSUME_PSELECT): Do not undefine conditionally.
5265         (__ASSUME_PPOLL): Likewise.
5266         (__ASSUME_ATFCTS): Likewise.
5267         (__ASSUME_SET_ROBUST_LIST): Likewise.
5268         (__ASSUME_UTIMENSAT): Likewise.
5269         (__ASSUME_FDATASYNC): Define unconditionally.
5270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5271         (__ASSUME_SIGFRAME_V2): Likewise.
5272         )__ASSUME_EVENTFD2): Likewise.
5273         (__ASSUME_SIGNALFD4): Likewise.
5274         (__ASSUME_PSELECT): Do not undefine conditionally.
5275         (__ASSUME_PPOLL): Likewise.
5276         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5277         (__ASSUME_PSELECT): Define unconditionally.
5278         (__ASSUME_PPOLL): Likewise.
5279         (__ASSUME_O_CLOEXEC): Likewise.
5280         (__ASSUME_SOCK_CLOEXEC): Likewise.
5281         (__ASSUME_IN_NONBLOCK): Likewise.
5282         (__ASSUME_PIPE2): Likewise.
5283         (__ASSUME_EVENTFD2): Likewise.
5284         (__ASSUME_SIGNALFD4): Likewise.
5285         (__ASSUME_DUP3): Likewise.
5286         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5287         (__ASSUME_O_CLOEXEC): Likewise.
5288         (__ASSUME_SOCK_CLOEXEC): Likewise.
5289         (__ASSUME_IN_NONBLOCK): Likewise.
5290         (__ASSUME_PIPE2): Likewise.
5291         (__ASSUME_EVENTFD2): Likewise.
5292         (__ASSUME_SIGNALFD4): Likewise.
5293         (__ASSUME_DUP3): Likewise.
5294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5295         (__ASSUME_EVENTFD2): Likewise.
5296         (__ASSUME_SIGNALFD4): Likewise.
5297         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5299 2014-05-12  Andreas Schwab  <schwab@suse.de>
5301         [BZ #16932]
5302         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5303         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5304         than maximum RPC packet size.
5305         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5306         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5307         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5308         (_nss_nis_getservbyport_r): Likewise.
5310 2014-05-12  Will Newton  <will.newton@linaro.org>
5312         * malloc/Makefile (tests): Add tst-mallopt.
5313         * malloc/tst-mallopt.c: New file.
5315 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5317         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5318         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5320 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5322         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5323         (tst-tlsmod6.so): Likewise.
5325 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5327         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5329 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5331         [BZ #16064]
5332         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5333         and <dl-procinfo.h>.
5334         (__fegetenv): Save SSE state in envp->__eip if supported.
5335         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5336         envp->__eip if supported.
5337         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5338         and <dl-procinfo.h>.
5339         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5340         __data_offset and __data_selector in environment to 0.  Set SSE
5341         state if supported.
5342         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5343         test-fenv-sse.
5344         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5345         -mfpmath=sse.
5346         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5348 2014-05-09  Will Newton  <will.newton@linaro.org>
5350         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5351         and libc_relro_required for ARM.
5352         * sysdeps/arm/preconfigure: Regenerate.
5354 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5355             Stefan Liebler  <stli@linux.vnet.ibm.com>
5357         * config.make.in (enable-lock-elision): New Makefile variable.
5358         * configure.ac: Likewise.
5359         * configure: Regenerate.
5360         * sysdeps/s390/configure.ac:
5361         Add check for gcc transactions support.
5362         * sysdeps/s390/configure: Regenerate.
5363         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5364         Build elision files if enabled.
5365         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5366         Add lock elision support for s390.
5367         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5368         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5369         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5370         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5371         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5372         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5373         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5374         Likewise.
5375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5376         Likewise.
5377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5378         Likewise.
5379         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5380         Likewise.
5381         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5382         (__lll_timedlock_elision, __lll_lock_elision)
5383         (__lll_unlock_elision, __lll_trylock_elision)
5384         (lll_timedlock_elision, lll_lock_elision)
5385         (lll_unlock_elision, lll_trylock_elision): Add.
5386         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5387         (pthread_mutex_t): Add lock elision support for s390.
5389 2014-05-14  Wilco  <wdijkstr@arm.com>
5391         * sysdeps/arm/fclrexcpt.c: Cleanup.
5392         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5393         * sysdeps/arm/feenablxcpt.c: Cleanup.
5394         * sysdeps/arm/fegetenv.c: Cleanup.
5395         * sysdeps/arm/fegetexcept.c: Cleanup.
5396         * sysdeps/arm/fegetround.c: Cleanup.
5397         * sysdeps/arm/feholdexcpt.c: Cleanup.
5398         * sysdeps/arm/fesetenv.c: Cleanup.
5399         * sysdeps/arm/fesetround.c: Cleanup.
5400         * sysdeps/arm/feupdateenv.c: Cleanup.
5401         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5402         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5403         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5404         * sysdeps/arm/ftestexcept.c: Cleanup.
5405         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5406         * sysdeps/arm/setfpucw.c: Cleanup.
5408 2014-05-09  Will Newton  <will.newton@linaro.org>
5410         * sysdeps/arm/armv7/strcmp.S: New file.
5411         * NEWS: Mention addition of ARMv7 optimized strcmp.
5413 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5415         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5416         look for %.ac rather than %.in.
5418         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5419         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5420         * sysdeps/mach/hurd/configure: Regenerated.
5421         * sysdeps/unix/sysv/linux/configure: Regenerated.
5423         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5425 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5427         [BZ# 16922]
5428         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5429         (LONG_SUB): Ditto.
5430         (PTR_SUB): Ditto.
5432 2014-05-07  Andreas Schwab  <schwab@suse.de>
5434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5435         when skipping over non-matching result from nscd.
5437 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5439         [BZ #16876]
5440         * nptl/sockperf.c (client): Check socket return value.
5442         [BZ #16877]
5443         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5444         nscd security class.
5446 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5448         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5449         * sysdeps/arm/unwind.h: ... here.
5451 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5453         [BZ# 16916]
5454         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5455         Define.
5457 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5459         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5460         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5461         multiarch strncpy for PPC64.
5462         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5463         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5465         multiarch optimizations.
5466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5467         (__libc_ifunc_impl_list): Likewise.
5468         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5469         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5470         multiarch stpncpy for PPC64.
5471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5472         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5474 2014-05-06  Andreas Schwab  <schwab@suse.de>
5476         [BZ #16912]
5477         * gmon/mcount.c (_MCOUNT_DECL): Use
5478         atomic_compare_and_exchange_bool_acq instead of
5479         catomic_compare_and_exchange_bool_acq.
5481 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5483         * elf/Makefile (others, install-bin): Remove pldd.
5484         (pldd-modules): Variable removed.
5485         ($(objpfx)pldd): Target removed.
5486         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5487         (others, install-bin): Append pldd here.
5488         ($(objpfx)pldd): New target.
5490         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5491         to 0, so the first #if test emitted later doesn't see it undefined.
5492         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5493         * sysdeps/gnu/errlist.c: Regenerated.
5495 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5497         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5498         [libc_hidden_builtin_def]: Define to empty value.
5499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5500         [libc_hidden_builtin_def]: Likewise.
5501         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5502         [libc_hidden_builtin_def]: Likewise.
5503         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5504         [libc_hidden_builtin_def]: Likewise.
5505         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5506         __redirect_memcpy and define ifunc as default hidden symbol.
5507         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5508         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5510 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5512         * locale/iso-4217.def: Reintroduce XDR currency.
5514 2014-05-04  Allan McRae  <allan@archlinux.org>
5516         * po/eo.po: Update Esperanto translation from translation project.
5518 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5520         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5521         and FEATURE_INDEX_MAX to 1.
5522         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5524 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5526         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5527         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5528         * iconvdata/big5.c (ONE_DIRECTION): Define.
5529         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5530         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5531         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5532         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5533         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5534         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5535         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5536         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5537         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5538         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5539         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5540         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5541         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5542         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5543         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5544         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5545         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5546         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5547         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5548         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5549         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5550         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5551         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5552         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5553         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5554         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5555         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5556         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5557         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5558         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5559         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5560         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5561         * iconvdata/johab.c (ONE_DIRECTION): Define.
5562         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5563         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5564         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5565         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5566         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5567         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5568         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5569         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5570         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5571         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5573 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5575         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5576         (_IO_JUMPS_OFFSET): Define to 0.
5578         * nptl/sysdeps/pthread/bits/libc-lock.h
5579         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5580         (__libc_lock_define_initialized_recursive): Always define using
5581         initializer.  Modern compilers treat uninitialized (implicit zero) and
5582         explicit zero initializers the same (i.e. put the datum in bss).
5584 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5586         * nscd/nscd-client.h: Include <string.h>.
5588 2014-05-01  David S. Miller  <davem@davemloft.net>
5590         [BZ #16885]
5591         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5592         multiple zero bytes exist at the end of a string.
5593         Reported by Aurelien Jarno <aurelien@aurel32.net>
5595         * string/test-strcmp.c (check): Add explicit test for situations where
5596         there are multiple zero bytes after the first.
5598 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5600         [BZ #16890]
5601         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5602         when compiling wprintf.
5603         * stdio-common/tstdiomisc.c (t3): New function.
5604         (main): Call it.
5606 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5608         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5609         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5610         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5611         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5613 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5615         * stdlib/longlong.h: Updated from GCC.
5617 2014-05-01  Will Newton  <will.newton@linaro.org>
5618             Bernard Ogden  <bernie.ogden@linaro.org>
5620         * NEWS: Update fixed bug list.
5622         [BZ #15119]
5623         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5625 2014-04-30  David S. Miller  <davem@davemloft.net>
5627         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5628         (libc_feholdexcept_setround_sparc_ctx): New function.
5629         (libc_fesetenv_sparc_ctx): Likewise.
5630         (libc_feupdateenv_sparc_ctx): Likewise.
5631         (libc_feholdsetround_sparc_ctx): Likewise.
5632         (libc_feholdexcept_setround_ctx): Define.
5633         (libc_feholdexcept_setroundf_ctx): Likewise.
5634         (libc_feholdexcept_setroundl_ctx): Likewise.
5635         (libc_fesetenv_ctx): Likewise.
5636         (libc_fesetenvf_ctx): Likewise.
5637         (libc_fesetenvl_ctx): Likewise.
5638         (libc_feupdateenv_ctx): Likewise.
5639         (libc_feupdateenvf_ctx): Likewise.
5640         (libc_feupdateenvl_ctx): Likewise.
5641         (libc_feresetround_ctx): Likewise.
5642         (libc_feresetroundf_ctx): Likewise.
5643         (libc_feresetroundl_ctx): Likewise.
5644         (libc_feholdsetround_ctx): Likewise.
5645         (libc_feholdsetroundf_ctx): Likewise.
5646         (libc_feholdsetroundl_ctx): Likewise.
5648         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5649         with __USE_GNU instead of XOPEN cpp guards.
5651         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5652         0.
5654         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5655         with XOPEN cpp guards.
5657 2014-04-30  Julian Brown  <julian@codesourcery.com>
5659         [BZ #16888]
5660         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5661         handling.
5663 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5665         [BZ #9894]
5666         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5667         Change to 2.6.32.
5668         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5669         * sysdeps/unix/sysv/linux/configure: Regenerated.
5670         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5671         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5672         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5673         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5674         * README: Update reference to required Linux kernel version.
5675         * manual/install.texi (Linux): Update reference to required Linux
5676         kernel headers version.
5677         * INSTALL: Regenerated.
5679         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5680         header inclusion.
5681         [POSIX] (limits.h): Likewise.
5682         [POSIX] (math.h): Likewise.
5683         [POSIX] (sys/wait.h): Likewise.
5684         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5685         function.
5686         [POSIX] (stddef.h): Do not allow header inclusion.
5688 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5690         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5692 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5694         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5695         Return immediately after lll_futex_wake.
5697 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5699         [BZ #16791]
5700         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5701         structure.
5702         (datahead_init_pos): Call datahead_init_common early.
5703         (datahead_init_neg): Likewise.
5705         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5706         datahead_init_neg): New functions.
5707         * nscd/aicache.c (addhstaiX): Use them.
5708         * nscd/grpcache.c (cache_addgr): Likewise.
5709         * nscd/hstcache.c (cache_addhst): Likewise.
5710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5711         * nscd/netgroupcache.c (do_notfound): Likewise.
5712         (addgetnetgrentX): Likewise.
5713         (addinnetgrX): Likewise.
5714         * nscd/pwdcache.c (cache_addpw): Likewise.
5715         * nscd/servicescache.c (cache_addserv): Likewise.
5717 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5718             Atsushi Onoe  <atsushi@onoe.org>
5720         [BZ #14308]
5721         [BZ #12994]
5722         [BZ #13651]
5723         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5724         one response is valid.
5725         * resolv/res_send.c (send_dg): Check for validity of other
5726         response if the current response is a referral.
5728 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5730         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5732 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5734         [BZ #16823]
5735         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5736         Always divide by positive zero when computing -Inf result.
5737         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5738         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5740 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5742         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5743         FPSCR if value do not change.
5744         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5745         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5746         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5747         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5748         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5749         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5750         function.
5752 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5754         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5755         * sysdeps/unix/sysv/linux/hppa: Move directory from
5756         ports/systeps/unix/sysv/linux/hppa.
5757         * README: Update listing for hppa-*-linux-gnu.
5759 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5761         [BZ #16754]
5762         * manual/stdio.texi (Hook functions): Fix types of stream hook
5763         functions.
5764         [BZ #16854]
5765         * socket/sys/socket.h: Fix typo in comment.
5767 2014-04-28  Wilco  <wdijkstr@arm.com>
5769         * sysdeps/arm/fenv_private.h: New file.
5770         * sysdeps/arm/math_private.h: New file.
5771         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5773 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5775         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5776         with __int128_t.
5777         (La_x86_64_retval): Likewise.
5779 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5781         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5782         fpsr if value didn't change.
5783         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5784         to fpcr if value didn't change.
5785         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5786         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5787         fpsr or fpcr if value didn't change.
5788         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5789         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5790         fpcr if value didn't change.
5791         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5792         to fpsr if value didn't change.
5794 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5796         * nptl/tst-sem3.c: Use test-skeleton.c
5797         (main): Rename to do_test.  Use return instead of
5798         exit.
5799         * nptl/tst-sem4.c: Use test-skeleton.c
5800         (main): Rename to do_test.
5802 2014-04-22  David S. Miller  <davem@davemloft.net>
5804         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5805         (struct sigaction): New struct member __glibc_reserved0, change
5806         type of sa_flags to int.
5808 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5810         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5811         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5813 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5815         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5816         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5818 2014-04-22  Will Newton  <will.newton@linaro.org>
5819             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5821         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5822         (__longjmp): Add longjmp and longjmp_target SystemTap
5823         probes.
5824         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5825         (__sigsetjmp): Add setjmp SystemTap probe.
5827 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5829         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5830         match manual order.
5832 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5834         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5836         * sysdeps/powerpc/fpu/fenv_private.h
5837         (libc_feholdexcept_setroundl_ctx): Define to
5838         libc_feholdexcept_setround_ppc_ctx.
5839         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5840         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5841         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5842         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5844 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5846         * sysdeps/aarch64/math-tests.h: New file.
5848 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5850         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5851         New.
5852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5853         Check and set bit_AVX2_Usable.
5854         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5855         macro.
5856         (bit_AVX2): Likewise.
5857         (index_AVX2_Usable): Likewise.
5858         (CPUID_AVX2): Likewise.
5859         (HAS_AVX2): Likewise.
5861 2014-04-17  Will Newton  <will.newton@linaro.org>
5863         * manual/setjmp.texi (System V contexts): Add note that
5864         calling setcontext on a context created by a call to a
5865         signal handler is undefined.  Update text to note that
5866         setcontext from a signal handler is possible but not
5867         recommended.
5869         [BZ #16629]
5870         * stdlib/tst-setcontext.c: Include signal.h.
5871         (main): Check that the signal stack before and
5872         after swapcontext is the same.
5874         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5875         Re-implement to restore registers in user code and avoid
5876         rt_sigreturn system call.
5878 2014-04-17  Wilco  <wdijkstr@arm.com>
5880         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5881         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5882         * math/test-fenv.c: Skip exception trap tests on targets which only
5883         support non-stop mode.
5885 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5886             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5888         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5889         (libc_feholdsetround_aarch64_ctx)
5890         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5891         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5892         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5893         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5894         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5895         (libc_feresetround_noexl_ctx): Define.
5897 2014-04-16  Richard Henderson  <rth@redhat.com>
5899         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5901         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5902         unwind tables.
5904         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5905         const from the non-libc, non-ldso copy.
5907         * sysdeps/alpha/libm-test-ulps: Regenerate.
5909 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5910             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5912         * sysdeps/aarch64/fpu/math_private.h: New file.
5914 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5916         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5918 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5920         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5921         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5923         Intel MPX bound registers before _dl_profile_fixup.
5924         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5925         registers after _dl_profile_fixup.  Save and restore bound
5926         registers bnd0/bnd1 when calling _dl_call_pltexit.
5927         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5928         (LR_BND_OFFSET): Likewise.
5929         (LRV_BND0_OFFSET): Likewise.
5930         (LRV_BND1_OFFSET): Likewise.
5932 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5934         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5935         to...
5936         * sysdeps/mach/hurd/i386/tls.h: ... here.
5937         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5938         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5939         fields.
5941 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5943         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5945 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5947         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5949 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5951         [BZ #14770]
5952         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5953         * sysdeps/s390/configure: Regenerate.
5955         [BZ #16824]
5956         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5957         Set round-to-nearest internally to reduce error accumulation.
5959 2014-04-16  Alan Modra  <amodra@gmail.com>
5961         [BZ #16740]
5962         [BZ #16619]
5963         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5964         * math/libm-test.inc (frexp_test_data): Add tests.
5965         * NEWS: Update fixed bug list.
5967 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5969         * benchtests/Makefile: Depend on libraries in build directory.
5970         (bench-math): Separate out math tests.
5971         (bench-pthread): Separate out pthread tests.
5972         (bench): Include math and pthread tests.
5974 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5976         [BZ #16831]
5977         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5978         _dl_debug_initialize.
5980         * configure.ac: Remove SELinux header check.
5981         * configure: Regenerate.
5982         * nscd/selinux.c (perms): Array of const char* to permission names.
5983         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5984         default policy. Call string_to_security_class and string_to_av_perm to
5985         translate strings. Enforce default policy and call avs_has_perm with
5986         results of translated strings.
5988 2014-04-13  David S. Miller  <davem@davemloft.net>
5990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5992 2014-04-12  Allan McRae  <allan@archlinux.org>
5994         [BZ #16838]
5995         * manual/string.texi (Collation Functions): Fix qsort argument
5996         order in example.
5997         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5999 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6001         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6002         Make the test a no-op if there are no exceptions defined.
6004 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6006         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6007         enable-hardcoded-path-in-tests
6009 2014-04-11  Will Newton  <will.newton@linaro.org>
6011         * benchtests/Makefile (extra-objs): Add json-lib.o.
6012         (bench-func): Tidy up JSON output.
6013         * benchtests/bench-skeleton.c: Include json-lib.h.
6014         (main): Use JSON library functions to do output of
6015         benchmark results.
6016         * benchtests/bench-timing-type.c (main): Output the
6017         timing type simply, leaving formatting to the user.
6018         * benchtests/json-lib.c: New file.
6019         * benchtests/json-lib.h: Likewise.
6021 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6023         [BZ #15215]
6024         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6025         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6026         memory barriers.  Add comments.
6027         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6028         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6029         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6030         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6031         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6032         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6034 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6036         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6037         * sysdeps/s390/s390-64/configure.ac: ... this ...
6038         * sysdeps/s390/configure.ac: ... to here.
6039         * sysdeps/s390/s390-32/configure: Delete file.
6040         * sysdeps/s390/s390-64/configure: Delete file.
6041         * sysdeps/s390/configure: Regenerate.
6043 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6045         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6047 2014-04-11  Will Newton  <will.newton@linaro.org>
6049         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6050         to zero if it is not defined elsewhere.  (mtrim): Test
6051         the value of MALLOC_DEBUG with #if rather than #ifdef.
6053 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6055         * benchtests/pthread_once-inputs: New file.
6056         * benchtests/pthread_once-source.c: New file.
6057         * benchtests/README: Update documentation.
6059 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6060             H.J. Lu  <hongjiu.lu@intel.com>
6062         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6063         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6064         * sysdeps/x86_64/configure: Regenerated.
6065         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6066         macro.
6067         (REGISTER_SAVE_RAX): Likewise.
6068         (REGISTER_SAVE_RCX): Likewise.
6069         (REGISTER_SAVE_RDX): Likewise.
6070         (REGISTER_SAVE_RSI): Likewise.
6071         (REGISTER_SAVE_RDI): Likewise.
6072         (REGISTER_SAVE_R8): Likewise.
6073         (REGISTER_SAVE_R9): Likewise.
6074         (REGISTER_SAVE_BND0): Likewise.
6075         (REGISTER_SAVE_BND1): Likewise.
6076         (REGISTER_SAVE_BND2): Likewise.
6077         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6078         bound registers when calling _dl_fixup.
6080 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6082         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6083         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6084         of its definition.
6085         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6086         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6087         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6088         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6089         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6090         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6091         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6093 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6095         [BZ #15514]
6096         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6097         pathconf(_PC_NAME_MAX).
6099 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6101         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6102         Remove macro usage.
6103         (__PTHREAD_SPINS): Move definition to ...
6104         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6105         (__PTHREAD_SPINS): ... here.
6106         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6107         (__PTHREAD_SPIN): Likewise.
6108         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6109         (__PTHREAD_SPIN): Likewise.
6110         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6111         (__PTHREAD_SPIN): Likewise.
6112         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6113         (__PTHREAD_SPIN): Likewise.
6114         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6115         (__PTHREAD_SPIN): Likewise.
6116         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6117         (__PTHREAD_SPIN): Likewise.
6118         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6119         (__PTHREAD_SPIN): Likewise.
6120         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6121         (__PTHREAD_SPIN): Likewise.
6122         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6123         (__PTHREAD_SPIN): Likewise.
6124         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6125         (__PTHREAD_SPIN): Likewise.
6126         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6127         (__PTHREAD_SPIN): Likewise.
6128         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6129         (__PTHREAD_SPIN): Likewise.
6131         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6132         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6133         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6134         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6135         imply folder.
6136         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6137         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6138         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6139         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6140         correct imply path.
6141         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6142         strlen symbol for non multi-arch builds.
6143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6144         missing hidden_def and weak_alias.
6146 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6148         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6150 2014-04-07  Will Newton  <will.newton@linaro.org>
6152         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6153         and contents.  [!_LIBC] Remove #ifndef and contents.
6154         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6155         * string/memccpy.c (__memccpy): Use ANSI prototype.
6156         * string/memfrob.c (memfrob): Likewise.
6157         * string/strcoll.c (STRCOLL): Likewise.
6158         * string/strlen.c (strlen): Likewise.
6159         * string/strtok.c (STRTOK): Likewise.
6160         * string/strcat.c: Remove unused #include of memcopy.h.
6161         (strcat): Use ANSI prototype.
6162         * string/strchr.c: Remove unused #include of memcopy.h.
6163         (strchr): Use ANSI prototype.
6164         * string/strcmp.c: Remove unused #include of memcopy.h.
6165         (strcmp): Use ANSI prototype.
6166         * string/strcpy.c: Remove unused #include of memcopy.h.
6167         (strcpy): Use ANSI prototype.
6169 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6171         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6172         * config.make.in (config-extra-cppflags): Set it from
6173         libc_extra_cppflags.
6174         * configure.ac (libc_extra_cflags): Make it accumulate over
6175         configure fragments.
6176         (libc_extra_cppflags): New flag.
6177         * configure. Regenerate.
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6179         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6180         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6183         [BZ #16815]
6184         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6185         result for FE_DOWNWARD rounding mode.
6186         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6187         Likewise.
6188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6190 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6192         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6193         in function argument name.
6195 2014-04-03  David Svoboda  <svoboda@cert.org>
6197         [BZ #5666]
6198         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6199         explicitly.
6201 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6203         * elf/dl-unmap-segments.h: New file.
6204         * sysdeps/generic/ldsodefs.h
6205         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6206         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6207         * elf/dl-fptr.c: Likewise.
6208         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6209         * sysdeps/aarch64/tlsdesc.c: Likewise.
6210         * sysdeps/arm/tlsdesc.c: Likewise.
6211         * sysdeps/i386/tlsdesc.c: Likewise.
6212         * sysdeps/tile/dl-runtime.c: Likewise.
6213         * sysdeps/x86_64/tlsdesc.c: Likewise.
6214         * elf/dl-load.h: New file.
6215         * elf/dl-load.c: Include it.
6216         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6217         Macros moved to dl-load.h.
6218         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6219         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6220         Use _dl_unmap_segments in place of __munmap.
6221         Break out segment-mapping loop into ...
6222         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6224 2014-04-03  Will Newton  <will.newton@linaro.org>
6226         * elf/dl-lookup.c (do_lookup_x): Remove comment
6227         referring to nested function and move variable
6228         declarations down to before first use.
6230 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6232         [BZ #16799]
6233         [BZ #16800]
6234         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6235         with 0 numerator.
6236         * math/s_catanf.c (__catanf): Likewise.
6237         * math/s_catanh.c (__catanh): Likewise.
6238         * math/s_catanhf.c (__catanhf): Likewise.
6239         * math/s_catanhl.c (__catanhl): Likewise.
6240         * math/s_catanl.c (__catanl): Likewise.
6241         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6242         by positive zero when computing -Inf result.
6243         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6244         (catanh_test): Likewise.
6245         * sysdeps/i386/fpu/libm-test-ulps: Update.
6246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6248         [BZ #16789]
6249         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6250         instead of using underflowing value in computing result.
6251         * math/s_clog10.c (__clog10): Likewise.
6252         * math/s_clog10f.c (__clog10f): Likewise.
6253         * math/s_clog10l.c (__clog10l): Likewise.
6254         * math/s_clogf.c (__clogf): Likewise.
6255         * math/s_clogl.c (__clogl): Likewise.
6256         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6257         (clog10_test): Likewise.
6258         * sysdeps/i386/fpu/libm-test-ulps: Update.
6259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261 2014-04-02  Alan Modra  <amodra@gmail.com>
6263         [BZ #16739]
6264         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6265         output when value is near a power of two.  Use int64_t for lx and
6266         remove casts.  Use decimal rather than hex exponent constants.
6267         Don't use long double multiplication when double will suffice.
6268         * math/libm-test.inc (nextafter_test_data): Add tests.
6269         * NEWS: Add 16739 and 16786 to bug list.
6271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6273         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6275 2014-04-01  Will Newton  <will.newton@linaro.org>
6277         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6278         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6280 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6282         [BZ #13347]
6283         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6284         * nptl/tst-setuid2.c: New file.
6285         * nptl/Makefile (xtests): Add tst-setuid2.
6287 2014-04-01  Alan Modra  <amodra@gmail.com>
6289         [BZ #16786]
6290         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6292 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6294         [BZ #6803]
6295         [BZ #6804]
6296         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6297         set errno as appropriate.
6298         * math/w_scalbf.c (__scalbf): Likewise.
6299         * math/w_scalbl.c (__scalbl): Likewise.
6300         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6301         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6302         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6303         Add more NaN tests.
6305         [BZ #16349]
6306         * math/w_atan2.c: Include <errno.h>.
6307         (__atan2): Set errno for result underflowing to zero.
6308         * math/w_atan2f.c: Include <errno.h>.
6309         (__atan2f): Set errno for result underflowing to zero.
6310         * math/w_atan2l.c: Include <errno.h>.
6311         (__atan2l): Set errno for result underflowing to zero.
6312         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6313         tests.
6314         * math/auto-libm-test-out: Regenerated.
6316 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6318         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6319         Encode instruction correctly in little endian.
6320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6321         Likewise.
6322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6323         Likewise.
6324         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6325         Likewise.
6326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6327         Likewise.
6329 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6331         [BZ #9894]
6332         * sysdeps/unix/sysv/linux/kernel-features.h
6333         [__sparc__ && !__arch64__ && !__sparc_v9__]
6334         (__ASSUME_SET_ROBUST_LIST): Do not define.
6335         [__sparc__ && !__arch64__ && !__sparc_v9__]
6336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6337         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6338         Likewise.
6339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6340         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6341         (__ASSUME_REQUEUE_PI): Likewise.
6342         (__ASSUME_SET_ROBUST_LIST): Likewise.
6343         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6344         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6345         Undefine.
6346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6347         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6348         Likewise.
6349         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6350         Likewise.
6351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6352         Likewise.
6353         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6354         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6355         Undefine.
6356         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6357         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6358         Likewise.
6360         [BZ #16648]
6361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6363         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6365 2014-03-31  Will Newton  <will.newton@linaro.org>
6367         * benchtests/Makefile (bench): Add ffs and ffsll to list
6368         of tests.
6369         * benchtests/ffs-inputs: New file.
6370         * benchtests/ffsll-inputs: Likewise.
6372 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6374         [BZ #16770]
6375         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6376         too large before casting to int.
6377         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6378         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6379         * math/libm-test.inc (scalb_test_data): Add more tests.
6381 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6383         * benchtests/Makefile (DETAILED_OPT): New make option.
6384         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6385         set.
6386         * benchtests/bench-skeleton.c: Include stdbool.h.
6387         (main): Store and print timings per input.
6388         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6389         member to each argument value.
6390         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6391         (_print_arg_data): Initialize per-input timing to 0.
6393         * benchtests/Makefile (timing-type): New binary.
6394         (bench-clean): Also remove bench-timing-type.
6395         (bench): New target for timing-type.
6396         (bench-func): Print output in JSON format.
6397         * benchtests/bench-skeleton.c (main): Print output in JSON
6398         format.
6399         * benchtests/bench-timing-type.c: New file.
6400         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6401         (TIMING_PRINT_STATS): Remove.
6402         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6403         name separately.
6405         * benchtests/bench-modf.c: Remove.
6406         * benchtests/modf-inputs: New inputs file.
6408 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6410         [BZ #16362]
6411         * math/s_clog10.c (M_PI_LOG10E): New macro.
6412         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6413         imaginary parts are 0.
6414         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6415         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6416         imaginary parts are 0.
6417         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6418         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6419         imaginary parts are 0.
6420         * math/libm-test.inc (clog10_test_data): Update expected results
6421         for when real and imaginary parts are 0.
6423 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6425         * elf/dl-load.c: Finish conversion of __builtin_expect into
6426         __glibc_{un}likely.
6428 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6430         [BZ #16348]
6431         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6432         1+x for argument with exponent below -67.
6433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6434         Likewise.
6435         * math/auto-libm-test-in: Add more tests of exp.
6436         * math/auto-libm-test-out: Regenerated.
6438 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6440         [BZ #16759]
6441         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6442         (nscd_getnetgrent): Use it.
6444         [BZ #16760]
6445         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6446         of stpcpy.
6448 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6450         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6451         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6452         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6453         (lll_robust_unlock): Remove out of line section. Use cfi
6454         intrinsics.
6455         (LLL_STUB_UNWIND_INFO*): Remove.
6456         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6457         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6458         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6459         (lll_robust_unlock): Remove out of line section. Use cfi
6460         intrinsics.
6461         (LLL_STUB_UNWIND_INFO*): Remove.
6463 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6465         [BZ #16758]
6466         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6467         blank values.
6469 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6471         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6473 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #16198]
6476         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6477         fnstenv.
6478         * math/test-fenv-preserve.c: New file.
6479         * math/Makefile (tests): Add test-fenv-preserve.
6481 2014-03-26  Will Newton <will.newton@linaro.org>
6483         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6485 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6487         * scripts/versionlist.awk: Partition the version sets and emit all
6488         GLIBC_* (sorted) before all others (sorted).
6490 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6492         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6493         GLIBC_2.2.5 version.
6495 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6497         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6498         calls.
6500         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6501         previous change.
6503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6505 2014-03-25  Andreas Schwab  <schwab@suse.de>
6507         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6508         label to be used after in6ailist is initialized.
6510 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6512         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6513         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6515 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6517         [BZ #16357]
6518         [BZ #16599]
6519         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6520         min_plus_half.
6521         (fp_formats): Update initializers.
6522         (init_fp_formats): Initialize new field.
6523         (output_for_one_input_case): Allow underflow for results up to
6524         min_plus_half.
6525         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6526         * math/auto-libm-test-in: Don't mark some underflows from asin and
6527         atanh as spurious.
6528         * math/auto-libm-test-out: Regenerated.
6529         * sysdeps/i386/fpu/libm-test-ulps: Update.
6530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6532 2014-03-25  Andreas Schwab  <schwab@suse.de>
6534         * libio/Makefile (tst-ftell-partial-wide-ENV)
6535         (tst-ftell-active-handler-ENV): Define.
6537 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6539         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6541 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6543         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6545 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6547         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6548         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6549         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6551 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6553         [BZ #16634]
6554         * elf/dl-load.c (open_verify): Add mode parameter.
6555         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6556         (open_path): Change from boolean 'secure' to complete flag 'mode'
6557         (_dl_map_object): Adjust.
6558         * elf/Makefile (tests): Add tst-dlopen-aout.
6559         * elf/tst-dlopen-aout.c: New test.
6561 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6563         [BZ #16714]
6564         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6565         (struct stat): Rename member pad0 to __glibc_reserved0.
6567         [BZ #16712]
6568         * sysdeps/s390/s390-32/bits/wordsize.h
6569         (__WORDSIZE32_SIZE_ULONG): New define.
6570         * sysdeps/s390/s390-64/bits/wordsize.h
6571         (__WORDSIZE32_SIZE_ULONG): Likewise.
6572         * sysdeps/generic/stdint.h (SIZE_MAX):
6573         Define as UL if __WORDSIZE32_SIZE_ULONG.
6575         [BZ #16713]
6576         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6577         (__glibc_reserved0): New variable.
6578         (sa_flags): Change type to int.
6580         * posix/Makefile (before-compile): Use += before-compile instead
6581         of a :=.
6583         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6584         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6586 2014-03-20  Andreas Schwab  <schwab@suse.de>
6588         [BZ #16743]
6589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6590         non-matching result from nscd.
6592 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6594         * scripts/bench.py: Moved to ...
6595         * benchtests/scripts/bench.py: ... here.
6596         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6598 2014-03-24  Andreas Schwab  <schwab@suse.de>
6600         [BZ #16002]
6601         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6602         alloca_account and account alloca use for struct in6ailist.
6604 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6606         [BZ #16284]
6607         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6608         rounding mode to recompute results that overflow to infinity or
6609         underflow to zero.
6610         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6611         bug 16284.
6612         * math/auto-libm-test-out: Regenerated.
6613         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6614         (ccosh_test): Likewise.
6615         (csin_test_data): Use plus_oflow.
6616         (csin_test): Use ALL_RM_TEST.
6617         (csinh_test_data): Use plus_oflow.
6618         (csinh_test): Use ALL_RM_TEST.
6619         * sysdeps/i386/fpu/libm-test-ulps: Update.
6620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6622 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6624         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6625         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6626         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6628         [BZ #16731]
6629         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6630         when x - 1 is zero.
6631         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6632         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6633         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6635         argument is 1.
6636         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6637         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6638         zero.
6639         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6640         * sysdeps/i386/fpu/libm-test-ulps: Update.
6641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6643 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6645         * scripts/bench.pl: Remove file.
6646         * scripts/bench.py: New benchmark script.
6647         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6648         * benchtests/README: Mention python dependency.
6649         * scripts/pylintrc: New file.
6650         * scripts/pylint: New file.
6652         * bits/mathdef.h: Use #ifdef instead of #if.
6653         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6654         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6655         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6656         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6657         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6658         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6660 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6661             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6663         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6665         and strpbrk-ppc64 objects.
6666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6667         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6668         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6669         multiarch strpbrk for POWER7.
6670         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6671         multiarch strpbrk for PPC64.
6672         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6673         ifunc selector.
6674         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6675         strpbrk for POWER7.
6677 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6679         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6680         (atan_test): Likewise.
6681         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6682         (atanh_test): Use ALL_RM_TEST.
6683         (atan2_test_data): Likewise.
6684         (cabs_test): Likewise.
6685         (cacosh_test): Likewise.
6686         (carg_test): Likewise.
6687         (casin_test): Likewise.
6688         (casinh_test): Likewise.
6689         (cbrt_test): Likewise.
6690         (csqrt_test): Likewise.
6691         (erf_test): Likewise.
6692         (erfc_test): Likewise.
6693         (pow10_test): Likewise.
6694         (exp2_test): Likewise.
6695         (hypot_test): Likewise.
6696         (j0_test): Likewise.
6697         (j1_test): Likewise.
6698         (lgamma_test): Likewise.
6699         (gamma_test): Likewise.
6700         (sincos_test): Likewise.
6701         (tanh_test): Likewise.
6702         (y0_test): Likewise.
6703         (y1_test): Likewise.
6704         * sysdeps/i386/fpu/libm-test-ulps: Update.
6705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6709         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6711         and strcspn-ppc64 objects.
6712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6713         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6714         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6715         multiarch strcspn for POWER7.
6716         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6717         multiarch strcspn for PPC64.
6718         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6719         ifunc selector.
6720         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6721         strcspn for POWER7.
6723 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6725         * math/gen-libm-test.pl (generate_testfile): Expect only function
6726         name as argument to AUTO_TESTS_* and pass results for all rounding
6727         modes to parse_args.
6728         (parse_auto_input): Separate inputs of automatic tests from
6729         outputs before storing in %auto_tests.
6730         * math/libm-test.inc (acos_test_data): Update call to
6731         AUTO_TESTS_f_f.
6732         (acos_test): Use ALL_RM_TEST.
6733         (acos_tonearest_test_data): Remove.
6734         (acos_test_tonearest): Likewise.
6735         (acos_towardzero_test_data): Likewise.
6736         (acos_test_towardzero): Likewise.
6737         (acos_downward_test_data): Likewise.
6738         (acos_test_downward): Likewise.
6739         (acos_upward_test_data): Likewise.
6740         (acos_test_upward): Likewise.
6741         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6742         (asin_test_data): Likewise.
6743         (asin_test): Use ALL_RM_TEST.
6744         (asin_tonearest_test_data): Remove.
6745         (asin_test_tonearest): Likewise.
6746         (asin_towardzero_test_data): Likewise.
6747         (asin_test_towardzero): Likewise.
6748         (asin_downward_test_data): Likewise.
6749         (asin_test_downward): Likewise.
6750         (asin_upward_test_data): Likewise.
6751         (asin_test_upward): Likewise.
6752         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6753         (atan_test_data): Likewise.
6754         (atanh_test_data): Likewise.
6755         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6756         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6757         (carg_test_data): Likewise.
6758         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6759         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6760         (ccosh_test_data): Likewise.
6761         (cexp_test_data): Likewise.
6762         (clog_test_data): Likewise.
6763         (clog10_test_data): Likewise.
6764         (cos_test_data): Update call to AUTO_TESTS_f_f.
6765         (cos_test): Use ALL_RM_TEST.
6766         (cos_tonearest_test_data): Remove.
6767         (cos_test_tonearest): Likewise.
6768         (cos_towardzero_test_data): Likewise.
6769         (cos_test_towardzero): Likewise.
6770         (cos_downward_test_data): Likewise.
6771         (cos_test_downward): Likewise.
6772         (cos_upward_test_data): Likewise.
6773         (cos_test_upward): Likewise.
6774         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6775         (cosh_test): Use ALL_RM_TEST.
6776         (cosh_tonearest_test_data): Remove.
6777         (cosh_test_tonearest): Likewise.
6778         (cosh_towardzero_test_data): Likewise.
6779         (cosh_test_towardzero): Likewise.
6780         (cosh_downward_test_data): Likewise.
6781         (cosh_test_downward): Likewise.
6782         (cosh_upward_test_data): Likewise.
6783         (cosh_test_upward): Likewise.
6784         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6785         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6786         (ctan_test_data): Likewise.
6787         (ctan_test): Use ALL_RM_TEST.
6788         (ctan_tonearest_test_data): Remove.
6789         (ctan_test_tonearest): Likewise.
6790         (ctan_towardzero_test_data): Likewise.
6791         (ctan_test_towardzero): Likewise.
6792         (ctan_downward_test_data): Likewise.
6793         (ctan_test_downward): Likewise.
6794         (ctan_upward_test_data): Likewise.
6795         (ctan_test_upward): Likewise.
6796         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6797         (ctanh_test): Use ALL_RM_TEST.
6798         (ctanh_tonearest_test_data): Remove.
6799         (ctanh_test_tonearest): Likewise.
6800         (ctanh_towardzero_test_data): Likewise.
6801         (ctanh_test_towardzero): Likewise.
6802         (ctanh_downward_test_data): Likewise.
6803         (ctanh_test_downward): Likewise.
6804         (ctanh_upward_test_data): Likewise.
6805         (ctanh_test_upward): Likewise.
6806         (erf_test_data): Update call to AUTO_TESTS_f_f.
6807         (erfc_test_data): Likewise.
6808         (exp_test_data): Likewise.
6809         (exp_test): Use ALL_RM_TEST.
6810         (exp_tonearest_test_data): Remove.
6811         (exp_test_tonearest): Likewise.
6812         (exp_towardzero_test_data): Likewise.
6813         (exp_test_towardzero): Likewise.
6814         (exp_downward_test_data): Likewise.
6815         (exp_test_downward): Likewise.
6816         (exp_upward_test_data): Likewise.
6817         (exp_test_upward): Likewise.
6818         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6819         (exp10_test): Use ALL_RM_TEST.
6820         (exp10_tonearest_test_data): Remove.
6821         (exp10_test_tonearest): Likewise.
6822         (exp10_towardzero_test_data): Likewise.
6823         (exp10_test_towardzero): Likewise.
6824         (exp10_downward_test_data): Likewise.
6825         (exp10_test_downward): Likewise.
6826         (exp10_upward_test_data): Likewise.
6827         (exp10_test_upward): Likewise.
6828         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6829         (expm1_test_data): Likewise.
6830         (expm1_test): Use ALL_RM_TEST.
6831         (expm1_tonearest_test_data): Remove.
6832         (expm1_test_tonearest): Likewise.
6833         (expm1_towardzero_test_data): Likewise.
6834         (expm1_test_towardzero): Likewise.
6835         (expm1_downward_test_data): Likewise.
6836         (expm1_test_downward): Likewise.
6837         (expm1_upward_test_data): Likewise.
6838         (expm1_test_upward): Likewise.
6839         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6840         (fma_test): Use ALL_RM_TEST.
6841         (fma_towardzero_test_data): Remove.
6842         (fma_test_towardzero): Likewise.
6843         (fma_downward_test_data): Likewise.
6844         (fma_test_downward): Likewise.
6845         (fma_upward_test_data): Likewise.
6846         (fma_test_upward): Likewise.
6847         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6848         (j0_test_data): Update call to AUTO_TESTS_f_f.
6849         (j1_test_data): Likewise.
6850         (jn_test_data): Update call to AUTO_TESTS_if_f.
6851         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6852         (log_test_data): Update call to AUTO_TESTS_f_f.
6853         (log10_test_data): Likewise.
6854         (log1p_test_data): Likewise.
6855         (log2_test_data): Likewise.
6856         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6857         (pow_tonearest_test_data): Likewise.
6858         (sin_test_data): Update call to AUTO_TESTS_f_f.
6859         (sin_test): Use ALL_RM_TEST.
6860         (sin_tonearest_test_data): Remove.
6861         (sin_test_tonearest): Likewise.
6862         (sin_towardzero_test_data): Likewise.
6863         (sin_test_towardzero): Likewise.
6864         (sin_downward_test_data): Likewise.
6865         (sin_test_downward): Likewise.
6866         (sin_upward_test_data): Likewise.
6867         (sin_test_upward): Likewise.
6868         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6869         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6870         (sinh_test): Use ALL_RM_TEST.
6871         (sinh_tonearest_test_data): Remove.
6872         (sinh_test_tonearest): Likewise.
6873         (sinh_towardzero_test_data): Likewise.
6874         (sinh_test_towardzero): Likewise.
6875         (sinh_downward_test_data): Likewise.
6876         (sinh_test_downward): Likewise.
6877         (sinh_upward_test_data): Likewise.
6878         (sinh_test_upward): Likewise.
6879         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6880         (sqrt_test): Use ALL_RM_TEST.
6881         (sqrt_tonearest_test_data): Remove.
6882         (sqrt_test_tonearest): Likewise.
6883         (sqrt_towardzero_test_data): Likewise.
6884         (sqrt_test_towardzero): Likewise.
6885         (sqrt_downward_test_data): Likewise.
6886         (sqrt_test_downward): Likewise.
6887         (sqrt_upward_test_data): Likewise.
6888         (sqrt_test_upward): Likewise.
6889         (tan_test_data): Update call to AUTO_TESTS_f_f.
6890         (tan_test): Use ALL_RM_TEST.
6891         (tan_tonearest_test_data): Remove.
6892         (tan_test_tonearest): Likewise.
6893         (tan_towardzero_test_data): Likewise.
6894         (tan_test_towardzero): Likewise.
6895         (tan_downward_test_data): Likewise.
6896         (tan_test_downward): Likewise.
6897         (tan_upward_test_data): Likewise.
6898         (tan_test_upward): Likewise.
6899         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6900         (tgamma_test_data): Likewise.
6901         (y0_test_data): Likewise.
6902         (y1_test_data): Likewise.
6903         (yn_test_data): Update call to AUTO_TESTS_if_f.
6904         (main): Do not call removed functions.
6906 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6908         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6909         (ldexp_test_data): Remove.
6910         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6911         scalbn_test_data.
6912         (scalb_test): Use ALL_RM_TEST.
6914 2014-03-19  Andreas Schwab  <schwab@suse.de>
6916         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6918 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6920         [BZ #16649]
6921         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6923         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6925         (__ASSUME_PREADV): Undefine.
6926         (__ASSUME_PWRITEV): Likewise.
6928 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6930         * bits/mman-linux.h: Add comment about non-Linux use.
6931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6932         bits/mman-linux.h resting place.
6934         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6935         * bits/mman-linux.h: ... here.
6937 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6939         * conform/conformtest.pl: Add standard definition when calling C
6940         preprocessor on data files.
6941         (checknamespace): Remove unused variable.
6943 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6945         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6946         minus_oflow, plus_uflow and minus_uflow in expected results.
6947         * math/libm-test.inc (scalbn_test_data): Add more tests of
6948         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6949         minus_uflow.
6950         (scalbn_test): Use ALL_RM_TEST.
6951         (scalbln_test_data): Add more tests of negative arguments.  Use
6952         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6953         (scalbln_test): Use ALL_RM_TEST.
6955 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6957         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6959 2014-03-18  Will Newton  <will.newton@linaro.org>
6961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6962         inaccurate comment.
6964 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6966         * Makerules [!subdir] (check-abi): Exit with error status if a
6967         test failed.
6969 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6971         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6972         for rint.  Include results for all rounding modes.
6973         (nearbyint_test): Use ALL_RM_TEST.
6974         (rint_test_data): Include all tests used for nearbyint.
6976 2014-03-17  Will Newton  <will.newton@linaro.org>
6978         * nptl/sysdeps/pthread/pthread.h: Revert previous
6979         change.
6981         * sysdeps/generic/ldsodefs.h: Revert previous
6982         change.
6984         * libio/genops.c: Revert previous change.
6985         * libio/libioP.h: Likewise.
6986         * stdio-common/vfprintf.c: Likewise.
6988         * sysdeps/generic/math_private.h: Revert previous
6989         change.
6991         * sysdeps/generic/math_private.h: Check whether
6992         HAVE_RM_CTX is defined with #ifdef rather
6993         than #if.
6995         * argp/argp-fmtstream.h: Check whether
6996         __STRICT_ANSI__ is defined with #ifdef rather
6997         than #if.
6998         * argp/argp.h: Likewise.
7000         * libio/genops.c: Check whether
7001         _IO_JUMPS_OFFSET is defined with #ifdef rather
7002         than #if.
7003         * libio/libioP.h: Likewise.
7004         * stdio-common/vfprintf.c: Likewise.
7006         * sysdeps/generic/ldsodefs.h: Check whether
7007         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7008         than #if.
7010         * nptl/sysdeps/pthread/pthread.h: Check
7011         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7012         its value.
7014 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7016         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7017         setting O_APPEND.
7018         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7019         test case.
7021         [BZ #16680]
7022         * libio/fileops.c (_IO_file_open): Seek to end of file but
7023         don't cache the offset.
7024         (get_file_offset): Remove function.
7025         (do_ftell): Use cached offset when available.
7026         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7027         don't cache the offset.
7028         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7029         case.
7030         (do_one_test): Call it.
7031         (do_ftell_test): Fix up expected old offset for a+ mode.
7032         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7033         available.
7035         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7036         up test status with function return status.
7037         (do_write_test): Likewise.
7038         (do_append_test): Likewise.
7040         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7041         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7042         Remove.
7044 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7046         * math/gen-libm-test.pl (parse_args): Handle results specified for
7047         each rounding mode separately.
7048         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7049         tests and results from lrint_tonearest_test_data,
7050         lrint_towardzero_test_data, lrint_downward_test_data and
7051         lrint_upward_test_data.
7052         (lrint_test): Use ALL_RM_TEST.
7053         (lrint_tonearest_test_data): Remove.
7054         (lrint_test_tonearest): Likewise.
7055         (lrint_towardzero_test_data): Likewise.
7056         (lrint_test_towardzero): Likewise.
7057         (lrint_downward_test_data): Likewise.
7058         (lrint_test_downward): Likewise.
7059         (lrint_upward_test_data): Likewise.
7060         (lrint_test_upward): Likewise.
7061         (llrint_test_data): Merge in per-rounding-mode tests and results
7062         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7063         llrint_downward_test_data and llrint_upward_test_data.
7064         (llrint_test): Use ALL_RM_TEST.
7065         (llrint_tonearest_test_data): Remove.
7066         (llrint_test_tonearest): Likewise.
7067         (llrint_towardzero_test_data): Likewise.
7068         (llrint_test_towardzero): Likewise.
7069         (llrint_downward_test_data): Likewise.
7070         (llrint_test_downward): Likewise.
7071         (llrint_upward_test_data): Likewise.
7072         (llrint_test_upward): Likewise.
7073         (rint_test_data): Merge in per-rounding-mode tests and results
7074         from rint_tonearest_test_data, rint_towardzero_test_data,
7075         rint_downward_test_data and rint_upward_test_data.  Add
7076         per-rounding-mode results for tests not in those arrays.
7077         (rint_test): Use ALL_RM_TEST.
7078         (rint_tonearest_test_data): Remove.
7079         (rint_test_tonearest): Likewise.
7080         (rint_towardzero_test_data): Likewise.
7081         (rint_test_towardzero): Likewise.
7082         (rint_downward_test_data): Likewise.
7083         (rint_test_downward): Likewise.
7084         (rint_upward_test_data): Likewise.
7085         (rint_test_upward): Likewise.
7086         (main): Don't call removed functions.
7088 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7090         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7091         "Compiled on ..." crapola.  It is anti-useful.
7093 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7095         * scripts/evaluate-test.sh: Handle fourth argument to determine
7096         whether test run should stop on failure.
7097         * Makeconfig (stop-on-test-failure): New variable.
7098         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7099         $(stop-on-test-failure).
7100         * Makefile (tests): Give a summary of results from testing and
7101         exit with failure status if they include an ERROR or FAIL.
7102         (xtests): Likewise.
7103         * manual/install.texi (Configuring and compiling): Mention
7104         stop-on-test-failure=y.
7105         * INSTALL: Regenerated.
7107 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7109         * scripts/versionlist.awk: New file.
7110         * Makerules [$(build-shared) = yes]
7111         (postclean-generated): Add Versions.def, not Versions.def.v and
7112         Versions.def.v.i.
7113         ($(common-objpfx)Versions.def.v.i): Target removed.
7114         ($(common-objpfx)Versions.def): New target.
7115         ($(common-objpfx)Versions.all): Depend on that rather that
7116         $(common-objpfx)Versions.def.v.
7117         * Versions.def: File removed.
7119         * Makeconfig (+gccwarn): Add -Wundef.
7120         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7121         a dl-sysdep.h breaking its contract.
7122         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7123         * include/stackinfo.h: New file.
7124         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7125         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7126         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7127         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7128         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7129         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7130         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7131         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7132         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7133         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7134         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7135         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7136         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7137         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7138         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7140 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7142         [BZ #16707]
7143         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7144         implementation.
7145         * math/libm-test.inc (round_test_data): Add more tests.
7147         [BZ #16706]
7148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7149         implementation.
7150         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7152         [BZ #16701]
7153         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7154         implementation.
7155         * math/libm-test.inc (ceil_test_data): Add more tests.
7157         * math/libm-test.inc (trunc_test_data): Add more tests related to
7158         BZ#16414.
7160 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7162         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7163         with #if rather than #ifdef.
7164         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7166 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7168         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7169         first.  Disable AVX-512 GCC support if assembler doesn't support
7170         it.
7171         * sysdeps/x86_64/configure: Regenerated.
7173 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7175         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7176         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7177         (__old_pthread_attr_setstack): Likewise.
7178         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7179         [!_STACK_GROWS_DOWN]: Likewise.
7181 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7183         * config.make.in (have-bash2): Delete.
7184         * configure.ac (libc_cv_have_bash2): Delete.
7185         * configure: Regenerate.
7186         * elf/Makefile (common-ldd-rewrite): Rename to ...
7187         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7188         (sh-ldd-rewrite): Delete.
7189         (bash-ldd-rewrite): Delete.
7190         (have-bash2): Delete checks.
7191         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7192         ldd-rewrite.
7194         * config.make.in (have-ksh): Delete.
7195         (KSH): Delete.
7196         * configure.ac (libc_cv_have_ksh): Delete.
7197         * configure: Regenerate.
7199         * elf/Makefile: Delete $(have-ksh) check.
7200         ($(objpfx)sotruss): Change KSH to BASH.
7201         * elf/sotruss.ksh: Rename to ...
7202         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7203         function style to match POSIX.  Drop ksh vim mode setting.
7205         * manual/time.texi (Specifying the Time Zone with TZ): Change
7206         Tuesday to Thursday.
7208         * debug/tst-longjmp_chk2.c: Update header comment.
7209         (stackoverflow_handler): Add comment.  Call assert on pass value.
7211 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7213         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7214         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7215         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7216         (La_x86_64_vector): Add zmm.
7217         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7218         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7219         ($(objpfx)tst-audit10): New target.
7220         ($(objpfx)tst-audit10.out): Likewise.
7221         (tst-audit10-ENV): New.
7222         (AVX512-CFLAGS): Likewise.
7223         (CFLAGS-tst-audit10.c): Likewise.
7224         (CFLAGS-tst-auditmod10a.c): Likewise.
7225         (CFLAGS-tst-auditmod10b.c): Likewise.
7226         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7227         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7228         * sysdeps/x86_64/configure: Regenerated.
7229         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7230         AVX-512 zmm register support.
7231         (_dl_x86_64_save_sse): Likewise.
7232         (_dl_x86_64_restore_sse): Likewise.
7233         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7234         size vector registers.
7235         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7236         (ZMM_SIZE): Likewise.
7237         * sysdeps/x86_64/tst-audit10.c: New file.
7238         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7239         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7241 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7243         * configure.ac (HAVE_EHDR_START): New check.
7244         * configure: Regenerated.
7245         * config.h.in (HAVE_EHDR_START): New #undef.
7246         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7247         assuming the lowest-addressed segment maps the start of the file.
7249 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7251         * INSTALL: Regenerated.
7253 2014-03-13  Will Newton  <will.newton@linaro.org>
7255         * manual/setjmp.texi (System V contexts): Improve
7256         clarity and grammar of documentation.
7258 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7260         [BZ #16381]
7261         * elf/Makefile (tests): Add tst-pie2.
7262         (tests-pie): Add tst-pie2.
7263         * elf/tst-pie2.c: New file.
7264         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7265         for ET_EXEC.
7266         * elf/rtld.c (map_doit): Load executable as lt_executable.
7267         (dl_main): Likewise.
7269 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7271         [BZ #16642]
7272         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7273         (__ASSUME_PSELECT): Undefine.
7275 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7277         [BZ #16689]
7278         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7279         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7280         static build.
7281         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7282         selector for static builds.
7284 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7286         [BZ #16695]
7287         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7288         key in the buffer.
7290 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7292         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7293         IFUNC selector for static builds.
7295 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7297         * sysdeps/mips/math_private.h [__mips_hard_float]
7298         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7299         libc_feresetround_mips_ctx.
7300         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7301         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7302         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7304         [BZ #16677]
7305         * math/s_nextafter.c (__nextafter): Do not return value from
7306         overflowing computation.
7307         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7308         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7309         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7310         Likewise.
7311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7312         Likewise.
7313         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7314         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7316 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7318         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7319         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7320         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7321         the new mov targetting sp.
7323 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7325         [BZ #16683]
7326         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7327         Define it for static builds as well.
7328         (NO_BZERO_IMPL): Likewise.
7330 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7332         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7333         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7334         multiarch strspn for PPC64.
7335         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7336         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7338         (__libc_ifunc_impl_list): Likewise.
7339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7340         multiarch optimizations
7341         * string/strspn.c (strspn): Using macro to redefine symbol name.
7343 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7344             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7346         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7347         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7348         multiarch strncat for PPC64.
7349         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7350         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7352         (__libc_ifunc_impl_list): Likewise.
7353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7354         multiarch optimizations
7356 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7358         [BZ #16639]
7359         * nscd/nscd.service: Make service type forking.
7361 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7363         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7364         sign in non default rounding modes.
7365         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7367 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7369         * math/libm-test.inc (ALL_RM_TEST): New macro.
7370         (ceil_test): Use ALL_RM_TEST.
7371         (cimag_test): Likewise.
7372         (conj_test): Likewise.
7373         (copysign_test): Likewise.
7374         (cproj_test): Likewise.
7375         (creal_test): Likewise.
7376         (fabs_test): Likewise.
7377         (floor_test): Likewise.
7378         (fmax_test): Likewise.
7379         (fmin_test): Likewise.
7380         (fmod_test): Likewise.
7381         (fpclassify_test): Likewise.
7382         (frexp_test): Likewise.
7383         (ilogb_test): Likewise.
7384         (isfinite_test): Likewise.
7385         (finite_test): Likewise.
7386         (isgreater_test): Likewise.
7387         (isgreaterequal_test): Likewise.
7388         (isinf_test): Likewise.
7389         (isless_test): Likewise.
7390         (islessequal_test): Likewise.
7391         (islessgreater_test): Likewise.
7392         (isnan_test): Likewise.
7393         (isnormal_test): Likewise.
7394         (issignaling_test): Likewise.
7395         (isunordered_test): Likewise.
7396         (logb_test): Likewise.
7397         (logb_downward_test_data): Remove.
7398         (logb_test_downward): Likewise.
7399         (lround_test): Use ALL_RM_TEST.
7400         (llround_test): Likewise.
7401         (modf_test): Likewise.
7402         (nexttoward_test): Likewise.
7403         (remainder_test): Likewise.
7404         (drem_test): Likewise.
7405         (remainder_tonearest_test_data): Likewise.
7406         (remainder_test_tonearest): Likewise.
7407         (drem_test_tonearest): Likewise.
7408         (remainder_towardzero_test_data): Likewise.
7409         (remainder_test_towardzero): Likewise.
7410         (drem_test_towardzero): Likewise.
7411         (remainder_downward_test_data): Likewise.
7412         (remainder_test_downward): Likewise.
7413         (drem_test_downward): Likewise.
7414         (remainder_upward_test_data): Likewise.
7415         (remainder_test_upward): Likewise.
7416         (drem_test_upward): Likewise.
7417         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7418         (round_test): Use ALL_RM_TEST.
7419         (signbit_test): Likewise.
7420         (trunc_test): Likewise.
7421         (significand_test): Likewise.
7422         (main): Don't call removed functions.
7424 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #16674]
7427         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7428         || __USE_XOPEN2K8].
7429         (ILL_ILLOPN): Likewise.
7430         (ILL_ILLADR): Likewise.
7431         (ILL_ILLTRP): Likewise.
7432         (ILL_PRVOPC): Likewise.
7433         (ILL_PRVREG): Likewise.
7434         (ILL_COPROC): Likewise.
7435         (ILL_BADSTK): Likewise.
7436         (FPE_INTDIV): Likewise.
7437         (FPE_INTOVF): Likewise.
7438         (FPE_FLTDIV): Likewise.
7439         (FPE_FLTOVF): Likewise.
7440         (FPE_FLTUND): Likewise.
7441         (FPE_FLTRES): Likewise.
7442         (FPE_FLTINV): Likewise.
7443         (FPE_FLTSUB): Likewise.
7444         (SEGV_MAPERR): Likewise.
7445         (SEGV_ACCERR): Likewise.
7446         (BUS_ADRALN): Likewise.
7447         (BUS_ADRERR): Likewise.
7448         (BUS_OBJERR): Likewise.
7449         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7450         (TRAP_TRACE): Likewise.
7451         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7452         __USE_XOPEN2K8].
7453         (CLD_KILLED): Likewise.
7454         (CLD_DUMPED): Likewise.
7455         (CLD_TRAPPED): Likewise.
7456         (CLD_STOPPED): Likewise.
7457         (CLD_CONTINUED): Likewise.
7458         (POLL_IN): Likewise.
7459         (POLL_OUT): Likewise.
7460         (POLL_MSG): Likewise.
7461         (POLL_ERR): Likewise.
7462         (POLL_PRI): Likewise.
7463         (POLL_HUP): Likewise.
7464         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7465         Likewise.
7466         (ILL_ILLOPN): Likewise.
7467         (ILL_ILLADR): Likewise.
7468         (ILL_ILLTRP): Likewise.
7469         (ILL_PRVOPC): Likewise.
7470         (ILL_PRVREG): Likewise.
7471         (ILL_COPROC): Likewise.
7472         (ILL_BADSTK): Likewise.
7473         (FPE_INTDIV): Likewise.
7474         (FPE_INTOVF): Likewise.
7475         (FPE_FLTDIV): Likewise.
7476         (FPE_FLTOVF): Likewise.
7477         (FPE_FLTUND): Likewise.
7478         (FPE_FLTRES): Likewise.
7479         (FPE_FLTINV): Likewise.
7480         (FPE_FLTSUB): Likewise.
7481         (SEGV_MAPERR): Likewise.
7482         (SEGV_ACCERR): Likewise.
7483         (BUS_ADRALN): Likewise.
7484         (BUS_ADRERR): Likewise.
7485         (BUS_OBJERR): Likewise.
7486         (BUS_MCEERR_AR): Likewise.
7487         (BUS_MCEERR_AO): Likewise.
7488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7489         (TRAP_TRACE): Likewise.
7490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7491         __USE_XOPEN2K8].
7492         (CLD_KILLED): Likewise.
7493         (CLD_DUMPED): Likewise.
7494         (CLD_TRAPPED): Likewise.
7495         (CLD_STOPPED): Likewise.
7496         (CLD_CONTINUED): Likewise.
7497         (POLL_IN): Likewise.
7498         (POLL_OUT): Likewise.
7499         (POLL_MSG): Likewise.
7500         (POLL_ERR): Likewise.
7501         (POLL_PRI): Likewise.
7502         (POLL_HUP): Likewise.
7503         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7504         (ILL_ILLOPN): Likewise.
7505         (ILL_ILLADR): Likewise.
7506         (ILL_ILLTRP): Likewise.
7507         (ILL_PRVOPC): Likewise.
7508         (ILL_PRVREG): Likewise.
7509         (ILL_COPROC): Likewise.
7510         (ILL_BADSTK): Likewise.
7511         (FPE_INTDIV): Likewise.
7512         (FPE_INTOVF): Likewise.
7513         (FPE_FLTDIV): Likewise.
7514         (FPE_FLTOVF): Likewise.
7515         (FPE_FLTUND): Likewise.
7516         (FPE_FLTRES): Likewise.
7517         (FPE_FLTINV): Likewise.
7518         (FPE_FLTSUB): Likewise.
7519         (SEGV_MAPERR): Likewise.
7520         (SEGV_ACCERR): Likewise.
7521         (BUS_ADRALN): Likewise.
7522         (BUS_ADRERR): Likewise.
7523         (BUS_OBJERR): Likewise.
7524         (BUS_MCEERR_AR): Likewise.
7525         (BUS_MCEERR_AO): Likewise.
7526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7527         (TRAP_TRACE): Likewise.
7528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7529         __USE_XOPEN2K8].
7530         (CLD_KILLED): Likewise.
7531         (CLD_DUMPED): Likewise.
7532         (CLD_TRAPPED): Likewise.
7533         (CLD_STOPPED): Likewise.
7534         (CLD_CONTINUED): Likewise.
7535         (POLL_IN): Likewise.
7536         (POLL_OUT): Likewise.
7537         (POLL_MSG): Likewise.
7538         (POLL_ERR): Likewise.
7539         (POLL_PRI): Likewise.
7540         (POLL_HUP): Likewise.
7541         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7542         Likewise.
7543         (ILL_ILLOPN): Likewise.
7544         (ILL_ILLADR): Likewise.
7545         (ILL_ILLTRP): Likewise.
7546         (ILL_PRVOPC): Likewise.
7547         (ILL_PRVREG): Likewise.
7548         (ILL_COPROC): Likewise.
7549         (ILL_BADSTK): Likewise.
7550         (ILL_BADIADDR): Likewise.
7551         (ILL_BREAK): Likewise.
7552         (FPE_INTDIV): Likewise.
7553         (FPE_INTOVF): Likewise.
7554         (FPE_FLTDIV): Likewise.
7555         (FPE_FLTOVF): Likewise.
7556         (FPE_FLTUND): Likewise.
7557         (FPE_FLTRES): Likewise.
7558         (FPE_FLTINV): Likewise.
7559         (FPE_FLTSUB): Likewise.
7560         (FPE_DECOVF): Likewise.
7561         (FPE_DECDIV): Likewise.
7562         (FPE_DECERR): Likewise.
7563         (FPE_INVASC): Likewise.
7564         (FPE_INVDEC): Likewise.
7565         (SEGV_MAPERR): Likewise.
7566         (SEGV_ACCERR): Likewise.
7567         (SEGV_PSTKOVF): Likewise.
7568         (BUS_ADRALN): Likewise.
7569         (BUS_ADRERR): Likewise.
7570         (BUS_OBJERR): Likewise.
7571         (BUS_MCEERR_AR): Likewise.
7572         (BUS_MCEERR_AO): Likewise.
7573         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7574         (TRAP_TRACE): Likewise.
7575         (TRAP_BRANCH): Likewise.
7576         (TRAP_HWBKPT): Likewise.
7577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7578         __USE_XOPEN2K8].
7579         (CLD_KILLED): Likewise.
7580         (CLD_DUMPED): Likewise.
7581         (CLD_TRAPPED): Likewise.
7582         (CLD_STOPPED): Likewise.
7583         (CLD_CONTINUED): Likewise.
7584         (POLL_IN): Likewise.
7585         (POLL_OUT): Likewise.
7586         (POLL_MSG): Likewise.
7587         (POLL_ERR): Likewise.
7588         (POLL_PRI): Likewise.
7589         (POLL_HUP): Likewise.
7590         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7591         (ILL_ILLOPN): Likewise.
7592         (ILL_ILLADR): Likewise.
7593         (ILL_ILLTRP): Likewise.
7594         (ILL_PRVOPC): Likewise.
7595         (ILL_PRVREG): Likewise.
7596         (ILL_COPROC): Likewise.
7597         (ILL_BADSTK): Likewise.
7598         (FPE_INTDIV): Likewise.
7599         (FPE_INTOVF): Likewise.
7600         (FPE_FLTDIV): Likewise.
7601         (FPE_FLTOVF): Likewise.
7602         (FPE_FLTUND): Likewise.
7603         (FPE_FLTRES): Likewise.
7604         (FPE_FLTINV): Likewise.
7605         (FPE_FLTSUB): Likewise.
7606         (SEGV_MAPERR): Likewise.
7607         (SEGV_ACCERR): Likewise.
7608         (BUS_ADRALN): Likewise.
7609         (BUS_ADRERR): Likewise.
7610         (BUS_OBJERR): Likewise.
7611         (BUS_MCEERR_AR): Likewise.
7612         (BUS_MCEERR_AO): Likewise.
7613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7614         (TRAP_TRACE): Likewise.
7615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7616         __USE_XOPEN2K8].
7617         (CLD_KILLED): Likewise.
7618         (CLD_DUMPED): Likewise.
7619         (CLD_TRAPPED): Likewise.
7620         (CLD_STOPPED): Likewise.
7621         (CLD_CONTINUED): Likewise.
7622         (POLL_IN): Likewise.
7623         (POLL_OUT): Likewise.
7624         (POLL_MSG): Likewise.
7625         (POLL_ERR): Likewise.
7626         (POLL_PRI): Likewise.
7627         (POLL_HUP): Likewise.
7628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7629         (ILL_ILLOPN): Likewise.
7630         (ILL_ILLADR): Likewise.
7631         (ILL_ILLTRP): Likewise.
7632         (ILL_PRVOPC): Likewise.
7633         (ILL_PRVREG): Likewise.
7634         (ILL_COPROC): Likewise.
7635         (ILL_BADSTK): Likewise.
7636         (FPE_INTDIV): Likewise.
7637         (FPE_INTOVF): Likewise.
7638         (FPE_FLTDIV): Likewise.
7639         (FPE_FLTOVF): Likewise.
7640         (FPE_FLTUND): Likewise.
7641         (FPE_FLTRES): Likewise.
7642         (FPE_FLTINV): Likewise.
7643         (FPE_FLTSUB): Likewise.
7644         (SEGV_MAPERR): Likewise.
7645         (SEGV_ACCERR): Likewise.
7646         (BUS_ADRALN): Likewise.
7647         (BUS_ADRERR): Likewise.
7648         (BUS_OBJERR): Likewise.
7649         (BUS_MCEERR_AR): Likewise.
7650         (BUS_MCEERR_AO): Likewise.
7651         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7652         (TRAP_TRACE): Likewise.
7653         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7654         __USE_XOPEN2K8].
7655         (CLD_KILLED): Likewise.
7656         (CLD_DUMPED): Likewise.
7657         (CLD_TRAPPED): Likewise.
7658         (CLD_STOPPED): Likewise.
7659         (CLD_CONTINUED): Likewise.
7660         (POLL_IN): Likewise.
7661         (POLL_OUT): Likewise.
7662         (POLL_MSG): Likewise.
7663         (POLL_ERR): Likewise.
7664         (POLL_PRI): Likewise.
7665         (POLL_HUP): Likewise.
7666         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7667         (ILL_ILLOPN): Likewise.
7668         (ILL_ILLADR): Likewise.
7669         (ILL_ILLTRP): Likewise.
7670         (ILL_PRVOPC): Likewise.
7671         (ILL_PRVREG): Likewise.
7672         (ILL_COPROC): Likewise.
7673         (ILL_BADSTK): Likewise.
7674         (FPE_INTDIV): Likewise.
7675         (FPE_INTOVF): Likewise.
7676         (FPE_FLTDIV): Likewise.
7677         (FPE_FLTOVF): Likewise.
7678         (FPE_FLTUND): Likewise.
7679         (FPE_FLTRES): Likewise.
7680         (FPE_FLTINV): Likewise.
7681         (FPE_FLTSUB): Likewise.
7682         (SEGV_MAPERR): Likewise.
7683         (SEGV_ACCERR): Likewise.
7684         (BUS_ADRALN): Likewise.
7685         (BUS_ADRERR): Likewise.
7686         (BUS_OBJERR): Likewise.
7687         (BUS_MCEERR_AR): Likewise.
7688         (BUS_MCEERR_AO): Likewise.
7689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7690         (TRAP_TRACE): Likewise.
7691         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7692         __USE_XOPEN2K8].
7693         (CLD_KILLED): Likewise.
7694         (CLD_DUMPED): Likewise.
7695         (CLD_TRAPPED): Likewise.
7696         (CLD_STOPPED): Likewise.
7697         (CLD_CONTINUED): Likewise.
7698         (POLL_IN): Likewise.
7699         (POLL_OUT): Likewise.
7700         (POLL_MSG): Likewise.
7701         (POLL_ERR): Likewise.
7702         (POLL_PRI): Likewise.
7703         (POLL_HUP): Likewise.
7704         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7705         (ILL_ILLOPN): Likewise.
7706         (ILL_ILLADR): Likewise.
7707         (ILL_ILLTRP): Likewise.
7708         (ILL_PRVOPC): Likewise.
7709         (ILL_PRVREG): Likewise.
7710         (ILL_COPROC): Likewise.
7711         (ILL_BADSTK): Likewise.
7712         (ILL_DBLFLT): Likewise.
7713         (ILL_HARDWALL): Likewise.
7714         (FPE_INTDIV): Likewise.
7715         (FPE_INTOVF): Likewise.
7716         (FPE_FLTDIV): Likewise.
7717         (FPE_FLTOVF): Likewise.
7718         (FPE_FLTUND): Likewise.
7719         (FPE_FLTRES): Likewise.
7720         (FPE_FLTINV): Likewise.
7721         (FPE_FLTSUB): Likewise.
7722         (SEGV_MAPERR): Likewise.
7723         (SEGV_ACCERR): Likewise.
7724         (BUS_ADRALN): Likewise.
7725         (BUS_ADRERR): Likewise.
7726         (BUS_OBJERR): Likewise.
7727         (BUS_MCEERR_AR): Likewise.
7728         (BUS_MCEERR_AO): Likewise.
7729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7730         (TRAP_TRACE): Likewise.
7731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7732         __USE_XOPEN2K8].
7733         (CLD_KILLED): Likewise.
7734         (CLD_DUMPED): Likewise.
7735         (CLD_TRAPPED): Likewise.
7736         (CLD_STOPPED): Likewise.
7737         (CLD_CONTINUED): Likewise.
7738         (POLL_IN): Likewise.
7739         (POLL_OUT): Likewise.
7740         (POLL_MSG): Likewise.
7741         (POLL_ERR): Likewise.
7742         (POLL_PRI): Likewise.
7743         (POLL_HUP): Likewise.
7744         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7745         (ILL_ILLOPN): Likewise.
7746         (ILL_ILLADR): Likewise.
7747         (ILL_ILLTRP): Likewise.
7748         (ILL_PRVOPC): Likewise.
7749         (ILL_PRVREG): Likewise.
7750         (ILL_COPROC): Likewise.
7751         (ILL_BADSTK): Likewise.
7752         (FPE_INTDIV): Likewise.
7753         (FPE_INTOVF): Likewise.
7754         (FPE_FLTDIV): Likewise.
7755         (FPE_FLTOVF): Likewise.
7756         (FPE_FLTUND): Likewise.
7757         (FPE_FLTRES): Likewise.
7758         (FPE_FLTINV): Likewise.
7759         (FPE_FLTSUB): Likewise.
7760         (SEGV_MAPERR): Likewise.
7761         (SEGV_ACCERR): Likewise.
7762         (BUS_ADRALN): Likewise.
7763         (BUS_ADRERR): Likewise.
7764         (BUS_OBJERR): Likewise.
7765         (BUS_MCEERR_AR): Likewise.
7766         (BUS_MCEERR_AO): Likewise.
7767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7768         (TRAP_TRACE): Likewise.
7769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7770         __USE_XOPEN2K8].
7771         (CLD_KILLED): Likewise.
7772         (CLD_DUMPED): Likewise.
7773         (CLD_TRAPPED): Likewise.
7774         (CLD_STOPPED): Likewise.
7775         (CLD_CONTINUED): Likewise.
7776         (POLL_IN): Likewise.
7777         (POLL_OUT): Likewise.
7778         (POLL_MSG): Likewise.
7779         (POLL_ERR): Likewise.
7780         (POLL_PRI): Likewise.
7781         (POLL_HUP): Likewise.
7782         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7783         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7785         [BZ #16670]
7786         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7787         before #include of <time.h>.
7788         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7789         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7790         (test-xfail-UNIX98/sched.h/conform): Likewise.
7792 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7794         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7795         error absence of trapping exception support.
7796         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7798 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7800         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7801         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7802         * timezone/Makefile (testdata): Move definition above include of
7803         Rules.
7804         (test-zones): New variable.
7805         (tests-special): Add zone files.
7806         (build-testdata): Use $(evaluate-test).
7808         * elf/Makefile (tests-special): Rename tests to end with .out.
7809         ($(objpfx)noload-mem): Likewise.
7810         ($(objpfx)tst-leaks1-mem): Likewise.
7811         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7812         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7813         $(objpfx)test-iconvconfig.out.
7814         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7815         set -e inside subshell and redirect output to file.
7816         * iconvdata/Makefile (generated): Rename tests to end with .out.
7817         Correct type.
7818         (tests-special): Rename tests to end with .out.
7819         ($(objpfx)mtrace-tst-loading): Likewise.
7820         * intl/Makefile (generated): Likewise.
7821         (tests-special): Likewise.
7822         ($(objpfx)mtrace-tst-gettext): Likewise.
7823         * misc/Makefile (generated): Likewise.
7824         (tests-special): Likewise.
7825         ($(objpfx)tst-error1-mem): Likewise.
7826         * nptl/Makefile (tests-special): Likewise.
7827         ($(objpfx)tst-stack3-mem): Likewise.
7828         (generated): Likewise.
7829         * posix/Makefile (generated): Likewise.
7830         (tests-special): Likewise.
7831         (xtests-special): Likewise.
7832         ($(objpfx)tst-fnmatch-mem): Likewise.
7833         ($(objpfx)bug-regex2-mem): Likewise.
7834         ($(objpfx)bug-regex14-mem): Likewise.
7835         ($(objpfx)bug-regex21-mem): Likewise.
7836         ($(objpfx)bug-regex31-mem): Likewise.
7837         ($(objpfx)tst-vfork3-mem): Likewise.
7838         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7839         ($(objpfx)tst-pcre-mem): Likewise.
7840         ($(objpfx)tst-boost-mem): Likewise.
7841         ($(objpfx)bug-ga2-mem): Likewise.
7842         ($(objpfx)bug-glob2-mem): Likewise.
7843         * resolv/Makefile (generate): Likewise.
7844         (tests-special): Likewise.
7845         (xtests-special): Likewise.
7846         (generated): Likewise.
7847         ($(objpfx)mtrace-tst-leaks): Likewise.
7848         ($(objpfx)mtrace-tst-leaks2): Likewise.
7850         * scripts/merge-test-results.sh: New file.
7851         * Makefile (tests-special-notdir): New variable.
7852         (tests): Run merge-test-results.sh.
7853         (xtests): Likewise.
7854         * Rules (tests-special-notdir): New variable.
7855         (xtests-special-notdir): Likewise.
7856         (tests): Run merge-test-results.sh
7857         (xtests): Likewise.
7859         * Makeconfig (test-xfail-name): New variable.
7860         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7861         compute variable name for expected failures.
7862         * conform/Makefile (conformtest-headers-data): New variable.
7863         (conformtest-standards): Likewise.
7864         (conformtest-headers-ISO): Likewise.
7865         (conformtest-headers-ISO99): Likewise.
7866         (conformtest-headers-ISO11): Likewise.
7867         (conformtest-headers-POSIX): Likewise.
7868         (conformtest-headers-XPG3): Likewise.
7869         (conformtest-headers-XPG4): Likewise.
7870         (conformtest-headers-UNIX98): Likewise.
7871         (conformtest-headers-XOPEN2K): Likewise.
7872         (conformtest-headers-POSIX2008): Likewise.
7873         (conformtest-headers-XOPEN2K8): Likewise.
7874         (conformtest-header-list-base): Likewise.
7875         (conformtest-header-list-tests): Likewise.
7876         (conformtest-header-base): Likewise.
7877         (conformtest-header-tests): Likewise.
7878         (tests-special): Add $(conformtest-header-list-tests).  If
7879         [$(fast-check) && !$(cross-compiling)], add
7880         $(conformtest-header-tests) instead of
7881         $(objpfx)run-conformtest.out.
7882         (generated): Add $(conformtest-header-list-base).  If
7883         [$(fast-check) && !$(cross-compiling)], add
7884         $(conformtest-header-base).  Remove previous setting.
7885         ($(conformtest-header-list-tests)): New target.
7886         (test-xfail-run-conformtest): Remove variable.
7887         ($(objpfx)run-conformtest.out): Remove target.
7888         (test-xfail-ISO11/complex.h/conform): New variable.
7889         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7890         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7891         (test-xfail-XPG3/varargs.h/conform): Likewise.
7892         (test-xfail-XPG4/varargs.h/conform): Likewise.
7893         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7894         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7895         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7896         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7897         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7898         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7899         (test-xfail-XPG3/ftw.h/conform): Likewise.
7900         (test-xfail-XPG3/grp.h/conform): Likewise.
7901         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7902         (test-xfail-XPG3/limits.h/conform): Likewise.
7903         (test-xfail-XPG3/pwd.h/conform): Likewise.
7904         (test-xfail-XPG3/search.h/conform): Likewise.
7905         (test-xfail-XPG3/signal.h/conform): Likewise.
7906         (test-xfail-XPG3/stdio.h/conform): Likewise.
7907         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7908         (test-xfail-XPG3/string.h/conform): Likewise.
7909         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7910         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7911         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7912         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7913         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7914         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7915         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7916         (test-xfail-XPG3/termios.h/conform): Likewise.
7917         (test-xfail-XPG3/time.h/conform): Likewise.
7918         (test-xfail-XPG3/unistd.h/conform): Likewise.
7919         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7920         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7921         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7922         (test-xfail-XPG4/netdb.h/conform): Likewise.
7923         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7924         (test-xfail-XPG4/signal.h/conform): Likewise.
7925         (test-xfail-XPG4/stdio.h/conform): Likewise.
7926         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7927         (test-xfail-XPG4/stropts.h/conform): Likewise.
7928         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7929         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7930         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7931         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7932         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7933         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7934         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7935         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7936         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7937         (test-xfail-XPG4/termios.h/conform): Likewise.
7938         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7939         (test-xfail-XPG4/unistd.h/conform): Likewise.
7940         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7941         (test-xfail-POSIX/sched.h/conform): Likewise.
7942         (test-xfail-POSIX/signal.h/conform): Likewise.
7943         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7944         (test-xfail-POSIX/tar.h/conform): Likewise.
7945         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7946         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7947         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7948         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7949         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7950         (test-xfail-UNIX98/sched.h/conform): Likewise.
7951         (test-xfail-UNIX98/signal.h/conform): Likewise.
7952         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7953         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7954         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7955         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7956         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7957         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7958         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7959         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7960         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7961         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7962         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7963         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7964         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7965         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7966         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7967         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7968         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7969         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7970         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7971         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7972         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7973         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7974         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7975         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7976         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7977         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7978         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7979         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7980         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7981         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7982         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7983         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7984         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7985         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7986         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7987         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7988         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7989         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7990         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7991         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7992         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7993         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7994         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7995         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7996         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7997         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7998         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7999         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8000         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8001         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8002         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8003         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8004         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8005         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8006         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8007         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8008         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8009         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8010         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8011         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8012         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8013         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8014         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8015         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8016         (conformtest-cc-flags): Likewise.
8017         ($(conformtest-header-tests): New target.
8018         * conform/check-header-lists.sh: New file.
8019         * conform/run-conformtest.sh: Remove.
8021         * conform/conformtest.pl: Allow ' and \ in values given for
8022         constants.
8023         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8024         inclusion.
8025         [POSIX] (sys/types.h): Likewise.
8026         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8027         inclusion.
8028         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8029         inclusion.
8030         * conform/data/signal.h-data (SIGIO): Remove expectation.
8031         [XPG3] (SIGBUS): Do not expect.
8032         [POSIX || XPG3] (SIGPOLL): Likewise.
8033         [POSIX || XPG3] (SIGPROF): Likewise.
8034         [POSIX || XPG3] (SIGSYS): Likewise.
8035         [XPG3] (SIGTRAP): Likewise.
8036         [POSIX || XPG3] (SIGURG): Likewise.
8037         [POSIX || XPG3] (SIGVTALRM): Likewise.
8038         [POSIX || XPG3] (SIGXCPU): Likewise.
8039         [POSIX || XPG3] (SIGXFSZ): Likewise.
8040         [POSIX] (SA_SIGINFO): Expect.
8041         [XPG3] (siginfo_t): Do not expect type or contents.
8042         [POSIX] (si_pid): Do not expect element.
8043         [POSIX] (si_uid): Likewise.
8044         [POSIX] (si_addr): Likewise.
8045         [POSIX] (si_status): Likewise.
8046         [POSIX] (si_band): Likewise.
8047         [XPG4] (si_value): Likewise.
8048         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8049         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8050         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8051         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8052         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8053         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8054         [POSIX || XPG3] (ILL_COPROC): Likewise.
8055         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8056         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8057         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8058         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8059         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8060         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8061         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8062         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8063         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8064         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8065         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8066         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8067         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8068         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8069         [POSIX || XPG3] (CLD_EXITED): Likewise.
8070         [POSIX || XPG3] (CLD_KILLED): Likewise.
8071         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8072         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8073         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8074         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8075         [POSIX || XPG3] (POLL_IN): Likewise.
8076         [POSIX || XPG3] (POLL_OUT): Likewise.
8077         [POSIX || XPG3] (POLL_MSG): Likewise.
8078         [POSIX || XPG3] (POLL_ERR): Likewise.
8079         [POSIX || XPG3] (POLL_PRI): Likewise.
8080         [POSIX || XPG3] (POLL_HUP): Likewise.
8081         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8082         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8083         (SIG*): Do not allow.
8084         [XPG3] (si_*): Likewise.
8085         [XPG3] (SI_*): Likewise.
8086         [XPG3 || XPG4] (sigev_*): Likewise.
8087         [XPG3 || XPG4] (SIGEV_*): Likewise.
8088         [XPG3 || XPG4] (sival_*): Likewise.
8089         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8090         [POSIX || XPG3] (BUS_*): Likewise.
8091         [POSIX || XPG3] (CLD_*): Likewise.
8092         [POSIX || XPG3] (FPE_*): Likewise.
8093         [POSIX || XPG3] (ILL_*): Likewise.
8094         [POSIX || XPG3] (POLL_*): Likewise.
8095         [POSIX || XPG3] (SEGV_*): Likewise.
8096         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8097         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8098         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8099         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8100         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8101         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8102         Specify type and value.
8103         (TVERSLEN): Likewise.
8104         (REGTYPE): Likewise.
8105         (AREGTYPE): Likewise.
8106         (LNKTYPE): Likewise.
8107         (SYMTYPE): Likewise.
8108         (CHRTYPE): Likewise.
8109         (BLKTYPE): Likewise.
8110         (DIRTYPE): Likewise.
8111         (FIFOTYPE): Likewise.
8112         (CONTTYPE): Likewise.
8113         (TSUID): Likewise.
8114         (TSGID): Likewise.
8115         (TSVTX): Likewise.
8116         (TUREAD): Likewise.
8117         (TUWRITE): Likewise.
8118         (TUEXEC): Likewise.
8119         (TGREAD): Likewise.
8120         (TGWRITE): Likewise.
8121         (TGEXEC): Likewise.
8122         (TOREAD): Likewise.
8123         (TOWRITE): Likewise.
8124         (TOEXEC): Likewise.
8125         [POSIX] (TSVTX): Expect constant.
8127 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8129         * Makefile (tests): Change dependencies to ....
8130         (tests-special): ... additions to this variable.
8131         (tests): Depend on $(tests-special).
8132         * Makerules (check-abi-list): New variable.
8133         (check-abi): Depend on $(check-abi-list).
8134         [$(subdir) = elf] (tests-special): Add
8135         $(objpfx)check-abi-libc.out.
8136         [$(build-shared) = yes && subdir] (tests-special): Add
8137         $(check-abi-list).
8138         [$(build-shared) = yes && subdir] (tests): Do not depend on
8139         check-abi.
8140         * Rules (tests): Depend on $(tests-special).
8141         (xtests): Depend on $(xtests-special).
8142         * catgets/Makefile (tests): Change dependencies to ....
8143         (tests-special): ... additions to this variable.
8144         * conform/Makefile (tests): Change dependencies to ....
8145         (tests-special): ... additions to this variable.
8146         * elf/Makefile (tests): Change dependencies to ....
8147         (tests-special): ... additions to this variable.
8148         * grp/Makefile (tests): Change dependencies to ....
8149         (tests-special): ... additions to this variable.
8150         * iconv/Makefile (xtests): Change dependencies to ....
8151         (xtests-special): ... additions to this variable.
8152         * iconvdata/Makefile (tests): Change dependencies to ....
8153         (tests-special): ... additions to this variable.
8154         * intl/Makefile (tests): Change dependencies to ....
8155         (tests-special): ... additions to this variable.  Also add
8156         $(objpfx)tst-gettext.out.
8157         * io/Makefile (tests): Change dependencies to ....
8158         (tests-special): ... additions to this variable.
8159         * libio/Makefile (tests): Change dependencies to ....
8160         (tests-special): ... additions to this variable.
8161         * malloc/Makefile (tests): Change dependencies to ....
8162         (tests-special): ... additions to this variable.
8163         * misc/Makefile (tests): Change dependencies to ....
8164         (tests-special): ... additions to this variable.
8165         * nptl/Makefile (tests): Change dependencies to ....
8166         (tests-special): ... additions to this variable.
8167         * nptl_db/Makefile (tests): Change dependencies to ....
8168         (tests-special): ... additions to this variable.
8169         * posix/Makefile (tests): Change dependencies to ....
8170         (tests-special): ... additions to this variable.
8171         (xtests): Change dependencies to ....
8172         (xtests-special): ... additions to this variable.
8173         * resolv/Makefile (tests): Change dependencies to ....
8174         (tests-special): ... additions to this variable.
8175         (xtests): Change dependencies to ....
8176         (xtests-special): ... additions to this variable.
8177         * stdio-common/Makefile (tests): Change dependencies to ....
8178         (tests-special): ... additions to this variable.
8179         (do-tst-unbputc): Remove target.
8180         (do-tst-printf): Likewise.
8181         * stdlib/Makefile (tests): Change dependencies to ....
8182         (tests-special): ... additions to this variable.
8183         * string/Makefile (tests): Change dependencies to ....
8184         (tests-special): ... additions to this variable.
8185         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8186         (tests-special): ... additions to this variable.
8188         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8189         whole file.
8190         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8191         whole file.
8192         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8193         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8195         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8196         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8197         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8198         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8199         * conform/data/libgen.h-data [XPG3]: Likewise.
8200         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8201         * conform/data/ndbm.h-data [XPG3]: Likewise.
8202         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8203         * conform/data/netdb.h-data [XPG3]: Likewise.
8204         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8205         * conform/data/poll.h-data [XPG3]: Likewise.
8206         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8207         * conform/data/strings.h-data [XPG3]: Likewise.
8208         * conform/data/stropts.h-data [XPG3]: Likewise.
8209         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8210         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8211         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8212         Likewise.
8213         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8214         * conform/data/sys/time.h-data [XPG3]: Likewise.
8215         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8216         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8217         * conform/data/sys/un.h-data [XPG3]: Likewise.
8218         * conform/data/syslog.h-data [XPG3]: Likewise.
8219         * conform/data/ucontext.h-data [XPG3]: Likewise.
8220         * conform/data/utmpx.h-data [XPG3]: Likewise.
8221         * conform/data/varargs.h-data [UNIX98]: Enable file.
8223         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8225         * math/libm-test.inc (struct test_f_f_data): Move expected results
8226         into structure for each rounding mode.
8227         (struct test_ff_f_data): Likewise.
8228         (struct test_ff_f_data_nexttoward): Likewise.
8229         (struct test_fi_f_data): Likewise.
8230         (struct test_fl_f_data): Likewise.
8231         (struct test_if_f_data): Likewise.
8232         (struct test_fff_f_data): Likewise.
8233         (struct test_c_f_data): Likewise.
8234         (struct test_f_f1_data): Likewise.
8235         (struct test_fF_f1_data): Likewise.
8236         (struct test_ffI_f1_data): Likewise.
8237         (struct test_c_c_data): Likewise.
8238         (struct test_cc_c_data): Likewise.
8239         (struct test_f_i_data): Likewise.
8240         (struct test_ff_i_data): Likewise.
8241         (struct test_f_l_data): Likewise.
8242         (struct test_f_L_data): Likewise.
8243         (struct test_fFF_11_data): Likewise.
8244         (RM_): New macro.
8245         (RM_FE_DOWNWARD): Likewise.
8246         (RM_FE_TONEAREST): Likewise.
8247         (RM_FE_TOWARDZERO): Likewise.
8248         (RM_FE_UPWARD): Likewise.
8249         (RUN_TEST_LOOP_f_f): Update references to expected results.
8250         (RUN_TEST_LOOP_2_f): Likewise.
8251         (RUN_TEST_LOOP_fff_f): Likewise.
8252         (RUN_TEST_LOOP_c_f): Likewise.
8253         (RUN_TEST_LOOP_f_f1): Likewise.
8254         (RUN_TEST_LOOP_fF_f1): Likewise.
8255         (RUN_TEST_LOOP_fI_f1): Likewise.
8256         (RUN_TEST_LOOP_ffI_f1): Likewise.
8257         (RUN_TEST_LOOP_c_c): Likewise.
8258         (RUN_TEST_LOOP_cc_c): Likewise.
8259         (RUN_TEST_LOOP_f_i): Likewise.
8260         (RUN_TEST_LOOP_f_i_tg): Likewise.
8261         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8262         (RUN_TEST_LOOP_f_b): Likewise.
8263         (RUN_TEST_LOOP_f_b_tg): Likewise.
8264         (RUN_TEST_LOOP_f_l): Likewise.
8265         (RUN_TEST_LOOP_f_L): Likewise.
8266         (RUN_TEST_LOOP_fFF_11): Likewise.
8267         * math/gen-libm-test.pl (parse_args): Output four copies of
8268         expected results for each test.
8270         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8271         (__ASSUME_UTIMES): Remove.
8272         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8273         (__ASSUME_UTIMES): Likewise.
8275         * math/gen-auto-libm-tests.c: Update comment on output format.
8276         (output_for_one_input_case): Generate before-rounding and
8277         after-rounding information as conditions on output flags not
8278         floating-point format.
8279         * math/auto-libm-test-out: Regenerated.
8280         * math/gen-libm-test.pl (cond_value): New function.
8281         (or_cond_value): Use cond_value.
8282         (generate_testfile): Handle conditional exceptions.
8284 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8286         * math/libm-test.inc (max_valid_error): New variable.
8287         (init_max_error): Take new argument specifying whether function
8288         results are exactly determined.  Set max_valid_error and bound
8289         other variables for errors based on this argument.
8290         (set_max_error): Do not record results above max_valid_error.
8291         (check_float_internal): Only accept errors of up to 0.5ulps if
8292         also at most max_valid_error.
8293         (START): Take new argument EXACT and pass it to init_max_error.
8294         (acos_test): Update call to START.
8295         (acos_test_tonearest): Likewise.
8296         (acos_test_towardzero): Likewise.
8297         (acos_test_downward): Likewise.
8298         (acos_test_upward): Likewise.
8299         (acosh_test): Likewise.
8300         (asin_test): Likewise.
8301         (asin_test_tonearest): Likewise.
8302         (asin_test_towardzero): Likewise.
8303         (asin_test_downward): Likewise.
8304         (asin_test_upward): Likewise.
8305         (asinh_test): Likewise.
8306         (atan_test): Likewise.
8307         (atanh_test): Likewise.
8308         (atan2_test): Likewise.
8309         (cabs_test): Likewise.
8310         (cacos_test): Likewise.
8311         (cacosh_test): Likewise.
8312         (carg_test): Likewise.
8313         (casin_test): Likewise.
8314         (casinh_test): Likewise.
8315         (catan_test): Likewise.
8316         (catanh_test): Likewise.
8317         (cbrt_test): Likewise.
8318         (ccos_test): Likewise.
8319         (ccosh_test): Likewise.
8320         (ceil_test): Likewise.
8321         (cexp_test): Likewise.
8322         (cimag_test): Likewise.
8323         (clog_test): Likewise.
8324         (clog10_test): Likewise.
8325         (conj_test): Likewise.
8326         (copysign_test): Likewise.
8327         (cos_test): Likewise.
8328         (cos_test_tonearest): Likewise.
8329         (cos_test_towardzero): Likewise.
8330         (cos_test_downward): Likewise.
8331         (cos_test_upward): Likewise.
8332         (cosh_test): Likewise.
8333         (cosh_test_tonearest): Likewise.
8334         (cosh_test_towardzero): Likewise.
8335         (cosh_test_downward): Likewise.
8336         (cosh_test_upward): Likewise.
8337         (cpow_test): Likewise.
8338         (cproj_test): Likewise.
8339         (creal_test): Likewise.
8340         (csin_test): Likewise.
8341         (csinh_test): Likewise.
8342         (csqrt_test): Likewise.
8343         (ctan_test): Likewise.
8344         (ctan_test_tonearest): Likewise.
8345         (ctan_test_towardzero): Likewise.
8346         (ctan_test_downward): Likewise.
8347         (ctan_test_upward): Likewise.
8348         (ctanh_test): Likewise.
8349         (ctanh_test_tonearest): Likewise.
8350         (ctanh_test_towardzero): Likewise.
8351         (ctanh_test_downward): Likewise.
8352         (ctanh_test_upward): Likewise.
8353         (erf_test): Likewise.
8354         (erfc_test): Likewise.
8355         (exp_test): Likewise.
8356         (exp_test_tonearest): Likewise.
8357         (exp_test_towardzero): Likewise.
8358         (exp_test_downward): Likewise.
8359         (exp_test_upward): Likewise.
8360         (exp10_test): Likewise.
8361         (exp10_test_tonearest): Likewise.
8362         (exp10_test_towardzero): Likewise.
8363         (exp10_test_downward): Likewise.
8364         (exp10_test_upward): Likewise.
8365         (pow10_test): Likewise.
8366         (exp2_test): Likewise.
8367         (expm1_test): Likewise.
8368         (expm1_test_tonearest): Likewise.
8369         (expm1_test_towardzero): Likewise.
8370         (expm1_test_downward): Likewise.
8371         (expm1_test_upward): Likewise.
8372         (fabs_test): Likewise.
8373         (fdim_test): Likewise.
8374         (floor_test): Likewise.
8375         (fma_test): Likewise.
8376         (fma_test_towardzero): Likewise.
8377         (fma_test_downward): Likewise.
8378         (fma_test_upward): Likewise.
8379         (fmax_test): Likewise.
8380         (fmin_test): Likewise.
8381         (fmod_test): Likewise.
8382         (fpclassify_test): Likewise.
8383         (frexp_test): Likewise.
8384         (hypot_test): Likewise.
8385         (ilogb_test): Likewise.
8386         (isfinite_test): Likewise.
8387         (finite_test): Likewise.
8388         (isgreater_test): Likewise.
8389         (isgreaterequal_test): Likewise.
8390         (isinf_test): Likewise.
8391         (isless_test): Likewise.
8392         (islessequal_test): Likewise.
8393         (islessgreater_test): Likewise.
8394         (isnan_test): Likewise.
8395         (isnormal_test): Likewise.
8396         (issignaling_test): Likewise.
8397         (isunordered_test): Likewise.
8398         (j0_test): Likewise.
8399         (j1_test): Likewise.
8400         (jn_test): Likewise.
8401         (ldexp_test): Likewise.
8402         (lgamma_test): Likewise.
8403         (gamma_test): Likewise.
8404         (lrint_test): Likewise.
8405         (lrint_test_tonearest): Likewise.
8406         (lrint_test_towardzero): Likewise.
8407         (lrint_test_downward): Likewise.
8408         (lrint_test_upward): Likewise.
8409         (llrint_test): Likewise.
8410         (llrint_test_tonearest): Likewise.
8411         (llrint_test_towardzero): Likewise.
8412         (llrint_test_downward): Likewise.
8413         (llrint_test_upward): Likewise.
8414         (log_test): Likewise.
8415         (log10_test): Likewise.
8416         (log1p_test): Likewise.
8417         (log2_test): Likewise.
8418         (logb_test): Likewise.
8419         (logb_test_downward): Likewise.
8420         (lround_test): Likewise.
8421         (llround_test): Likewise.
8422         (modf_test): Likewise.
8423         (nearbyint_test): Likewise.
8424         (nextafter_test): Likewise.
8425         (nexttoward_test): Likewise.
8426         (pow_test): Likewise.
8427         (pow_test_tonearest): Likewise.
8428         (pow_test_towardzero): Likewise.
8429         (pow_test_downward): Likewise.
8430         (pow_test_upward): Likewise.
8431         (remainder_test): Likewise.
8432         (drem_test): Likewise.
8433         (remainder_test_tonearest): Likewise.
8434         (drem_test_tonearest): Likewise.
8435         (remainder_test_towardzero): Likewise.
8436         (drem_test_towardzero): Likewise.
8437         (remainder_test_downward): Likewise.
8438         (drem_test_downward): Likewise.
8439         (remainder_test_upward): Likewise.
8440         (drem_test_upward): Likewise.
8441         (remquo_test): Likewise.
8442         (rint_test): Likewise.
8443         (rint_test_tonearest): Likewise.
8444         (rint_test_towardzero): Likewise.
8445         (rint_test_downward): Likewise.
8446         (rint_test_upward): Likewise.
8447         (round_test): Likewise.
8448         (scalb_test): Likewise.
8449         (scalbn_test): Likewise.
8450         (scalbln_test): Likewise.
8451         (signbit_test): Likewise.
8452         (sin_test): Likewise.
8453         (sin_test_tonearest): Likewise.
8454         (sin_test_towardzero): Likewise.
8455         (sin_test_downward): Likewise.
8456         (sin_test_upward): Likewise.
8457         (sincos_test): Likewise.
8458         (sinh_test): Likewise.
8459         (sinh_test_tonearest): Likewise.
8460         (sinh_test_towardzero): Likewise.
8461         (sinh_test_downward): Likewise.
8462         (sinh_test_upward): Likewise.
8463         (sqrt_test): Likewise.
8464         (sqrt_test_tonearest): Likewise.
8465         (sqrt_test_towardzero): Likewise.
8466         (sqrt_test_downward): Likewise.
8467         (sqrt_test_upward): Likewise.
8468         (tan_test): Likewise.
8469         (tan_test_tonearest): Likewise.
8470         (tan_test_towardzero): Likewise.
8471         (tan_test_downward): Likewise.
8472         (tan_test_upward): Likewise.
8473         (tanh_test): Likewise.
8474         (tgamma_test): Likewise.
8475         (trunc_test): Likewise.
8476         (y0_test): Likewise.
8477         (y1_test): Likewise.
8478         (yn_test): Likewise.
8479         (significand_test): Likewise.
8481         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8482         individual tests in comment.
8483         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8484         (prev_max_error): New variable.
8485         (prev_real_max_error): Likewise.
8486         (prev_imag_max_error): Likewise.
8487         (compare_ulp_data): Don't refer to test names in comment.
8488         (find_test_ulps): Remove function.
8489         (find_function_ulps): Likewise.
8490         (find_complex_function_ulps): Likewise.
8491         (init_max_error): Take function name as argument.  Look up ulps
8492         for that function.
8493         (print_ulps): Remove function.
8494         (print_max_error): Use prev_max_error instead of calling
8495         find_function_ulps.
8496         (print_complex_max_error): Use prev_real_max_error and
8497         prev_imag_max_error instead of calling find_complex_function_ulps.
8498         (check_float_internal): Take max_ulp parameter instead of calling
8499         find_test_ulps.  Don't call print_ulps.
8500         (check_float): Update call to check_float_internal.
8501         (check_complex): Update calls to check_float_internal.
8502         (START): Pass argument to init_max_error.
8503         * math/gen-libm-test.pl (%results): Don't include "kind"
8504         information.
8505         (parse_ulps): Don't handle ulps of individual tests.
8506         (print_ulps_file): Likewise.
8507         (output_ulps): Likewise.
8508         * math/README.libm-test: Update.
8509         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8510         individual tests.
8511         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8512         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8513         * sysdeps/arm/libm-test-ulps: Likewise.
8514         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8515         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8516         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8517         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8518         * sysdeps/microblaze/libm-test-ulps: Likewise.
8519         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8520         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8522         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8523         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8524         * sysdeps/sh/libm-test-ulps: Likewise.
8525         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8526         * sysdeps/tile/libm-test-ulps: Likewise.
8527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8529 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8531         * math/libm-test.inc (print_complex_max_error): Check separately
8532         whether real and imaginary errors are within allowed range and
8533         pass 0 to print_complex_function_ulps instead of value within
8534         allowed range.
8536 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8538         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8539         formatting.
8540         (get_handles_fopen): Likewise.
8541         (do_write_test): Likewise.
8543         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8545         * libio/fileops.c (do_ftell): Use cached offset when
8546         available.
8547         * libio/iofwide.c (do_ftell_wide): Likewise.
8548         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8549         _IO_file_attach.
8550         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8552         [BZ #16532]
8553         * libio/libioP.h (get_file_offset): New function.
8554         * libio/fileops.c (get_file_offset): Likewise.
8555         (do_ftell): Likewise.
8556         (_IO_new_file_seekoff): Split out ftell logic.
8557         * libio/wfileops.c (do_ftell_wide): Likewise.
8558         (_IO_wfile_seekoff): Split out ftell logic.
8559         * libio/tst-ftell-active-handler.c: New test case.
8560         * libio/Makefile (tests): Add it.
8562 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8564         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8565         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8567 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8569         [BZ #16639]
8570         * nscd/connections.c (nscd_init): Call do_exit.
8571         (start_threads): Call do_exit and notify_parent.
8572         (begin_drop_privileges): Call do_exit.
8573         (finish_drop_privileges): Likewise.
8574         * nscd/selinux.c (preserve_capabilities): Likewise.
8575         (install_real_capabilities): Likewise.
8576         (nscd_selinux_enabled): Likewise.
8577         (avc_create_thread): Likewise.
8578         (avc_alloc_lock): Likewise.
8579         (nscd_avc_init): Likewise.
8580         * nscd/nscd.c (parent_fd): New static variable.
8581         (main): Create a pipe between parent and child processes.
8582         Skip closing parent_fd.
8583         (monitor_child): New function.
8584         (do_exit): Likewise.
8585         (notify_parent): Likewise.
8586         * nscd/nscd.h (notify_parent): Likewise.
8587         (do_exit): Likewise.
8589 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8591         * malloc/malloc.c (__libc_calloc): Revert last change.
8593 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8597 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8599         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8601         implementation.
8602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8603         (__libc_ifunc_impl_list): Likewise.
8604         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8605         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8606         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8607         * string/strrchr.c: Define STRRCHR.
8609 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8611         * benchtest/bench-strtok.c (simple_strtok): Delete.
8612         (strtok_string): Use as benchmark.
8613         * string/strtok (STRTOK): New macro.
8615 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8617         * manual/threads.texi: Add header and standard comments to all
8618         functions.
8620         * elf/dl-lookup.c (check_match): New function.
8621         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8622         (do_lookup_x): Remove nested function check_match. Use non-nested
8623         function check_match.
8625 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8627         * csu/Makefile (generated, before-compile): Use += rather than =.
8628         * catgets/Makefile (generated, generated-dirs): Likewise.
8629         * debug/Makefile (generated): Likewise.
8630         * dlfcn/Makefile (generated): Likewise.
8631         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8632         * iconvdata/Makefile (before-compile, generated): Likewise.
8633         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8634         * libio/Makefile (generated): Likewise.
8635         * malloc/Makefile (generated): Likewise.
8636         * manual/Makefile (generated, generated-dirs): Likewise.
8637         * misc/Makefile (generated): Likewise.
8638         * posix/Makefile (generated): Likewise.
8639         * resolv/Makefile (generated): Likewise.
8640         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8641         * timezone/Makefile (generated, generated-dirs): Likewise.
8643         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8645 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8648         power8 implementation.
8649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8650         file: POWER8 llround ifunc implementation.
8651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8652         (__lllround): Add POWER8 implementation.
8653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8654         POWER8 llround implementation.
8656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8657         power8 implementation.
8658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8659         file: POWER8 llrint ifunc implementation.
8660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8661         Add POWER8 implementation.
8662         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8663         POWER8 llrint implementation.
8665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8666         power8 implementation.
8667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8668         file: POWER8 finite ifunc implementation.
8669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8670         Add POWER8 implementation.
8671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8672         Likewise.
8673         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8674         POWER8 finite implementation.
8675         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8678         power8 implementation.
8679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8680         file: POWER8 isinf ifunc implementation.
8681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8682         POWER8 implementation.
8683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8684         Likewise.
8685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8686         isinf implementation.
8687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8689         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8690         (INIT_ARCH): Add hwcap2 initialization.
8691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8692         power8 implementation.
8693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8694         file: POWER8 isnan ifunc implementation.
8695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8696         POWER8 implementation.
8697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8698         Likewise.
8699         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8700         isnan implementation.
8701         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8703 2014-02-27  Joey Ye  <joey.ye@arm.com>
8705         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8706         (_FP_NANFRAC_Q): Set to zero.
8708 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8710         [BZ #16623]
8711         * math/auto-libm-test-in: New test inputs.
8712         * math/auto-libm-test-out: Regenerate.
8713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8714         and DA.
8715         (__cos): Likewise.
8716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8718 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8720         * scripts/evaluate-test.sh: Take new argument indicating whether
8721         failure is expected.
8722         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8723         indicating whether failure is expected.
8724         * conform/Makefile (test-xfail-run-conformtest): New variable.
8725         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8726         level.
8727         * posix/Makefile (test-xfail-annexc): New variable.
8728         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8730 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8732         * argp/Makefile: Include Makeconfig immediately after defining
8733         subdir.
8734         * assert/Makefile: Likewise.
8735         * benchtests/Makefile: Likewise.
8736         * catgets/Makefile: Likewise.
8737         * conform/Makefile: Likewise.
8738         * crypt/Makefile: Likewise.
8739         * csu/Makefile: Likewise.
8740         (all): Remove target.
8741         * ctype/Makefile: Include Makeconfig immediately after defining
8742         subdir.
8743         * debug/Makefile: Likewise.
8744         * dirent/Makefile: Likewise.
8745         * dlfcn/Makefile: Likewise.
8746         * gmon/Makefile: Likewise.
8747         * gnulib/Makefile: Likewise.
8748         * grp/Makefile: Likewise.
8749         * gshadow/Makefile: Likewise.
8750         * hesiod/Makefile: Likewise.
8751         * hurd/Makefile: Likewise.
8752         (all): Remove target.
8753         * iconvdata/Makefile: Include Makeconfig immediately after
8754         defining subdir.
8755         * inet/Makefile: Likewise.
8756         * intl/Makefile: Likewise.
8757         * io/Makefile: Likewise.
8758         * libio/Makefile: Likewise.
8759         (all): Remove target.
8760         * locale/Makefile: Include Makeconfig immediately after defining
8761         subdir.
8762         * login/Makefile: Likewise.
8763         * mach/Makefile: Likewise.
8764         (all): Remove target.
8765         * malloc/Makefile: Include Makeconfig immediately after defining
8766         subdir.
8767         (all): Remove target.
8768         * manual/Makefile: Include Makeconfig immediately after defining
8769         subdir.
8770         * math/Makefile: Likewise.
8771         * misc/Makefile: Likewise.
8772         * nis/Makefile: Likewise.
8773         * nss/Makefile: Likewise.
8774         * po/Makefile: Likewise.
8775         (all): Remove target.
8776         * posix/Makefile: Include Makeconfig immediately after defining
8777         subdir.
8778         * pwd/Makefile: Likewise.
8779         * resolv/Makefile: Likewise.
8780         * resource/Makefile: Likewise.
8781         * rt/Makefile: Likewise.
8782         * setjmp/Makefile: Likewise.
8783         * shadow/Makefile: Likewise.
8784         * signal/Makefile: Likewise.
8785         * socket/Makefile: Likewise.
8786         * soft-fp/Makefile: Likewise.
8787         * stdio-common/Makefile: Likewise.
8788         * stdlib/Makefile: Likewise.
8789         * streams/Makefile: Likewise.
8790         * string/Makefile: Likewise.
8791         * sunrpc/Makefile: Likewise.
8792         (all): Remove target.
8793         * sysvipc/Makefile: Include Makeconfig immediately after defining
8794         subdir.
8795         * termios/Makefile: Likewise.
8796         * time/Makefile: Likewise.
8797         * timezone/Makefile: Likewise.
8798         (all): Remove target.
8799         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8800         subdir.
8801         * wctype/Makefile: Likewise.
8803 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8805         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8806         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8807         (libc_feholdexcept_setround_mips): Ditto.
8808         (libc_feholdsetround): New.
8809         (libc_feholdsetroundf): New.
8810         (libc_feholdsetroundl): New.
8811         (libc_feupdateenv_test_mips): New.
8812         (libc_feupdateenv_test): New.
8813         (libc_feupdateenv_testf): New.
8814         (libc_feupdateenv_testl): New.
8815         (libc_feresetround): New.
8816         (libc_feresetroundf): New.
8817         (libc_feresetroundl): New.
8818         (libc_fetestexcept_mips): New.
8819         (libc_fetestexcept): New.
8820         (libc_fetestexceptf): New.
8821         (libc_fetestexceptl): New.
8822         (HAVE_RM_CTX): New.
8823         (libc_feholdexcept_setround_mips_ctx): New.
8824         (libc_feholdexcept_setround_ctx): New.
8825         (libc_feholdexcept_setroundf_ctx): New.
8826         (libc_feholdexcept_setroundl_ctx): New.
8827         (libc_fesetenv_mips_ctx): New.
8828         (libc_fesetenv_ctx): New.
8829         (libc_fesetenv_ctxf): New.
8830         (libc_fesetenv_ctxl): New.
8831         (libc_feupdateenv_mips_ctx): New.
8832         (libc_feupdateenv_ctx): New.
8833         (libc_feupdateenvf_ctx): New.
8834         (libc_feupdateenvl_ctx): New.
8835         (libc_feholdsetround_mips_ctx): New.
8836         (libc_feholdsetround_ctx): New.
8837         (libc_feholdsetroundf_ctx): New.
8838         (libc_feholdsetroundl_ctx): New.
8839         (libc_feresetround_mips_ctx): New.
8840         (libc_feresetround_ctx): New.
8841         (libc_feresetroundf_ctx): New.
8842         (libc_feresetroundl_ctx): New.
8844 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8846         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8848         * manual/ipc.texi: New file.
8849         * manual/Makefile (chapters): Add ipc.
8850         * manual/job.texi: Add "Inter-Process Communication" to next.
8851         * manual/process.texi: Add "Inter-Process Communication" to prev.
8853 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8857 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8859         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8861         * manual/arith.texi: Fix spaces after sentences.
8862         * manual/charset.texi: Likewise.
8863         * manual/errno.texi: Likewise.
8864         * manual/install.texi: Likewise.
8865         * manual/llio.texi: Likewise.
8866         * manual/locale.texi: Likewise.
8867         * manual/maint.texi: Likewise.
8868         * manual/math.texi: Likewise.
8869         * manual/memory.texi: Likewise.
8870         * manual/message.texi: Likewise.
8871         * manual/probes.texi: Likewise.
8872         * manual/resource.texi: Likewise.
8873         * manual/signal.texi: Likewise.
8874         * manual/socket.texi: Likewise.
8875         * manual/stdio.texi: Likewise.
8876         * manual/string.texi: Likewise.
8877         * manual/time.texi: Likewise.
8878         * manual/users.texi: Likewise.
8880 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8882         [BZ #16632]
8883         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8884         _DEFAULT_SOURCE is defined.
8886 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8887             Carlos O'Donell  <carlos@redhat.com>
8889         [BZ #16613]
8890         * elf/dl-tls.c (_dl_count_modids): New function.
8891         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8892         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8893         audit library and increment generation counter.
8894         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8895         * elf/tst-audit9.c: New file.
8896         * elf/tst-auditmod9a.c: New file.
8897         * elf/tst-auditmod9b.c: New file.
8898         * elf/Makefile: Add rules to build and run tst-audit9.
8900 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8902         [BZ #15347]
8903         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8905 2014-02-25  Will Newton  <will.newton@linaro.org>
8907         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8908         (__longjmp): Restore sp and lr before restoring callee
8909         saved registers.  Add longjmp and longjmp_target
8910         SystemTap probe point.
8911         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8912         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8913         Define to zero to match jmpbuf layout.
8914         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8915         (__sigsetjmp): Save sp and lr before saving callee
8916         saved registers.  Add setjmp SystemTap probe point.
8918 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8920         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8922 2014-02-24  Andreas Schwab  <schwab@suse.de>
8924         [BZ #15804]
8925         * elf/pldd.c (wait_for_ptrace_stop): New function.
8926         (main): Call it after attaching.
8928 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8930         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8931         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8932         Versions files is now verboten.
8933         * hurd/Versions (libc: GLIBC_2.0):
8934         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8935         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8936         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8937         * mach/Versions: Likewise.
8939         * csu/Versions: Remove unused %include.
8940         * resolv/Versions: Likewise.
8942 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8944         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8945         ($(objpfx)check-local-headers.out): Likewise.
8946         ($(objpfx)begin-end-check.out): Likewise.
8947         * Makerules (check-abi-%.out): Likewise.
8948         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8949         ($(objpfx)test2.cat): Likewise.
8950         ($(objpfx)de/libc.cat): Likewise.
8951         ($(objpfx)test-gencat.out): Likewise.
8952         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8953         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8954         ($(objpfx)noload-mem): Likewise.
8955         ($(objpfx)tst-pathopt.out): Likewise.
8956         ($(objpfx)tst-rtld-load-self.out): Likewise.
8957         ($(objpfx)tst-array1-cmp.out): Likewise.
8958         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8959         ($(objpfx)tst-array2-cmp.out): Likewise.
8960         ($(objpfx)tst-array3-cmp.out): Likewise.
8961         ($(objpfx)tst-array4-cmp.out): Likewise.
8962         ($(objpfx)tst-array5-cmp.out): Likewise.
8963         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8964         ($(objpfx)check-textrel.out): Likewise.
8965         ($(objpfx)check-execstack.out): Likewise.
8966         ($(objpfx)check-localplt.out): Likewise.
8967         ($(objpfx)order2-cmp.out): Likewise.
8968         ($(objpfx)tst-leaks1-mem): Likewise.
8969         ($(objpfx)tst-leaks1-static-mem): Likewise.
8970         ($(objpfx)tst-initorder-cmp.out): Likewise.
8971         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8972         ($(objpfx)tst-unused-dep.out): Likewise.
8973         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8974         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8975         * iconv/Makefile (test-iconvconfig): Likewise.
8976         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8977         ($(objpfx)iconv-test.out): Likewise.
8978         ($(objpfx)tst-tables.out): Likewise.
8979         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8980         ($(objpfx)tst-gettext.out): Likewise.
8981         ($(objpfx)tst-translit.out): Likewise.
8982         ($(objpfx)tst-gettext2.out): Likewise.
8983         ($(objpfx)tst-gettext4.out): Likewise.
8984         ($(objpfx)tst-gettext6.out): Likewise.
8985         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8986         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8987         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8988         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8989         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8990         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8991         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8992         ($(objpfx)wordexp-tst.out): Likewise.
8993         ($(objpfx)annexc.out): Likewise.
8994         ($(objpfx)tst-fnmatch-mem): Likewise.
8995         ($(objpfx)bug-regex2-mem): Likewise.
8996         ($(objpfx)bug-regex14-mem): Likewise.
8997         ($(objpfx)bug-regex21-mem): Likewise.
8998         ($(objpfx)bug-regex31-mem): Likewise.
8999         ($(objpfx)tst-vfork3-mem): Likewise.
9000         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9001         ($(objpfx)tst-pcre-mem): Likewise.
9002         ($(objpfx)tst-boost-mem): Likewise.
9003         ($(objpfx)tst-getconf.out): Likewise.
9004         ($(objpfx)bug-ga2-mem): Likewise.
9005         ($(objpfx)bug-glob2-mem): Likewise.
9006         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9007         ($(objpfx)mtrace-tst-leaks2): Likewise.
9008         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9009         ($(objpfx)tst-printf.out): Likewise.
9010         ($(objpfx)tst-setvbuf1.out): Likewise.
9011         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9012         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9013         ($(objpfx)tst-fmtmsg.out): Likewise.
9014         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9015         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9017         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9018         * bits/sigaction.h [__USE_MISC]: Likewise.
9019         * bits/waitstatus.h: Update #endif comments.
9020         * ctype/ctype.h: Likewise.
9021         * dirent/dirent.h: Likewise.
9022         [__USE_MISC]: Remove redundant conditionals.
9023         * grp/grp.h: Update #endif comments.
9024         [__USE_GNU]: Remove redundant conditionals.
9025         [__USE_MISC]: Likewise.
9026         * inet/netinet/in.h [__USE_GNU]: Likewise.
9027         * io/sys/stat.h [__USE_MISC]: Likewise.
9028         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9029         * libio/bits/stdio.h: Update #endif comments.
9030         [__USE_MISC]: Remove redundant conditionals.
9031         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9032         * libio/stdio.h: Update #endif comments.
9033         [__USE_MISC]: Remove redundant conditionals.
9034         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9035         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9036         * math/math.h: Update #else and #endif comments.
9037         [__USE_MISC]: Remove redundant conditionals.
9038         * misc/sys/uio.h: Update #endif comments.
9039         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9040         * posix/glob.h [__USE_MISC]: Likewise.
9041         * posix/sys/types.h: Update #endif comments.
9042         [__USE_MISC]: Remove redundant conditionals.
9043         * posix/sys/wait.h: Update #endif comments.
9044         [__USE_MISC]: Remove redundant conditionals.
9045         * posix/unistd.h: Update #endif comments.
9046         [__USE_MISC]: Remove redundant conditionals.
9047         * pwd/pwd.h [__USE_GNU]: Likewise.
9048         [__USE_MISC]: Likewise.
9049         * resolv/netdb.h [__USE_GNU]: Likewise.
9050         * signal/signal.h: Update #endif comments.
9051         [__USE_MISC]: Remove redundant conditionals.
9052         * stdlib/stdlib.h: Update #else and #endif comments.
9053         [__USE_MISC]: Remove redundant conditionals.
9054         [__USE_GNU]: Likewise.
9055         * string/bits/string2.h [__USE_MISC]: Likewise.
9056         * string/string.h: Update #endif comments.
9057         [__USE_MISC]: Remove redundant conditionals.
9058         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9059         Likewise.
9060         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9061         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9062         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9063         Likewise.
9064         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9065         Likewise.
9066         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9067         comments.
9068         [__USE_MISC]: Remove redundant conditionals.
9069         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9070         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9071         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9072         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9073         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9074         Likewise.
9075         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9076         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9077         Likewise.
9078         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9079         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9080         Likewise.
9081         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9082         Likewise.
9083         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9084         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9085         Likewise.
9086         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9087         Likewise.
9088         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9089         * sysdeps/x86/bits/string.h: Update #endif comments.
9090         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9091         conditionals.
9092         * time/sys/time.h: Update #endif comments.
9093         * time/time.h: Likewise.
9094         [__USE_MISC]: Remove redundant conditionals.
9096 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9098         [BZ #16600]
9099         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9101 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9103         * Versions.def (librt): Add GLIBC_2.17.
9105 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9107         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9108         synonym for _SYS_AUXV_H to allow direct inclusion.
9109         * sysdeps/sparc/bits/hwcap.h: Likewise.
9110         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9111         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9112         * sysdeps/sparc/sysdep.h: Likewise.
9114 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9118 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9120         * benchtests/bench-strrchr.c: Print length instead of position.
9122 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #16611]
9125         * sysdeps/unix/sysv/linux/kernel-features.h
9126         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9127         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9128         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9129         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9130         Likewise.
9131         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9132         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9133         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9134         (__ASSUME_SENDMMSG): Define instead of using previous
9135         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9136         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9137         (__ASSUME_SENDMMSG_SYSCALL): Define.
9138         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9139         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9142         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9145         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9146         Likewise.
9147         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9148         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9149         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9150         [__ASSUME_SENDMMSG]: Change conditionals to
9151         [__ASSUME_SENDMMSG_SOCKETCALL].
9152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9153         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9154         Define.
9155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9156         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9157         Likewise.
9158         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9159         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9160         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9161         [!__ASSUME_SENDMMSG]: Change conditional to
9162         [!__ASSUME_SENDMMSG_SOCKETCALL].
9163         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9164         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9165         Define.
9167         [BZ #16610]
9168         * sysdeps/unix/sysv/linux/kernel-features.h
9169         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9170         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9171         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9172         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9173         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9174         [__i386__ || __sparc__]
9175         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9176         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9177         (__ASSUME_RECVMMSG): Define instead of using previous
9178         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9179         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9180         (__ASSUME_RECVMMSG_SYSCALL): Define.
9181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9182         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9183         Likewise.
9184         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9185         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9188         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9189         Likewise.
9190         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9191         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9192         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9193         [__ASSUME_RECVMMSG]: Change condition to
9194         [__ASSUME_RECVMMSG_SOCKETCALL].
9195         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9197         Define.
9198         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9200         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9201         Likewise.
9202         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9203         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9204         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9205         [!__ASSUME_RECVMMSG]: Change condition to
9206         [!__ASSUME_RECVMMSG_SOCKETCALL].
9207         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9208         (__ASSUME_RECVMMSG_SYSCALL): Define.
9210         [BZ #16609]
9211         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9212         __powerpc__ || __s390__ || __sh__ || __sparc__]
9213         (__ASSUME_SOCKETCALL): Define.
9214         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9215         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9216         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9217         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9218         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9219         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9220         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9221         (__ASSUME_ACCEPT4): Define instead of using previous
9222         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9223         __powerpc__ || __sparc__ || __s390__)] condition.
9224         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9225         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9226         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9227         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9228         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9229         [!__ASSUME_ACCEPT4]: Change condition to
9230         [!__ASSUME_ACCEPT4_SOCKETCALL].
9231         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9232         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9233         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9234         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9235         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9236         __ASSUME_ACCEPT4_SYSCALL.
9237         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9238         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9239         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9240         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9241         __ASSUME_ACCEPT4_SYSCALL.
9242         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9243         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9244         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9245         [__ASSUME_ACCEPT4]: Change condition to
9246         [__ASSUME_ACCEPT4_SOCKETCALL].
9247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9248         (__ASSUME_SOCKETCALL): Define.
9249         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9251         (__ASSUME_SOCKETCALL): Define.
9252         (__ASSUME_ACCEPT4): Remove.
9253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9254         Define.
9255         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9256         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9257         Likewise.
9258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9259         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9261         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9262         macro.
9263         (HWCAP_ARM_LPAE): Likewise.
9264         (HWCAP_ARM_EVTSTRM): Likewise.
9265         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9266         Add vpfd32, lpae and evtstrm.
9267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9268         Increase to 22.
9270 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9272         * math/auto-libm-test-in: Add tests of clog10.
9273         * math/auto-libm-test-out: Regenerated.
9274         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9275         * sysdeps/i386/fpu/libm-test-ulps: Update.
9276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9278 2014-02-18  Andreas Schwab  <schwab@suse.de>
9280         [BZ #16574]
9281         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9282         Store non-zero if the second buffer was newly allocated.
9283         (send_dg): Likewise.
9284         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9285         to send_vc and send_dg.
9286         (res_nsend): Pass NULL for ansp2_malloced.
9287         * resolv/res_query.c (__libc_res_nquery): Add parameter
9288         answerp2_malloced and pass it down to __libc_res_nsend.
9289         (res_nquery): Pass additional NULL to __libc_res_nquery.
9290         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9291         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9292         second answer buffer if answerp2_malloced was set.
9293         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9294         (__libc_res_nquerydomain): Add parameter
9295         answerp2_malloced and pass it down to __libc_res_nquery.
9296         (res_nquerydomain): Pass additional NULL to
9297         __libc_res_nquerydomain.
9298         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9299         additional NULL to __libc_res_nsend and __libc_res_nquery.
9300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9301         additional NULL to __libc_res_nsearch.
9302         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9303         parameter of __libc_res_nsearch to check for separately allocated
9304         second buffer.
9305         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9306         __libc_res_nquery.
9307         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9308         additional NULL to __libc_res_nquery.
9309         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9310         __libc_res_nsearch.
9311         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9312         * include/resolv.h: Update prototypes of __libc_res_nquery,
9313         __libc_res_nsearch, __libc_res_nsend.
9315 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9317         * math/auto-libm-test-in: Add tests of fma.
9318         * math/auto-libm-test-out: Regenerated.
9319         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9320         (fma_towardzero_test_data): Likewise.
9321         (fma_downward_test_data): Likewise.
9322         (fma_upward_test_data): Likewise.
9323         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9324         mpc_mode.
9325         (rounding_modes): Add values for new field.
9326         (func_calc_method): Add value mpfr_fff_f.
9327         (func_calc_desc): Add mpfr_fff_f union field.
9328         (test_function): Add field exact_args.
9329         (FUNC): Add macro argument EXACT_ARGS.
9330         (FUNC_mpfr_f_f): Update call to FUNC.
9331         (FUNC_mpfr_f_f): Likewise.
9332         (FUNC_mpfr_ff_f): Likewise.
9333         (FUNC_mpfr_if_f): Likewise.
9334         (FUNC_mpc_c_f): Likewise.
9335         (FUNC_mpc_c_c): Likewise.
9336         (test_functions): Add fma.  Update calls to FUNC.
9337         (handle_input_arg): Add argument exact_args.
9338         (add_test): Update call to handle_input_arg.
9339         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9340         (output_for_one_input_case): Update call to calc_generic_results.
9341         Recalculate exact zero results in each rounding mode.
9343         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9344         non-negative before setting low bit.
9345         * math/auto-libm-test-in: Mark one asin test possibly having
9346         spurious underflow.
9347         * math/auto-libm-test-out: Regenerated.
9348         * sysdeps/i386/fpu/libm-test-ulps: Update.
9349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9353         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9354         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9355         ports/sysdeps/unix/sysv/linux/microblaze.
9356         * README: Add missing listing for microblaze*-*-linux-gnu.
9358 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9360         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9361         * sysdeps/unix/sysv/linux/ia64: Move directory from
9362         ports/sysdeps/unix/sysv/linux/ia64.
9363         * README: Update listing for ia64-*-linux-gnu.
9365 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9366             Joseph Myers  <joseph@codesourcery.com>
9368         * Makeconfig (test-name): New variable.
9369         (evaluate-test): Likewise.
9370         * Makerules (do-test-clean): Remove .test-result files.
9371         (common-mostlyclean): Likewise.
9372         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9373         * scripts/evaluate-test.sh: New file.
9375 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9377         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9378         separate $(objpfx)tst-fopenloc-cmp.out and
9379         $(objpfx)tst-fopenloc-mem.out targets.
9380         (tests): Update dependencies.
9381         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9382         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9383         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9384         (tst-rxspencer-no-utf8-ARGS): New variable.
9385         (tst-rxspencer-no-utf8-ENV): Likewise.
9386         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9387         instead of $(objpfx)tst-rxspencer-mem.
9388         ($(objpfx)tst-rxspencer-mem): Change target to
9389         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9390         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9391         * posix/tst-rxspencer-no-utf8.c: New file.
9393         * elf/Makefile ($(objpfx)order.out): Remove rule.
9394         [$(run-built-tests) = yes] (tests): Depend on
9395         $(objpfx)order-cmp.out.
9396         ($(objpfx)order-cmp.out): New rule.
9397         [$(run-built-tests) = yes] (tests): Depend on
9398         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9399         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9400         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9401         $(objpfx)tst-array5-static-cmp.out.
9402         ($(objpfx)tst-array1.out): Remove rule.
9403         ($(objpfx)tst-array1-cmp.out): New rule.
9404         ($(objpfx)tst-array1-static.out): Remove rule.
9405         ($(objpfx)tst-array1-static-cmp.out): New rule.
9406         ($(objpfx)tst-array2.out): Remove rule.
9407         ($(objpfx)tst-array2-cmp.out): New rule.
9408         ($(objpfx)tst-array3.out): Remove rule.
9409         ($(objpfx)tst-array3-cmp.out): New rule.
9410         ($(objpfx)tst-array4.out): Remove rule.
9411         ($(objpfx)tst-array4-cmp.out): New rule.
9412         ($(objpfx)tst-array5.out): Remove rule.
9413         ($(objpfx)tst-array5-cmp.out): New rule.
9414         ($(objpfx)tst-array5-static.out): Remove rule.
9415         ($(objpfx)tst-array5-static-cmp.out): New rule.
9416         [$(run-built-tests) = yes] (tests): Depend on
9417         $(objpfx)order2-cmp.out.
9418         ($(objpfx)order2.out): Remove rule.
9419         ($(objpfx)order2-cmp.out): New rule.
9420         ($(objpfx)tst-initorder.out): Remove rule.
9421         [$(run-built-tests) = yes] (tests): Depend on
9422         $(objpfx)tst-initorder-cmp.out.
9423         ($(objpfx)tst-initorder-cmp.out): New rule.
9424         ($(objpfx)tst-initorder2.out): Remove rule.
9425         [$(run-built-tests) = yes] (tests): Depend on
9426         $(objpfx)tst-initorder2-cmp.out.
9427         ($(objpfx)tst-initorder2-cmp.out): New rule.
9428         [$(run-built-tests) = yes] (tests): Depend on
9429         $(objpfx)tst-unused-dep-cmp.out.
9430         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9431         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9432         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9433         on $(objpfx)tst-setvbuf1-cmp.out.
9434         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9435         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9436         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9437         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9438         ($(objpfx)tst-svc.out): Remove rule.
9439         ($(objpfx)tst-svc-cmp.out): New rule.
9441 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9443         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9444         * ctype/ctype.h [__USE_MISC]: Likewise.
9445         * dirent/dirent.h [__USE_MISC]: Likewise.
9446         * grp/grp.h [__USE_MISC]: Likewise.
9447         * io/fcntl.h [__USE_MISC]: Likewise.
9448         * io/sys/stat.h [__USE_MISC]: Likewise.
9449         * libio/stdio.h [__USE_MISC]: Likewise.
9450         * posix/unistd.h [__USE_MISC]: Likewise.
9451         * pwd/pwd.h [__USE_MISC]: Likewise.
9452         * stdlib.h [__USE_MISC]: Likewise.
9453         * string/bits/string2.h [__USE_MISC]: Likewise.
9454         * string/string.h [__USE_MISC]: Likewise.
9455         * time/time.h [__USE_MISC]: Likewise.
9457 2014-02-13  Andreas Schwab  <schwab@suse.de>
9459         [BZ #16574]
9460         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9461         second answer buffer if it was separately allocated.
9463 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9465         * sysdeps/mips/math-tests.h: Include <features.h>.
9466         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9467         (ROUNDING_TESTS_long_double): Do not define.
9468         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9469         (EXCEPTION_TESTS_long_double): Likewise.
9470         * sysdeps/mips/mips64/libm-test-ulps: Update.
9472         * include/features.h (__USE_BSD): Remove macro definitions.
9473         (__USE_SVID): Likewise.
9474         (_BSD_SOURCE): Likewise.
9475         (_SVID_SOURCE): Likewise.
9476         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9477         from definition of _DEFAULT_SOURCE.
9478         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9479         [_DEFAULT_SOURCE].
9480         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9481         * bits/mman.h [__USE_BSD]: Likewise.
9482         * bits/termios.h [__USE_BSD]: Likewise.
9483         * bits/waitstatus.h [__USE_BSD]: Likewise.
9484         * ctype/ctype.h [__USE_SVID]: Likewise.
9485         * dirent/dirent.h [__USE_BSD]: Likewise.
9486         * grp/grp.h [__USE_SVID]: Likewise.
9487         [__USE_BSD]: Likewise.
9488         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9489         * io/fcntl.h [__USE_BSD]: Likewise.
9490         * io/ftw.h [__USE_BSD]: Likewise.
9491         * io/sys/stat.h [__USE_BSD]: Likewise.
9492         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9493         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9494         * libio/stdio.h [__USE_SVID]: Likewise.
9495         [__USE_BSD]: Likewise.
9496         * math/math.h [__USE_SVID]: Likewise.
9497         [__USE_BSD]: Likewise.
9498         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9499         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9500         * misc/search.h [__USE_SVID]: Likewise.
9501         * misc/sys/mman.h [__USE_BSD]: Likewise.
9502         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9503         * misc/sys/uio.h [__USE_BSD]: Likewise.
9504         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9505         * posix/glob.h [__USE_BSD]: Likewise.
9506         * posix/regex.h [__USE_BSD]: Likewise.
9507         * posix/sys/types.h [__USE_BSD]: Likewise.
9508         [__USE_SVID]: Likewise.
9509         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9510         * posix/sys/wait.h [__USE_BSD]: Likewise.
9511         [__USE_SVID]: Likewise.
9512         * posix/unistd.h [__USE_BSD]: Likewise.
9513         [__USE_SVID]: Likewise.
9514         * pwd/pwd.h [__USE_SVID]: Likewise.
9515         * resolv/netdb.h [__USE_BSD]: Likewise.
9516         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9517         * signal/signal.h [__USE_BSD]: Likewise.
9518         [__USE_SVID]: Likewise.
9519         * socket/sys/socket.h [__USE_BSD]: Likewise.
9520         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9521         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9522         [__USE_SVID]: Likewise.
9523         * string/bits/string2.h [__USE_BSD]: Likewise.
9524         [__USE_SVID]: Likewise.
9525         * string/bits/string3.h [__USE_BSD]: Likewise.
9526         * string/endian.h [__USE_BSD]: Likewise.
9527         * string/string.h [__USE_SVID]: Likewise.
9528         [__USE_BSD]: Likewise.
9529         * string/strings.h [__USE_BSD]: Likewise.
9530         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9531         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9532         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9533         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9534         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9535         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9538         Likewise.
9539         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9540         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9543         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9544         Likewise.
9545         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9546         Likewise.
9547         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9548         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9550         Likewise.
9551         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9552         Likewise.
9553         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9554         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9555         * termios/termios.h [__USE_BSD]: Likewise.
9556         * time/sys/time.h [__USE_BSD]: Likewise.
9557         * time/time.h [__USE_BSD]: Likewise.
9558         [__USE_SVID]: Likewise.
9560         * Makefile (subdir_targets): Remove subdir_lint.out.
9562         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9563         (do-tst-printf): Likewise.
9564         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9565         $(objpfx)tst-printf.out.
9567         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9569         * Makerules (check-abi-%): Change target to
9570         $(objpfx)check-abi-%.out.
9571         (check-abi target): Update dependencies.
9572         (check-abi-pattern variable): Redirect output of diff to $@.
9573         (check-abi variable): Likewise.
9574         * elf/Makefile (check-abi): Update dependencies.
9576         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9577         unused.
9578         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9579         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9580         subnormal range.
9581         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9582         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9583         value has largest subnormal exponent.
9584         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9585         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9586         * sysdeps/aarch64/soft-fp/sfp-machine.h
9587         (_FP_TININESS_AFTER_ROUNDING): New macro.
9588         * sysdeps/alpha/soft-fp/sfp-machine.h
9589         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9590         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9591         Likewise.
9592         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9593         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9594         * sysdeps/mips/soft-fp/sfp-machine.h
9595         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9596         * sysdeps/powerpc/soft-fp/sfp-machine.h
9597         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9598         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9599         Likewise.
9600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9601         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9603         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9604         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9605         Likewise.
9607 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9609         [BZ #16545]
9610         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9611         model 1.
9613 2014-02-12  Richard Henderson  <rth@redhat.com>
9615         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9616         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9617         * sysdeps/unix/sysv/linux/alpha: Move directory from
9618         ports/sysdeps/unix/sysv/linux/alpha.
9619         * README: Update listing for alpha-*-linux-gnu.
9621 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9623         * include/features.h: Update comment documenting feature test
9624         macros.
9625         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9626         _DEFAULT_SOURCE.
9627         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9628         (_SVID_SOURCE): Likewise.
9629         (_DEFAULT_SOURCE): Update description of default features.
9630         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9631         with _GNU_SOURCE.
9632         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9633         (S_ISVTX): Likewise.
9634         * manual/math.texi (Mathematical Constants): Likewise.
9635         * manual/signal.texi (Interrupted Primitives): Likewise.
9636         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9637         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9638         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9639         Don't refer to _SVID_SOURCE in warning text.
9641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9643         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9644         already defined.
9645         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9646         * sysdeps/mips/dl-lookup.c: Remove.
9647         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9649 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9651         [BZ #16447]
9652         * math/auto-libm-test-in: Add testcase for expl.
9653         * math/auto-libm-test-out: Regenerate.
9654         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9655         calculation of unsafe.
9656         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9658 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9660         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9661         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9662         ports/sysdeps/unix/sysv/linux/aarch64.
9663         * README: Update listing for aarch64*-*-linux-gnu.
9665 2014-02-11  Will Newton  <will.newton@linaro.org>
9667         * manual/probes.texi (Mathematical Function Probes): Use
9668         "triggered" instead of "hit".
9670         * manual/probes.texi (Internal Probes): Add documentation
9671         of setjmp, longjmp and longjmp_target probes.
9673         * include/stap-probe.h: Add comment about probe argument
9674         format.
9676         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9677         definition.  (tr_where, tr_freehook, tr_mallochook,
9678         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9680 2014-02-11  David S. Miller  <davem@davemloft.net>
9682         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9683         processing int_tests.
9685 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9687         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9688         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9689         * sysdeps/unix/sysv/linux/mips: Move directory from
9690         ports/sysdeps/unix/sysv/linux/mips.
9691         * README: Update listing for mips-*-linux-gnu and
9692         mips64-*-linux-gnu.
9694 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9696         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9697         * sysdeps/unix/sysv/linux/m68k: Move directory from
9698         ports/sysdeps/unix/sysv/linux/m68k.
9699         * README: Update listing for m68k-*-linux-gnu.
9701 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9703         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9704         * sysdeps/unix/sysv/linux/generic: Move directory from
9705         ports/sysdeps/unix/sysv/linux/generic.
9706         * sysdeps/unix/sysv/linux/tile: Move directory from
9707         ports/sysdeps/unix/sysv/linux/tile.
9708         * README: Update listing for tile*-*-linux-gnu.
9710 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9712         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9713         __builtin_expect.
9714         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9715         * catgets/open_catalog.c (__open_catalog): Likewise.
9716         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9717         * debug/confstr_chk.c: Likewise.
9718         * debug/fread_chk.c (__fread_chk): Likewise.
9719         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9720         * debug/getgroups_chk.c: Likewise.
9721         * debug/mbsnrtowcs_chk.c: Likewise.
9722         * debug/mbsrtowcs_chk.c: Likewise.
9723         * debug/mbstowcs_chk.c: Likewise.
9724         * debug/memcpy_chk.c: Likewise.
9725         * debug/memmove_chk.c: Likewise.
9726         * debug/mempcpy_chk.c: Likewise.
9727         * debug/memset_chk.c: Likewise.
9728         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9729         * debug/strcat_chk.c (__strcat_chk): Likewise.
9730         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9731         * debug/strncat_chk.c (__strncat_chk): Likewise.
9732         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9733         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9734         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9735         * debug/wcpncpy_chk.c: Likewise.
9736         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9737         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9738         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9739         * debug/wcsncpy_chk.c: Likewise.
9740         * debug/wcsnrtombs_chk.c: Likewise.
9741         * debug/wcsrtombs_chk.c: Likewise.
9742         * debug/wcstombs_chk.c: Likewise.
9743         * debug/wmemcpy_chk.c: Likewise.
9744         * debug/wmemmove_chk.c: Likewise.
9745         * debug/wmempcpy_chk.c: Likewise.
9746         * debug/wmemset_chk.c: Likewise.
9747         * dirent/scandirat.c (SCANDIRAT): Likewise.
9748         * dlfcn/dladdr1.c (dladdr1): Likewise.
9749         * dlfcn/dladdr.c (dladdr): Likewise.
9750         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9751         * dlfcn/dlerror.c (__dlerror): Likewise.
9752         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9753         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9754         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9755         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9756         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9757         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9758         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9759         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9760         Likewise.
9761         * elf/dl-conflict.c: Likewise.
9762         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9763         * elf/dl-dst.h: Likewise.
9764         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9765         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9766         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9767         * elf/dl-init.c (call_init, _dl_init): Likewise.
9768         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9769         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9770         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9771         Likewise.
9772         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9773         Likewise.
9774         * elf/dl-minimal.c (__libc_memalign): Likewise.
9775         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9776         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9777         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9778         * elf/dl-sym.c (do_sym): Likewise.
9779         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9780         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9781         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9782         * elf/dl-writev.h (_dl_writev): Likewise.
9783         * elf/ldconfig.c (search_dir): Likewise.
9784         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9785         (dl_main): Likewise.
9786         * elf/setup-vdso.h (setup_vdso): Likewise.
9787         * grp/compat-initgroups.c (compat_call): Likewise.
9788         * grp/fgetgrent.c (fgetgrent): Likewise.
9789         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9790         * grp/putgrent.c (putgrent): Likewise.
9791         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9792         Likewise.
9793         * hurd/hurdinit.c: Likewise.
9794         * iconvdata/8bit-gap.c (struct): Likewise.
9795         * iconvdata/ansi_x3.110.c : Likewise.
9796         * iconvdata/big5.c : Likewise.
9797         * iconvdata/big5hkscs.c : Likewise.
9798         * iconvdata/cp1255.c: Likewise.
9799         * iconvdata/cp1258.c : Likewise.
9800         * iconvdata/cp932.c : Likewise.
9801         * iconvdata/euc-cn.c: Likewise.
9802         * iconvdata/euc-jisx0213.c : Likewise.
9803         * iconvdata/euc-jp.c: Likewise.
9804         * iconvdata/euc-jp-ms.c : Likewise.
9805         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9806         * iconvdata/gb18030.c : Likewise.
9807         * iconvdata/gbbig5.c (const): Likewise.
9808         * iconvdata/gbgbk.c: Likewise.
9809         * iconvdata/gbk.c : Likewise.
9810         * iconvdata/ibm1364.c : Likewise.
9811         * iconvdata/ibm930.c : Likewise.
9812         * iconvdata/ibm932.c: Likewise.
9813         * iconvdata/ibm933.c : Likewise.
9814         * iconvdata/ibm935.c : Likewise.
9815         * iconvdata/ibm937.c : Likewise.
9816         * iconvdata/ibm939.c : Likewise.
9817         * iconvdata/ibm943.c: Likewise.
9818         * iconvdata/iso_11548-1.c: Likewise.
9819         * iconvdata/iso-2022-cn.c : Likewise.
9820         * iconvdata/iso-2022-cn-ext.c : Likewise.
9821         * iconvdata/iso-2022-jp-3.c: Likewise.
9822         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9823         * iconvdata/iso-2022-kr.c : Likewise.
9824         * iconvdata/iso646.c (gconv_end): Likewise.
9825         * iconvdata/iso_6937-2.c : Likewise.
9826         * iconvdata/iso_6937.c : Likewise.
9827         * iconvdata/iso8859-1.c: Likewise.
9828         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9829         * iconvdata/shift_jisx0213.c : Likewise.
9830         * iconvdata/sjis.c : Likewise.
9831         * iconvdata/t.61.c : Likewise.
9832         * iconvdata/tcvn5712-1.c : Likewise.
9833         * iconvdata/tscii.c: Likewise.
9834         * iconvdata/uhc.c : Likewise.
9835         * iconvdata/unicode.c (gconv_end): Likewise.
9836         * iconvdata/utf-16.c (gconv_end): Likewise.
9837         * iconvdata/utf-32.c (gconv_end): Likewise.
9838         * iconvdata/utf-7.c (base64): Likewise.
9839         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9840         * iconv/gconv_close.c (__gconv_close): Likewise.
9841         * iconv/gconv_open.c (__gconv_open): Likewise.
9842         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9843         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9844         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9845         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9846         (ucs4le_internal_loop_single): Likewise.
9847         * iconv/iconv.c (iconv): Likewise.
9848         * iconv/iconv_close.c: Likewise.
9849         * iconv/loop.c (SINGLE): Likewise.
9850         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9851         * include/atomic.h: Likewise.
9852         * inet/inet6_option.c (option_alloc): Likewise.
9853         * intl/bindtextdom.c (set_binding_values): Likewise.
9854         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9855         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9856         * intl/localealias.c (read_alias_file): Likewise.
9857         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9858         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9859         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9860         * libio/fmemopen.c (fmemopen): Likewise.
9861         * libio/iofgets.c (_IO_fgets): Likewise.
9862         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9863         * libio/iofgetws.c (fgetws): Likewise.
9864         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9865         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9866         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9867         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9868         * locale/findlocale.c (_nl_find_locale): Likewise.
9869         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9870         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9871         Likewise.
9872         * locale/setlocale.c (setlocale): Likewise.
9873         * login/programs/pt_chown.c (main): Likewise.
9874         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9875         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9876         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9877         (mmap, mmap64, mremap, munmap): Likewise.
9878         * math/e_exp2l.c: Likewise.
9879         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9880         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9881         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9882         * math/s_catan.c (__catan): Likewise.
9883         * math/s_catanf.c (__catanf): Likewise.
9884         * math/s_catanh.c (__catanh): Likewise.
9885         * math/s_catanhf.c (__catanhf): Likewise.
9886         * math/s_catanhl.c (__catanhl): Likewise.
9887         * math/s_catanl.c (__catanl): Likewise.
9888         * math/s_ccosh.c (__ccosh): Likewise.
9889         * math/s_ccoshf.c (__ccoshf): Likewise.
9890         * math/s_ccoshl.c (__ccoshl): Likewise.
9891         * math/s_cexp.c (__cexp): Likewise.
9892         * math/s_cexpf.c (__cexpf): Likewise.
9893         * math/s_cexpl.c (__cexpl): Likewise.
9894         * math/s_clog10.c (__clog10): Likewise.
9895         * math/s_clog10f.c (__clog10f): Likewise.
9896         * math/s_clog10l.c (__clog10l): Likewise.
9897         * math/s_clog.c (__clog): Likewise.
9898         * math/s_clogf.c (__clogf): Likewise.
9899         * math/s_clogl.c (__clogl): Likewise.
9900         * math/s_csin.c (__csin): Likewise.
9901         * math/s_csinf.c (__csinf): Likewise.
9902         * math/s_csinh.c (__csinh): Likewise.
9903         * math/s_csinhf.c (__csinhf): Likewise.
9904         * math/s_csinhl.c (__csinhl): Likewise.
9905         * math/s_csinl.c (__csinl): Likewise.
9906         * math/s_csqrt.c (__csqrt): Likewise.
9907         * math/s_csqrtf.c (__csqrtf): Likewise.
9908         * math/s_csqrtl.c (__csqrtl): Likewise.
9909         * math/s_ctan.c (__ctan): Likewise.
9910         * math/s_ctanf.c (__ctanf): Likewise.
9911         * math/s_ctanh.c (__ctanh): Likewise.
9912         * math/s_ctanhf.c (__ctanhf): Likewise.
9913         * math/s_ctanhl.c (__ctanhl): Likewise.
9914         * math/s_ctanl.c (__ctanl): Likewise.
9915         * math/w_pow.c: Likewise.
9916         * math/w_powf.c: Likewise.
9917         * math/w_powl.c: Likewise.
9918         * math/w_scalb.c (sysv_scalb): Likewise.
9919         * math/w_scalbf.c (sysv_scalbf): Likewise.
9920         * math/w_scalbl.c (sysv_scalbl): Likewise.
9921         * misc/error.c (error_tail): Likewise.
9922         * misc/pselect.c (__pselect): Likewise.
9923         * nis/nis_callback.c (__nis_create_callback): Likewise.
9924         * nis/nis_call.c (__nisfind_server): Likewise.
9925         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9926         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9927         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9928         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9929         * nis/nis_lookup.c (nis_lookup): Likewise.
9930         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9931         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9932         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9933         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9934         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9935         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9936         * nis/nss_compat/compat-initgroups.c (add_group)
9937         (internal_getgrent_r): Likewise.
9938         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9939         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9940         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9941         (internal_getspnam_r): Likewise.
9942         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9943         (_nss_nis_getaliasbyname_r): Likewise.
9944         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9945         (_nss_nis_getntohost_r): Likewise.
9946         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9947         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9948         (_nss_nis_getgrgid_r): Likewise.
9949         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9950         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9951         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9952         (_nss_nis_gethostbyname4_r): Likewise.
9953         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9954         (initgroups_netid): Likewise.
9955         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9956         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9957         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9958         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9959         (_nss_nis_getprotobynumber_r): Likewise.
9960         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9961         (_nss_nis_getsecretkey): Likewise.
9962         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9963         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9964         (_nss_nis_getpwuid_r): Likewise.
9965         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9966         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9967         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9968         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9969         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9970         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9971         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9972         Likewise.
9973         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9974         (_nss_nisplus_getntohost_r): Likewise.
9975         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9976         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9977         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9978         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9979         Likewise.
9980         * nis/nss_nisplus/nisplus-initgroups.c
9981         (_nss_nisplus_initgroups_dyn): Likewise.
9982         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9983         (_nss_nisplus_getnetbyaddr_r): Likewise.
9984         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9985         (_nss_nisplus_getprotobynumber_r): Likewise.
9986         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9987         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9988         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9989         Likewise.
9990         * nis/nss_nisplus/nisplus-service.c
9991         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9992         (_nss_nisplus_getservbyport_r): Likewise.
9993         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9994         (_nss_nisplus_getspnam_r): Likewise.
9995         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9996         Likewise.
9997         * nscd/aicache.c (addhstaiX): Likewise.
9998         * nscd/cache.c (cache_search, prune_cache): Likewise.
9999         * nscd/connections.c (register_traced_file, send_ro_fd)
10000         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10001         (main_loop_epoll): Likewise.
10002         * nscd/grpcache.c (addgrbyX): Likewise.
10003         * nscd/hstcache.c (addhstbyX): Likewise.
10004         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10005         * nscd/mem.c (gc, mempool_alloc): Likewise.
10006         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10007         (addinnetgrX): Likewise.
10008         * nscd/nscd-client.h (__nscd_acquire_maplock)
10009         (__nscd_drop_map_ref): Likewise.
10010         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10011         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10012         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10013         Likewise.
10014         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10015         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10016         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10017         (__nscd_get_map_ref): Likewise.
10018         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10019         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10020         Likewise.
10021         * nscd/pwdcache.c (addpwbyX): Likewise.
10022         * nscd/selinux.c (preserve_capabilities): Likewise.
10023         * nscd/servicescache.c (addservbyX): Likewise.
10024         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10025         * posix/fnmatch.c (fnmatch): Likewise.
10026         * posix/getopt.c (_getopt_internal_r): Likewise.
10027         * posix/glob.c (glob, glob_in_dir): Likewise.
10028         * posix/wordexp.c (exec_comm_child): Likewise.
10029         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10030         (getanswer_r, gaih_getanswer_slice): Likewise.
10031         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10032         * resolv/res_init.c: Likewise.
10033         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10034         * resolv/res_query.c (__libc_res_nquery): Likewise.
10035         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10036         Likewise.
10037         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10038         * stdio-common/perror.c (perror): Likewise.
10039         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10040         * stdio-common/tmpnam.c (tmpnam): Likewise.
10041         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10042         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10043         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10044         Likewise.
10045         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10046         * stdlib/putenv.c (putenv): Likewise.
10047         * stdlib/setenv.c (__add_to_environ): Likewise.
10048         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10049         * stdlib/strtol_l.c (INTERNAL): Likewise.
10050         * string/memmem.c (memmem): Likewise.
10051         * string/strerror.c (strerror): Likewise.
10052         * string/strnlen.c (__strnlen): Likewise.
10053         * string/test-memmem.c (simple_memmem): Likewise.
10054         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10055         * sunrpc/pm_getport.c (__get_socket): Likewise.
10056         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10057         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10058         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10059         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10060         Likewise.
10061         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10062         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10063         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10064         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10065         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10066         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10067         Likewise.
10068         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10069         Likewise.
10070         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10071         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10072         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10073         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10074         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10076         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10077         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10078         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10079         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10080         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10081         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10082         Likewise.
10083         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10084         Likewise.
10085         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10086         Likewise.
10087         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10088         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10089         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10090         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10091         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10092         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10093         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10094         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10097         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10099         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10100         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10102         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10103         Likewise.
10104         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10105         Likewise.
10106         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10107         Likewise.
10108         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10109         Likewise.
10110         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10112         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10113         Likewise.
10114         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10115         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10116         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10117         * sysdeps/posix/sleep.c: Likewise.
10118         * sysdeps/posix/tempname.c: Likewise.
10119         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10120         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10121         Likewise.
10122         * sysdeps/powerpc/powerpc32/dl-machine.h
10123         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10124         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10126         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10127         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10128         Likewise.
10129         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10130         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10131         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10132         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10133         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10134         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10135         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10136         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10137         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10138         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10140         (elf_machine_lazy_rel): Likewise.
10141         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10142         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10143         (elf_machine_lazy_rel): Likewise.
10144         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10145         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10146         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10147         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10148         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10149         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10150         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10152         Likewise.
10153         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10154         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10155         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10156         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10157         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10158         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10159         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10160         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10161         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10162         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10163         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10164         Likewise.
10165         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10166         (__posix_fallocate64_l64): Likewise.
10167         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10168         (posix_fallocate): Likewise.
10169         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10170         Likewise.
10171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10172         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10173         (getifaddrs_internal): Likewise.
10174         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10175         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10176         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10177         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10178         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10179         (__posix_fallocate64_l64): Likewise.
10180         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10181         Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10183         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10184         (__get_clockfreq): Likewise.
10185         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10186         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10187         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10190         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10191         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10192         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10195         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10196         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10197         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10198         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10199         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10200         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10201         Likewise.
10202         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10203         (posix_fallocate): Likewise.
10204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10205         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10206         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10207         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10208         (elf_machine_rela, elf_machine_rela_relative)
10209         (elf_machine_lazy_rel): Likewise.
10210         * time/asctime.c (asctime_internal): Likewise.
10211         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10212         * time/tzset.c (__tzset_parse_tz): Likewise.
10213         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10214         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10215         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10216         * wcsmbs/wcsmbsload.h: Likewise.
10218         [BZ #15894]
10219         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10221         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10222         (arena_get2): Remove THREAD_STATS conditionals.
10223         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10224         (__malloc_stats, int): Likewise.
10226 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10228         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10229         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10231         * manual/setjmp.texi: Fix typos/grammar errors.
10233         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10234         Only return early when n is <= 0.  Delete unused return statement.
10236         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10237         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10238         * debug/tst-longjmp_chk3.c: New file.
10240         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10241         (test_main): Replace code with set_fortify_handler call.
10242         * debug/test-strcpy_chk.c: Likewise.
10243         * debug/tst-chk1.c: Likewise.
10244         * debug/tst-longjmp_chk.c: Likewise.
10245         * test-skeleton.c: Include fcntl.h & paths.h
10246         (set_fortify_handler): Define.
10248         * debug/tst-longjmp_chk.c: Add header comment and include
10249         ../test-skeleton.c.
10250         (do_test): Mark static.
10251         (TEST_FUNCTION): Define.
10253         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10254         (IP_PMTUDISC_INTERFACE): Likewise.
10255         (IP_MULTICAST_IF): Likewise.
10256         (IP_MULTICAST_TTL): Likewise.
10257         (IP_MULTICAST_LOOP): Likewise.
10258         (IP_ADD_MEMBERSHIP): Likewise.
10259         (IP_DROP_MEMBERSHIP): Likewise.
10260         (IP_UNBLOCK_SOURCE): Likewise.
10261         (IP_BLOCK_SOURCE): Likewise.
10262         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10263         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10264         (IP_MSFILTER): Likewise.
10265         (MCAST_JOIN_GROUP): Likewise.
10266         (MCAST_BLOCK_SOURCE): Likewise.
10267         (MCAST_UNBLOCK_SOURCE): Likewise.
10268         (MCAST_LEAVE_GROUP): Likewise.
10269         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10270         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10271         (MCAST_MSFILTER): Likewise.
10272         (IP_MULTICAST_ALL): Likewise.
10273         (IP_UNICAST_IF): Likewise.
10275         * timezone/Makefile: Delete $(have-ksh) check.
10276         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10277         * timezone/tzselect.ksh: Add +x mode bits.
10279         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10280         (ANON_INODE_FS_MAGIC): Likewise.
10281         (BDEVFS_MAGIC): Likewise.
10282         (BINFMTFS_MAGIC): Likewise.
10283         (BTRFS_TEST_MAGIC): Likewise.
10284         (CRAMFS_MAGIC_WEND): Likewise.
10285         (DEBUGFS_MAGIC): Likewise.
10286         (ECRYPTFS_SUPER_MAGIC): Likewise.
10287         (EXT3_SUPER_MAGIC): Likewise.
10288         (EXT4_SUPER_MAGIC): Likewise.
10289         (FUTEXFS_SUPER_MAGIC): Likewise.
10290         (HOSTFS_SUPER_MAGIC): Likewise.
10291         (HUGETLBFS_MAGIC): Likewise.
10292         (MINIX3_SUPER_MAGIC): Likewise.
10293         (MTD_INODE_FS_MAGIC): Likewise.
10294         (NILFS_SUPER_MAGIC): Likewise.
10295         (OPENPROM_SUPER_MAGIC): Likewise.
10296         (PIPEFS_MAGIC): Likewise.
10297         (PSTOREFS_MAGIC): Likewise.
10298         (QNX6_SUPER_MAGIC): Likewise.
10299         (RAMFS_MAGIC): Likewise.
10300         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10301         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10302         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10303         (SECURITYFS_MAGIC): Likewise.
10304         (SELINUX_MAGIC): Likewise.
10305         (SMACK_MAGIC): Likewise.
10306         (SOCKFS_MAGIC): Likewise.
10307         (SQUASHFS_MAGIC): Likewise.
10308         (STACK_END_MAGIC): Likewise.
10309         (TMPFS_MAGIC): Likewise.
10310         (USBDEVICE_SUPER_MAGIC): Likewise.
10311         (V9FS_MAGIC): Likewise.
10312         (XENFS_SUPER_MAGIC): Likewise.
10313         (CRAMFS_MAGIC): Fix typo in comment.
10314         (EXT2_SUPER_MAGIC): Update comment.
10315         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10317 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10319         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10320         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10321         * sysdeps/unix/sysv/linux/arm: Move directory from
10322         ports/sysdeps/unix/sysv/linux/arm.
10323         * README: Update listing for arm-*-linux-gnueabi.
10325         * README: Remove mention of am33.
10327 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10329         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10330         than the comma operator, to avoid "rhs of comma has no effect"
10331         compiler warnings.
10332         (__sigfillset, __sigandset, __sigorset): Likewise.
10333         * include/signal.h (__sigemptyset): Likewise.
10334         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10336 2014-02-07  Allan McRae  <allan@archlinux.org>
10338         * version.h (RELEASE): Set to "development".
10339         (VERSION): Set to "2.19.90"
10340         * NEWS: Add 2.20 section.
10342 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10344         [BZ #16529]
10345         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10347 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10349         * manual/contrib.texi: Update entry for Carlos O'Donell,
10350         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10352 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10354         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10356         * sysdeps/unix/sysv/linux/kernel-features.h
10357         [__LINUX_KERNEL_VERSION >= 0x020621]
10358         (__ASSUME_PROC_PID_TASK_COMM): Define.
10360 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10362         [BZ #16398]
10363         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10364         conversion when destination buffer does not have enough space.
10365         * libio/tst-ftell-partial-wide.c: New test case.
10366         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10368         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10369         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10370         Leonard and Allan McRae.
10372 2014-02-04  David S. Miller  <davem@davemloft.net>
10374         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10375         32-bit.
10377 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10380         New file
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10382         New file
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10384         New file.
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10386         New file.
10387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10388         New file.
10389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10390         New file.
10391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10392         New file.
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10394         New file.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10396         New file.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10398         New file.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10400         New file.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10402         New file.
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10404         New file.
10406 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10408         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10409         * shlib-versions: Likewise.
10411 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10412             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10414         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10415         (abilist-pattern): New variable, set to %-le.abilist.
10417         * Makerules (abilist-pattern): New variable.
10418         (vpath): Use $(abilist-pattern) in place of %.abilist.
10419         (check-abi-% pattern rule): Likewise.
10420         (check-abi, update-abi): Likewise.
10422 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10426 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10428         * manual/startup.texi: Add next, previous, and top entries for
10429         the `Program Arguments' and `Environment Variables' nodes.
10431 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10433         * manual/macros.texi: Add comments before MTASC-safety macros.
10435         * manual/users.texi: Document MTASC-safety properties.
10437         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10438         (pthread_getspecific, pthread_setspecific): Format with
10439         @deftypefun, and add @safety note.
10440         * manual/signal.texi: Move comments that analyze the above
10441         functions to their home place.
10443 2014-02-03  Allan McRae  <allan@archlinux.org>
10445         * po/sl.po: Update Slovenian translation from translation project.
10447 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10449         * manual/time.texi (timegm): Add missing blank after @c.
10450         Reported by Joseph Myers <joseph@codesourcery.com>.
10452 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10454         * manual/check-safety.sh: New.
10455         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10457         * manual/terminal.texi: Document MTASC-safety properties.
10459         * manual/filesys.texi: Document MTASC-safety properties.
10461         * manual/errno.texi: Document MTASC-safety properties.
10463         * manual/intro.texi: Document safety identifiers and
10464         conditionals.
10466         * manual/string.texi (wcstok): Fix prototype.
10467         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10469         * manual/time.texi: Document MTASC-safety properties.
10471         * manual/string.texi: Document MTASC-safety properties.
10473         * manual/threads.texi: Document MTASC-safety properties.
10475         * manual/stdio.texi: Document MTASC-safety properties.
10477         * manual/syslog.texi: Document MTASC-safety properties.
10479         * manual/sysinfo.texi: Document MTASC-safety properties.
10481         * manual/startup.texi: Document MTASC-safety properties.
10483         * manual/socket.texi: Document MTASC-safety properties.
10485         * manual/signal.texi: Document MTASC-safety properties.
10487 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10489         * manual/setjmp.texi: Document MTASC-safety properties.
10491         * manual/search.texi: Document MTASC-safety properties.
10493         * manual/resource.texi: Document MTASC-safety properties.
10495         * manual/process.texi: Document MTASC-safety properties.
10497         * manual/platform.texi: Document MTASC-safety properties.
10499         * manual/pipe.texi: Document MTASC-safety properties.
10501         * manual/pattern.texi: Document MTASC-safety properties.
10503         * manual/message.texi: Document MTASC-safety properties.
10505         [BZ #12751]
10506         * manual/memory.texi: Document MTASC-safety properties.
10508         * manual/math.texi: Document MTASC-safety properties.
10510         * manual/locale.texi: Document MTASC-safety properties.
10512         * manual/llio.texi: Document MTASC-safety properties.
10514         * manual/libdl.texi: New.
10516         * manual/lang.texi: Document MTASC-safety properties.
10518         * manual/job.texi: Document MTASC-safety properties.
10520         * manual/getopt.texi: Document MTASC-safety properties.
10522         * manual/ctype.texi: Document MTASC-safety properties.
10524 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10526         [BZ #16046]
10527         * csu/libc-tls.c (static_map): Remove variable.
10528         (__libc_setup_tls): Use main executable's link map for TLS data.
10529         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10530         casing for LM_ID_BASE and GL(dl_nns).
10531         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10532         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10533         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10534         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10535         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10536         member.
10537         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10538         l_phnum members.
10540 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10542         * manual/debug.texi: Document MTASC-safety properties.
10544 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10546         [BZ #16510]
10547         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10548         of __x86_64__ when disabling x87 inline functions.
10550 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10552         * manual/charset.texi: Document MTASC-safety properties.
10554         * manual/crypt.texi: Document MTASC-safety properties.
10556         * manual/conf.texi: Document MTASC-safety properties.
10558         * manual/arith.texi: Document MTASC-safety properties.
10560         * manual/argp.texi: Document MTASC-safety properties.
10562         * manual/macros.texi: Introduce macros to document multi
10563         thread, asynchronous signal and asynchronous cancellation
10564         safety properties.
10565         * manual/intro.texi: Introduce the properties themselves.
10567 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10569         * sysdeps/sh/sh4/Makefile: New file.
10571 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10573         * math/gen-libm-test.pl ($srcdir): New variable.
10574         ($auto_input): Use it.
10576 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578         [BZ #16506]
10579         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10580         access beyond array bounds when parsing netgroups file.
10582         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10583         the old buffer before realloc.
10585 2014-01-27  Allan McRae  <allan@archlinux.org>
10587         * po/fr.po: Update French translation from translation project.
10589 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10591         * sysdeps/sh/libm-test-ulps: Regenerate.
10593 2014-01-24  David S. Miller  <davem@davemloft.net>
10595         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10597 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10599         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10600         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10602 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10604         [BZ #16474]
10605         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10606         string pointers after reallocation.
10608 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10610         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10611         __SH4A__ instead of __SH_FPU_ANY__.
10613 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10615         * sysdeps/sh/fpu_control.h: New file.
10616         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10617         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10618         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10619         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10620         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10621         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10622         * sysdeps/sh/sys/ucontext.h: Remove.
10623         * sysdeps/sh/sys: Remove directory.
10625 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10627         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10628         s390/sys/ucontext.h.
10629         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10630         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10632 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10634         [BZ #15605]
10635         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10637 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10639         [BZ#16431]
10640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10641         Adjust the vDSO correctly for internal calls.
10642         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10644 2014-01-20  Allan McRae  <allan@archlinux.org>
10646         * po/ca.po: Update Catalan translation from translation project.
10648 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10650         * sysdeps/s390/sotruss-lib.c: New file.
10652 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10654         [BZ#16430]
10655         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10656         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10657         local calls issues by not having a PLT stub required for IFUNC calls.
10658         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10660 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10662         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10663         * math/test-fpucw-static.c: Likewise.
10665 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10667         [BZ #16453]
10668         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10670 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10672         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10673         implementation for powerpc.
10675 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10677         [BZ #14782]
10678         * sysdeps/posix/system.c (__libc_system): Do not enable
10679         asynchronous cancellation.
10681 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10683         [BZ #16427]
10684         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10685         handling only for numbers special also in the IEEE case.
10687 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10691 2014-01-11  Allan McRae  <allan@archlinux.org>
10693         * po/bg.po: Update Bulgarian translation from translation project.
10695         * po/de.po: Update German translation from translation project.
10697 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10699         * sysdeps/generic/gcc-compat.h: New file.
10701 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10703         * benchtests/asin-inputs: Correct slow inputs.
10704         * benchtests/acos-inputs: Likewise.
10706 2014-01-10  Allan McRae  <allan@archlinux.org>
10708         * po:sv.po: Update Swedish translation from translation project.
10710         * po/vi.po: Update Vietnamese translation from translation project.
10712         * po/eo.po: Update Esperanto translation from translation project.
10714         * po/cs.po: Update Czech translation from translation project.
10716         * po/nl.po: Update Dutch translation from translation project.
10718         * po/pl.po: Update Polish translation from translation project.
10720         * po/ru.po: Update Russian translation from translation project.
10722         * po/uk.po: Update Ukrainian translation from translation project.
10724 2014-01-08  Brooks Moses  <bmoses@google.com>
10726         * elf/dl-load.c: Fix comment typo.
10728 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10730         * po/header.pot: Rename to...
10731         * po/pot.header: ... this.
10732         * po/Makefile: Use pot.header.
10734 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10735             Maxim Kuvyrkov  <maxim@kugelworks.com>
10737         [BZ #16394]
10738         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10739         SRC and DEST against LEN.
10741 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10743         [BZ #16414]
10744         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10745         implementation.
10746         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10748 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10752 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10754         [BZ #16408]
10755         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10756         for large positive arguments.
10758 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10760         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10762         * math/auto-libm-test-in: Mark various tests with
10763         xfail-rounding:ldbl-128ibm.
10764         * math/auto-libm-test-out: Regenerated.
10766         [BZ #16407]
10767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10768         Increase overflow threshold.
10770 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10772         [BZ #14286]
10773         * stdio-common/vfprintf.c: Check for integer overflow.
10775 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10777         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10778         the first argument and return value of __tls_get_addr_internal.
10780 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10782         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10783         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10785 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10787         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10788         * sysdeps/s390/rtld-global-offsets.sym: New file.
10789         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10790         GLIBC_2.19 symbol.
10791         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10792         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10794         ... this.
10795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10796         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10797         ... this.
10798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10799         Regenerate.
10800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10801         Regenerate.
10802         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10803         halfs of GPRs for high_gprs contexts.
10804         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10805         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10806         field.
10807         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10808         uc_flags field.
10809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10810         64 bit versions:
10811         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10812         for high GPRs (uc_high_gprs) and for future extensions
10813         (__reserved).
10814         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10815         for future extensions (__reserved).
10816         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10817         64 bit versions:
10818         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10819         SC_HIGHGPRS offset definition.
10820         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10821         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10823         * Versions.def: Add GLIBC_2.19 for libpthread.
10824         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10825         siglongjmp for libpthread with GLIBC_2.19 symver.
10826         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10827         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10828         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10829         * sysdeps/s390/__longjmp.c: New file.
10830         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10831         * sysdeps/s390/longjmp.c: New file.
10832         * sysdeps/s390/setjmp.S: New file.
10833         * sysdeps/s390/sigjmp.S: New file.
10834         * sysdeps/s390/v1-longjmp.c: New file.
10835         * sysdeps/s390/v1-setjmp.h: New file.
10836         * sysdeps/s390/v1-sigjmp.c: New file.
10837         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10838         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10839         GLIBC_2.19 version.
10840         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10841         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10842         versioned symbols for ____longjmp_chk.
10843         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10844         Likewise.
10845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10846         Regenerate.
10847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10848         Regenerate.
10849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10850         Regenerate.
10851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10852         Regenerate.
10853         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10854         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10855         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10856         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10857         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10858         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10859         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10860         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10861         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10862         * sysdeps/s390/rtld-__longjmp.c: New file.
10863         * sysdeps/s390/rtld-setjmp.S: New file.
10865 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10867         [BZ #16400]
10868         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10869         Return -__logl (x) for small positive arguments without evaluating
10870         a polynomial.
10872 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10874         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10875         Rename to ...
10876         (__ptrace_peeksiginfo_args): ... this.
10877         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10879         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10881 2014-01-06  Allan McRae  <allan@archlinux.org>
10883         * inet/netinet/in.h: Fix typo in comment.
10885 2014-01-05  Andreas Jaeger  <aj@suse.de>
10887         * sysdeps/i386/fpu/libm-test-ulps: Update.
10889 2014-01-05  Allan McRae  <allan@archlinux.org>
10891         * po/libc.pot: Regenerated.
10893         * malloc/memusagestat.c: Fix gettext call formatting.
10895 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10897         * nscd/nscd.c: Improve usage() output.
10899 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10901         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10902         * sysdeps/unix/sysv/linux/configure: Regenerated.
10903         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10904         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10906 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10908         [BZ #16390]
10909         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10910         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10912 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10915         extra tokens at end of #undef directive.
10916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10917         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10918         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10920 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10922         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10924         * math/auto-libm-test-in: Mark various tests with
10925         xfail-rounding:ldbl-128ibm.
10926         * math/auto-libm-test-out: Regenerated.
10928 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #16386]
10931         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10932         numbers with subnormal high part when calculating exponent.
10934         [BZ #16385]
10935         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10936         fabs.
10938         [BZ #16384]
10939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10940         M_LN2l.
10941         (__ieee754_acoshl): Use __log1pl not __log1p.
10943 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10945         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10946         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10947         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10948         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10949         (reused_arena, arena_get2): Convert to GNU style.
10950         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10951         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10952         (memalign_check, __malloc_set_state): Likewise.
10953         * malloc/mallocbug.c (main): Likewise.
10954         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10955         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10956         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10957         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10958         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10959         (__posix_memalign, malloc_info): Likewise.
10960         * malloc/malloc.h: Likewise.
10961         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10962         (mallochook, memalignhook, reallochook, mabort): Likewise.
10963         * malloc/mcheck.h: Likewise.
10964         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10965         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10966         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10967         * malloc/morecore.c (__default_morecore): Likewise.
10968         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10969         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10970         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10971         (print_and_abort): Likewise.
10972         * malloc/obstack.h: Likewise.
10973         * malloc/set-freeres.c (__libc_freeres): Likewise.
10974         * malloc/tst-mallocstate.c (main): Likewise.
10975         * malloc/tst-mtrace.c (main): Likewise.
10976         * malloc/tst-realloc.c (do_test): Likewise.
10978 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10980         [BZ #16366]
10981         * nscd/netgroupcache.c (do_notfound): New function.
10982         (addgetnetgrentX): Use it.
10984         [BZ # 16365]
10985         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10986         NSS_STATUS_NOTFOUND.
10988 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10990         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993 2014-01-01  Allan McRae  <allan@archlinux.org>
10995         * scripts/update-copyrights: Update configure input file suffix.
10997         * NEWS: Update copyright year.
10998         * catgets/gencat.c: Likewise.
10999         * csu/version.c: Likewise.
11000         * debug/catchsegv.sh: Likewise.
11001         * debug/pcprofiledump.c: Likewise.
11002         * debug/xtrace.sh: Likewise.
11003         * elf/ldconfig.c: Likewise.
11004         * elf/ldd.bash.in: Likewise.
11005         * elf/pldd.c: Likewise.
11006         * elf/sotruss.ksh: Likewise.
11007         * elf/sprof.c: Likewise.
11008         * iconv/iconv_prog.c: Likewise.
11009         * iconv/iconvconfig.c: Likewise.
11010         * locale/programs/locale.c: Likewise.
11011         * locale/programs/localedef.c: Likewise.
11012         * login/programs/pt_chown.c: Likewise.
11013         * malloc/memusage.sh: Likewise.
11014         * malloc/memusagestat.c: Likewise.
11015         * malloc/mtrace.pl: Likewise.
11016         * manual/libc.texinfo: Likewise.
11017         * nscd/nscd.c: Likewise.
11018         * nss/getent.c: Likewise.
11019         * nss/makedb.c: Likewise.
11020         * posix/getconf.c: Likewise.
11021         * scripts/test-installation.pl: Likewise.
11023         * All files with FSF copyright notices: Update copyright dates
11024         using scripts/update-copyrights.
11025         * intl/plural.c: Regenerated.
11026         * locale/programs/charmap-kw.h: Likewise.
11027         * locale/programs/locfile-kw.h: Likewise.
11029 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11031         * sysdeps/unix/sysv/linux/configure: Regenerated.
11032         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11033         the linux/fanotify.h header.
11034         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11035         HAVE_LINUX_FANOTIFY_H is defined.
11037 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11039         * benchtests/cos-inputs: New inputs.
11040         * benchtests/sin-inputs: Likewise.
11042         * benchtests/atan-inputs: New inputs. Fix name of multiple
11043         precision fallback inputs.
11045         * benchtests/atanh-inputs: New inputs.
11046         * benchtests/tanh-inputs: Likewise.
11048         * benchtests/acosh-inputs: New inputs.
11049         * benchtests/asinh-inputs: Likewise.
11051         * benchtests/cosh-inputs: New inputs.
11052         * benchtests/sinh-inputs: Likewise.
11054         * benchtests/acos-inputs: Add more inputs.
11055         * benchtests/asin-inputs: Likewise.
11057 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11059         [BZ #16375]
11060         * manual/arith.texi: Fix spelling.
11061         * manual/charset.texi: Likewise.
11062         * manual/errno.texi: Likewise.
11063         * manual/filesys.texi: Likewise.
11064         * manual/lang.texi: Likewise.
11065         * manual/llio.texi: Likewise.
11066         * manual/locale.texi: Likewise.
11067         * manual/message.texi: Likewise.
11068         * manual/resource.texi: Likewise.
11069         * manual/search.texi: Likewise.
11070         * manual/setjmp.texi: Likewise.
11071         * manual/stdio.texi: Likewise.
11072         * manual/string.texi: Likewise.
11073         * manual/sysinfo.texi: Likewise.
11074         * manual/time.texi: Likewise.
11076 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11078         * po/sl.po: New file.
11080 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11082         * .gitignore: Add core/.gdbinit/.gdb_history.
11084 2013-12-27  Allan McRae  <allan@archlinux.org>
11086         [BZ #16369]
11087         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11088         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11090 2013-12-24  Brooks Moses  <bmoses@google.com>
11092         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11093         all compilers that claim C++98 compliance, not just GCC.
11094         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11095         Likewise.
11097 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11099         * NEWS: Restore accidentally deleted bug-fix entries.
11101 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11102             Ondřej Bílka  <neleai@seznam.cz>
11104         [BZ #15073]
11105         * malloc/malloc.c (_int_free): Perform sanity check only if we
11106         have_lock.
11108 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11110         [BZ #12986]
11111         * manual/stdio.texi (String Input Conversions): Clarify that character
11112         classes are not supported.
11114 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11118 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11120         [BZ #16337]
11121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11122         Calculate results for small negative arguments directly rather
11123         than using reflection formula with special underflow handling.
11125         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11126         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11127         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11128         (fchflags): Likewise.
11129         (revoke): Likewise.
11130         (setlogin): Likewise.
11131         (sigaltstack): Likewise.
11132         (wait4): Likewise.
11133         (sigblock): Remove.
11134         (sigsetmask): Likewise.
11135         (wait3): Likewise.
11136         (waitpid): Likewise.
11137         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11138         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11139         file.
11140         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11141         * sysdeps/unix/bsd/Makefile: ... here.
11142         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11143         * sysdeps/unix/bsd/Versions: ... here.
11144         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11145         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11146         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11147         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11148         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11149         * sysdeps/unix/bsd/sigblock.c: ... here.
11150         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11151         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11152         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11153         * sysdeps/unix/bsd/sigvec.c: ... here.
11154         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11155         * sysdeps/unix/bsd/tcdrain.c: ... here.
11156         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11157         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11158         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11159         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11160         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11161         * sysdeps/unix/bsd/wait.c: ... here.
11162         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11163         * sysdeps/unix/bsd/wait3.c: ... here.
11164         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11165         * sysdeps/unix/bsd/waitpid.c: ... here.
11167 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11169         [BZ #16356]
11170         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11171         round-to-nearest for [!USE_AS_EXPM1L].
11172         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11173         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11174         more tests of exp and exp10.  Expect some exp10 tests to miss
11175         exceptions or fail in directed rounding modes.
11176         * math/auto-libm-test-out: Regenerated.
11177         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11178         (exp10_test_tonearest): New function.
11179         (exp10_towardzero_test_data): New array.
11180         (exp10_test_towardzero): New function.
11181         (exp10_downward_test_data): New array.
11182         (exp10_test_downward): New function.
11183         (exp10_upward_test_data): New array.
11184         (exp10_test_upward): New function.
11185         (main): Call the new functions.
11186         * sysdeps/i386/fpu/libm-test-ulps: Update.
11187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11189 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11191         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11192         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11193         * math/auto-libm-test-out: Regenerated.
11194         * math/libm-test.inc (acosh_test_data): Add more tests.
11195         (atanh_test_data): Likewise.
11196         (ceil_test_data): Likewise.
11197         (copysign_test_data): Likewise.
11198         * sysdeps/i386/fpu/libm-test-ulps: Update.
11199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11201         * timezone/checktab.awk: Update from tzcode 2013i.
11202         * timezone/private.h: Likewise.
11203         * timezone/scheck.c: Likewise.
11204         * timezone/tzfile.h: Likewise.
11205         * timezone/tzselect.ksh: Likewise.
11206         * timezone/zdump.c: Likewise.
11207         * timezone/zic.c: Likewise.
11209         * math/auto-libm-test-in: Add tests of cpow.
11210         * math/auto-libm-test-out: Regenerated.
11211         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11213         mpc_cc_c.
11214         (func_calc_desc): Add mpc_cc_c union field.
11215         (test_functions): Add cpow.
11216         (special_fill_2pi): New function.
11217         (special_real_inputs): Add 2pi.
11218         (calc_generic_results): Handle mpc_cc_c.
11219         * sysdeps/i386/fpu/libm-test-ulps: Update.
11220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11223         csqrt, ctan and ctanh.
11224         * math/auto-libm-test-out: Regenerated.
11225         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11226         (TEST_COND_x86): Likewise.
11227         (ccos_test_data): Use AUTO_TESTS_c_c.
11228         (ccosh_test_data): Likewise.
11229         (cexp_test_data): Likewise.
11230         (clog_test_data): Likewise.
11231         (csqrt_test_data): Likewise.
11232         (ctan_test_data): Likewise.
11233         (ctan_tonearest_test_data): Likewise.
11234         (ctan_towardzero_test_data): Likewise.
11235         (ctan_downward_test_data): Likewise.
11236         (ctan_upward_test_data): Likewise.
11237         (ctanh_test_data): Likewise.
11238         (ctanh_tonearest_test_data): Likewise.
11239         (ctanh_towardzero_test_data): Likewise.
11240         (ctanh_downward_test_data): Likewise.
11241         (ctanh_upward_test_data): Likewise.
11242         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11243         mpc_c_c.
11244         (func_calc_desc): Add mpc_c_c union field.
11245         (FUNC_mpc_c_c): New macro.
11246         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11247         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11248         ctanh.
11249         (special_fill_min_subnorm_p120): New function.
11250         (special_real_inputs): Add min_subnorm_p120.
11251         (calc_generic_results): Handle mpc_c_c.
11252         * sysdeps/i386/fpu/libm-test-ulps: Update.
11253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11255 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11257         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11258         (do_sin_slow): New functions.
11259         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11260         (cslow2, csloww1, csloww2): Use the new functions.
11262         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11263         Use M to change sign of result instead of X.  Assume X is
11264         positive.
11265         (csloww1): Likewise.
11266         (__sin): Adjust.
11267         (__cos): Adjust.
11269         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11270         arguments A and DA.
11271         (__sin): Adjust.
11272         (__cos): Likewise.
11274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11275         (__cos): Likewise.
11276         (sloww1): Don't adjust sign of DX.
11277         (csloww1): Likewise.
11278         (sloww2): Use X directly and don't adjust sign of DX.
11279         (csloww2): Likewise.
11281 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11283         * math/auto-libm-test-in: Add tests of cabs and carg.
11284         * math/auto-libm-test-out: Regenerated.
11285         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11286         (carg_test_data): Likewise.
11287         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11288         mpc_c_f.
11289         (func_calc_desc): Add mpc_c_f union field.
11290         (test_functions): Add cabs and carg.
11291         (calc_generic_results): Handle mpc_c_f.
11293         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11294         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11295         as a macro and a compat symbol.
11296         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11297         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11298         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11299         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11300         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11301         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11302         not use .hidden.
11303         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11304         Likewise.
11305         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11306         Likewise.
11307         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11308         Likewise.
11309         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11310         Likewise.
11311         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11312         Likewise.
11313         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11314         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11315         from GLIBC_2.3.2.
11317 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11321 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11323         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11324         trailing whitespace removed.
11325         * scripts/config.guess: Update to version 2013-11-29.
11326         * scripts/config.sub: Update to version 2013-10-01.
11328         * math/auto-libm-test-in: Add tests of sincos.
11329         * math/auto-libm-test-out: Regenerated.
11330         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11332         mpfr_f_11.
11333         (func_calc_desc): Add mpfr_f_11 union field.
11334         (test_functions): Add sincos.
11335         (calc_generic_results): Handle mpfr_f_11.
11336         * sysdeps/i386/fpu/libm-test-ulps: Update.
11337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11339 2013-12-19  Andreas Schwab  <schwab@suse.de>
11341         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11342         CALL_MCOUNT.
11343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11344         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11345         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11347 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11349         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11350         * sysdeps/i386/fpu/libm-test-ulps: Update.
11351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353         [BZ #16293]
11354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11355         round-to-nearest mode when using frndint.
11356         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11357         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11359         Likewise.
11360         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11361         sinh test to fail.
11362         * math/auto-libm-test-out: Regenerated.
11363         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11364         (TEST_COND_x86): Likewise.
11365         (expm1_tonearest_test_data): New array.
11366         (expm1_test_tonearest): New function.
11367         (expm1_towardzero_test_data): New array.
11368         (expm1_test_towardzero): New function.
11369         (expm1_downward_test_data): New array.
11370         (expm1_test_downward): New function.
11371         (expm1_upward_test_data): New array.
11372         (expm1_test_upward): New function.
11373         (main): Run the new test functions.
11374         * sysdeps/i386/fpu/libm-test-ulps: Update.
11375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377         * include/features.h: Update comment documenting feature test
11378         macros.  Mention _DEFAULT_SOURCE in comment.
11379         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11380         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11381         _BSD_SOURCE and _SVID_SOURCE.
11382         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11383         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11384         !_SVID_SOURCE]: Likewise.
11385         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11386         (__USE_POSIX_IMPLICITLY): Define.
11387         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11388         (_POSIX_SOURCE): Undefine and redefine.
11389         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11390         (_POSIX_C_SOURCE): Likewise.
11391         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11392         (Feature Test Macros): Update documentation of default features.
11394 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11396         * benchtests/Makefile: Add bench-strtok.
11397         * benchtests/bench-strtok.c: New file: strtok benchtest.
11399 2013-12-19  Allan McRae  <allan@archlinux.org>
11401         * manual/install.texi: Suppress menu for plain text output.
11402         * INSTALL: Regenerated.
11404 2013-12-18  Brooks Moses  <bmoses@google.com>
11406         [BZ #15846]
11407         * misc/getauxval.c: Include errno.h.
11408         (__getauxval): Set errno to ENOENT if the requested type is not
11409         found.
11410         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11411         don't declare with __attribute_const__.
11412         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11413         * manual/startup.texi: Document that getauxval sets errno.
11415 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11417         * math/auto-libm-test-in: Add tests of jn and yn.
11418         * math/auto-libm-test-out: Regenerated.
11419         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11420         (yn_test_data): Likewise.
11421         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11422         mpfr_if_f.
11423         (func_calc_desc): Add mpfr_if_f union field.
11424         (FUNC_mpfr_if_f): New macro.
11425         (test_functions): Add jn and yn.
11426         (calc_generic_results): Assert type of second input for
11427         mpfr_ff_f.  Handle mpfr_if_f.
11428         (output_for_one_input_case): Disable all checking for arguments
11429         fitting floating-point types in case of an integer argument.
11430         * sysdeps/i386/fpu/libm-test-ulps: Update.
11431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11434         Don't expect fegetround reference in libm.so.
11436 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11438         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11439         $(config-cflags-nofma).
11441 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11443         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11444         * math/auto-libm-test-out: Regenerated.
11446         [BZ #16338]
11447         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11448         to determine exponent and adjust argument to have exponent of -1.
11449         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11450         log2.
11451         * math/auto-libm-test-out: Regenerated.
11452         * sysdeps/i386/fpu/libm-test-ulps: Update.
11453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11455 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11457         * manual/probes.texi: Remove cases when per-thread arenas are
11458         disabled.
11460 2013-12-18  Andreas Schwab  <schwab@suse.de>
11462         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11463         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11464         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11465         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11466         * sysdeps/i386/i686/multiarch/Makefile: Update.
11467         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11469 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11471         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11472         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11474 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11476         [BZ #15968]
11477         Support TZ transition times < 00:00:00.
11478         This is needed for version-3 tz-format files; it supports time
11479         stamps past 2037 for America/Godthab (the only entry in the tz
11480         database for which this change is relevant).
11481         * manual/time.texi (TZ Variable): Document transition times
11482         from -167:59:59 through -00:00:01.
11483         * time/tzset.c (tz_rule): Time of day is now signed.
11484         (__tzset_parse_tz): Parse negative time of day.
11486         Document TZ transition times >= 25:00:00.
11487         * manual/time.texi (TZ Variable): Document transition times from
11488         25:00:00 through 167:59:59.  These are already supported, and this
11489         support will help with version-3 tz-format files.
11491         * manual/time.texi (TZ Variable): Modernize North America example
11492         to reflect current (i.e., 2007-and-later) daylight saving rules.
11494         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11496 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11498         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11499         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11502         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11503         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11504         * sysdeps/unix/bsd/clock.c: Likewise.
11505         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11506         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11507         * sysdeps/unix/bsd/init-posix.c: Likewise.
11508         * sysdeps/unix/bsd/poll.c: Likewise.
11509         * sysdeps/unix/bsd/ptsname.c: Likewise.
11510         * sysdeps/unix/bsd/seekdir.c: Likewise.
11511         * sysdeps/unix/bsd/setegid.c: Likewise.
11512         * sysdeps/unix/bsd/seteuid.c: Likewise.
11513         * sysdeps/unix/bsd/setgid.c: Likewise.
11514         * sysdeps/unix/bsd/setrgid.c: Likewise.
11515         * sysdeps/unix/bsd/setruid.c: Likewise.
11516         * sysdeps/unix/bsd/setsid.c: Likewise.
11517         * sysdeps/unix/bsd/setuid.c: Likewise.
11518         * sysdeps/unix/bsd/sigaction.c: Likewise.
11519         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11520         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11521         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11522         * sysdeps/unix/bsd/telldir.c: Likewise.
11523         * sysdeps/unix/bsd/times.c: Likewise.
11524         * sysdeps/unix/bsd/usleep.c: Likewise.
11526         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11527         ($(objpfx)libbsd-compat.a): Remove rule.
11529         * include/features.h (__FAVOR_BSD): Do not define.
11530         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11531         features conflicting with POSIX.
11532         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11533         (_BSD_SOURCE): Remove description of not being a subset of other
11534         feature test macros.
11535         * manual/job.texi (getpgrp): Do not document BSD version.
11536         (getpgid): Do not document by reference to BSD getpgrp.
11537         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11538         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11539         * signal/signal.h [__FAVOR_BSD]: Likewise.
11540         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11541         instead of making contents conditional on [__FAVOR_BSD].
11542         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11544 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11548 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11550         [BZ #16314]
11551         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11552         values below 2**-450, not 2**-500.
11553         * math/auto-libm-test-in: Don't allow spurious underflow from
11554         hypot.
11555         * math/auto-libm-test-out: Regenerated.
11557         [BZ #16316]
11558         [BZ #16330]
11559         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11560         values of ha and hb and sort them after adjusting subnormal
11561         arguments.
11562         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11563         Likewise.
11564         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11565         values of ea and eb and sort them after adjusting subnormal
11566         arguments.
11567         * math/auto-libm-test-in: Do not expect some hypot tests of
11568         subnormals to fail.  Add more hypot tests.
11569         * math/auto-libm-test-out: Regenerated.
11571 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11573         [BZ #13304]
11574         * sysdeps/sh/s_fma.c: New file.
11575         * sysdeps/sh/s_fmaf.c: New file.
11576         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11577         version.
11578         * sysdeps/sh/Implies: Add sh/soft-fp.
11580 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11582         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11583         level of indirection to members `objname', `errstring', `malloced'.
11584         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11585         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11586         it as the __longjmp argument (just pass 1 instead).
11587         (_dl_catch_error): Initialize C with argument pointers and address of
11588         volatile local ERRCODE rather than copying values out of C at return.
11590 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11592         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11593         * math/auto-libm-test-out: Regenerated.
11594         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11595         (hypot_test_data): Likewise.
11596         (pow_test_data): Likewise.
11597         (pow_tonearest_test_data): Likewise.
11598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11599         mpfr_ff_f.
11600         (func_calc_desc): Add mpfr_ff_f union field.
11601         (FUNC_mpfr_ff_f): New macro.
11602         (test_functions): Add atan2, hypot and pow.
11603         (special_fill_min): New function.
11604         (special_fill_minus_min): Likewise.
11605         (special_fill_min_subnorm): Likewise.
11606         (special_fill_minus_min_subnorm): Likewise.
11607         (special_real_inputs): Add min, -min, min_subnorm and
11608         -min_subnorm.
11609         (calc_generic_results): Handle mpfr_ff_f.
11610         * sysdeps/i386/fpu/libm-test-ulps: Update.
11611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613 2013-12-16  Will Newton  <will.newton@linaro.org>
11615         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11616         (Aligned Memory Blocks): Add documentation for aligned_alloc
11617         and suggest it as an alternative to posix_memalign.
11618         (Hooks for Malloc): Document __memalign_hook is also called
11619         for aligned_alloc.  (Summary of Malloc): Add summary for
11620         aligned alloc.  Document __memalign_hook is also called
11621         for aligned_alloc.
11623 2013-12-16  Will Newton  <will.newton@linaro.org>
11625         * manual/memory.texi (Malloc Examples): Clarify default
11626         alignment documentation.  Suggest posix_memalign rather
11627         than memalign or valloc.
11628         (Aligned Memory Blocks): Remove suggestion to use memalign
11629         or valloc.  Remove obsolete comment about BSD.
11630         Document memalign errno values and mark the function obsolete.
11631         Document posix_memalign returned error codes.  Mark valloc
11632         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11633         called for posix_memalign and valloc.
11634         (Summary of Malloc): Add posix_memalign to function summary.
11635         __memalign_hook is also called for posix_memalign and valloc.
11637 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11639         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11640         TAYLOR_SIN.
11641         (__sin): Adjust.
11642         (__cos): Likewise.
11643         (sloww): Use mynumber union.  Expand ternary operator into
11644         if-else statements.
11645         (cslow): use mynumber union.
11647 2013-12-16  Allan McRae  <allan@archlinux.org>
11649         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11650         * configure: Regenerated.
11652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11654         [BZ #14120]
11655         * configure.ac: Added --enable-maintainer-mode. Check for
11656         autoconf when enabled.
11657         * configure: Regenerated.
11659         * nscd/nscd.service: New file.
11660         * nscd/nscd.tmpfiles: New file.
11662 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11664         [BZ #12100]
11665         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11666         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11667         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11668         (strstr): Add __strstr_sse2_unaligned ifunc.
11669         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11670         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11671         (strcasestr): Remove __strcasestr_sse42 ifunc.
11672         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11676 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11678         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11679         * sysdeps/sh/bits/fenv.h: ... here.
11680         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11682 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11684         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11687         hypotf multiarch implementations.
11688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11689         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11690         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11691         multiarch hypot for PPC64.
11692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11693         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11694         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11695         multiarch hypotf for PPC64.
11697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11698         modff multiarch implementations.
11699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11702         multiarch modf for PPC64.
11703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11706         multiarch modff for PPC64.
11708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11709         and logl multiarch implementations.
11710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11713         multiarch logb for PPC64.
11714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11717         multiarch logb for PPC64.
11718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11721         multiarch logb for PPC64.
11723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11724         isinff multiarch implementation.
11725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11726         file.
11727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11729         multiarch isinf for PPC64.
11730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11731         file.
11732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11733         multiarch isinff for PPC64.
11735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11736         finitef multiarch implementation.
11737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11738         file.
11739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11741         multiarch finite for PPC64.
11742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11743         file.
11744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11745         multiarch finitef for PPC64.
11747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11748         lrint multiarch implementation.
11749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11750         file.
11751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11753         multiarch llrint for PPC64.
11754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11755         multiarch lrint for PPC64.
11757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11758         copysignf multiarch implementation.
11759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11760         file.
11761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11762         file.
11763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11764         multiarch copysign for PPC64.
11765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11766         multiarch copysignf for PPC64.
11768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11769         multiarch implementation.
11770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11771         file.
11772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11773         file.
11774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11775         file.
11776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11777         file.
11778         multiarch llround for PPC64.
11779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11780         multiarch trunc for PPC64.
11781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11782         multiarch truncf for PPC64.
11784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11785         multiarch implementation.
11786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11787         file.
11788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11789         file.
11790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11791         file.
11792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11793         file.
11794         multiarch llround for PPC64.
11795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11796         multiarch round for PPC64.
11797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11798         multiarch roundf for PPC64.
11800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11801         multiarch implementation.
11802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11803         file.
11804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11805         file.
11806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11807         file.
11808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11809         file.
11810         multiarch llround for PPC64.
11811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11812         multiarch floor for PPC64.
11813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11814         multiarch floorf for PPC64.
11816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11817         multiarch implementation.
11818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11819         file.
11820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11821         file.
11822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11823         file.
11824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11825         file.
11826         multiarch llround for PPC64.
11827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11828         multiarch ceil for PPC64.
11829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11830         multiarch ceilf for PPC64.
11832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11833         multiarch implementation.
11834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11835         file.
11836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11837         file.
11838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11839         file.
11840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11841         multiarch llround for PPC64.
11842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11843         multiarch lround for PPC64.
11845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11846         multiarch implementation.
11847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11850         file.
11851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11854         multiarch isnan for PPC64.
11855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11856         multiarch isnanf for PPC64.
11858         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11859         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11860         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11861         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11862         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11865         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11866         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11871         multiarch implementations.
11872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11873         (__libc_ifunc_impl_list): Likewise.
11874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11875         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11876         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11877         multiarch stpcpy for PPC64.
11879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11880         multiarch implementations.
11881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11882         (__libc_ifunc_impl_list): Likewise.
11883         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11884         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11885         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11886         multiarch strcpy for PPC64.
11888         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11889         redefine function name.
11890         (_wordcopy_fwd_dest_aligned): Likewise.
11891         (_wordcopy_bwd_aligned): Likewise.
11892         (_wordcopy_bwd_dest_aligned): Likewise.
11893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11894         multiarch implementations.
11895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11896         (__libc_ifunc_impl_list): Likewise.
11897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11898         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11900         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11901         multiarch wcscpy for PPC64.
11903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11904         multiarch implementations.
11905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11906         (__libc_ifunc_impl_list): Likewise.
11907         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11908         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11909         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11910         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11911         multiarch wcscpy for PPC64.
11913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11914         multiarch implementations.
11915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11916         (__libc_ifunc_impl_list): Likewise.
11917         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11918         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11919         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11920         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11921         multiarch wcsrchr for PPC64.
11923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11924         multiarch implementations.
11925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11926         (__libc_ifunc_impl_list): Likewise.
11927         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11928         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11929         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11930         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11931         multiarch wcschr for PPC64.
11933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11934         multiarch implementations.
11935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11936         (__libc_ifunc_impl_list): Likewise.
11937         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11938         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11939         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11940         multiarch strchrnul for PPC64.
11942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11943         implementations.
11944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11945         (__libc_ifunc_impl_list): Likewise.
11946         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11947         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11948         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11949         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11950         strchr for PPC64.
11952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11953         implementations.
11954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11955         (__libc_ifunc_impl_list): Likewise.
11956         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11957         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11958         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11959         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11960         strncmp for PPC64.
11962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11963         multiarch implementations.
11964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11965         (__libc_ifunc_impl_list): Likewise.
11966         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11967         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11968         strncasecmp for PPC64.
11969         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11970         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11971         multiarch strncasecmp_l for PPC64.
11973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11974         multiarch implementations.
11975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11976         (__libc_ifunc_impl_list): Likewise.
11977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11979         multiarch strcasecmp for PPC64.
11980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11981         file.
11982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11983         multiarch strcasecmp_l for PPC64.
11985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11986         implementations.
11987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11988         (__libc_ifunc_impl_list): Likewise.
11989         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11990         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11991         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11992         strnlen for PPC64.
11994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11995         implementations.
11996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11997         (__libc_ifunc_impl_list): Likewise.
11998         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11999         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12000         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12001         strlen for PPC64.
12003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12004         implementations.
12005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12006         (__libc_ifunc_impl_list): Likewise.
12007         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12008         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12009         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12010         rawmemrchr for PPC64.
12012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12013         implementation.
12014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12015         (__libc_ifunc_impl_list): Likewise.
12016         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12017         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12018         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12019         memrchr for PPC64.
12021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12022         implementation.
12023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12024         (__libc_ifunc_impl_list): Likewise.
12025         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12026         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12027         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12028         memchr for PPC64.
12030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12031         implementation.
12032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12033         (__libc_ifunc_impl_list): Likewise.
12034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12035         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12036         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12037         mempcpy for PPC64.
12039         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12040         avoid cretion of __bzero symbol.
12041         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12042         Likewise.
12043         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12044         Likewise.
12045         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12046         Likewise.
12047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12048         multiarch implementations.
12049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12050         (__libc_ifunc_impl_list): Likewise.
12051         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12052         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12054         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12055         bzero for PPC32.
12056         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12057         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12058         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12059         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12060         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12061         memset for PPC64.
12062         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12064         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12066         implementations.
12067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12068         (__libc_ifunc_impl_list): Likewise.
12069         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12070         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12071         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12072         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12073         memcmp for PPC64.
12075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12076         multiarch for POWER/PPC64.
12077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12078         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12080         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12081         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12082         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12083         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12084         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12085         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12086         memcpy for PPC64.
12088         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12089         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12090         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12091         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12092         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12093         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12094         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12095         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12096         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12097         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12098         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12099         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12100         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12101         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12102         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12111 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12113         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12115 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12117         * benchtests/Makefile (bench): Add exp2 and log2.
12118         (LDLIBS-bench-exp2): Add -lm.
12119         (LDLIBS-bench-log2): Likewise.
12120         * benchtests/exp2-inputs: New inputs file.
12121         * benchtests/log2-inputs: New inputs file.
12122         * benchtests/log-inputs: Add new inputs.
12123         * benchtests/tan-inputs: Likewise.
12125 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12127         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12128         definition...
12129         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12130         (csloww2): ... from here.
12132         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12133         instead of structures.
12134         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12135         (POLYNOMIAL): Likewise.
12136         (TAYLOR_SLOW): Likewise.
12137         (__sin): Likewise.
12138         (__cos): Likewise.
12139         (slow1): Likewise.
12140         (slow2): Likewise.
12141         (sloww): Likewise.
12142         (sloww1); Likewise.
12143         (sloww2): Likewise.
12144         (bsloww1): Likewise.
12145         (bsloww2): Likewise.
12146         (cslow2): Likewise.
12147         (csloww): Likewise.
12148         (csloww1): Likewise.
12149         (csloww2): Likewise.
12151 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12153         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12154         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12155         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12156         * malloc/hooks.c (realloc_check): Likewise.
12158         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12159         * malloc/arena.c: Remove PER_THREAD conditional.
12160         [!PER_THREAD]: Remove code.
12161         (ptmalloc_unlock_all2): Likewise.
12162         (ptmalloc_init): Likewise.
12163         (_int_new_arena): Likewise.
12164         (arena_get2): Likewise.
12165         * malloc/hooks.c (__malloc_get_state): Likewise.
12166         (__malloc_set_state): Likewise.
12167         * malloc/malloc.c: Likewise.
12168         (struct malloc_state): Likewise.
12169         (struct malloc_par): Likewise.
12170         (__libc_realloc): Likewise.
12171         (__libc_mallopt): Likewise.
12173 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12175         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12177 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12179         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12180         macro to a function.  Check for zero perturb_byte.
12181         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12183         * malloc/malloc.c: (force_reg): Remove.
12184         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12185         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12186         force_reg by atomic_forced_read.
12187         * malloc/arena.c (ptmalloc_init): Likewise.
12188         * malloc/hooks.c (top_check): Likewise.
12190 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12194 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12196         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12198 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12200         * math/auto-libm-test-in: Add tests of lgamma.
12201         * math/auto-libm-test-out: Regenerated.
12202         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12203         (M_LOG_2_SQRT_PIl): Likewise.
12204         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12205         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12206         mpfr_f_f1.
12207         (func_calc_desc): Add mpfr_f_f1 union field.
12208         (ARGS1): New macro.
12209         (ARGS2): Likewise.
12210         (ARGS3): Likewise.
12211         (ARGS4): Likewise.
12212         (RET1): Likewise.
12213         (RET2): Likewise.
12214         (CALC): Likewise.
12215         (FUNC): Likewise.
12216         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12217         (test_functions): Add lgamma.
12218         (calc_generic_results): Handle mpfr_f_f1.
12219         * sysdeps/i386/fpu/libm-test-ulps: Update.
12220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12224         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12225         __mpn_add_n for PowerPC64/POWER7.
12226         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12227         __mpn_sub_n for PowerPC64/POWER7.
12229         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12230         __mpn_addmul_1 for PowerPC64.
12231         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12232         __mpn_submul_1 for PowerPC64.
12233         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12234         for PowerPC64.
12235         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12236         for PowerPC64.
12238 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12240         [BZ #15089]
12241         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12243 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12245         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12247         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12248         add multiarch folders.
12249         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12250         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12251         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12252         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12253         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12254         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12255         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12256         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12257         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12258         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12259         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12268         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12270         New file.
12271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12272         New file.
12273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12274         multiarch __ieee754_hypot for PowerPC32.
12275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12276         New file.
12277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12278         New file.
12279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12280         multiarch __ieee754_hypotf for PowerPC32.
12282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12283         long_double_symbol only if __logbl is defined.
12284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12285         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12287         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12289         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12291         path for implementation.
12292         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12293         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12295         logb, and logbl multiarch implementations for PowerPC32.
12296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12297         file.
12298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12299         file.
12300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12301         multiarch logb for PowerPC32.
12302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12303         file.
12304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12305         file.
12306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12307         multiarch logbf for PowerPC32.
12308         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12310         file.
12311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12312         multiarch logbl implementation for PowerPC32.
12314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12315         and modff multiarch implementations.
12316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12317         New file.
12318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12319         New file.
12320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12321         multiarch modf for PowerPC32.
12322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12323         New file.
12324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12325         New file.
12326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12327         multiarch modff for PowerPC32.
12329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12330         and lrintf multiarch implementations.
12331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12332         New file.
12333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12334         New file.
12335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12336         multiarch lrint for PowerPC32.
12337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12338         file: multiarch lrintf for PowerPC32.
12340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12341         and lroundf multiarch implementations.
12342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12343         New file.
12344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12345         New file.
12346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12347         New file.
12348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12349         multiarch lround for PowerPC32.
12350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12351         file: multiarch lroundf for PowerPC32.
12353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12354         copysign and copysignf multiarch implementations.
12355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12356         New file.
12357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12358         New file.
12359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12360         file: multiarch copysign for PowerPC32.
12361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12362         file: multiarch copysignf for PowerPC32.
12364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12365         and truncf multiarch implementations.
12366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12367         New file.
12368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12369         file.
12370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12371         multiarch trunc for PowerPC32.
12372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12373         New file.
12374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12375         New file.
12376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12377         multiarch truncf for PowerPC32.
12379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12380         and roundf multiarch implementations.
12381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12382         New file.
12383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12384         file.
12385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12386         multiarch round for PowerPC32.
12387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12388         New file.
12389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12390         New file.
12391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12392         multiarch roundf for PowerPC32.
12394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12395         and floorf multiarch implementations.
12396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12397         New file.
12398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12399         file.
12400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12401         multiarch floor for PowerPC32.
12402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12403         New file.
12404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12405         New file.
12406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12407         multiarch floorf for PowerPC32.
12409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12410         and ceilf multiarch implementations.
12411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12412         New file.
12413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12414         file.
12415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12416         multiarch ceil for PowerPC32.
12417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12418         New file.
12419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12420         file.
12421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12422         multiarch ceilf for PowerPC32.
12424         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12425         is defined.
12426         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12427         FINITEF is defined.
12428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12429         and finitef multiarch implementations.
12430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12431         New file.
12432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12433         file.
12434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12435         multiarch finite for PowerPC32.
12436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12437         New file.
12438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12439         file: multiarch finitef for PowerPC32.
12441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12442         and isinff multiarch implementations.
12443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12444         file.
12445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12446         file.
12447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12448         multiarch isinf for PowerPC32.
12449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12450         New file.
12451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12452         multiarch isinff for PowerPC32.
12454         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12455         alias when __isnan is defined.
12456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12457         and isnanf multiarch implementations.
12458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12459         file.
12460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12461         file.
12462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12463         file.
12464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12465         file.
12466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12467         multiarch isnan for PowerPC32.
12468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12469         New file.
12470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12471         New file.
12472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12473         multiarch isnanf for PowerPC32.
12475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12476         and sqrtf multiarch implementations.
12477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12478         file.
12479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12480         file.
12481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12482         multiarch sqrt for PowerPC32.
12483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12484         file.
12485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12486         file.
12487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12488         multiarch sqrtf for PowerPC32.
12490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12491         and llroundf multiarch implementations.
12492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12493         New file.
12494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12495         New file.
12496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12497         New file.
12498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12499         file: multiarch llround for PowerPC32.
12500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12501         file: multiarch llroundf for PowerPC32.
12503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12504         multiarch PowerPC32 fpu implementations.
12505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12506         New file.
12507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12508         New file.
12509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12510         multiarch llrint for PowerPC32.
12511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12512         New file.
12513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12514         New file.
12515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12516         file.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12520         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12521         file.
12522         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12523         file.
12524         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12525         file.
12526         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12527         multiarch wordcopy for PPC32.
12528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12529         wordcopy objects.
12530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12531         (__libc_ifunc_impl_list): Likewise.
12532         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12533         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12534         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12535         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12536         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12537         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12539         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12541         file.
12542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12543         file.
12544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12545         file.
12546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12547         multiarch wcscpy for PPC32.
12548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12549         multiarch objects.
12550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12551         (__libc_ifunc_impl_list): Likewise.
12552         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12553         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12554         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12555         sysdeps/powerpc/power6/wcscpy.c.
12557         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12559         file.
12560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12561         file.
12562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12563         file.
12564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12565         multiarch wcsrchr for PPC32.
12566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12567         multiarch objects.
12568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12569         (__libc_ifunc_impl_list): Likewise.
12570         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12571         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12572         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12573         sysdeps/powerpc/power6/wcsrchr.c.
12575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12576         file.
12577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12578         file.
12579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12580         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12581         multiarch wcschr for PPc32.
12582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12583         multiarch objects.
12584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12585         (__libc_ifunc_impl_list): Likewise.
12586         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12587         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12588         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12589         sysdeps/powerpc/power6/wcschr.c.
12591         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12592         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12593         file.
12594         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12595         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12596         file: multiarch strchr for PPC32.
12597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12598         multiarch objects.
12599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12600         (__libc_ifunc_impl_list): Likewise.
12602         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12603         name.
12604         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12605         file.
12606         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12607         file.
12608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12609         multiarch strchrnul for PPC32.
12610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12611         multiarch objects.
12612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12613         (__libc_ifunc_impl_list): Likewise.
12615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12616         file.
12617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12618         multiarch strncasecmp for PPC32.
12619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12620         file.
12621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12622         multiarch strncasecmp_l for PPC32.
12623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12624         strncasecmp multiarch objects.
12625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12626         (__libc_ifunc_impl_list): Likewise.
12628         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12629         file.
12630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12631         multiarch strncasecmp for PPC32.
12632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12633         New file.
12634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12635         multiarch strcasecmp_l for PPC32.
12636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12637         multiarch objects.
12638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12639         (__libc_ifunc_impl_list): Likewise.
12641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12642         file.
12643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12644         file.
12645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12646         multiarch strncmp for PPC32.
12647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12648         multiarch objects.
12649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12650         (__libc_ifunc_impl_list): Likewise.
12652         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12653         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12654         file.
12655         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12656         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12658         multiarch objects.
12659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12660         (__libc_ifunc_impl_list): Likewise.
12662         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12663         file.
12664         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12665         file.
12666         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12668         multiarch objects.
12669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12670         (__libc_ifunc_impl_list): Likewise.
12672         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12673         file.
12674         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12675         file.
12676         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12677         multiarch rawmemchr for PPC32.
12678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12679         multiarch objects.
12680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12681         (__libc_ifunc_impl_list): Likewise.
12683         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12684         file.
12685         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12686         file.
12687         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12688         file: memrchr multiarch for PPC32.
12689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12690         multiarch objects.
12691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12692         (__libc_ifunc_impl_list): Likewise.
12694         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12695         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12696         file.
12697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12698         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12699         multiarch memchr for PPC32.
12700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12701         multiarch objects.
12702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12703         (__libc_ifunc_impl_list): Likewise.
12705         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12707         file.
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12709         file.
12710         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12711         file: multiarch mempcpy for PPC32.
12712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12713         multiarch objects.
12714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12715         (__libc_ifunc_impl_list): Likewise.
12717         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12718         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12720         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12721         multiarch bzero for PPC32.
12722         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12723         file.
12724         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12725         file.
12726         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12727         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12728         file: multiarch memset for PPC32.
12729         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12731         memset multiarch objects.
12732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12733         (__libc_ifunc_impl_list): Likewise.
12735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12736         file.
12737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12739         memcmp for PPC32.
12740         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12742         multiarch objects.
12743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12744         (__libc_ifunc_impl_list): Likewise.
12746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12749         file.
12750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12751         file.
12752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12753         file.
12754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12755         multiarch memcpy for PPC32.
12756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12757         multiarch objects.
12758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12759         (__libc_ifunc_impl_list): Likewise.
12761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12762         support multiarch for POWER/PPC32.
12763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12764         Likewise.
12765         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12767         Implies file to make multiarch folder appers before the fpu and
12768         default folder for power4 configuration.
12770 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12772         * scripts/bench.pl: Append volatile keyword to type.
12774 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12776         * sysdeps/sh/sotruss-lib.c: New file.
12777         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12779 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12783 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12785         [BZ #6810]
12786         * math/w_tgamma.c: Include <errno.h>.
12787         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12788         * math/w_tgammaf.c: Include <errno.h>.
12789         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12790         * math/w_tgammal.c: Include <errno.h>.
12791         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12792         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12793         underflow.  Add more tgamma tests.
12794         * math/auto-libm-test-out: Regenerated.
12795         * sysdeps/i386/fpu/libm-test-ulps: Update.
12796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12799         sin, sinh, tan, tanh, tgamma, y0 and y1.
12800         * math/auto-libm-test-out: Regenerated.
12801         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12802         (TEST_COND_x86): Likewise.
12803         (M_E2l): Remove macro.
12804         (M_E3l): Likewise.
12805         (M_2_SQRT_PIl): Likewise.
12806         (M_SQRT_PIl): Likewise.
12807         (M_1_DIV_El): Likewise.
12808         (log_test_data): Use AUTO_TESTS_f_f.
12809         (log10_test_data): Likewise.
12810         (log1p_test_data): Likewise.
12811         (log2_test_data): Likewise.
12812         (sin_test_data): Likewise.
12813         (sin_tonearest_test_data): Likewise.
12814         (sin_towardzero_test_data): Likewise.
12815         (sin_downward_test_data): Likewise.
12816         (sin_upward_test_data): Likewise.
12817         (sinh_test_data): Likewise.
12818         (sinh_tonearest_test_data): Likewise.
12819         (sinh_towardzero_test_data): Likewise.
12820         (sinh_downward_test_data): Likewise.
12821         (sinh_upward_test_data): Likewise.
12822         (tan_test_data): Likewise.
12823         (tan_tonearest_test_data): Likewise.
12824         (tan_towardzero_test_data): Likewise.
12825         (tan_downward_test_data): Likewise.
12826         (tan_upward_test_data): Likewise.
12827         (tanh_test_data): Likewise.
12828         (tgamma_test_data): Likewise.
12829         (y0_test_data): Likewise.
12830         (y1_test_data): Likewise.
12831         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12832         (special_real_inputs): Add pi/4.
12833         * sysdeps/i386/fpu/libm-test-ulps: Update.
12834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12838         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12839         "longjmp_target" static probes.
12840         (__longjmp): Rename to __longjmp_symbol.
12841         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12842         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12843         on which longjmp to generate.
12844         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12845         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12846         probe.
12847         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12848         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12849         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12850         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12851         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12852         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12854         __longjmp_symbol based on which __longjmp to generate.
12855         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12856         probe.
12857         (setjmp): Rename to setjmp_symbol.
12858         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12859         (_setjmp): Rename to _setjmp_symbol.
12860         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12861         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12862         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12863         which setjmp to generate.
12864         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12865         "longjmp_target" static probes.
12867 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12869         * benchtests/README: Add note about output arguments.
12870         * benchtests/bench-sincos.c: Remove file.
12871         * benchtests/sincos-inputs: New file.
12872         * scripts/bench.pl: Identify output arguments and define
12873         static variables for them.
12875         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12877         [BZ #15941]
12878         * Makefile (INSTALL): Add install-plain.texi as the primary
12879         dependency.
12880         * manual/install-plain.texi: New file.
12881         * manual/install.texi: Include node directive only for
12882         non-plaintext output.
12884 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12886         * stdlib/longlong.h: Update from GCC.
12888         [BZ #6807]
12889         [BZ #15901]
12890         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12891         * math/w_j0f.c (y0f): Likewise.
12892         * math/w_j0l.c (__y0l): Likewise.
12893         * math/w_j1.c (y1): Likewise.
12894         * math/w_j1f.c (y1f): Likewise.
12895         * math/w_j1l.c (__y1l): Likewise
12896         * math/w_jn.c (yn): Likewise.
12897         * math/w_jnf.c (ynf): Likewise.
12898         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12899         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12900         value for Bessel function domain errors outside _SVID_ mode.
12901         Adjust sign of return value for yn (negative integer, 0).
12902         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12903         by zero in return for negative x and set sign appropriately for
12904         negative n.
12905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12906         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12907         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12908         expectations in error cases.
12909         (y1_test_data): Likewise.
12910         (yn_test_data): Likewise.
12911         * sysdeps/i386/fpu/libm-test-ulps: Update.
12912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12916         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12917         "64" to "64-v1".  Add "64-v2".
12918         (abi-64-options): Rename to ...
12919         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12920         (abi-64-condition): Rename to ...
12921         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12922         (abi-64-ld-soname): Rename to ...
12923         (abi-64-v1-ld-soname): ... this.
12924         (abi-64-v2-options): Define.
12925         (abi-64-v2-condition): Likewise.
12926         (abi-64-v2-ld-soname): Likewise.
12927         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12928         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12933 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12934             Alan Modra  <amodra@gmail.com>
12936         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12937         New versions for use with the ELFv2 ABI.
12938         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12939         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12940         declaration.
12941         (struct La_ppc64v2_retval): Likewise.
12942         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12943         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12944         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12945         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12946         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12947         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12948         Do not save or restore CR.
12949         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12950         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12951         return values for ELFv2 ABI.  Fix location of FPR return registers.
12952         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12953         updated values for _CALL_ELF == 2.
12954         (La_regs, La_retval, int_retval): Likewise.
12956 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12958         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12959         (FRAME_MIN_SIZE_PARM): Likewise.
12960         (FRAME_BACKCHAIN): Likewise.
12961         (FRAME_CR_SAVE): Likewise.
12962         (FRAME_LR_SAVE): Likewise.
12963         (FRAME_TOC_SAVE): Likewise.
12964         (FRAME_PARM_SAVE): Likewise.
12965         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12966         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12967         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12968         (call_mcount_parm_offset): New macro.
12969         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12970         (PROF): Use symbolic stack frame offsets.
12971         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12972         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12973         Redefine in terms of FRAME_MIN_SIZE.
12974         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12975         (_dl_profile_resolve): Likewise.  Update comment.
12976         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12977         symbols stack frame offsets.
12978         (__sigsetjmp): Likewise.
12979         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12980         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12981         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12982         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12985         (FRAME_BACKCHAIN): Remove.
12986         (FRAME_CR_SAVE): Likewise.
12987         (FRAME_LR_SAVE): Likewise.
12988         (FRAME_COMPILER_DW): Likewise.
12989         (FRAME_LINKER_DW): Likewise.
12990         (FRAME_TOC_SAVE): Likewise.
12991         (FRAME_PARM_SAVE): Likewise.
12992         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12993         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12994         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12996         (CHECK_SP): Use symbolic stack frame offsets.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12998         zone" instead of caller's parameter save area for temp storage.
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13000         Likewise.  Also, use symbolic stack frame offsets.
13001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13002         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13003         our own stack frame instead of the caller's.
13004         (__socket): Use symbolic stack frame offsets.
13006 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13007             Alan Modra  <amodra@gmail.com>
13009         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13010         Define.
13011         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13012         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13013         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13014         New function.
13015         (elf_machine_fixup_plt): Call it.
13016         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13017         reloc arguments.
13018         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13019         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13020         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13021         r2 before calling target.
13023 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13024             Alan Modra  <amodra@gmail.com>
13026         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13027         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13028         versions of macros to support ELFv2 ABI.
13029         (LOCALENTRY): New macro.
13030         (ENTRY, EALIGN): Use it.
13031         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13032         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13033         fall through into ENTRY entry point.
13034         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13035         Only define if _CALL_ELF != 2.
13037         (elf_machine_matches_host): Verify ABI version matches.
13038         (RTLD_START): Use LOCALENTRY.
13039         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13040         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13041         (PLT_ENTRY_WORDS): New macro.
13042         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13043         (elf_machine_runtime_setup): Support ELFv2 ABI.
13044         (elf_machine_fixup_plt): Likewise.
13045         (elf_machine_plt_conflict): Likewise.
13046         (resolve_ifunc): Likewise.
13047         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13048         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13049         Likewise.
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13051         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13053         (makecontext): Support ELFv2 ABI.
13054         * elf/elf.h (EF_PPC64_ABI): Define.
13056 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13058         * sysdeps/powerpc/powerpc64/sysdep.h
13059         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13060         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13061         (ENTRY) [ASSEMBLER]: ... but instead here ...
13062         (EALIGN) [ASSEMBLER]: ... and here.
13063         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13064         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13065         (ENTRY_2) [!ASSEMBLER]: Use it.
13066         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13067         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13068         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13069         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13070         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13072         Use PPC64_LOAD_FUNCPTR.
13074         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13076 2013-12-04  Alan Modra  <amodra@gmail.com>
13078         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13079         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13080         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13081         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13084         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13085         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13086         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13087         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13088         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13090 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13093         (__makecontext): Fix incorrect CFI when backtracing out of
13094         context created via makecontext.
13095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13096         (__setcontext): Fix incorrect CFI during switch to new context.
13097         (__novec_setcontext): Likewise.
13099 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13101         [BZ #4772]
13102         * time/strptime_l.c (__strptime_internal): Allow modifiers
13103         in strptime.
13104         * time/tst-strptime.c (day_tests): Add testcase.
13106 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13108         * scripts/bench.pl: Skip over blank lines.
13110 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13112         [BZ #926]
13113         * manual/time.texi (Calendar Time): Clarify what timezone functions
13114         use.
13116 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13120 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13122         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13123         implementation.
13124         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13125         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13126         * debug/memset_chk.c (__memset_chk): Likewise.
13127         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13128         * debug/strncpy_chk.c: Likewise.
13130 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #15268]
13133         [BZ #15425]
13134         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13135         (__ieee754_exp): For possibly underflowing results, check size of
13136         result and force underflow exception if required.
13137         * math/auto-libm-test-in: Add more tests of exp.
13138         * math/auto-libm-test-out: Regenerated.
13139         * sysdeps/i386/fpu/libm-test-ulps: Update.
13140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13142         [BZ #16283]
13143         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13144         * math/w_exp2f.c (__exp2f): Likewise.
13145         * math/w_exp2l.c (__exp2l): Likewise.
13146         * math/auto-libm-test-in: Do not allow missing errno on exp2
13147         underflow.
13148         * math/auto-libm-test-out: Regenerated.
13150 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13152         [BZ #16274]
13153         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13154         handle filename validation.
13155         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13156         (do_open): Delete.
13158 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13160         [BZ #6786]
13161         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13162         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13163         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13164         <float.h>.
13165         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13166         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13167         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13169         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13170         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13171         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13172         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13173         Add more erfc tests.
13174         * math/auto-libm-test-out: Regenerated.
13175         * sysdeps/i386/fpu/libm-test-ulps: Update.
13176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13179         exp2, expm1, j0 and j1.
13180         * math/auto-libm-test-out: Regenerated.
13181         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13182         (erfc_test_data): Likewise.
13183         (exp_test_data): Likewise.
13184         (exp_tonearest_test_data): Likewise.
13185         (exp_towardzero_test_data): Likewise.
13186         (exp_downward_test_data): Likewise.
13187         (exp_upward_test_data): Likewise.
13188         (exp10_test_data): Likewise.
13189         (exp2_test_data): Likewise.
13190         (expm1_test_data): Likewise.
13191         (j0_test_data): Likewise.
13192         (j1_test_data): Likewise.
13193         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13194         (input_flag_type): Add flag_xfail_rounding.
13195         (input_flags): Add xfail-rounding.
13196         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13197         (output_for_one_input_case): Handle flag_xfail_rounding.
13198         * sysdeps/i386/fpu/libm-test-ulps: Update.
13199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13201 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13203         [BZ #16289]
13204         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13205         division by 0.
13207 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13209         [BZ #16195]
13210         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13211         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13212         (STAP_PROBE0): New macro.
13213         (STAP_PROBE1): Likewise.
13214         (STAP_PROBE2): Likewise.
13215         (STAP_PROBE3): Likewise.
13216         (STAP_PROBE4): Likewise.
13218 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13220         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13222 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13224         * benchtests/Makefile (bench): Add sqrt.
13225         (LDLIBS-bench-sqrt): New.
13226         * benchtests/sqrt-input: New.
13228 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13230         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13231         (GAIH_EAI): Likewise.
13232         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13233         (gaih_inet): Likewise.
13234         (getaddrinfo): Don't use GAIH_EAI.
13236         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13237         (struct gaih): Remove definition.
13239 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13241         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13242         Use HERRNOP directly.
13244 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13248 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13250         * math/gen-auto-libm-tests.c (test_functions): Add more
13251         single-argument functions.
13252         (special_fill_pi_2): New function.
13253         (special_fill_minus_pi_2): Likewise.
13254         (special_fill_pi_6): Likewise.
13255         (special_fill_minus_pi_6): Likewise.
13256         (special_fill_pi_3): Likewise.
13257         (special_fill_2pi_3): Likewise.
13258         (special_fill_e): Likewise.
13259         (special_fill_1_e): Likewise.
13260         (special_fill_e_minus_1): Likewise.
13261         (special_real_inputs): Add more special inputs.
13262         (output_for_one_input_case): Do not require ERANGE on underflow to
13263         zero if round-to-nearest result does not underflow to zero, unless
13264         exact results required.
13265         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13266         atan, atanh, cbrt, cos and cosh.
13267         * math/auto-libm-test-out: Regenerated.
13268         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13269         (acos_tonearest_test_data): Likewise.
13270         (acos_towardzero_test_data): Likewise.
13271         (acos_downward_test_data): Likewise.
13272         (acos_upward_test_data): Likewise.
13273         (acosh_test_data): Likewise.
13274         (asin_test_data): Likewise.
13275         (asin_tonearest_test_data): Likewise.
13276         (asin_towardzero_test_data): Likewise.
13277         (asin_upward_test_data): Likewise.
13278         (asinh_test_data): Likewise.
13279         (atan_test_data): Likewise.
13280         (atanh_test_data): Likewise.
13281         (cbrt_test_data): Likewise.
13282         (cos_test_data): Likewise.
13283         (cos_tonearest_test_data): Likewise.
13284         (cos_towardzero_test_data): Likewise.
13285         (cos_downward_test_data): Likewise.
13286         (cos_upward_test_data): Likewise.
13287         (cosh_test_data): Likewise.
13288         (cosh_tonearest_test_data): Likewise.
13289         (cosh_towardzero_test_data): Likewise.
13290         (cosh_downward_test_data): Likewise.
13291         (cosh_upward_test_data): Likewise.
13292         * sysdeps/i386/fpu/libm-test-ulps: Update.
13293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13295 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13297         [BZ #6787]
13298         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13299         * math/w_exp10f.c (__exp10f): Likewise.
13300         * math/w_exp10l.c (__exp10l): Likewise.
13301         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13302         errno settings in existing tests.
13304         [BZ #14032]
13305         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13306         precision control set to double precision.
13307         * sysdeps/i386/fpu/w_sqrt.c: New file.
13308         * math/auto-libm-test-in: Add more tests.
13309         * math/auto-libm-test-out: Update.
13311         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13312         (sqrt_test_tonearest): New function.
13313         (sqrt_towardzero_test_data): New variable.
13314         (sqrt_test_towardzero): New function.
13315         (sqrt_downward_test_data): New variable.
13316         (sqrt_test_downward): New function.
13317         (sqrt_upward_test_data): New variable.
13318         (sqrt_test_upward): New function.
13319         (main): Call the new functions.
13321         * math/gen-auto-libm-tests.c: New file.
13322         * math/auto-libm-test-in: Likewise.
13323         * math/auto-libm-test-out: New generated file.
13324         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13325         variables.
13326         (%beautify): Add generated representations of zero.
13327         (top level): Set $auto_input and call parse_auto_input.
13328         (beautify): Remove trailing "f" from hex float constants.
13329         (parse_args): Handle XFAIL_TEST.
13330         (convert_condition): New function.
13331         (or_value): Likewise.
13332         (or_cond_value): Likewise.
13333         (generate_testfile): Handle AUTO_TESTS_* lines.
13334         (parse_auto_input): New function.
13335         * math/libm-test.inc (XFAIL_TEST): New macro.
13336         (ERRNO_UNCHANGED): Update value.
13337         (ERRNO_EDOM): Likewise.
13338         (ERRNO_ERANGE): Likewise.
13339         (IGNORE_RESULT): Likewise.
13340         (TEST_COND_flt_32): New macro.
13341         (TEST_COND_dbl_64): Likewise.
13342         (TEST_COND_ldbl_96_intel): Likewise.
13343         (TEST_COND_ldbl_96_m68k): Likewise.
13344         (TEST_COND_ldbl_128): Likewise.
13345         (TEST_COND_ldbl_128ibm): Likewise.
13346         (TEST_COND_long32): Likewise.
13347         (TEST_COND_long64): Likewise.
13348         (TEST_COND_before_rounding): Likewise.
13349         (TEST_COND_after_rounding): Likewise.
13350         (enable_test): Handle XFAIL_TEST flag.
13351         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13352         with finite results.
13353         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13354         auto-libm-test-out.
13356 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13357             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13359         [BZ #16214]
13360         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13361         __tls_get_addr_internal instead of __tls_get_offset in order to
13362         avoid GOT pointer dependency.  Make rtld export
13363         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13364         __tls_get_addr since we are a __tls_get_offset platform.
13365         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13366         GOT pointer being set up before.
13367         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13369 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13371         * manual/math.texi (Errors in Math Functions): Document accuracy
13372         goals.
13374         [BZ #15004]
13375         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13376         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13377         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13378         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13379         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13380         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13381         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13382         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13383         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13384         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13385         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13386         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13387         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13388         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13389         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13390         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13392         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13393         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13394         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13395         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13396         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13397         Likewise.
13398         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13399         Likewise.
13400         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13401         Likewise.
13402         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13403         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13404         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13405         atomic-feupdateenv and flt-rounds.
13406         * sysdeps/powerpc/nofpu/Versions (libc): Add
13407         __atomic_feholdexcept, __atomic_feclearexcept,
13408         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13409         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13410         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13411         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13412         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13413         here.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13415         Update.
13417         * manual/arith.texi (FP Exceptions): Document that exceptions may
13418         not be raised when matherr is used.
13419         (Math Error Reporting): Document overflow in directed rounding
13420         modes.  Document that errno may not be set when finite values are
13421         returned on overflow.  Document intent to set errno on underflow
13422         only for underflow to zero.
13424         [BZ #16271]
13425         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13426         round-to-nearest then adjust result for other rounding modes.
13427         * include/fenv.h (fegetround): Use libm_hidden_proto.
13428         * math/fegetround.c (fegetround): Use libm_hidden_def.
13429         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13430         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13431         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13432         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13433         Likewise.
13434         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13435         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13436         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13437         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13439 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13441         [BZ #16077]
13442         * nss/Versions (libnss_files): Add
13443         _nss_files_gethostbyname3_r.
13444         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13445         New function.
13446         (HOST_DB_LOOKUP): Remove macro.
13447         (_nss_files_gethostbyname_r): Implement function without the
13448         HOST_DB_LOOKUP macro.
13449         (_nss_files_gethostbyname2_r): Likewise.
13451 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13453         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13455 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13457         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13458         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13459         warning.
13461 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13463         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13464         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13465         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13466         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13467         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13468         __fe_nomask_env_priv and attribute_hidden.
13469         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13470         (libc_feupdateenv_test_ppc): Likewise.
13471         (libc_feresetround_ppc): Likewise.
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13473         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13474         compat_symbol macro.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13476         (__fe_nomask_env): Likewise.
13477         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13479 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13481         * string/Makefile: Remove ifunc tests.
13482         * string/test-string.h: Define TEST_IFUNC.
13483         * string/test-bcopy-ifunc.c: Remove.
13484         * string/test-bzero-ifunc.c: Likewise.
13485         * string/test-memccpy-ifunc.c: Likewise.
13486         * string/test-memchr-ifunc.c: Likewise.
13487         * string/test-memcmp-ifunc.c: Likewise.
13488         * string/test-memcpy-ifunc.c: Likewise.
13489         * string/test-memmem-ifunc.c: Likewise.
13490         * string/test-memmove-ifunc.c: Likewise.
13491         * string/test-mempcpy-ifunc.c: Likewise.
13492         * string/test-memrchr-ifunc.c: Likewise.
13493         * string/test-memset-ifunc.c: Likewise.
13494         * string/test-rawmemchr-ifunc.c: Likewise.
13495         * string/test-stpcpy-ifunc.c: Likewise.
13496         * string/test-stpncpy-ifunc.c: Likewise.
13497         * string/test-strcasecmp-ifunc.c: Likewise.
13498         * string/test-strcasestr-ifunc.c: Likewise.
13499         * string/test-strcat-ifunc.c: Likewise.
13500         * string/test-strchr-ifunc.c: Likewise.
13501         * string/test-strchrnul-ifunc.c: Likewise.
13502         * string/test-strcmp-ifunc.c: Likewise.
13503         * string/test-strcpy-ifunc.c: Likewise.
13504         * string/test-strcspn-ifunc.c: Likewise.
13505         * string/test-strlen-ifunc.c: Likewise.
13506         * string/test-strncasecmp-ifunc.c: Likewise.
13507         * string/test-strncat-ifunc.c: Likewise.
13508         * string/test-strncmp-ifunc.c: Likewise.
13509         * string/test-strncpy-ifunc.c: Likewise.
13510         * string/test-strnlen-ifunc.c: Likewise.
13511         * string/test-strpbrk-ifunc.c: Likewise.
13512         * string/test-strrchr-ifunc.c: Likewise.
13513         * string/test-strspn-ifunc.c: Likewise.
13514         * string/test-strstr-ifunc.c: Likewise.
13516 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13518         * benchtests/Makefile: Remove ifunc tests.
13519         * benchtests/bench-string.h: Define TEST_IFUNC.
13520         * benchtests/bench-bcopy-ifunc.c: Remove.
13521         * benchtests/bench-bzero-ifunc.c: Likewise.
13522         * benchtests/bench-memccpy-ifunc.c: Likewise.
13523         * benchtests/bench-memchr-ifunc.c: Likewise.
13524         * benchtests/bench-memcmp-ifunc.c: Likewise.
13525         * benchtests/bench-memcpy-ifunc.c: Likewise.
13526         * benchtests/bench-memmem-ifunc.c: Likewise.
13527         * benchtests/bench-memmove-ifunc.c: Likewise.
13528         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13529         * benchtests/bench-memrchr-ifunc.c: Likewise.
13530         * benchtests/bench-memset-ifunc.c: Likewise.
13531         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13532         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13533         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13534         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13535         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13536         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13537         * benchtests/bench-strcat-ifunc.c: Likewise.
13538         * benchtests/bench-strchr-ifunc.c: Likewise.
13539         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13540         * benchtests/bench-strcmp-ifunc.c: Likewise.
13541         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13542         * benchtests/bench-strcpy-ifunc.c: Likewise.
13543         * benchtests/bench-strcspn-ifunc.c: Likewise.
13544         * benchtests/bench-strlen-ifunc.c: Likewise.
13545         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13546         * benchtests/bench-strncat-ifunc.c: Likewise.
13547         * benchtests/bench-strncmp-ifunc.c: Likewise.
13548         * benchtests/bench-strncpy-ifunc.c: Likewise.
13549         * benchtests/bench-strnlen-ifunc.c: Likewise.
13550         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13551         * benchtests/bench-strrchr-ifunc.c: Likewise.
13552         * benchtests/bench-strsep-ifunc.c: Likewise.
13553         * benchtests/bench-strspn-ifunc.c: Likewise.
13554         * benchtests/bench-strstr-ifunc.c: Likewise.
13556 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13558         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13560 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13562         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13563         * rt/aio.h: Likewise.
13564         * sysdeps/gnu/bits/utmp.h: Likewise.
13565         * sysdeps/gnu/bits/utmpx.h: Likewise.
13566         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13567         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13568         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13569         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13570         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13571         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13572         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13573         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13575         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13576         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13577         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13578         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13580         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13581         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13582         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13583         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13584         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13585         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13586         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13587         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13588         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13589         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13590         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13592         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13593         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13594         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13595         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13596         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13597         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13598         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13599         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13600         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13601         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13602         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13603         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13604         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13605         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13606         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13607         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13609 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13611         [BZ #16245]
13612         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13613         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13615 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13617         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13619         Likewise.
13621 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13624         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13625         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13626         (__fesetround): Remove define.
13627         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13628         rounding and exceptions handling.
13629         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13630         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13631         (__fe_nomask_env): Likewise.
13632         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13633         __fegetround instead of fegetround.
13634         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13635         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13637 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13639         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13640         it's there.
13642         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13644 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13646         [BZ #11157]
13647         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13648         (encrypt_r): Likewise.
13649         * malloc/obstack.h (obstack_free): Likewise.
13650         * posix/unistd.h (encrypt): Likewise.
13652 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13654         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13655         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13656         DL_CALL_DT_FINI() that call the functions directly.
13657         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13658         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13659         * elf/dl-fini.c: Likewise.
13661 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13663         * malloc/hooks.c (memalign_check): Add alignment rounding.
13664         * malloc/malloc.c (_mid_memalign): New function.
13665         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13666         Implement by calling _mid_memalign.
13667         * manual/probes.texi (Memory Allocation Probes): Remove
13668         memory_valloc_retry and memory_pvalloc_retry.
13670 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13672         * locale/programs/locarchive.c (open_archive): Add const
13673         qualifier to ARCHIVEFNAME and copy default fname to
13674         DEFAULT_FNAME.
13676         [BZ #15601]
13677         * libio/tst-widetext.input: Rename Oriya to Odia.
13678         * locale/iso-639.def: Likewise.
13680         * manual/probes.texi (Mathematical Function Probes): Add
13681         documentation for sin, cos, asin and acos probes.
13682         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13683         (__sin32): Add slowasin probe.
13684         (__cos32): Add slowacos probe.
13685         (__mpsin): Add slowsin probe.
13686         (__mpcos): Add slowcos probe.
13688 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13690         [BZ #15483]
13691         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13692         thread-local __sim_exceptions_thread and global
13693         __sim_exceptions_global.
13694         (__sim_disabled_exceptions): Change to thread-local
13695         __sim_disabled_exceptions_thread and global
13696         __sim_disabled_exceptions_global.
13697         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13698         and global __sim_round_mode_global.
13699         (__simulate_exceptions): Use thread-local floating-point state and
13700         set global state from it as needed.
13701         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13702         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13703         __sim_round_mode_thread.
13704         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13705         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13706         and global __sim_exceptions_global.
13707         (__sim_disabled_exceptions): Change to thread-local
13708         __sim_disabled_exceptions_thread and global
13709         __sim_disabled_exceptions_global.
13710         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13711         and global __sim_round_mode_global.
13712         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13713         (SIM_SET_GLOBAL): Likewise.
13714         * sysdeps/powerpc/soft-fp/sfp-machine.h
13715         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13716         __sim_round_mode_thread.
13717         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13718         __sim_disabled_exceptions_thread.
13719         (__sim_exceptions): Change to __sim_exceptions_thread.
13720         (__sim_disabled_exceptions): Change to
13721         __sim_disabled_exceptions_thread.
13722         (__sim_round_mode): Change to __sim_round_mode_thread.
13723         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13724         thread-local floating-point state and set global state from it as
13725         needed.
13726         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13727         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13728         (__sim_disabled_exceptions): Remove extern declaration.
13729         (feenableexcept): Use thread-local floating-point state and set
13730         global state from it as needed.
13731         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13732         extern declaration.
13733         (__sim_disabled_exceptions): Likewise.
13734         (__sim_round_mode): Likewise.
13735         (__fegetenv): Use thread-local floating-point state.
13736         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13737         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13738         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13739         floating-point state and set global state from it as needed.
13740         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13741         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13742         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13743         Likewise.
13744         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13745         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13746         Likewise.
13747         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13748         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13749         Use __sim_round_mode_thread.
13750         * math/test-fenv-tls.c: New file.
13751         * math/Makefile (tests): Add test-fenv-tls.
13752         ($(objpfx)test-fenv-tls): Depend on
13753         $(common-objpfx)nptl/libpthread.so.
13755 2013-11-19  Andreas Schwab  <schwab@suse.de>
13757         * locale/programs/locale.c (show_info): Decode wordarray elements.
13758         * locale/categories.def (LC_MONETARY): Add element for
13759         _NL_MONETARY_CRNCYSTR.
13760         * locale/C-monetary.c (conversion_rate): New variable.
13761         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13762         element.
13764 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13766         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13767         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13769 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13771         * elf/Makefile (tst-auxv): New test.
13772         * elf/tst-auxv.c: New
13773         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13775 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13777         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13778         (hidden_proto): Caller changed.
13779         (hidden_tls_proto): New macro.
13780         (libc_hidden_tls_proto): Likewise.
13781         (rtld_hidden_tls_proto): Likewise.
13782         (libm_hidden_tls_proto): Likewise.
13783         (libresolv_hidden_tls_proto): Likewise.
13784         (librt_hidden_tls_proto): Likewise.
13785         (libdl_hidden_tls_proto): Likewise.
13786         (libnss_files_hidden_tls_proto): Likewise.
13787         (libnsl_hidden_tls_proto): Likewise.
13788         (libnss_nisplus_hidden_tls_proto): Likewise.
13789         (libutil_hidden_tls_proto): Likewise.
13791 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13793         [BZ #10253]
13794         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13795         (decompose_rpath): Defer expansion to fillin_rpath.
13796         (_dl_init_paths): Pass linkmap to fillin_rpath.
13798 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13800         * benchtests/Makefile: Add strsep.
13801         * benchtests/bench-strsep.c: New file: strsep benchtest.
13802         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13804 2013-11-18  Andreas Schwab  <schwab@suse.de>
13806         * locale/programs/locale.c (show_info) [case byte]: Check for
13807         '\377' instead of '\177'.
13808         * locale/C-monetary.c (not_available): Always use "\377".
13809         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13810         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13811         detect unavailable sign_posn locale elements.
13812         * locale/localeconv.c (__localeconv): For grouping and
13813         mon_grouping handle "\177" and "\377" like no grouping.
13814         (INT_ELEM): New macro.  Use it to set all numeric members.
13815         * locale/programs/ld-monetary.c (monetary_read)
13816         <tok_mon_grouping>: Normalize single -1 to the empty string.
13817         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13818         Likewise.
13820 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13822         [BZ #16055]
13823         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13824         when we match (nil).
13825         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13827 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13829         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13830         (NO_TEST_INLINE): Update value.
13831         (ERRNO_UNCHANGED): Likewise.
13832         (ERRNO_EDOM): Likewise.
13833         (ERRNO_ERANGE): Likewise.
13834         (IGNORE_RESULT): Likewise.
13835         (check_float_internal): Check signs of NaN results if
13836         TEST_NAN_SIGN used.
13837         (check_complex): Pass TEST_NAN_SIGN flag through to second
13838         check_float_internal call.
13839         (copysign_test_data): Add tests with quiet NaNs as second
13840         argument.  Use TEST_NAN_SIGN.
13841         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13842         TEST_NAN_SIGN.
13843         (signbit_test_data): Add tests of quiet NaN argument.
13844         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13846         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13847         $ignore_result.
13848         (parse_args): Handle function results specified as IGNORE.
13849         * math/libm-test.inc (IGNORE_RESULT): New macro.
13850         (check_float_internal): Do not check numerical result if flag
13851         IGNORE_RESULT set.
13852         (check_complex): Pass through IGNORE_RESULT to second
13853         check_float_internal call.
13854         (check_int): Do not check numerical result if flag IGNORE_RESULT
13855         set.
13856         (check_long): Likewise.
13857         (check_bool): Likewise.
13858         (check_longlong): Likewise.
13859         (lrint_test_data): Add tests of infinite and NaN arguments.
13860         (lrint_tonearest_test_data): Likewise.
13861         (lrint_towardzero_test_data): Likewise.
13862         (lrint_downward_test_data): Likewise.
13863         (lrint_upward_test_data): Likewise.
13864         (llrint_test_data): Likewise.
13865         (llrint_tonearest_test_data): Likewise.
13866         (llrint_towardzero_test_data): Likewise.
13867         (llrint_downward_test_data): Likewise.
13868         (llrint_upward_test_data): Likewise.
13869         (lround_test_data): Likewise.
13870         (llround_test_data): Likewise.
13872         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13873         (ERRNO_UNCHANGED): Update value.
13874         (ERRNO_EDOM): Likewise.
13875         (ERRNO_ERANGE): Likewise.
13876         (NO_TEST_INLINE_FLOAT): New macro.
13877         (NO_TEST_INLINE_DOUBLE): Likewise.
13878         (enable_test): New function.
13879         (RUN_TEST_f_f): Check enable_test before running test.
13880         (RUN_TEST_2_f): Likewise.
13881         (RUN_TEST_fff_f): Likewise.
13882         (RUN_TEST_c_f): Likewise.
13883         (RUN_TEST_f_f1): Likewise.
13884         (RUN_TEST_fF_f1): Likewise.
13885         (RUN_TEST_fI_f1): Likewise.
13886         (RUN_TEST_ffI_f1): Likewise.
13887         (RUN_TEST_c_c): Likewise.
13888         (RUN_TEST_cc_c): Likewise.
13889         (RUN_TEST_f_i): Likewise.
13890         (RUN_TEST_f_i_tg): Likewise.
13891         (RUN_TEST_ff_i_tg): Likewise.
13892         (RUN_TEST_f_b): Likewise.
13893         (RUN_TEST_f_b_tg): Likewise.
13894         (RUN_TEST_f_l): Likewise.
13895         (RUN_TEST_f_L): Likewise.
13896         (RUN_TEST_fFF_11): Likewise.
13897         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13898         conditionals.
13899         (cosh_test_data): Likewise.
13900         (exp_test_data): Likewise.
13901         (expm1_test_data): Likewise.
13902         (hypot_test_data): Likewise.
13903         (pow_test_data): Likewise.
13904         (sinh_test_data): Likewise.
13905         (tanh_test_data): Likewise.
13906         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13907         flags argument.
13909         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13910         tests with quiet NaN input and output.
13911         (acosh_test_data): Likewise.
13912         (asin_test_data): Likewise.
13913         (asinh_test_data): Likewise.
13914         (atan_test_data): Likewise.
13915         (atanh_test_data): Likewise.
13916         (atan2_test_data): Likewise.
13917         (cbrt_test_data): Likewise.
13918         (cos_test_data): Likewise.
13919         (cosh_test_data): Likewise.
13920         (erf_test_data): Likewise.
13921         (erfc_test_data): Likewise.
13922         (exp_test_data): Likewise.
13923         (exp10_test_data): Likewise.
13924         (exp2_test_data): Likewise.
13925         (expm1_test_data): Likewise.
13926         (hypot_test_data): Likewise.
13927         (j0_test_data): Likewise.
13928         (j1_test_data): Likewise.
13929         (jn_test_data): Likewise.
13930         (lgamma_test_data): Likewise.
13931         (log_test_data): Likewise.
13932         (log10_test_data): Likewise.
13933         (log1p_test_data): Likewise.
13934         (log2_test_data): Likewise.
13935         (pow_test_data): Likewise.
13936         (scalb_test_data): Likewise.
13937         (sin_test_data): Likewise.
13938         (sincos_test_data): Likewise.
13939         (sinh_test_data): Likewise.
13940         (tan_test_data): Likewise.
13941         (tanh_test_data): Likewise.
13942         (tgamma_test_data): Likewise.
13943         (y0_test_data): Likewise.
13944         (y1_test_data): Likewise.
13945         (yn_test_data): Likewise.
13947         [BZ #16167]
13948         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13949         argument being NaN and avoid computations with second argument in
13950         that case.
13951         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13952         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13953         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13955 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13957         * locale/iso-639.def: Add Chitwani Tharu (the).
13959 2013-11-14  Andreas Schwab  <schwab@suse.de>
13961         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13962         word instead of empty string.
13964 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13967         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13969         (__fe_nomask_env): Likewise.
13971 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13973         * benchtests/bench-timing.h: Include time.h.
13975 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13977         [BZ #15997]
13978         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13979         to 3.4.0 for x32.
13980         * sysdeps/unix/sysv/linux/configure: Regenerated.
13982 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13984         [BZ #16151]
13985         * stdlib/strtod_l.c (round_and_return): Do not consider
13986         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13987         exponent one less than half the least subnormal exponent.
13988         * stdlib/test-strtod-round-data: Add more tests.
13989         * stdlib/tst-strtod-round.c (tests): Regenerated.
13991 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13993         [BZ #14143]
13994         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13995         (__fe_mask_env): Likewise.
13996         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13997         libm_hidden_proto and add function prototype.
13998         (__fe_mask_env): Add function prototype.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14000         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14002         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14004         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14006 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14008         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14009         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14011 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14013         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14014         of htab_find_slot().
14016 2013-11-11  David S. Miller  <davem@davemloft.net>
14018         [BZ #16150]
14019         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14020         symbol in the non-vis3 case in static builds.
14021         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14022         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14023         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14024         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14026 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14028         [BZ #387]
14029         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14030         it is empty.
14032 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14034         * benchtests/Makefile: Add bench-strtod.
14035         * benchtests/bench-strtod.c: New file: strtod benchtest
14037 2013-11-11  Andreas Schwab  <schwab@suse.de>
14039         [BZ #16153]
14040         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14041         terminating NUL in key length.
14043 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14046         Add artificial ODP entry for vDSO symbol for PPC64.
14047         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14048         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14050 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14052         [BZ #15374]
14053         * nss/getent.c (services_keys): Recognize services starting with digit.
14055 2013-11-06  David S. Miller  <davem@davemloft.net>
14057         [BZ #15985]
14058         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14059         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14061 2013-11-06  Will Newton  <will.newton@linaro.org>
14063         * manual/memory.texi (Malloc Examples): Remove register
14064         keyword from examples.
14066 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14068         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14070 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14072         [BZ #6981]
14073         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14074         depending on [__GCC_IEC_559 > 0].
14075         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14076         depending on [__GCC_IEC_559_COMPLEX > 0].
14078 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14080         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14081         to iso-639.def.
14083 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14085         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14087 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14089         [BZ #16112]
14090         * malloc/malloc (malloc_info): Do not handle first bin as
14091         special case.
14093 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14095         * locale/iso-639.def: Add Central Nahuatl (nhn).
14097 2013-11-01  Bruno Haible  <bruno@clisp.org>
14099         [BZ #7003]
14100         * manual/math.texi (BSD Random): Specify range upper bound as
14101         in POSIX.
14103 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14105         * locale/iso-639.def: Add Meadow Mari (mhr).
14107 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14109         [BZ #14752], [BZ #15763]
14110         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14111         Validate name.
14112         * rt/tst_shm.c: Add test for escaping directory.
14114 2013-10-31  Andreas Schwab  <schwab@suse.de>
14116         [BZ #15917]
14117         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14118         followed by 'x' as part of digit sequence.
14119         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14121 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14123         [BZ #16037]
14124         * configure.ac: allow GNU Make 4.0 and greater.
14125         * configure: Regenerated.
14127 2013-10-30  Will Newton  <will.newton@linaro.org>
14129         [BZ #16038]
14130         * malloc/hooks.c (memalign_check): Limit alignment to the
14131         maximum representable power of two.
14132         * malloc/malloc.c (__libc_memalign): Likewise.
14133         * malloc/tst-memalign.c (do_test): Add test for very
14134         large alignment values.
14135         * malloc/tst-posix_memalign.c (do_test): Likewise.
14137 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14139         [BZ #11087]
14140         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14141         (munmap_chunk): Likewise.
14142         (mremap_chunk): Likewise.
14144 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14146         [BZ #15799]
14147         * stdlib/div.c (div): Remove obsolete code.
14148         * stdlib/ldiv.c (ldiv): Likewise.
14149         * stdlib/lldiv.c (lldiv): Likewise.
14151 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14153         [BZ #16071]
14154         * nss/nss_files/files-XXX.c (get_contents_ret): New
14155         enumerator.
14156         (get_contents): New function.
14157         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14159 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14161         * configure.in: Moved to ...
14162         * configure.ac: ... here. Change reference to configure.in
14163         to configure.ac.
14164         * sysdeps/arm/preconfigure.ac: ... here.
14165         configure.in to configure.ac.
14166         * sysdeps/gnu/configure.in: Moved to ...
14167         * sysdeps/gnu/configure.ac: ... here.
14168         * sysdeps/i386/configure.in: Moved to ...
14169         * sysdeps/i386/configure.ac: ... here.
14170         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14171         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14172         * sysdeps/mach/configure.in: Moved to ...
14173         * sysdeps/mach/configure.ac: ... here.
14174         * sysdeps/mach/hurd/configure.in: Moved to ...
14175         * sysdeps/mach/hurd/configure.ac: ... here.
14176         * sysdeps/powerpc/configure.in: Moved to ...
14177         * sysdeps/powerpc/configure.ac: ... here.
14178         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14179         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14180         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14181         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14182         * sysdeps/s390/s390-32/configure.in: Moved to ...
14183         * sysdeps/s390/s390-32/configure.ac: ... here.
14184         * sysdeps/s390/s390-64/configure.in: Moved to ...
14185         * sysdeps/s390/s390-64/configure.ac: ... here.
14186         * sysdeps/sh/configure.in: Moved to ...
14187         * sysdeps/sh/configure.ac: ... here.
14188         * sysdeps/sparc/configure.in: Moved to ...
14189         * sysdeps/sparc/configure.ac: ... here.
14190         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14191         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14192         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14193         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14194         * sysdeps/x86_64/configure.in: Moved to ...
14195         * sysdeps/x86_64/configure.ac: ... here.
14196         * sysdeps/x86_64/preconfigure.in: Moved to ...
14197         * sysdeps/x86_64/preconfigure.ac: ... here.
14198         * aclocal.m4: Change reference to configure.in to configure.ac.
14199         * config.h.in: Likewise.
14200         * manual/install.texi: Likewise.
14201         * manual/maint.texi: Likewise.
14202         * Makefile: Likewise.
14203         * malloc/Makefile: Likewise.
14204         * nscd/Makefile: Likewise.
14205         * Makeconfig: Change reference to configure.in and
14206         preconfigure.in to configure.ac and preconfigure.ac
14207         respectively.
14208         * INSTALL: Regenerated.
14209         * configure: Likewise.
14210         * sysdeps/gnu/configure: Likewise.
14211         * sysdeps/i386/configure: Likewise.
14212         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14213         * sysdeps/mach/configure: Likewise.
14214         * sysdeps/mach/hurd/configure: Likewise.
14215         * sysdeps/powerpc/configure: Likewise.
14216         * sysdeps/powerpc/powerpc32/configure: Likewise.
14217         * sysdeps/powerpc/powerpc64/configure: Likewise.
14218         * sysdeps/s390/s390-32/configure: Likewise.
14219         * sysdeps/s390/s390-64/configure: Likewise.
14220         * sysdeps/sh/configure: Likewise.
14221         * sysdeps/sparc/configure: Likewise.
14222         * sysdeps/unix/sysv/linux/configure: Likewise.
14223         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14224         * sysdeps/x86_64/configure: Likewise.
14225         * sysdeps/x86_64/preconfigure: Likewise.
14227 2013-10-29  Andreas Schwab  <schwab@suse.de>
14229         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14231 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14233         * benchtests/pow-inputs: Add new inputs.
14235         * benchtests/exp-inputs: Add new inputs.
14237         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14238         conditional check for return value.
14239         (__cos32): Likewise.
14241 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14243         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14244         to provide a boost for large inputs with word alignment.
14245         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14246         implementation based on optimized PPC64 strcpy.
14247         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14248         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14249         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14250         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14252 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14254         [BZ #2801]
14255         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14257 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14259         [BZ #14876]
14260         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14261         * time/tst-strptime.c (day_tests): Add testcase.
14263 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14265         [BZ #14029]
14266         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14268 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14270         [BZ #16074]
14271         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14272         MAP_FAILED on error.
14274 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14276         [BZ #16072]
14277         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14278         heap for large requests.
14280 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14282         [BZ #9954]
14283         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14284         result if the result has no associated interface.
14285         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14286         interface for all 127.X.Y.Z addresses.
14288 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14290         * locale/iso-639.def: Add Ligurian (lij)
14292 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14294         [BZ #15825]
14295         * sunrpc/rpc_main.c: Document rpcgen -5.
14297 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14299         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14301 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14303         [BZ #10278]
14304         * posix/glob.c: Match only directories when trailing slash is present.
14305         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14306         (main): Add testcase.
14308 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14310         [BZ #15670]
14311         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14313 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14315         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14316         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14317         AUTH_DES and cindex for FIPS 140-2.
14318         (DES Encryption): Add cindex FIPS 46-3.
14320         * locale/locarchive.h (struct locarhandle): Add fname.
14321         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14322         if an optional argument was specified to --list-archive,
14323         otherwise NULL.
14324         * locale/programs/locarchive.c (show_archive_content): Take new
14325         argument fname and pass it via ah.fname to open_archive.
14326         * locale/programs/localedef.h: Update decl.
14327         (open_archive): If AH->fname is non-null, open that file
14328         rather than the default file name, and don't ignore ENOENT.
14329         (create_archive): Set AH.fname to NULL.
14330         (delete_locales_from_archive): Likewise.
14331         (add_locales_to_archive): Likewise.
14332         * locale/programs/locfile.c (write_all_categories): Likewise.
14334 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14335             Aldy Hernandez  <aldyh@redhat.com>
14337         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14338         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14339         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14340         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14341         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14342         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14343         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14344         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14345         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14346         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14347         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14348         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14349         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14350         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14351         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14352         Likewise.
14353         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14354         Likewise.
14355         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14356         Likewise.
14357         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14358         Likewise.
14359         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14360         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14361         Likewise.
14362         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14363         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14364         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14365         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14366         Likewise.
14367         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14368         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14369         * sysdeps/powerpc/preconfigure: Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14371         Likewise.
14372         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14373         Replace contents of file by #include of <fenv_libc.h>.
14374         * sysdeps/powerpc/soft-fp/sfp-machine.h
14375         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14376         and <sys/prctl.h>.
14377         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14381         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14385         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14387         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14388         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14390         Allow copysignl PLT reference to be missing.
14392 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14393             Joseph Myers  <joseph@codesourcery.com
14395         [BZ #15948]
14396         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14397         single character.
14398         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14400 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14402         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14403         * elf/tst-tls1.c: Likewise.
14404         * elf/tst-tls10.h: Likewise.
14405         * elf/tst-tls14.c: Likewise.
14406         * elf/tst-tls2.c: Likewise.
14407         * elf/tst-tls3.c: Likewise.
14408         * elf/tst-tls4.c: Likewise.
14409         * elf/tst-tls5.c: Likewise.
14410         * elf/tst-tls6.c: Likewise.
14411         * elf/tst-tls7.c: Likewise.
14412         * elf/tst-tls8.c: Likewise.
14413         * elf/tst-tls9.c: Likewise.
14414         * elf/tst-tlsmod1.c: Likewise.
14415         * elf/tst-tlsmod13.c: Likewise.
14416         * elf/tst-tlsmod13a.c: Likewise.
14417         * elf/tst-tlsmod14a.c: Likewise.
14418         * elf/tst-tlsmod16a.c: Likewise.
14419         * elf/tst-tlsmod16b.c: Likewise.
14420         * elf/tst-tlsmod2.c: Likewise.
14421         * elf/tst-tlsmod3.c: Likewise.
14422         * elf/tst-tlsmod4.c: Likewise.
14423         * elf/tst-tlsmod5.c: Likewise.
14424         * elf/tst-tlsmod6.c: Likewise.
14426 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14428         [BZ #12486]
14429         * malloc/malloc.c: remove checks for statistics.
14431 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14433         [BZ #15277]
14434         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14435         * inet/tst-network.c: Add testcase.
14437 2013-10-17  Andreas Schwab  <schwab@suse.de>
14439         [BZ #15218]
14440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14441         to determine canonical name.
14443 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14445         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14446         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14448         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14450         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14451         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14452         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14453         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14454         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14455         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14456         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14457         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14458         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14459         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14460         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14462         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14463         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14464         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14465         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14468         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14469         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14470         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14471         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14472         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14473         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14474         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14475         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14477         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14478         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14479         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14481         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14482         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14483         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14484         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14485         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14486         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14487         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14488         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14489         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14490         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14491         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14492         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14493         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14494         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14495         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14496         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14497         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14498         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14499         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14500         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14501         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14502         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14504 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14506         [BZ #16041]
14507         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14508         make result into a quiet NaN.
14510 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14512         * soft-fp/adddf3.c: Fix horizontal whitespace.
14513         * soft-fp/addsf3.c: Likewise.
14514         * soft-fp/addtf3.c: Likewise.
14515         * soft-fp/divdf3.c: Likewise.
14516         * soft-fp/divsf3.c: Likewise.
14517         * soft-fp/divtf3.c: Likewise.
14518         * soft-fp/double.h: Likewise.
14519         * soft-fp/eqdf2.c: Likewise.
14520         * soft-fp/eqsf2.c: Likewise.
14521         * soft-fp/eqtf2.c: Likewise.
14522         * soft-fp/extenddftf2.c: Likewise.
14523         * soft-fp/extended.h: Likewise.
14524         * soft-fp/extendsfdf2.c: Likewise.
14525         * soft-fp/extendsftf2.c: Likewise.
14526         * soft-fp/extendxftf2.c: Likewise.
14527         * soft-fp/fixdfdi.c: Likewise.
14528         * soft-fp/fixdfsi.c: Likewise.
14529         * soft-fp/fixdfti.c: Likewise.
14530         * soft-fp/fixsfdi.c: Likewise.
14531         * soft-fp/fixsfsi.c: Likewise.
14532         * soft-fp/fixsfti.c: Likewise.
14533         * soft-fp/fixtfdi.c: Likewise.
14534         * soft-fp/fixtfsi.c: Likewise.
14535         * soft-fp/fixtfti.c: Likewise.
14536         * soft-fp/fixunsdfdi.c: Likewise.
14537         * soft-fp/fixunsdfsi.c: Likewise.
14538         * soft-fp/fixunsdfti.c: Likewise.
14539         * soft-fp/fixunssfdi.c: Likewise.
14540         * soft-fp/fixunssfsi.c: Likewise.
14541         * soft-fp/fixunssfti.c: Likewise.
14542         * soft-fp/fixunstfdi.c: Likewise.
14543         * soft-fp/fixunstfsi.c: Likewise.
14544         * soft-fp/fixunstfti.c: Likewise.
14545         * soft-fp/floatdidf.c: Likewise.
14546         * soft-fp/floatdisf.c: Likewise.
14547         * soft-fp/floatditf.c: Likewise.
14548         * soft-fp/floatsidf.c: Likewise.
14549         * soft-fp/floatsisf.c: Likewise.
14550         * soft-fp/floatsitf.c: Likewise.
14551         * soft-fp/floattidf.c: Likewise.
14552         * soft-fp/floattisf.c: Likewise.
14553         * soft-fp/floattitf.c: Likewise.
14554         * soft-fp/floatundidf.c: Likewise.
14555         * soft-fp/floatundisf.c: Likewise.
14556         * soft-fp/floatunditf.c: Likewise.
14557         * soft-fp/floatunsidf.c: Likewise.
14558         * soft-fp/floatunsisf.c: Likewise.
14559         * soft-fp/floatunsitf.c: Likewise.
14560         * soft-fp/floatuntidf.c: Likewise.
14561         * soft-fp/floatuntisf.c: Likewise.
14562         * soft-fp/floatuntitf.c: Likewise.
14563         * soft-fp/fmadf4.c: Likewise.
14564         * soft-fp/fmasf4.c: Likewise.
14565         * soft-fp/fmatf4.c: Likewise.
14566         * soft-fp/gedf2.c: Likewise.
14567         * soft-fp/gesf2.c: Likewise.
14568         * soft-fp/getf2.c: Likewise.
14569         * soft-fp/ledf2.c: Likewise.
14570         * soft-fp/lesf2.c: Likewise.
14571         * soft-fp/letf2.c: Likewise.
14572         * soft-fp/muldf3.c: Likewise.
14573         * soft-fp/mulsf3.c: Likewise.
14574         * soft-fp/multf3.c: Likewise.
14575         * soft-fp/negdf2.c: Likewise.
14576         * soft-fp/negsf2.c: Likewise.
14577         * soft-fp/negtf2.c: Likewise.
14578         * soft-fp/op-1.h: Likewise.
14579         * soft-fp/op-2.h: Likewise.
14580         * soft-fp/op-4.h: Likewise.
14581         * soft-fp/op-8.h: Likewise.
14582         * soft-fp/op-common.h: Likewise.
14583         * soft-fp/quad.h: Likewise.
14584         * soft-fp/single.h: Likewise.
14585         * soft-fp/soft-fp.h: Likewise.
14586         * soft-fp/sqrtdf2.c: Likewise.
14587         * soft-fp/sqrtsf2.c: Likewise.
14588         * soft-fp/sqrttf2.c: Likewise.
14589         * soft-fp/subdf3.c: Likewise.
14590         * soft-fp/subsf3.c: Likewise.
14591         * soft-fp/subtf3.c: Likewise.
14592         * soft-fp/truncdfsf2.c: Likewise.
14593         * soft-fp/trunctfdf2.c: Likewise.
14594         * soft-fp/trunctfsf2.c: Likewise.
14595         * soft-fp/trunctfxf2.c: Likewise.
14596         * soft-fp/unorddf2.c: Likewise.
14597         * soft-fp/unordsf2.c: Likewise.
14598         * soft-fp/unordtf2.c: Likewise.
14600 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14602         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14603         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14605 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14607         * elf/dl-libc.c: Clear initfini list after freeing.
14609 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14611         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14612         * soft-fp/addsf3.c: Likewise.
14613         * soft-fp/addtf3.c: Likewise.
14614         * soft-fp/divdf3.c: Likewise.
14615         * soft-fp/divsf3.c: Likewise.
14616         * soft-fp/divtf3.c: Likewise.
14617         * soft-fp/double.h: Likewise.
14618         * soft-fp/eqdf2.c: Likewise.
14619         * soft-fp/eqsf2.c: Likewise.
14620         * soft-fp/eqtf2.c: Likewise.
14621         * soft-fp/extenddftf2.c: Likewise.
14622         * soft-fp/extended.h: Likewise.
14623         * soft-fp/extendsfdf2.c: Likewise.
14624         * soft-fp/extendsftf2.c: Likewise.
14625         * soft-fp/extendxftf2.c: Likewise.
14626         * soft-fp/fixdfdi.c: Likewise.
14627         * soft-fp/fixdfsi.c: Likewise.
14628         * soft-fp/fixdfti.c: Likewise.
14629         * soft-fp/fixsfdi.c: Likewise.
14630         * soft-fp/fixsfsi.c: Likewise.
14631         * soft-fp/fixsfti.c: Likewise.
14632         * soft-fp/fixtfdi.c: Likewise.
14633         * soft-fp/fixtfsi.c: Likewise.
14634         * soft-fp/fixtfti.c: Likewise.
14635         * soft-fp/fixunsdfdi.c: Likewise.
14636         * soft-fp/fixunsdfsi.c: Likewise.
14637         * soft-fp/fixunsdfti.c: Likewise.
14638         * soft-fp/fixunssfdi.c: Likewise.
14639         * soft-fp/fixunssfsi.c: Likewise.
14640         * soft-fp/fixunssfti.c: Likewise.
14641         * soft-fp/fixunstfdi.c: Likewise.
14642         * soft-fp/fixunstfsi.c: Likewise.
14643         * soft-fp/fixunstfti.c: Likewise.
14644         * soft-fp/floatdidf.c: Likewise.
14645         * soft-fp/floatdisf.c: Likewise.
14646         * soft-fp/floatditf.c: Likewise.
14647         * soft-fp/floatsidf.c: Likewise.
14648         * soft-fp/floatsisf.c: Likewise.
14649         * soft-fp/floatsitf.c: Likewise.
14650         * soft-fp/floattidf.c: Likewise.
14651         * soft-fp/floattisf.c: Likewise.
14652         * soft-fp/floattitf.c: Likewise.
14653         * soft-fp/floatundidf.c: Likewise.
14654         * soft-fp/floatundisf.c: Likewise.
14655         * soft-fp/floatunsidf.c: Likewise.
14656         * soft-fp/floatunsisf.c: Likewise.
14657         * soft-fp/floatuntidf.c: Likewise.
14658         * soft-fp/floatuntisf.c: Likewise.
14659         * soft-fp/floatuntitf.c: Likewise.
14660         * soft-fp/fmadf4.c: Likewise.
14661         * soft-fp/fmasf4.c: Likewise.
14662         * soft-fp/fmatf4.c: Likewise.
14663         * soft-fp/gedf2.c: Likewise.
14664         * soft-fp/gesf2.c: Likewise.
14665         * soft-fp/getf2.c: Likewise.
14666         * soft-fp/ledf2.c: Likewise.
14667         * soft-fp/lesf2.c: Likewise.
14668         * soft-fp/letf2.c: Likewise.
14669         * soft-fp/muldf3.c: Likewise.
14670         * soft-fp/mulsf3.c: Likewise.
14671         * soft-fp/multf3.c: Likewise.
14672         * soft-fp/negdf2.c: Likewise.
14673         * soft-fp/negsf2.c: Likewise.
14674         * soft-fp/negtf2.c: Likewise.
14675         * soft-fp/op-1.h: Likewise.
14676         * soft-fp/op-2.h: Likewise.
14677         * soft-fp/op-4.h: Likewise.
14678         * soft-fp/op-8.h: Likewise.
14679         * soft-fp/op-common.h: Likewise.
14680         * soft-fp/quad.h: Likewise.
14681         * soft-fp/single.h: Likewise.
14682         * soft-fp/soft-fp.h: Likewise.
14683         * soft-fp/sqrtdf2.c: Likewise.
14684         * soft-fp/sqrtsf2.c: Likewise.
14685         * soft-fp/sqrttf2.c: Likewise.
14686         * soft-fp/subdf3.c: Likewise.
14687         * soft-fp/subsf3.c: Likewise.
14688         * soft-fp/subtf3.c: Likewise.
14689         * soft-fp/truncdfsf2.c: Likewise.
14690         * soft-fp/trunctfdf2.c: Likewise.
14691         * soft-fp/trunctfsf2.c: Likewise.
14692         * soft-fp/trunctfxf2.c: Likewise.
14693         * soft-fp/unorddf2.c: Likewise.
14694         * soft-fp/unordsf2.c: Likewise.
14695         * soft-fp/unordtf2.c: Likewise.
14697 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14699         [BZ #15672]
14700         * misc/error.c (error_tail): Fix possible buffer overflow.
14702 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14704         [BZ #13028]
14705         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14706         address.
14708 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14710         [BZ #832]
14711         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14712         testing pipefail option.
14714 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14716         * soft-fp/double.h: Indent preprocessor directives inside #if.
14717         * soft-fp/extended.h: Likewise.
14718         * soft-fp/op-2.h: Likewise.
14719         * soft-fp/op-4.h: Likewise.
14720         * soft-fp/op-common.h: Likewise.
14721         * soft-fp/quad.h: Likewise.
14722         * soft-fp/single.h: Likewise.
14723         * soft-fp/soft-fp.h: Likewise.
14725 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14727         * iconv/iconv_prog.c: Fix typos.
14728         * stdio-common/psiginfo-data.h: Likewise.
14730 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14732         [BZ #15764]
14733         * locale/setlocale.c: Fix typo.
14735 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14737         [BZ #16036]
14738         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14739         signaling NaN arguments.
14740         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14741         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14743         [BZ #14910]
14744         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14745         unordered operands.
14746         * soft-fp/gesf2.c (__gesf2): Likewise.
14747         * soft-fp/getf2.c (__getf2): Likewise.
14748         * soft-fp/ledf2.c (__ledf2): Likewise.
14749         * soft-fp/lesf2.c (__lesf2): Likewise.
14750         * soft-fp/letf2.c (__letf2): Likewise.
14752         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14753         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14754         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14755         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14756         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14757         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14758         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14759         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14760         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14761         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14762         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14763         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14764         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14765         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14766         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14767         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14768         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14769         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14770         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14771         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14772         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14773         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14774         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14775         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14776         * soft-fp/floattidf.c (__floattidf): Likewise.
14777         * soft-fp/floattisf.c (__floattisf): Likewise.
14778         * soft-fp/floattitf.c (__floattitf): Likewise.
14779         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14780         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14781         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14782         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14783         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14784         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14785         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14786         * soft-fp/gesf2.c (__gesf2): Likewise.
14787         * soft-fp/getf2.c (__getf2): Likewise.
14788         * soft-fp/ledf2.c (__ledf2): Likewise.
14789         * soft-fp/lesf2.c (__lesf2): Likewise.
14790         * soft-fp/letf2.c (__letf2): Likewise.
14792         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14793         Undefine and redefine.
14794         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14795         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14796         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14797         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14798         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14799         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14800         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14801         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14802         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14803         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14804         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14805         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14806         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14807         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14808         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14810         [BZ #16032]
14811         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14812         without decrementing exponent if mantissa >= that for the
14813         denominator, not >.
14814         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14815         denominator, not >.  Decrement exponent in < case instead of
14816         incrementing in >= case.
14817         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14818         without decrementing exponent if mantissa >= that for the
14819         denominator, not >.
14821         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14822         computing saturated result for unsigned overflow.
14824 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14825             Jeff Law  <law@redhat.com>
14827         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14828         (atan2Mp): Add systemtap probe marker.
14829         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14830         (__ieee754_log): Add systemtap probe marker.
14831         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14832         (atanMp): Add systemtap probe marker.
14833         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14834         (tanMp): Add systemtap probe marker.
14835         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14836         (__slowexp): Add systemtap probe marker.
14837         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14838         (__slowpow): Add systemtap probe marker.
14839         * manual/probes.texi: Document probes.
14841 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14843         [BZ #15362]
14844         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14845         written.
14846         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14847         written.
14848         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14849         written to buffer but not flushed.
14850         * libio/iofwrite_u.c:  Likewise.
14851         * libio/iopadn.c:  Return bytes returned even if EOF was
14852         encountered.
14853         * libio/iowpadn.c:  Likewise.
14854         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14855         if _IO_padn does not write the whole buffer.
14856         [!COMPILE_WPRINTF] (PAD): Likewise.
14858 2013-10-10  David S. Miller  <davem@davemloft.net>
14860         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14861         directory block.
14863 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14865         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14866         instead of FSF address.
14867         * soft-fp/fixdfti.c: Likewise.
14868         * soft-fp/fixsfti.c: Likewise.
14869         * soft-fp/fixtfti.c: Likewise.
14870         * soft-fp/fixunsdfti.c: Likewise.
14871         * soft-fp/fixunssfti.c: Likewise.
14872         * soft-fp/fixunstfti.c: Likewise.
14873         * soft-fp/floattidf.c: Likewise.
14874         * soft-fp/floattisf.c: Likewise.
14875         * soft-fp/floattitf.c: Likewise.
14876         * soft-fp/floatuntidf.c: Likewise.
14877         * soft-fp/floatuntisf.c: Likewise.
14878         * soft-fp/floatuntitf.c: Likewise.
14879         * soft-fp/trunctfxf2.c: Likewise.
14881         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14882         * soft-fp/fixdfti.c: Likewise.
14883         * soft-fp/fixsfti.c: Likewise.
14884         * soft-fp/fixtfti.c: Likewise.
14885         * soft-fp/fixunsdfti.c: Likewise.
14886         * soft-fp/fixunssfti.c: Likewise.
14887         * soft-fp/fixunstfti.c: Likewise.
14888         * soft-fp/floattidf.c: Likewise.
14889         * soft-fp/floattisf.c: Likewise.
14890         * soft-fp/floattitf.c: Likewise.
14891         * soft-fp/floatuntidf.c: Likewise.
14892         * soft-fp/floatuntisf.c: Likewise.
14893         * soft-fp/floatuntitf.c: Likewise.
14894         * soft-fp/trunctfxf2.c: Likewise.
14896 2013-10-10  David S. Miller  <davem@davemloft.net>
14898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14900 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14902         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14903         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14904         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14905         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14906         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14907         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14908         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14911         for NaNs before doing comparisons on argument.
14912         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14913         Likewise.
14915 2013-10-10  Will Newton  <will.newton@linaro.org>
14917         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14918         passed to _int_memalign does not overflow.
14920 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14922         * scripts/bench.pl: Add include-sources directive.
14923         * benchtests/README: Update documentation.
14925 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14927         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14928         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14929         instead of FP_INIT_ROUNDMODE.
14930         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14931         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14933         [BZ #16034]
14934         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14935         copy class of input value.
14936         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14937         not handle exceptions.
14938         * soft-fp/negsf2.c (__negsf2): Likewise.
14939         * soft-fp/negtf2.c (__negtf2): Likewise.
14940         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14942 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14944         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14945         semicolon.  From Linux kernel.
14947 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14949         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14951 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14953         [BZ #156]
14954         * manual/socket.texi: Added statement about buffer
14955         for gethostbyname2_r.
14957 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14959         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14960         Use .p2align directive instead, throughout.
14961         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14962         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14963         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14964         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14965         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14966         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14967         * sysdeps/x86_64/strchr.S: Likewise.
14968         * sysdeps/x86_64/strrchr.S: Likewise.
14970 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14974         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14976         * sysdeps/generic/math_private.h (__mpsin1): Remove
14977         declaration.
14978         (__mpcos1): Likewise.
14979         (__mpsin): New argument __range_reduce.
14980         (__mpcos): Likewise.
14981         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14982         (slow): Use __mpsin and __mpcos.
14983         (slow1): Likewise.
14984         (slow2): Likewise.
14985         (sloww): Likewise.
14986         (sloww1): Likewise.
14987         (sloww2): Likewise.
14988         (bsloww): Likewise.
14989         (bsloww1): Likewise.
14990         (bsloww2): Likewise.
14991         (cslow2): Likewise.
14992         (csloww): Likewise.
14993         (csloww1): Likewise.
14994         (csloww2): Likewise.
14995         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14996         range_reduce.  Merge in __mpsin1.
14997         (__mpcos): Likewise.
14998         (__mpsin1): Remove.
14999         (__mpcos1): Likewise.
15001 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15003         * locale/loadlocale.c (_nl_intern_locale_data): Use
15004         LOCFILE_ALIGNED_P.
15005         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15006         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15007         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15008         obstack data is appropriately aligned.
15009         (obstack_int32_grow_fast): Likewise.
15010         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15011         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15012         (add_locale_uint32_array): Likewise.
15014 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15016         * benchtests/Makefile: Remove ARGLIST and RET variables.
15017         ($(objpfx)bench-%.c): Pass only function name to the script.
15018         * benchtests/README: Update documentation.
15019         * benchtests/acos-inputs: Add new directives.
15020         * benchtests/acosh-inputs: Likewise.
15021         * benchtests/asin-inputs: Likewise.
15022         * benchtests/asinh-inputs: Likewise.
15023         * benchtests/atan-inputs: Likewise.
15024         * benchtests/atanh-inputs: Likewise.
15025         * benchtests/cos-inputs: Likewise.
15026         * benchtests/cosh-inputs: Likewise.
15027         * benchtests/exp-inputs: Likewise.
15028         * benchtests/log-inputs: Likewise.
15029         * benchtests/pow-inputs: Likewise.
15030         * benchtests/rint-inputs: Likewise.
15031         * benchtests/sin-inputs: Likewise.
15032         * benchtests/sinh-inputs: Likewise.
15033         * benchtests/tan-inputs: Likewise.
15034         * benchtests/tanh-inputs: Likewise.
15035         * scripts/bench.pl: Add support for new directives.
15037 2013-10-07  Alan Modra  <amodra@gmail.com>
15039         * README: Fix careless merge.
15041 2013-10-05  Alan Modra  <amodra@gmail.com>
15043         * NEWS: Mention powerpc64le support and bugs fixed.
15044         * README: Both big-endian and little-endian powerpc64 supported.
15046 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15048         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15049         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15050         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15051         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15053 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15055         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15056         match prototype.
15058 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15060         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15061         Move -mhard-float appending from
15062         ports/sysdeps/powerpc/powerpc32/Makefile.
15063         [$(with-fp) = yes] (ASFLAGS): Likewise.
15064         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15065         * sysdeps/powerpc/nofpu: Move directory from
15066         ports/sysdeps/powerpc/nofpu.
15067         * sysdeps/powerpc/soft-fp: Move directory from
15068         ports/sysdeps/powerpc/soft-fp.
15069         * sysdeps/powerpc/powerpc32/405: Move directory from
15070         ports/sysdeps/powerpc/powerpc32/405.
15071         * sysdeps/powerpc/powerpc32/440: Move directory from
15072         ports/sysdeps/powerpc/powerpc32/440.
15073         * sysdeps/powerpc/powerpc32/464: Move directory from
15074         ports/sysdeps/powerpc/powerpc32/464.
15075         * sysdeps/powerpc/powerpc32/476: Move directory from
15076         ports/sysdeps/powerpc/powerpc32/476.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15078         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15080         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15082         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15084         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15086         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15087         * README: Update for powerpc-*-linux-gnu software floating point
15088         support in libc.
15090         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15091         case to powerpc/powerpc32*.
15092         * sysdeps/unix/sysv/linux/configure: Regenerated.
15094         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15095         (_FPU_MASK_OM): Define as 0x04.
15096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15098         0x00c10080.
15099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15100         0x0000003c.
15101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15104         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15105         getcontext_e500.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15107         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15108         setcontext_e500.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15110         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15111         and setcontext_e500.
15113 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15115         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15117 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15119         * manual/threads.texi (Default Thread Attributes): Fix typo.
15121 2013-10-04  Will Newton  <will.newton@linaro.org>
15123         * malloc/Makefile: Add tst-memalign.
15124         * malloc/tst-memalign.c: New file.
15126         * malloc/tst-posix_memalign.c: Add comments.
15127         (do_test): Add comments and call free on all potentially
15128         allocated pointers. Add space after cast.
15130         * malloc/tst-pvalloc.c: Add comments.
15131         (do_test): Add comments and call free on all potentially
15132         allocated pointers. Remove duplicate check for NULL pointer.
15133         Add space after cast.
15135         * malloc/tst-valloc.c: Add comments.
15136         (do_test): Add comments and call free on all potentially
15137         allocated pointers. Remove duplicate check for NULL pointer.
15138         Add space after cast.
15140 2013-10-04  Alan Modra  <amodra@gmail.com>
15142         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15143         Use stdint types in rather than __attribute__((mode())).
15144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15146 2013-10-04  Alan Modra  <amodra@gmail.com>
15148         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15149         Correct handling of unaligned relocs for little-endian.
15150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15152 2013-10-04  Alan Modra  <amodra@gmail.com>
15154         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15155         * configure: Regenerate.
15156         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15157         * shlib-versions: Likewise.
15159 2013-10-04  Alan Modra  <amodra@gmail.com>
15161         * string/tester.c (test_memrchr): Increment reported test cycle.
15163 2013-10-04  Alan Modra  <amodra@gmail.com>
15165         * string/test-memcpy.c (do_one_test): When reporting errors, print
15166         string address and don't overrun end of string.
15168 2013-10-04  Alan Modra  <amodra@gmail.com>
15170         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15171         insrdi.  Make better use of reg selection to speed exit slightly.
15172         Schedule entry path a little better.  Remove useless "are we done"
15173         checks on entry to main loop.  Handle wrapping around zero address.
15174         Correct main loop count.  Handle single left-over word from main
15175         loop inline rather than by using loop_small.  Remove extra word
15176         case in loop_small caused by wrong loop count.  Add little-endian
15177         support.
15178         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15179         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15180         cache hint.
15181         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15182         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15183         support.  Avoid rlwimi.
15184         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15186 2013-10-04  Alan Modra  <amodra@gmail.com>
15188         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15189         insrdi.  Formatting.
15190         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15191         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15192         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15193         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15194         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15195         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15197 2013-10-04  Alan Modra  <amodra@gmail.com>
15199         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15200         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15202         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15203         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15204         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15205         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15207         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15208         use of regs.  Use power7 mtocrf.  Tidy function tails.
15210 2013-10-04  Alan Modra  <amodra@gmail.com>
15212         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15213         Formatting.  Consistently use rXXX register defines or rN defines.
15214         Use early exit labels that avoid restoring unused non-volatile regs.
15215         Make cr field use more consistent with rWORDn compares.  Rename
15216         regs used as shift registers for unaligned loop, using rN defines
15217         for short lifetime/multiple use regs.
15218         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15219         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15220         addi 1,1,64 to pop stack frame.  Simplify return value code.
15221         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15223 2013-10-04  Alan Modra  <amodra@gmail.com>
15225         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15226         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15227         rather than rlwimi.
15228         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15229         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15230         little-endian support.  Correct typos.
15231         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15232         rather than rlwimi.
15233         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15234         in loop and entry code to keep "and." results.
15235         (strchr): Add little-endian support.  Comment.  Move cntlzd
15236         earlier in tail.
15237         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15239 2013-10-04  Alan Modra  <amodra@gmail.com>
15241         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15242         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15243         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15244         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15246 2013-10-04  Alan Modra  <amodra@gmail.com>
15248         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15249         (rTMP): Define as r11.
15250         (strcmp): Add little-endian support.  Optimise tail.
15251         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15252         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15253         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15254         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15255         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15257         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15259 2013-10-04  Alan Modra  <amodra@gmail.com>
15261         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15262         little-endian support.  Remove unnecessary "are we done" tests.
15263         Handle "s" wrapping around zero and extremely large "size".
15264         Correct main loop count.  Handle single left-over word from main
15265         loop inline rather than by using small_loop.  Correct comments.
15266         Delete "zero" tail, use "end_max" instead.
15267         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15269 2013-10-04  Alan Modra  <amodra@gmail.com>
15271         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15272         support.  Don't branch over align.
15273         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15274         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15275         support.  Rearrange tmp reg use to suit.  Comment.
15276         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15278 2013-10-04  Alan Modra  <amodra@gmail.com>
15280         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15282 2013-10-04  Alan Modra  <amodra@gmail.com>
15284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15285         conditional form of branch and link when obtaining pc.
15286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15288 2013-10-04  Alan Modra  <amodra@gmail.com>
15290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15291         HIWORD/LOWORD.
15292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15295 2013-10-04  Alan Modra  <amodra@gmail.com>
15297         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15298         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15299         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15300         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15301         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15302         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15303         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15304         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15305         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15306         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15308 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15309             Alistair Popple <alistair@ozlabs.au.ibm.com>
15310             Alan Modra <amodra@gmail.com>
15312         [BZ #15723]
15313         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15315         _dl_hwcap access for little-endian.
15316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15317         destroy vmx regs when saving unaligned.
15318         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15320         destroy vmx regs when saving unaligned.
15322 2013-10-04  Alan Modra  <amodra@gmail.com>
15324         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15325         Don't use a union to pack hi/low value.
15327 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15329         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15330         for little-endian.
15331         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15333         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15334         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15335         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15337 2013-10-04  Alan Modra  <amodra@gmail.com>
15339         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15340         constants to usual value for .cst8 section, and remove redundant
15341         high address load.
15342         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15343         constant for 0x1p52.  Load little-endian words of double from
15344         correct stack offsets.
15346 2013-10-04  Alan Modra  <amodra@gmail.com>
15348         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15349         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15350         words of double from correct stack offsets.
15351         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15352         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15353         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15356         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15357         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15358         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15359         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15361         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15362         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15363         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15364         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15365         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15366         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15367         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15369 2013-10-04  Alan Modra  <amodra@gmail.com>
15371         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15372         64-bit int/double union.
15373         (_FPU_SETCW): Likewise.
15374         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15375         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15377 2013-10-04  Alan Modra  <amodra@gmail.com>
15379         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15380         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15382 2013-10-04  Alan Modra  <amodra@gmail.com>
15384         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15385         use vector int constants.
15386         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15388 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15390         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15391         array with long long.
15392         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15393         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15394         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15395         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15396         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15397         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15398         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15399         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15400         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15401         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15402         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15403         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15404         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15406 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15408         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15409         (__signbit): Likewise.  Correct for little-endian.
15410         (__signbitl): Call __signbit.
15411         (lrint): Correct for little-endian.
15412         (lrintf): Call lrint.
15414 2013-10-04  Alan Modra  <amodra@gmail.com>
15416         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15417         union 32-bit int array member with 64-bit int array.
15418         (t515, tm256): Double rather than long double.
15419         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15421 2013-10-04  Alan Modra  <amodra@gmail.com>
15423         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15424         Delete.
15425         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15427         version of math_ldbl.h.
15429 2013-10-04  Alan Modra  <amodra@gmail.com>
15431         [BZ #15734], [BZ #15735]
15432         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15433         all uses of ieee875 long double macros and unions.  Simplify test
15434         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15435         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15436         normalize after ldbl_extract_mantissa, and don't add hidden bit
15437         already handled.  Don't treat low word of ieee854 mantissa like
15438         low word of IBM long double and mask off bit when testing for
15439         zero.
15440         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15441         all uses of ieee875 long double macros and unions.  Simplify tests
15442         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15443         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15444         two1022, instead use their values.  Recognise that tests for large
15445         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15446         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15447         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15448         test for 0.0L and nan.  Correct negation.
15449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15450         ieee875 long double macros and unions.  Correct output for large
15451         magnitude x.  Correct absolute value calculation.
15452         (__erfcl): Likewise.
15453         * math/libm-test.inc: Add tests for errors discovered in IBM long
15454         double versions of fmodl, remainderl, erfl and erfcl.
15456 2013-10-04  Alan Modra  <amodra@gmail.com>
15458         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15459         all uses of ieee854 long double macros and unions.  Simplify tests
15460         for long doubles that are fully specified by the high double.
15461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15462         Likewise.
15463         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15464         Remove dead code too.
15465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15466         (__ieee754_ynl): Likewise.
15467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15468         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15469         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15470         Remove dead code too.
15471         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15473         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15474         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15475         Simplify.
15476         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15477         Simplify.
15478         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15479         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15480         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15481         Comment on variable precision.
15482         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15483         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15484         Likewise.
15485         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15486         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15487         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15488         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15489         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15491 2013-10-04  Alan Modra  <amodra@gmail.com>
15493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15494         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15495         all uses of ieee854 long double macros and unions.
15496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15498         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15499         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15500         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15501         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15502         Likewise.
15503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15505         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15506         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15507         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15508         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15509         Simplify sign and nan test too.
15510         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15511         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15512         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15513         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15514         Likewise.
15515         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15516         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15517         Likewise.
15518         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15522         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15525 2013-10-04  Alan Modra  <amodra@gmail.com>
15527         * stdio-common/printf_size.c (__printf_size): Don't use
15528         union ieee854_long_double in fpnum union.
15529         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15530         signbit macro to retrieve sign from long double.
15531         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15532         retrieve sign from long double.
15533         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15534         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15535         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15536         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15537         * math/test-misc.c (main): Don't use union ieee854_long_double.
15539 2013-10-04  Alan Modra  <amodra@gmail.com>
15541         [BZ #15680]
15542         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15543         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15544         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15545         calculation.  Remove unnecessary test for denormal exponent.
15546         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15547         Correct handling of denormals.  Avoid undefined shift behaviour.
15548         Correct normalisation of low mantissa when low double is denormal.
15549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15550         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15551         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15552         Correct normalisation of low mantissa.  Test for overflow of high
15553         mantissa and normalise.
15554         (ldbl_nearbyint): Use more readable constant for two52.
15555         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15556         (__mpn_construct_long_double): Fix test for overflow of high
15557         mantissa and correct normalisation.  Avoid undefined shift.
15559 2013-10-04  Alan Modra  <amodra@gmail.com>
15561         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15562         (union ibm_extended_long_double): Define as an array of ieee754_double.
15563         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15564         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15565         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15566         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15570         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15575 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15577         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15578         page size instead of calling getpagesize.
15580         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15581         (LOCFILE_ALIGN_MASK): Likewise.
15582         (LOCFILE_ALIGN_UP): Likewise.
15583         (LOCFILE_ALIGNED_P): Likewise.
15584         * locale/programs/ld-collate.c (collate_output): Use the new
15585         macros instead of __alignof__ (int32_t).
15586         * locale/weight.h (findidx): Likewise.
15588 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15590         [BZ #431]
15591         * manual/string.texi: Fix strncat and wcsncat.
15593 2013-10-03  Brooks Moses  <bmoses@google.com>
15595         [BZ #15915]
15596         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15597         * Makerules: ...here, and adjust associated comments.
15599 2013-10-02  Will Newton  <will.newton@linaro.org>
15601         * malloc/Makefile: Add tst-pvalloc.
15602         * malloc/tst-pvalloc.c: New file.
15604 2013-10-02  Will Newton  <will.newton@linaro.org>
15606         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15607         improve test coverage.
15609 2013-10-02  Will Newton  <will.newton@linaro.org>
15611         * malloc/Makefile: Add tst-posix_memalign.
15612         * malloc/tst-posix_memalign.c: New file.
15614 2013-10-01  Eric Blake  <eblake@redhat.com>
15616         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15617         Use __THROWNL rather than __THROW on static functions.
15619 2013-09-30  Petr Machata  <pmachata@redhat.com>
15621         * elf/elf.h (R_AARCH64_ABS16): New macro.
15622         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15623         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15624         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15625         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15626         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15627         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15628         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15629         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15630         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15631         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15632         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15633         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15634         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15635         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15636         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15637         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15638         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15639         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15640         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15641         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15642         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15643         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15644         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15645         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15646         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15647         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15648         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15649         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15650         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15651         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15652         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15653         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15654         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15655         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15656         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15657         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15658         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15659         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15660         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15661         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15662         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15663         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15664         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15665         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15666         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15667         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15668         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15669         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15670         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15671         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15672         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15673         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15674         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15675         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15676         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15677         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15678         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15679         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15680         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15681         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15682         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15683         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15684         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15685         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15686         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15687         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15688         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15689         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15690         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15691         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15692         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15693         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15694         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15695         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15696         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15697         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15698         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15699         (R_AARCH64_TLSDESC_LDR): Likewise.
15700         (R_AARCH64_TLSDESC_ADD): Likewise.
15701         (R_AARCH64_TLSDESC_CALL): Likewise.
15703 2013-09-30  Andreas Schwab  <schwab@suse.de>
15705         [BZ #15048]
15706         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15707         the nss database lookup.
15708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15711 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15713         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15715 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15717         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15718         ${Bash-specific parameter/pattern/string} parameter expansion.
15719         * sysdeps/unix/make-syscalls.sh: Likewise.
15721 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15723         * sysdeps/sh/stackguard-macros.h: New file.
15725 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15729         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15730         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15731         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15732         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15734 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15736         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15737         Fix thread ID register.
15739 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15741         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15742         [POSIX || UNIX98]: Require rather than permitting all symbols from
15743         <time.h>.
15744         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15745         element of struct sched_param.
15746         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15747         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15748         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15749         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15750         constant.
15752 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15754         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15755         argument calculation.
15757 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15759         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15760         Expect macro.
15761         [POSIX] (pthread_attr_t): Do not require type.
15762         [POSIX] (pthread_cond_t): Likewise.
15763         [POSIX] (pthread_condattr_t): Likewise.
15764         [POSIX] (pthread_key_t): Likewise.
15765         [POSIX] (pthread_mutex_t): Likewise.
15766         [POSIX] (pthread_mutexattr_t): Likewise.
15767         [POSIX] (pthread_once_t): Likewise.
15768         [POSIX] (pthread_t): Likewise.
15769         [POSIX-based standards] (pthread_atfork): Expect function.
15771 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15772             Richard Sandiford  <richard@codesourcery.com>
15774         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15775         (swap_endianness_p): New extern variable.
15776         (set_big_endian): New inline function.
15777         (maybe_swap_uint32): Likewise.
15778         (maybe_swap_uint32_array): Likewise.
15779         (maybe_swap_uint32_obstack): Likewise.
15780         * locale/programs/locfile.c: Include <stdbool.h>.
15781         (swap_endianness_p): New variable.
15782         (add_locale_uint32): Call maybe_swap_uint32.
15783         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15784         (write_locale_data): Call maybe_swap_uint32_array.
15785         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15786         maybe_swap_uint32.
15787         (obstack_int32_grow_fast): Likewise.
15788         (output_weightwc): Call maybe_swap_uint32_obstack.
15789         (collate_output): Likewise.
15790         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15791         (OPT_LITTLE_ENDIAN): Likewise.
15792         (options): Add --little-endian and --big-endian options.
15793         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15794         * locale/programs/locarchive.c: Include "locfile.h".
15795         (GET): New macro.
15796         (SET): Likewise.
15797         (INC): Likewise.
15798         (create_archive): Use the new macros to access fields of
15799         structures directly mapped from or written to locale archives.
15800         (oldlocrecentcmp): Likewise.
15801         (enlarge_archive): Likewise.
15802         (insert_name): Likewise.
15803         (add_alias): Likewise.
15804         (add_locale): Likewise.
15805         (delete_locales_from_archive): Likewise.
15806         (show_archive_content): Likewise.
15807         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15808         locale data.
15810 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15812         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15813         http://www.gnu.org/doc/freemanuals.texi.
15814         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15816 2013-09-24  Will Newton  <will.newton@linaro.org>
15818         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15819         macro.
15821 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15823         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15824         unsigned char.
15826 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15828         * manual/threads.texi (POSIX Threads): Fix a typo.
15830 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15832         [BZ #14547]
15833         * string/tst-strcoll-overflow.c: New test case.
15834         * string/Makefile (xtests): Add tst-strcoll-overflow.
15835         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15836         cache if string sizes may cause integer overflow.
15838         [BZ #14547]
15839         * string/strcoll_l.c (coll_seq): New members rule, idx,
15840         save_idx and back_us.
15841         (get_next_seq_nocache): New function.
15842         (do_compare_nocache): New function.
15843         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15844         when malloc fails.
15846 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15848         [BZ #15754]
15849         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15850         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15851         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15853         [BZ #15754]
15854         * elf/Makefile (tests): Add tst-ptrguard1.
15855         (tests-static): Add tst-ptrguard1-static.
15856         (tst-ptrguard1-ARGS): Define.
15857         (tst-ptrguard1-static-ARGS): Define.
15858         * elf/tst-ptrguard1.c: New file.
15859         * elf/tst-ptrguard1-static.c: New file.
15860         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15861         * sysdeps/i386/stackguard-macros.h: Likewise.
15862         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15863         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15864         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15865         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15866         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15867         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15869 2013-09-23  Hector Marco  <hecmargi@upv.es>
15870             Ismael Ripoll  <iripoll@disca.upv.es>
15871             Carlos O'Donell  <carlos@redhat.com>
15873         [BZ #15754]
15874         * sysdeps/generic/stackguard-macros.h: Define
15875         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15876         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15877         Define __pointer_chk_guard_local.
15878         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15879         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15881 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15883         [BZ #15859]
15884         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15886 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15888         * include/string.h (__ffs): Declare as hidden.
15889         * string/ffs.c (__ffs): Define as hidden.
15890         * sysdeps/i386/ffs.c (__ffs): Likewise.
15891         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15892         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15893         * sysdeps/s390/ffs.c (__ffs): Likewise.
15894         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15896 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15898         * NEWS: Mention malloc probes.
15900         * malloc/arena.c (new_heap): New memory_heap_new probe.
15901         (grow_heap): New memory_heap_more probe.
15902         (shrink_heap): New memory_heap_less probe.
15903         (heap_trim): New memory_heap_free probe.
15904         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15905         (systrim): New memory_sbrk_less probe.
15906         * manual/probes.texi: Document them.
15908         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15909         * manual/probes.texi: Document it.
15911         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15912         (__libc_realloc): Add memory_realloc_retry probe.
15913         (__libc_memalign): Add memory_memalign_retry probe.
15914         (__libc_valloc): Add memory_valloc_retry probe.
15915         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15916         (__libc_calloc): Add memory_calloc_retry probe.
15917         * manual/probes.texi: Document them.
15919         * malloc/arena.c (get_free_list): Add probe
15920         memory_arena_reuse_free_list.
15921         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15922         and memory_arena_reuse.
15923         (arena_get2) [!PER_THREAD]: Likewise.
15924         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15925         memory_arena_reuse_realloc.
15926         * manual/probes.texi: Document them.
15928         * malloc/malloc.c (__libc_free): Add
15929         memory_mallopt_free_dyn_thresholds probe.
15930         (__libc_mallopt): Add multiple memory_mallopt probes.
15931         * manual/probes.texi: Document them.
15933         * malloc/malloc.c: Include stap-probe.h.
15934         (__libc_mallopt): Add memory_mallopt probe.
15935         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15936         * manual/probes.texi: New.
15937         * manual/Makefile (chapters): Add probes.
15938         * manual/threads.texi: Set next node.
15940 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15942         [BZ #15963, #13985]
15943         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15944         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15945         Add `Chinese' to `nan' entry name.
15947 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15949         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15950         (POLYNOMIAL): Likewise.
15951         (TAYLOR_SINCOS): Likewise.
15952         (TAYLOR_SLOW): Likewise.
15953         (__sin): Use TAYLOR_SINCOS.
15954         (__cos): Likewise.
15955         (slow): Use TAYLOR_SLOW.
15956         (sloww): Likewise.
15957         (bsloww): Likewise.
15958         (csloww): Likewise.
15960 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15962         * stdlib/strtod_l.c: Fix buffer overrun.
15964 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15966         * benchtests/Makefile (bench): Add sincos.
15967         * benchtests/bench-sincos.c: New file.
15969         * math/libm-test.inc (cos_test_data): New test inputs.
15970         (sin_test_data): Likewise.
15972         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15973         macro.
15974         (__sin): Use it.
15975         (__cos): Likewise.
15976         (slow1): Likewise.
15977         (slow2): Likewise.
15978         (sloww1): Likewise.
15979         (sloww2): Likewise.
15980         (bsloww1): Likewise.
15981         (bsloww2): Likewise.
15982         (cslow2): Likewise.
15983         (csloww1): Likewise.
15984         (csloww2): Likewise.
15986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15987         function.
15988         (__sin): Use it.
15989         (__cos): Likewise.
15991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15992         gotos.
15993         (__cos): Likewise.
15995 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15997         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15998         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15999         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16000         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16001         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16002         * elf/cache.c (print_entry): Handle the new cache flags.
16004 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16005             Aldy Hernandez  <aldyh@redhat.com>
16007         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16008         Change condition to [_SOFT_FLOAT].
16009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16021         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16024         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16025         declaration.
16027 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16029         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16030         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16031         (__longjmp): Use LOAD_GP to load saved GPRs.
16032         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16033         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16034         (__sigsetjmp): Use SAVE_GP to save GPRs.
16036         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16037         Do not append -msoft-float.
16038         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16040 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16042         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16044 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16046         [BZ #15966]
16047         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16048         (_FPU_GETCW): Use initial "__" on variable and field names but not
16049         on macro parameter name.
16050         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16051         parentheses around reference to macro parameter.
16053 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16055         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16056         prototype.
16057         (ctype_startup): Use uint32_t in cast and sizeof for
16058         ctype->charnames.
16060 2013-09-11  Jia Liu  <proljc@gmail.com>
16062         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16063         __daddr_t_defined.
16064         [__FreeBSD__]: Likewise.
16066 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16069         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16070         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16071         (strchr): Remove __strchr_sse42 ifunc selection.
16072         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16073         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16075 2013-09-11  Will Newton  <will.newton@linaro.org>
16077         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16078         parameter to RES. Remove hardcoded 1000 value.
16079         * benchtests/bench-skeleton.c (main): Pass RES parameter
16080         to TIMING_INIT and multiply result by 1000.
16082 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16086 2013-09-11  Andreas Schwab  <schwab@suse.de>
16088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16089         if not defined.
16090         (O_TMPFILE) [__USE_GNU]: Define.
16091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16092         Define.
16094 2013-09-11  Will Newton  <will.newton@linaro.org>
16096         [BZ #15857]
16097         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16098         does not overflow.
16100 2013-09-11  Will Newton  <will.newton@linaro.org>
16102         [BZ #15856]
16103         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16104         does not overflow.
16106 2013-09-11  Will Newton  <will.newton@linaro.org>
16108         [BZ #15855]
16109         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16110         does not overflow.
16112 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16114         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16115         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16116         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16117         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16118         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16120 2013-09-10  Allan McRae  <allan@archlinux.org>
16122         [BZ #15748]
16123         * manual/arith.texi (Parsing of Floats): Clarify
16124         cross-reference.
16126         [BZ #15849]
16127         * manual/install.texi (Running make install): Mention
16128         --enable-pt-chown.
16129         * INSTALL: Regenerated.
16131 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16133         * csu/init-first.c (_init): Remove the !SHARED condition around
16134         FPU control word initialization.
16135         * elf/dl-support.c (_dl_fpu_control): New variable.
16136         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16137         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16138         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16139         * math/test-fpucw-static.c: New file.
16140         * math/test-fpucw-ieee.c: New file.
16141         * math/test-fpucw-ieee-static.c: New file.
16142         * math/Makefile (tests): Add `test-fpucw-ieee' and
16143         `$(tests-static)'.
16144         (tests-static): New variable.
16145         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16146         dependency to...
16147         [($(build-shared),yes)]
16148         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16149         ... this.
16150         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16151         New dependency.
16153 2013-09-09  Allan McRae  <allan@archlinux.org>
16155         [BZ #15939]
16156         * manual/string.texi (Collation Functions): Fix typo in
16157         strcoll example.
16158         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16160         [BZ #15893]
16161         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16163         [BZ #15892]
16164         * libio/memstream.c (open_memstream): Fix memory leak.
16165         * libio/wmemstream.c (open_wmemstream): Likewise.
16167         [BZ #15895]
16168         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16170 2013-09-09  Will Newton  <will.newton@linaro.org>
16172         * malloc/Makefile: Add tst-realloc to tests.
16173         * malloc/tst-realloc.c: New file.
16175 2013-09-09  Allan McRae  <allan@archlinux.org>
16177         [BZ #15844]
16178         * COPYING: Update from GNU website to fix FSF address.
16179         * COPYING.LIB: Likewise.
16181 2013-09-06  David S. Miller  <davem@davemloft.net>
16183         * po/zh_TW.po: Update Chinese (traditional) translation from
16184         translation project.
16186 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16187             Joseph Myers  <joseph@codesourcery.com>
16189         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16190         "localeinfo.h".
16191         (obstack_chunk_alloc): New macro.
16192         (obstack_chunk_free): Likewise.
16193         (record_offset): New function.
16194         (init_locale_data): Likewise.
16195         (align_locale_data): Likewise.
16196         (add_locale_empty): Likewise.
16197         (add_locale_raw_data): Likewise.
16198         (add_locale_raw_obstack): Likewise.
16199         (add_locale_string): Likewise.
16200         (add_locale_wstring): Likewise.
16201         (add_locale_uint32): Likewise.
16202         (add_locale_uint32_array): Likewise.
16203         (add_locale_char): Likewise.
16204         (start_locale_structure): Likewise.
16205         (end_locale_structure): Likewise.
16206         (start_locale_prelude): Likewise.
16207         (end_locale_prelude): Likewise.
16208         (write_locale_data): Take locale_file structure rather than an
16209         iovec.
16210         * locale/programs/locfile.h: Include "obstack.h".
16211         (struct locale_file): Change to store locale file contents instead
16212         of header.
16213         (init_locale_data): New prototype.
16214         (align_locale_data): Likewise.
16215         (add_locale_empty): Likewise.
16216         (add_locale_raw_data): Likewise.
16217         (add_locale_raw_obstack): Likewise.
16218         (add_locale_string): Likewise.
16219         (add_locale_wstring): Likewise.
16220         (add_locale_uint32): Likewise.
16221         (add_locale_uint32_array): Likewise.
16222         (add_locale_char): Likewise.
16223         (start_locale_structure): Likewise.
16224         (end_locale_structure): Likewise.
16225         (start_locale_prelude): Likewise.
16226         (end_locale_prelude): Likewise.
16227         (write_locale_data): Update prototype.
16228         * locale/programs/3level.h (struct TABLE): Remove result field.
16229         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16230         Use new locale_file interface.
16231         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16232         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16233         * locale/programs/ld-address.c (address_output): Use new
16234         locale_file interface.
16235         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16236         NO_ADD_LOCALE.
16237         (collate_finish): Don't call collseq_table_finalize.
16238         (collate_output): Use new locale_file interface.
16239         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16240         in file.
16241         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16242         (TABLE): Move defines earlier in file.
16243         (ELEMENT): Likewise.
16244         (DEFAULT): Likewise.
16245         (wctrans_table_add): Move macro and inline function earlier in
16246         file.
16247         (struct wctype_table): Move type earlier in file.
16248         (add_locale_wctype_table): New static prototype.
16249         (struct locale_ctype_t): Use logical types instead of struct iovec
16250         pointers for members.
16251         (ctype_output): Use new locale_file interface.
16252         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16253         new locale_file interface.
16254         (allocate_arrays): Update for use of new locale_file interface.
16255         * locale/programs/ld-identification.c (identification_output): Use
16256         new locale_file interface.
16257         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16258         * locale/programs/ld-messages.c (messages_output): Likewise.
16259         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16260         * locale/programs/ld-name.c (name_output): Likewise.
16261         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16262         * locale/programs/ld-paper.c (paper_output): Likewise.
16263         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16264         * locale/programs/ld-time.c (time_output): Likewise.
16266 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16268         * benchtests/Makefile: Add memrchr benchmark.
16269         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16270         benchmark as memrchr.
16271         * benchtests/bench-memrchr-ifunc.c: New file.
16272         * benchtests/bench-memrchr.c: New file.
16274 2013-09-06   Will Newton  <will.newton@linaro.org>
16276         * benchtests/Makefile (string-bench): Add memcpy.
16278 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16279             Cong Wang  <amwang@redhat.com>
16281         [BZ #15850]
16282         * sysdeps/unix/sysv/linux/bits/in.h
16283         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16284         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16285         before __USE_KERNEL_IPV6_DEFS uses.
16286         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16287         IPPROTO_BEETPH.
16288         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16289         sockaddr_in6, or ipv6_mreq.
16291 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16293         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16294         memory access for final bytes in some large inputs.
16295         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16297 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16299         * string/test-memrchr.c: New file.
16300         * string/test-memrchr-ifunc.c: New file.
16301         * string/Makefile: Add new memrchr testcase.
16303 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16305         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16306         fanotify_init returns EPERM.
16308 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16310         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16311         errors.
16312         (top level): Treat second token from macro or constant entries for
16313         allowed headers as allowed.
16314         * include/complex.h: Condition internal declarations on
16315         [!_ISOMAC].
16316         * include/fenv.h: Condition include of <stdbool.h> and internal
16317         declarations on [!_ISOMAC].
16319 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16321         [BZ #15923]
16322         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16324 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16326         * configure.in (--enable-versioning): Remove configure option.
16327         (libc_cv_asm_symver_directive): Remove configure test.
16328         (libc_cv_ld_version_script_option): Likewise.
16329         (VERSIONING): Remove variable and AC_SUBST.
16330         (DO_VERSIONING): Remove AC_DEFINE.
16331         * configure: Regenerated.
16332         * config.h.in (DO_VERSIONING): Remove macro.
16333         * Makerules [$(versioning) = yes]: Change conditionals to
16334         [$(build-shared) = yes].
16335         * config.make.in (versioning): Remove variable.
16336         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16337         [$(build-shared) = yes].
16338         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16339         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16340         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16341         [$(build-shared) = yes].
16342         * extra-lib.mk [$(versioning) = yes]: Likewise.
16343         * hurd/Makefile [$(versioning) = yes]: Likewise.
16344         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16345         [SHARED].
16346         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16347         [SHARED].
16348         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16349         [SHARED && !NO_HIDDEN].
16350         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16351         [SHARED].
16352         [SHARED && DO_VERSIONING]: Likewise..
16353         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16354         [$(build-shared) = yes].
16355         * manual/install.texi (--disable-versioning): Remove
16356         documentation.
16357         * INSTALL: Regenerated.
16358         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16359         to [SHARED].
16360         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16361         [$(build-shared) = yes].
16362         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16363         * sysdeps/i386/i686/multiarch/strstr-c.c
16364         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16365         [SHARED && !NO_HIDDEN].
16366         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16367         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16368         * sysdeps/powerpc/powerpc32/dl-machine.c
16369         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16370         * sysdeps/powerpc/powerpc32/sysdep.h
16371         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16372         to [SHARED && PIC && !NO_HIDDEN].
16373         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16374         conditional to [SHARED].
16376 2013-09-04   Will Newton  <will.newton@linaro.org>
16378         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16379         * benchtests/bench-string.h: Include bench-timing.h instead
16380         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16381         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16382         call to HP_TIMING_DIFF_INIT.
16383         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16384         instead of hp-timing.h macros.
16385         * benchtests/bench-memchr.c: Likewise.
16386         * benchtests/bench-memcmp.c: Likewise.
16387         * benchtests/bench-memcpy.c: Likewise.
16388         * benchtests/bench-memmem.c: Likewise.
16389         * benchtests/bench-memmove.c: Likewise.
16390         * benchtests/bench-memset.c: Likewise.
16391         * benchtests/bench-rawmemchr.c: Likewise.
16392         * benchtests/bench-strcasecmp.c: Likewise.
16393         * benchtests/bench-strcasestr.c: Likewise.
16394         * benchtests/bench-strcat.c: Likewise.
16395         * benchtests/bench-strchr.c: Likewise.
16396         * benchtests/bench-strcmp.c: Likewise.
16397         * benchtests/bench-strcpy.c: Likewise.
16398         * benchtests/bench-strcpy_chk.c: Likewise.
16399         * benchtests/bench-strlen.c: Likewise.
16400         * benchtests/bench-strncasecmp.c: Likewise.
16401         * benchtests/bench-strncat.c: Likewise.
16402         * benchtests/bench-strncmp.c: Likewise.
16403         * benchtests/bench-strncpy.c: Likewise.
16404         * benchtests/bench-strnlen.c: Likewise.
16405         * benchtests/bench-strpbrk.c: Likewise.
16406         * benchtests/bench-strrchr.c: Likewise.
16407         * benchtests/bench-strspn.c: Likewise.
16408         * benchtests/bench-strstr.c: Likewise.
16410 2013-09-04  Will Newton  <will.newton@linaro.org>
16412         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16414 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16416         [BZ #15427]
16417         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16418         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16419         * math/libm-test.inc (lgamma_test_data): Add more tests.
16420         * sysdeps/i386/fpu/libm-test-ulps: Update.
16421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16423 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16425         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16427         Add ifunc.
16428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16429         Add strcmp-sse2-unaligned
16430         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16432 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16434         * Versions.def (libc): Add GLIBC_2.19.
16436 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16438         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16439         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16441 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16443         [BZ #14155]
16444         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16445         intermediate calculations in recurrence.
16446         (__ieee754_ynf): Likewise.
16447         * math/libm-test.inc (jn_test_data): Do not allow spurious
16448         underflow exception.  Add more tests.
16449         (yn_test_data): Add more tests.
16450         * sysdeps/i386/fpu/libm-test-ulps: Update.
16451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16453 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16457 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16459         * csu/init-first.c: Fix then/than typos.
16460         * locale/programs/ld-collate.c: Likewise.
16461         * locale/programs/linereader.h: Likewise.
16462         * manual/charset.texi: Likewise.
16463         * manual/filesys.texi: Likewise.
16464         * manual/stdio.texi: Likewise.
16465         * manual/string.texi: Likewise.
16466         * stdlib/fmtmsg.c: Likewise.
16467         * sysdeps/i386/stpncpy.S: Likewise.
16468         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16470         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16471         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16473 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16475         * elf/dl-open.c: Fix typos.
16476         * iconvdata/gbbig5.c: Likewise.
16477         * iconvdata/iso-2022-jp.c: Likewise.
16478         * iconv/gconv_int.h: Likewise.
16479         * iconv/loop.c: Likewise.
16480         * nis/rpcsvc/nis.h: Likewise.
16481         * resolv/ns_name.c: Likewise.
16482         * stdio-common/vfscanf.c: Likewise.
16483         * streams/stropts.h: Likewise.
16484         * sunrpc/rpc_thread.c: Likewise.
16485         * sysdeps/i386/strpbrk.S: Likewise.
16486         * sysdeps/ieee754/k_standard.c: Likewise.
16487         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16488         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16489         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16490         * sysdeps/mach/hurd/profil.c: Likewise.
16491         * sysdeps/s390/dl-procinfo.h: Likewise.
16492         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16493         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16495         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16496         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16498 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16500         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16503 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16505         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16506         aix specific files.
16507         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16508         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16509         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16510         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16511         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16512         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16513         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16514         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16516 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16517             Roland McGrath  <roland@hack.frob.com>
16519         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16520         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16522 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16524         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16525         __executable_start symbol instead of _start.
16527 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16529         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16530         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16531         Move macros to...
16532         * sysdeps/gnu/ldsodefs.h: ... this new file.
16534         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16535         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16536         instead of ELFOSABI_LINUX.
16538         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16539         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16540         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16541         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16542         Likewise.
16543         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16544         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16545         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16546         Likewise.
16547         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16548         (ibm_extended_long_double): Add ieee_nan member.
16549         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16550         (do_test): New function.
16552         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16553         TEST_TRUNC.
16554         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16555         functions, renamed from truncdfsf_test, trunctfsf_test,
16556         trunctfdf_test.
16557         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16558         functions.
16559         (do_test): Run all these.
16561 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16563         * argp/argp-help.c: Fix typos.
16564         * argp/argp-parse.c: Likewise.
16565         * debug/backtracesyms.c: Likewise.
16566         * elf/elf.h: Likewise.
16567         * malloc/malloc.c: Likewise.
16568         * nis/nis_print.c: Likewise.
16569         * resolv/res_comp.c: Likewise.
16570         * stdlib/stdlib.h: Likewise.
16571         * sunrpc/clnt_tcp.c: Likewise.
16572         * sunrpc/clnt_udp.c: Likewise.
16573         * sunrpc/clnt_unix.c: Likewise.
16574         * sysdeps/unix/bsd/ptsname.c: Likewise.
16575         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16576         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16578         Likewise.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16580         Likewise.
16581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16582         Likewise.
16583         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16585 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16587         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16590 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16592         [BZ #15897]
16593         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16594         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16595         ($(objpfx)bug-dl-leaf): New rule.
16596         ($(objpfx)bug-dl-leaf.so): Likewise.
16597         ($(objpfx)bug-dl-leaf.out): Likewise.
16598         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16599         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16600         * dlfcn/bug-dl-leaf.c: New test.
16601         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16602         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16603         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16604         (dlclose): Likewise.
16605         (dlmopen): Likewise.
16607 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16609         * include/netdb.h [!_ISOMAC]:
16610         Don't include <tls.h>.
16611         (h_errno, __libc_h_errno): Move declaration and macros out of
16612         [_LIBC_REENTRANT].
16614         * include/resolv.h [_RESOLV_H_]:
16615         Don't include <tls.h>.
16616         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16617         * resolv/res_libc.c: Don't include <tls.h>.
16618         (_res): Use __attribute__ ((nocommon)) in place of
16619         __attribute__ ((section (".bss"))).
16621         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16622         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16624         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16626         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16627         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16629         * resolv/res_mkquery.c: Include <sys/time.h>.
16631         * inet/ifreq.c: Moved to ...
16632         * sysdeps/unix/ifreq.c: ... here.
16633         * inet/ifreq.c: New file, true stub version.
16635         * socket/sa_len.c: New file.
16636         * socket/Makefile (aux): Add it.
16637         * sysdeps/unix/sysv/linux/Makefile
16638         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16639         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16640         and #include <socket/sa_len.c>.
16641         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16642         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16644         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16645         * bits/socket.h: ... here.
16647         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16648         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16649         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16651 2013-08-27  Andreas Schwab  <schwab@suse.de>
16653         [BZ #15736]
16654         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16655         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16656         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16657         * string/test-strcasecmp.c (test_main): Run tests in several
16658         locales.
16659         * string/test-strncasecmp.c (test_main): Likewise.
16661         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16662         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16663         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16665         (__strncasecmp_ssse3) [PIC]: Likewise.
16667 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16669         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16671         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16672         instead of explicitly declaring xdecrypt.
16673         * nis/nss_nis/nis-publickey.c: Likewise.
16675 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16677         [BZ #15890]
16678         * nscd/aicache.c: Include res_hconf.h.
16679         (addhstaiX): Initialize res_hconf.
16681 2013-08-26  Andreas Schwab  <schwab@suse.de>
16683         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16684         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16686 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16688         * nscd/aicache.c (addhstaiX): Fix indentation.
16690 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16692         * configure.ac: Quote $build_pt_chown test.
16693         * configure: Regenerated.
16695 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16697         [BZ #15532]
16698         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16699         * math/s_cexpf.c (__cexpf): Likewise.
16700         * math/s_cexpl.c (__cexpl): Likewise.
16701         * math/libm-test.inc (cexp_test_data): Correct expected return
16702         value for NaN + i0.  Add another test.
16704 2013-08-22  David S. Miller  <davem@davemloft.net>
16706         * po/ca.po: Update Catalan translation from translation project.
16707         * po/uk.po: Add Ukrainian translations from translation project.
16709 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16711         [BZ #15797]
16712         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16713         is infinite, not alongside NaN test.
16714         * math/s_fdimf.c (__fdimf): Likewise.
16715         * math/s_fdiml.c (__fdiml): Likewise.
16716         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16717         errno is unchanged.
16719 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16721         * argp/argp-help.c: Fix typos.
16722         * crypt/speeds.c: Likewise.
16723         * csu/check_fds.c: Likewise.
16724         * elf/dl-load.c: Likewise.
16725         * elf/dl-open.c: Likewise.
16726         * elf/reldep3.c: Likewise.
16727         * elf/reldep.c: Likewise.
16728         * elf/sprof.c: Likewise.
16729         * iconv/iconv_charmap.c: Likewise.
16730         * iconv/skeleton.c: Likewise.
16731         * iconv/strtab.c: Likewise.
16732         * io/lockf64.c: Likewise.
16733         * libio/libioP.h: Likewise.
16734         * resolv/gai_notify.c: Likewise.
16735         * resolv/ns_name.c: Likewise.
16736         * resolv/ns_samedomain.c: Likewise.
16737         * resolv/res_send.c: Likewise.
16738         * stdlib/random.c: Likewise.
16739         * sunrpc/rpc/xdr.h: Likewise.
16740         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16741         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16742         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16743         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16744         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16745         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16746         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16747         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16748         * sysdeps/mach/hurd/check_fds.c: Likewise.
16749         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16750         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16751         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16752         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16753         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16754         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16755         * sysdeps/pthread/aio_notify.c: Likewise.
16756         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16757         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16758         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16759         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16760         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16762 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16764         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16765         version if bit_Slow_SSE4_2 is set.
16766         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16769 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16771         [BZ #15867]
16772         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16773         trampoline stack frame information.
16774         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16776         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16777         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16778         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16779         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16780         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16781         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16782         sa_flags value.
16783         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16784         interrupting a syscall and set with option SA_SIGINFO.
16786 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16788         [BZ #15531]
16789         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16790         argument is infinite.
16791         * math/s_cprojf.c (__cprojf): Likewise.
16792         * math/s_cprojl.c (__cprojl): Likewise.
16793         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16794         * math/libm-test.inc (cproj_test_data): Add more tests.
16796         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16798         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16799         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16800         size.  Use __ffs to determine corresponding shift.
16802 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16803             Roland McGrath  <roland@hack.frob.com>
16805         * Makefile (INSTALL): Remove trailing blank lines from output of
16806         makeinfo.
16808 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16810         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16811         Align 32 bit compat elf_greg to 8 bytes.
16813 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16815         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16817 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16819         * string/strcoll_l.c (coll_seq): New structure.
16820         (get_next_seq_cached): New function.
16821         (get_next_seq): New function.
16822         (do_compare): New function.
16823         (STRCOLL): Use GNU style definition.  Simplify implementation
16824         by using get_next_seq, get_next_seq_cached and do_compare.
16826 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16828         [BZ #14699]
16829         CVE-2013-4237
16830         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16831         member.
16832         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16833         member.
16834         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16835         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16836         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16837         conditional.
16838         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16839         GETDENTS_64BIT_ALIGNED.
16840         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16841         * manual/filesys.texi (Reading/Closing Directory): Document
16842         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16843         strongly.
16844         * manual/conf.texi (Limits for Files): Add portability note to
16845         NAME_MAX, PATH_MAX.
16846         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16848 2013-08-13  Andreas Schwab  <schwab@suse.de>
16850         [BZ #15749]
16851         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16852         of fabs.
16853         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16854         LDBL_MAX_EXP >= 16384]: Add tests for it.
16856 2013-08-12  David S. Miller  <davem@davemloft.net>
16858         * version.h (RELEASE): Set to "development".
16859         (VERSION): Set to "2.18.90".
16860         * NEWS: Add 2.19 section.
16862 2013-08-03  David S. Miller  <davem@davemloft.net>
16864         * po/ko.po: Update Korean translation from translation project.
16866 2013-08-01  David S. Miller  <davem@davemloft.net>
16868         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16869         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16870         Bilka.
16872 2013-07-30  David S. Miller  <davem@davemloft.net>
16874         * po/fr.po: Update French translation from translation project.
16876 2013-07-28  David S. Miller  <davem@davemloft.net>
16878         * po/cs.po: Update Czech translation from translation project.
16880         * po/sv.po: Update Swedish translation from translation project.
16882 2013-07-27  David S. Miller  <davem@davemloft.net>
16884         * po/eo.po: Update Esperanto translation from translation project.
16886         * po/vi.po: Update Vietnamese translation from translation project.
16888         * po/de.po: Update German translation from translation project.
16890 2013-07-26  David S. Miller  <davem@davemloft.net>
16892         * po/bg.po: Update Bulgarian translation from translation project.
16894         * po/nl.po: Update Dutch translation from translation project.
16895         * po/pl.po: Update Polish translation from translation project.
16896         * po/ru.po: Update Russian translation from translation project.
16898 2013-07-24  David S. Miller  <davem@davemloft.net>
16900         * po/libc.pot: Update.
16902 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16904         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16905         variable page size.
16906         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16907         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16908         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16910 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16912         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16914 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16915             Andreas Schwab  <schwab@suse.de>
16916             Roland McGrath  <roland@hack.frob.com>
16917             Joseph Myers  <joseph@codesourcery.com>
16918             Carlos O'Donell  <carlos@redhat.com>
16920         [BZ #15755]
16921         * config.h.in: Define HAVE_PT_CHOWN.
16922         * config.make.in (build-pt-chown): New variable.
16923         * configure.in (--enable-pt_chown): New configure option.
16924         * configure: Regenerate.
16925         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16926         build-pt-chown is enabled.
16927         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16928         pt_chown to fix pty ownership.
16929         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16930         CLOSE_ALL_FDS.
16931         * manual/install.texi (Configuring and compiling): Mention
16932         --enable-pt_chown. Add @findex for grantpt.
16933         * INSTALL: Regenerate.
16935 2013-07-20  David S. Miller  <davem@davemloft.net>
16937         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16938         difference between 32-bit and 64-bit.
16940 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16942         [BZ #15711]
16943         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16944         Avoid system header dependency with -ffreestanding.
16945         ($(objpfx)bits/syscall%d): Likewise.
16947 2013-07-13  David S. Miller  <davem@davemloft.net>
16949         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16950         underflows from atanl/atan2l due to bug 15319.
16951         (casinh_test_data): Likewise.
16953 2013-07-07  David S. Miller  <davem@davemloft.net>
16955         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16957 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16959         * sysdeps/i386/fpu/libm-test-ulps: Update.
16960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16962 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16964         * configure.in (--enable-lock-elision): Fix message text.
16965         * INSTALL: Regenerate.
16966         * configure: Regenerate.
16968 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16972 2013-07-03  Andreas Jaeger  <aj@suse.de>
16974         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16975         define.
16976         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16977         (ptrace_peeksiginfo_args): Add.
16978         (__ptrace_peeksiginfo_flags): Add.
16979         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16981         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16983 2013-07-03  Allan McRae  <allan@archlinux.org>
16985         * sysdeps/i386/fpu/libm-test-ulps: Update.
16987 2013-07-02  David S. Miller  <davem@davemloft.net>
16989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16991 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16995 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16997         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17000 2013-07-02  Andi Kleen <ak@linux.intel.com>
17002         * config.h.in (ENABLE_LOCK_ELISION): Add.
17003         * configure.in (--enable-lock-elision): Add option.
17004         * manual/install.texi: Document --enable lock elision.
17005         * configure: Regenerate
17006         * INSTALL: Regenerate.
17008 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17010         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17011         SSE4.2 strcasecmp for libc.a.
17012         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17014 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17016         [BZ #13304]
17017         * soft-fp/op-common.h (_FP_FMA): New macro.
17018         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17019         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17020         (_FP_MUL_MEAT_1_imm): ... here.
17021         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17022         (_FP_MUL_MEAT_1_wide): ... here.
17023         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17024         (_FP_MUL_MEAT_1_hard): ... here.
17025         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17026         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17027         (_FP_MUL_MEAT_2_wide): ... here.
17028         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17029         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17030         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17031         (_FP_MUL_MEAT_2_gmp): ... here.
17032         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17033         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17034         (_FP_MUL_MEAT_4_wide): ... here.
17035         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17036         (_FP_MUL_MEAT_4_gmp): ... here.
17037         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17038         (_FP_WFRACBITS_DW_S): Likewise.
17039         (_FP_WFRACXBITS_DW_S): Likewise.
17040         (_FP_HIGHBIT_DW_S): Likewise.
17041         (FP_FMA_S): Likewise.
17042         (_FP_FRAC_HIGH_DW_S): Likewise.
17043         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17044         (_FP_WFRACBITS_DW_D): Likewise.
17045         (_FP_WFRACXBITS_DW_D): Likewise.
17046         (_FP_HIGHBIT_DW_D): Likewise.
17047         (FP_FMA_D): Likewise.
17048         (_FP_FRAC_HIGH_DW_D): Likewise.
17049         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17050         (_FP_WFRACBITS_DW_E): Likewise.
17051         (_FP_WFRACXBITS_DW_E): Likewise.
17052         (_FP_HIGHBIT_DW_E): Likewise.
17053         (FP_FMA_E): Likewise.
17054         (_FP_FRAC_HIGH_DW_E): Likewise.
17055         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17056         (_FP_WFRACBITS_DW_Q): Likewise.
17057         (_FP_WFRACXBITS_DW_Q): Likewise.
17058         (_FP_HIGHBIT_DW_Q): Likewise.
17059         (FP_FMA_Q): Likewise.
17060         (_FP_FRAC_HIGH_DW_Q): Likewise.
17061         * soft-fp/fmasf4.c: New file.
17062         * soft-fp/fmadf4.c: Likewise.
17063         * soft-fp/fmatf4.c: Likewise.
17065 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17068         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17069         Silvermont.
17070         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17071         macro.
17072         (index_Slow_SSE4_2): Likewise.
17073         (index_Prefer_PMINUB_for_stringop): Likewise.
17074         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17075         bit_Slow_SSE4_2 is set.
17076         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17079 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17081         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17082         rtld_global._dl_hwcap2.
17083         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17084         POWER8.
17085         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17086         POWER8 feature descriptions defined in _dl_hwcap2.
17087         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17088         string handling for POWER8 feature bits.
17089         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17090         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17091         _dl_powerpc_cap_flags.
17092         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17093         * sysdeps/powerpc/rtld-global-offsets.sym
17094         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17095         _dl_hwcap2 in the rtld_global_ro structure.
17097 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17099         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17100         hardware capabilities in support of AT_HWCAP2.
17101         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17102         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17103         GLRO(dl_hwcap2).
17104         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17105         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17106         explicitly the unknown a_type display mechanism is used.
17107         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17108         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17109         struct member.
17110         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17111         to macro prototype for AT_HWCAP2 support.
17112         * sysdeps/i386/dl-procinfo.h: Likewise.
17113         * sysdeps/s390/dl-procinfo.h: Likewise.
17114         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17115         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17116         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17117         return -1 for unknown a_type display fallback.
17118         * sysdeps/sparc/dl-procinfo.h: Likewise.
17119         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17120         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17122 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17124         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17125         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17127 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17129         [BZ #12492]
17130         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17131         mprotect making __stack_prot writable.
17133 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17134             Joseph Myers  <joseph@codesourcery.com>
17136         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17137         as being properly aligned.
17139 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17141         * dlfcn/modstatic5.c: New file.
17142         * dlfcn/tststatic5.c: New file.
17143         * dlfcn/Makefile (tests): Add tststatic5.
17144         (tests-static): Likewise.
17145         (modules-names): Add modstatic5.
17146         (tststatic5-ENV): New variable.
17147         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17149         [BZ #15022]
17150         * elf/dl-support.c (_dl_main_map): New variable.
17151         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17152         (_dl_nns, _dl_load_adds): Set to 1.
17153         (_dl_initial_searchlist): Refer to _dl_main_map.
17154         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17155         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17156         call to _dl_get_origin.
17157         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17158         around call_map.
17159         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17160         * dlfcn/modstatic3.c: New file.
17161         * dlfcn/tststatic3.c: New file.
17162         * dlfcn/tststatic4.c: New file.
17163         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17164         (tests-static): Likewise.
17165         (modules-names): Add modstatic3.
17166         (tststatic3-ENV, tststatic4-ENV): New variables.
17167         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17168         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17170 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17172         * configure.in (CC): Require GCC version 4.4 or later.
17173         * configure: Regenerated.
17174         * manual/install.texi (Tools for Compilation): Update GCC version
17175         requirement.
17176         * INSTALL: Regenerated.
17178 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17180         [BZ #15674]
17181         * string/test-memcmp.c (check2): New.
17182         (main): Call check2.
17184         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17186 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17188         [BZ #15022]
17189         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17190         over to...
17191         (dl_open_worker) [!SHARED]: ... here.
17193 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17195         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17197 2013-06-25  Richard Henderson  <rth@redhat.com>
17199         * locale/programs/locarchive.c: Include <libc-internal.h>
17201 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17203         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17204         trailing whitespace removed.
17206 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17208         [BZ #10283]
17209         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17210         * locale/programs/locarchive.c: Include libc-mmap.h.
17211         (prepare_address_space): Take two new outputs (the mmap base and len).
17212         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17213         values.
17214         (create_archive): Declare new mmap base and len values for
17215         prepare_address_space, and store the result in ah.
17216         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17217         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17218         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17219         Declare new mmap base and len values for
17220         prepare_address_space, and store the result in new_ah.
17221         (open_archive): Declare new mmap base and len values for
17222         prepare_address_space, and store the result in ah.
17223         (close_archive): If ah->mmap_base is not NULL, use that and
17224         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17225         * sysdeps/generic/libc-mmap.h: New file.
17227 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17229         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17230         (ALIGN_UP): Likewise.
17231         (PTR_ALIGN_DOWN): Likewise.
17232         (PTR_ALIGN_UP): Likewise.
17234 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17236         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17237         entry mapped to PPC_PLATFORM_POWER8.
17238         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17239         POWER8.
17240         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17241         (_dl_string_platform): Add case for exporting platform position for
17242         POWER8.
17243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17244         search path to sysdeps/powerpc/powerpc32/power8 directory.
17245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17246         search path to sysdeps/powerpc/powerpc64/power8 directory.
17247         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17248         power7 directories.
17249         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17250         power7 directories.
17252 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17254         * INSTALL: Regenerate.
17256         * nscd/connections.c (nscd_init): Fix comment.
17258 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17260         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17262         [BZ #15667]
17263         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17264         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17266 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17268         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17269         DL_DST_REQ_STATIC.
17270         (DL_DST_REQ_STATIC): Remove macro.
17272 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17274         [BZ #7006]
17275         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17276         with a shift of 0 bits.
17278 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17280         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17281         $(tststatic-ENV).
17283 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17285         [BZ #15655]
17286         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17288 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17290         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17291         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17292         accepts -fno-tree-loop-distribute-patterns.
17293         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17294         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17295         recursive call.
17296         * string/memset.c (memset): Likewise.
17297         * string/test-memmove.c (simple_memmove): Disable loop transformation
17298         to library calls.
17299         * string/test-memset.c (simple_memset): Likewise.
17300         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17301         * benchtests/bench-memset.c (simple_memset): Likewise.
17302         * configure: Regenerated.
17304 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17306         * math/test-misc.c (main): Ignore fesetround failure when failures
17307         of subsequent rounding tests would be ignored.
17309         [BZ #15654]
17310         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17311         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17312         * math/fegetenv.c (__fegetenv): Return 0.
17313         * math/fegetexcept.c (fegetexcept): Return 0.
17314         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17315         FE_TONEAREST.
17316         * math/feholdexcpt.c (feholdexcept): Return 0.
17317         * math/fesetenv.c (__fesetenv): Return 0.
17318         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17319         argument FE_TONEAREST.
17320         * math/feupdateenv.c (__feupdateenv): Return 0.
17321         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17323 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17325         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17326         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17327         ($(objpfx)rtld-%.os rules): Use them.
17329 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17331         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17332         fields.
17334 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17336         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17337         length of target pattern, then descending length of dependency pattern.
17338         * configure.in (AWK): Require gawk 3.1.2 or newer.
17339         * manual/install.texi (Tools for Compilation): Say that we do.
17340         * configure: Regenerated.
17342         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17343         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17344         * scripts/sysd-rules.awk: ... this new script.
17345         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17346         than a glob-style pattern.
17348 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17350         * math/test-misc.c (main): Do not treat incorrectly rounded
17351         conversions as failure unless ROUNDING_TESTS passes.
17353 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17355         [BZ #15631]
17356         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17357         restore exception state around main square root computation, then
17358         check for inexactness explicitly.
17360         * math/libm-test.inc (fma_test_data): Add another test.
17362 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17364         * manual/threads.texi (Non-POSIX Extensions): New document
17365         node.  Document pthread_getattr_default_np and
17366         pthread_setattr_default_np.
17368         * Versions.def (libpthread): Add GLIBC_2.18.
17369         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17373         Likewise.
17374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17375         Likewise.
17376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17377         Likewise.
17378         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17379         Likewise.
17380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17381         Likewise.
17382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17385         Likewise.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17387         Likewise.
17389 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17392         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17394 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17395             H.J. Lu  <hjl.tools@gmail.com>
17397         [BZ #15627]
17398         * sysdeps/x86_64/rtld-memset.c: Remove file.
17399         * sysdeps/x86_64/rtld-memset.S: New file.
17401 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17403         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17404         (test_in_one_mode): Take arguments for whether the rounding mode
17405         is supported for each floating-point type.
17406         (do_test): Pass new arguments to test_in_one_mode using
17407         ROUNDING_TESTS.
17409 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17411         * posix/tst-waitid.c (do_test): Distinguish different instances of
17412         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17413         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17414         before entering the kernel for waitpid.
17416 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17418         * NEWS: Fix note on clock function precision.  Text by Roland
17419         McGrath.
17421 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17423         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17424         it into place only when and if the sanity check passes.
17426 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17428         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17429         output for whether conversion result is exact.  Take argument
17430         indicating whether type is IBM long double.
17431         (round_for_all): Change need_exact field to ibm_ld.
17432         * stdlib/tst-strtod-round.c (struct exactness): New type.
17433         (struct test): Change bool ld_ok field to struct exactness exact.
17434         (TEST): Update all definitions for change to field.
17435         (tests): Regenerate array contents.
17436         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17437         field value.  Check for IBM long double here.
17438         (do_test): Update calls to test_in_one_mode.
17440 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17442         [BZ #12515]
17443         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17444         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17446 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17448         [BZ #15605]
17449         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17450         generated by the compiler on loop optimizations.
17451         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17452         general definitions.
17454 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17456         * math/bug-nextafter.c: Include <math-tests.h>.
17457         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17458         the relevant type.
17459         * math/bug-nexttoward.c: Include <math-tests.h>.
17460         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17461         the relevant type.
17462         * math/test-misc.c: Include <math-tests.h>.
17463         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17464         the relevant type.
17466 2013-06-12  Andreas Jaeger  <aj@suse.de>
17468         * po/ia.po: Update Interlingua translation from translation
17469         project.
17471 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17473         * include/fenv.h: Include stdbool.h.
17474         (struct rm_ctx): New structure.
17475         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17476         Define macro.
17477         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17478         (SET_RESTORE_ROUNDF): Likewise.
17479         (SET_RESTORE_ROUNDL): Likewise.
17480         (SET_RESTORE_ROUND_NOEX): Likewise.
17481         (SET_RESTORE_ROUND_NOEXF): Likewise.
17482         (SET_RESTORE_ROUND_NOEXL): Likewise.
17483         (SET_RESTORE_ROUND_53BIT): Likewise.
17484         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17485         (libc_feresetround_noexf_ctx): Likewise.
17486         (libc_feresetround_noexl_ctx): Likewise.
17487         (libc_feholdsetround_53bit_ctx): Likewise.
17488         (libc_feresetround_53bit_ctx): Likewise.
17489         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17490         (libc_feholdexcept_setround_sse_ctx): New function.
17491         (libc_fesetenv_sse_ctx): Likewise.
17492         (libc_feupdateenv_sse_ctx): Likewise.
17493         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17494         (libc_feholdexcept_setround_387_ctx): Likewise.
17495         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17496         (libc_feholdsetround_387_prec_ctx): Likewise.
17497         (libc_feholdsetround_387_ctx): Likewise.
17498         (libc_feholdsetround_387_53bit_ctx): Likewise.
17499         (libc_feholdsetround_sse_ctx): Likewise.
17500         (libc_feresetround_sse_ctx): Likewise.
17501         (libc_feresetround_387_ctx): Likewise.
17502         (libc_feupdateenv_387_ctx): Likewise.
17503         (libc_feholdexcept_setroundf_ctx): Define macro.
17504         (libc_fesetenvf_ctx): Likewise.
17505         (libc_feupdateenvf_ctx): Likewise.
17506         (libc_feholdsetroundf_ctx): Likewise.
17507         (libc_feresetroundf_ctx): Likewise.
17508         (libc_feholdexcept_setround_ctx): Likewise.
17509         (libc_fesetenv_ctx): Likewise.
17510         (libc_feupdateenv_ctx): Likewise.
17511         (libc_feholdsetround_ctx): Likewise.
17512         (libc_feresetround_ctx): Likewise.
17513         (libc_feholdexcept_setroundl_ctx): Likewise.
17514         (libc_feupdateenvl_ctx): Likewise.
17515         (libc_feholdsetroundl_ctx): Likewise.
17516         (libc_feresetroundl_ctx): Likewise.
17517         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17518         (libc_feresetround_53bit_ctx): Likewise.
17520 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17522         * locale/iso-639.def: Convert to UTF-8.
17524 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17526         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17527         (EXCEPTION_TESTS_double): Likewise.
17528         (EXCEPTION_TESTS_long_double): Likewise.
17529         (EXCEPTION_TESTS): Likewise.
17530         * math/libm-test.inc (test_exceptions): Only test exceptions if
17531         EXCEPTION_TESTS (FLOAT).
17533 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17535         * benchtests/Makefile (string-bench): Add strcpy_chk and
17536         stpcpy_chk.
17537         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17538         * benchtests/bench-stpcpy_chk.c: New file.
17539         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17540         * benchtests/bench-strcpy_chk.c: New file.
17541         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17542         code.
17543         (do_test): Likewise.
17545 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17548         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17549         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17550         with tabs where appropriate.
17551         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17552         dl-procinfo.h.
17553         [PPC_PLATFORM_PPC440]: Likewise.
17554         [PPC_PLATFORM_PPC464]: Likewise.
17555         [PPC_PLATFORM_PPC476]: Likewise.
17556         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17557         ppc464, and ppc476 platform strings merging from ports/
17558         dl-procinfo.h.
17560 2013-06-11  Andreas Schwab  <schwab@suse.de>
17562         [BZ #14991]
17563         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17564         (from_ucs4_idx): Regenerate.
17565         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17566         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17567         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17568         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17569         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17570         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17571         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17572         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17573         from FROM_LOOP and TO_LOOP specific macros.
17574         (BODY): Handle combining characters.
17575         * iconvdata/BIG5HKSCS.irreversible: Update.
17576         * iconvdata/BIG5HKSCS.precomposed: New file.
17577         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17578         characters.
17579         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17581 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17583         * include/sys/time.h: Fix indentation and add copyright header.
17585         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17586         (do_test): Likewise.
17587         * string/test-memchr.c (do_one_test): Likewise.
17588         (do_test): Likewise.
17589         * string/test-memcmp.c (do_one_test): Likewise.
17590         (do_test): Likewise.
17591         * string/test-memcpy.c (do_one_test): Likewise.
17592         (do_test): Likewise.
17593         * string/test-memmem.c (do_one_test): Likewise.
17594         (do_test): Likewise.
17595         (do_random_tests): Likewise.
17596         * string/test-memmove.c (do_one_test): Likewise.
17597         (do_test): Likewise.
17598         * string/test-memset.c (do_one_test): Likewise.
17599         (do_test): Likewise.
17600         * string/test-rawmemchr.c (do_one_test): Likewise.
17601         (do_test): Likewise.
17602         * string/test-strcasecmp.c (do_one_test): Likewise.
17603         (do_test): Likewise.
17604         * string/test-strcasestr.c (do_one_test): Likewise.
17605         (do_test): Likewise.
17606         * string/test-strcat.c (do_one_test): Likewise.
17607         (do_test): Likewise.
17608         * string/test-strchr.c (do_one_test): Likewise.
17609         (do_test): Likewise.
17610         * string/test-strcmp.c (do_one_test): Likewise.
17611         (do_test): Likewise.
17612         * string/test-strcpy.c (do_one_test): Likewise.
17613         (do_test): Likewise.
17614         * string/test-string.h: Likewise.
17615         (test_init): Likewise.
17616         * string/test-strlen.c (do_one_test): Likewise.
17617         (do_test): Likewise.
17618         * string/test-strncasecmp.c (do_one_test): Likewise.
17619         (do_test): Likewise.
17620         * string/test-strncat.c (do_one_test): Likewise.
17621         (do_test): Likewise.
17622         * string/test-strncmp.c (do_one_test): Likewise.
17623         (do_test_limit): Likewise.
17624         (do_test): Likewise.
17625         * string/test-strncpy.c (do_one_test): Likewise.
17626         (do_test): Likewise.
17627         * string/test-strnlen.c (do_one_test): Likewise.
17628         (do_test): Likewise.
17629         * string/test-strpbrk.c (do_one_test): Likewise.
17630         (do_test): Likewise.
17631         * string/test-strrchr.c (do_one_test): Likewise.
17632         (do_test): Likewise.
17633         * string/test-strspn.c (do_one_test): Likewise.
17634         (do_test): Likewise.
17635         * string/test-strstr.c (do_one_test): Likewise.
17636         (do_test): Likewise.
17638         * benchtests/Makefile (string-bench): Add string benchmarks.
17639         * benchtests/bench-bcopy-ifunc.c: New file.
17640         * benchtests/bench-bcopy.c: New file.
17641         * benchtests/bench-bzero-ifunc.c: New file.
17642         * benchtests/bench-bzero.c: New file.
17643         * benchtests/bench-memccpy-ifunc.c: New file.
17644         * benchtests/bench-memccpy.c: New file.
17645         * benchtests/bench-memchr-ifunc.c: New file.
17646         * benchtests/bench-memchr.c: New file.
17647         * benchtests/bench-memcmp-ifunc.c: New file.
17648         * benchtests/bench-memcmp.c: New file.
17649         * benchtests/bench-memmem-ifunc.c: New file.
17650         * benchtests/bench-memmem.c: New file.
17651         * benchtests/bench-memmove-ifunc.c: New file.
17652         * benchtests/bench-memmove.c: New file.
17653         * benchtests/bench-mempcpy-ifunc.c: New file.
17654         * benchtests/bench-mempcpy.c: New file.
17655         * benchtests/bench-memset-ifunc.c: New file.
17656         * benchtests/bench-memset.c: New file.
17657         * benchtests/bench-rawmemchr-ifunc.c: New file.
17658         * benchtests/bench-rawmemchr.c: New file.
17659         * benchtests/bench-stpcpy-ifunc.c: New file.
17660         * benchtests/bench-stpcpy.c: New file.
17661         * benchtests/bench-stpncpy-ifunc.c: New file.
17662         * benchtests/bench-stpncpy.c: New file.
17663         * benchtests/bench-strcasecmp-ifunc.c: New file.
17664         * benchtests/bench-strcasecmp.c: New file.
17665         * benchtests/bench-strcasestr-ifunc.c: New file.
17666         * benchtests/bench-strcasestr.c: New file.
17667         * benchtests/bench-strcat-ifunc.c: New file.
17668         * benchtests/bench-strcat.c: New file.
17669         * benchtests/bench-strchr-ifunc.c: New file.
17670         * benchtests/bench-strchr.c: New file.
17671         * benchtests/bench-strchrnul-ifunc.c: New file.
17672         * benchtests/bench-strchrnul.c: New file.
17673         * benchtests/bench-strcmp-ifunc.c: New file.
17674         * benchtests/bench-strcmp.c: New file.
17675         * benchtests/bench-strcpy-ifunc.c: New file.
17676         * benchtests/bench-strcpy.c: New file.
17677         * benchtests/bench-strcspn-ifunc.c: New file.
17678         * benchtests/bench-strcspn.c: New file.
17679         * benchtests/bench-strlen-ifunc.c: New file.
17680         * benchtests/bench-strlen.c: New file.
17681         * benchtests/bench-strncasecmp-ifunc.c: New file.
17682         * benchtests/bench-strncasecmp.c: New file.
17683         * benchtests/bench-strncat-ifunc.c: New file.
17684         * benchtests/bench-strncat.c: New file.
17685         * benchtests/bench-strncmp-ifunc.c: New file.
17686         * benchtests/bench-strncmp.c: New file.
17687         * benchtests/bench-strncpy-ifunc.c: New file.
17688         * benchtests/bench-strncpy.c: New file.
17689         * benchtests/bench-strnlen-ifunc.c: New file.
17690         * benchtests/bench-strnlen.c: New file.
17691         * benchtests/bench-strpbrk-ifunc.c: New file.
17692         * benchtests/bench-strpbrk.c: New file.
17693         * benchtests/bench-strrchr-ifunc.c: New file.
17694         * benchtests/bench-strrchr.c: New file.
17695         * benchtests/bench-strspn-ifunc.c: New file.
17696         * benchtests/bench-strspn.c: New file.
17697         * benchtests/bench-strstr-ifunc.c: New file.
17698         * benchtests/bench-strstr.c: New file.
17700         * benchtests/Makefile: Disable parallel execution of targets.
17701         (string-bench): Add memcpy.
17702         (benchset): New variable to store a list of benchmark sets.
17703         (bench-func): Renamed from bench.
17704         (bench-set): New target.
17705         (bench): Depend on bench-func and bench-set.
17706         * benchtests/README: Add section on benchmark sets.
17707         * benchtests/bench-memcpy-ifunc.c: New file.
17708         * benchtests/bench-memcpy.c: New file.
17709         * benchtests/bench-string.h: New file.
17711 2013-06-11  Andreas Schwab  <schwab@suse.de>
17713         [BZ #15577]
17714         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17715         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17716         values in the triple.
17717         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17718         terminator in the group key.
17720 2013-06-11  Andreas Jaeger  <aj@suse.de>
17722         * po/zh_TW.po: Update Chinese (traditional) translation from
17723         translation project.
17725 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17727         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17728         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17729         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17730         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17731         (clock_getcpuclockid): Likewise.
17732         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17733         Add weak_alias and libc_hidden_def.
17734         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17735         * rt/clock_gettime.c (clock_gettime): Rename to
17736         __clock_gettime.  Add weak_alias and libc_hidden_def.
17737         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17738         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17739         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17740         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17741         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17742         Likewise.
17743         * rt/clock_settime.c (clock_settime): Rename to
17744         __clock_settime.  Add weak_alias and libc_hidden_def.
17745         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17747 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17749         * mach/err_boot.sub: Remove trailing whitespace.
17750         * mach/err_ipc.sub: Likewise.
17751         * mach/err_mach.sub: Likewise.
17753         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17754         (ROUNDING_TESTS_double): Likewise.
17755         (ROUNDING_TESTS_long_double): Likewise.
17756         (ROUNDING_TESTS): Likewise.
17757         * math/libm-test.inc: Include <math-tests.h>.
17758         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17759         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17760         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17761         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17763 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17765         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17766         of assigning.
17768 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17770         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17771         otherwise empty TRANS lines.
17772         * sysdeps/gnu/errlist.c: Regenerated.
17774         * catgets/gencat.c (error_print): Use (void) in function
17775         definition.
17776         * crypt/crypt_util.c (__init_des): Likewise.
17777         * crypt/speeds.c (Stop): Likewise.
17778         (main): Likewise.
17779         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17780         * inet/ruserpass.c (token): Likewise.
17781         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17782         * intl/localealias.c (extend_alias_table): Likewise.
17783         * intl/plural-exp.c (init_germanic_plural): Likewise.
17784         * libio/fcloseall.c (__fcloseall): Likewise.
17785         * libio/genops.c (_IO_flush_all): Likewise.
17786         (_IO_flush_all_linebuffered): Likewise.
17787         (_IO_cleanup): Likewise.
17788         (_IO_iter_begin): Likewise.
17789         (_IO_iter_end): Likewise.
17790         (_IO_list_lock): Likewise.
17791         (_IO_list_unlock): Likewise.
17792         (_IO_list_resetlock): Likewise.
17793         * libio/getchar.c (getchar): Likewise.
17794         * libio/getchar_u.c (getchar_unlocked): Likewise.
17795         * libio/getwchar.c (getwchar): Likewise.
17796         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17797         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17798         * login/getpt.c (__getpt): Likewise.
17799         * login/tst-utmp.c (main): Likewise.
17800         * malloc/hooks.c (__malloc_check_init): Likewise.
17801         * malloc/malloc.c (__malloc_stats): Likewise.
17802         * malloc/mtrace.c (tr_break): Likewise.
17803         (mtrace): Likewise.
17804         (muntrace): Likewise.
17805         * misc/fstab.c (endfsent): Likewise.
17806         * misc/getclktck.c (__getclktck): Likewise.
17807         * misc/getdtsz.c (__getdtablesize): Likewise.
17808         * misc/gethostid.c (gethostid): Likewise.
17809         * misc/getpagesize.c (__getpagesize): Likewise.
17810         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17811         (__get_nprocs): Likewise.
17812         (__get_phys_pages): Likewise.
17813         (__get_avphys_pages): Likewise.
17814         * misc/getttyent.c (getttyent): Likewise.
17815         (setttyent): Likewise.
17816         (endttyent): Likewise.
17817         * misc/getusershell.c (getusershell): Likewise.
17818         (endusershell): Likewise.
17819         (setusershell): Likewise.
17820         (initshells): Likewise.
17821         * misc/hsearch.c (__hdestroy): Likewise.
17822         * misc/sync.c (sync): Likewise.
17823         * misc/syslog.c (closelog_internal): Likewise.
17824         (closelog): Likewise.
17825         * misc/ttyslot.c (ttyslot): Likewise.
17826         * misc/vhangup.c (vhangup): Likewise.
17827         * posix/fork.c (__fork): Likewise.
17828         * posix/getegid.c (__getegid): Likewise.
17829         * posix/geteuid.c (__geteuid): Likewise.
17830         * posix/getgid.c (__getgid): Likewise.
17831         * posix/getpid.c (__getpid): Likewise.
17832         * posix/getppid.c (__getppid): Likewise.
17833         * posix/getuid.c (__getuid): Likewise.
17834         * posix/pause.c (pause): Likewise.
17835         * posix/setpgrp.c (setpgrp): Likewise.
17836         * posix/setsid.c (__setsid): Likewise.
17837         * posix/test-vfork.c (noop): Likewise.
17838         * resolv/gethnamaddr.c (_endhtent): Likewise.
17839         (_gethtent): Likewise.
17840         (ht_endhostent): Likewise.
17841         (gethostent): Likewise.
17842         (dns_service): Likewise.
17843         * stdlib/drand48.c (drand48): Likewise.
17844         * stdlib/lrand48.c (lrand48): Likewise.
17845         * stdlib/mrand48.c (mrand48): Likewise.
17846         * stdlib/rand.c (rand): Likewise.
17847         * stdlib/random.c (__random): Likewise.
17848         * stdlib/setenv.c (clearenv): Likewise.
17849         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17850         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17851         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17852         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17853         (__get_nprocs): Likewise.
17854         (__get_phys_pages): Likewise.
17855         (__get_avphys_pages): Likewise.
17856         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17857         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17858         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17859         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17860         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17861         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17862         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17863         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17864         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17865         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17866         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17867         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17868         * sysdeps/posix/clock.c (clock): Likewise.
17869         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17870         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17871         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17872         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17873         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17875         (__get_nprocs_conf): Likewise.
17876         (__get_phys_pages): Likewise.
17877         (__get_avphys_pages): Likewise.
17878         * time/clock.c (clock): Likewise.
17879         * time/tzset.c (__tzname_max): Likewise.
17881 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17883         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17884         (__bswap_32): Do not use "register".
17885         * crypt/crypt.c (_ufc_doit_r): Likewise.
17886         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17887         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17888         * gmon/gmon.c (__monstartup): Likewise.
17889         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17890         * hurd/hurdmalloc.c (more_memory): Likewise.
17891         (malloc): Likewise.
17892         (free): Likewise.
17893         (realloc): Likewise.
17894         (malloc_fork_prepare): Likewise.
17895         (malloc_fork_parent): Likewise.
17896         (malloc_fork_child): Likewise.
17897         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17898         (_svcauth_des): Likewise.
17899         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17900         * inet/inet_net.c (inet_network): Likewise.
17901         * inet/inet_netof.c (inet_netof): Likewise.
17902         * inet/rcmd.c (__validuser2_sa): Likewise.
17903         * io/fts.c (fts_open): Likewise.
17904         (fts_load): Likewise.
17905         (fts_close): Likewise.
17906         (fts_read): Likewise.
17907         (fts_children): Likewise.
17908         (fts_build): Likewise.
17909         (fts_stat): Likewise.
17910         (fts_sort): Likewise.
17911         (fts_alloc): Likewise.
17912         (fts_lfree): Likewise.
17913         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17914         (_IO_file_xsgetn): Likewise.
17915         (_IO_file_xsgetn_mmap): Likewise.
17916         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17917         (_IO_cookie_write): Likewise.
17918         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17919         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17920         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17921         * malloc/obstack.c (_obstack_begin): Likewise.
17922         (_obstack_begin_1): Likewise.
17923         (_obstack_newchunk): Likewise.
17924         (_obstack_allocated_p): Likewise.
17925         (obstack_free): Likewise.
17926         (_obstack_memory_used): Likewise.
17927         * misc/getttyent.c (getttynam): Likewise.
17928         (getttyent): Likewise.
17929         (skip): Likewise.
17930         (value): Likewise.
17931         * misc/getusershell.c (initshells): Likewise.
17932         * misc/syslog.c (__vsyslog_chk): Likewise.
17933         * misc/ttyslot.c (ttyslot): Likewise.
17934         * nis/nis_hash.c (__nis_hash): Likewise.
17935         * posix/fnmatch_loop.c (FCT): Likewise.
17936         * posix/getconf.c (print_all): Likewise.
17937         (main): Likewise.
17938         * posix/getopt.c (exchange): Likewise.
17939         * posix/glob.c (globfree): Likewise.
17940         (prefix_array): Likewise.
17941         (__glob_pattern_type): Likewise.
17942         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17943         (NS_GET32): Likewise.
17944         (NS_PUT16): Likewise.
17945         (NS_PUT32): Likewise.
17946         * resolv/gethnamaddr.c (getanswer): Likewise.
17947         (gethostbyname2): Likewise.
17948         (gethostbyaddr): Likewise.
17949         (_gethtent): Likewise.
17950         (_gethtbyname2): Likewise.
17951         (_gethtbyaddr): Likewise.
17952         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17953         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17954         * resolv/res_init.c (__res_vinit): Likewise.
17955         (net_mask): Likewise.
17956         * resolv/res_mkquery.c (outchar): Likewise.
17957         (PRINT): Likewise.
17958         * stdio-common/printf_fp.c (outchar): Likewise.
17959         (PRINT): Likewise.
17960         * stdio-common/printf_fphex.c (outchar): Likewise.
17961         (PRINT): Likewise.
17962         * stdio-common/printf_size.c (outchar): Likewise.
17963         (PRINT): Likewise.
17964         * stdio-common/test_rdwr.c (main): Likewise.
17965         * stdio-common/tfformat.c (matches): Likewise.
17966         * stdio-common/vfprintf.c (outchar): Likewise.
17967         (printf_unknown): Likewise.
17968         (buffered_vfprintf): Likewise.
17969         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17970         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17971         (ReadFile): Likewise.
17972         * stdlib/qsort.c (SWAP): Likewise.
17973         (_quicksort): Likewise.
17974         * stdlib/setenv.c (__add_to_environ): Likewise.
17975         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17976         * stdlib/strtol_l.c (__strtol_l): Likewise.
17977         * stdlib/tst-strtod.c (main): Likewise.
17978         * stdlib/tst-strtol.c (main): Likewise.
17979         * stdlib/tst-strtoll.c (main): Likewise.
17980         * string/bits/string2.h (__strcmp_cc): Likewise.
17981         (__strcmp_cg): Likewise.
17982         (__strcspn_c1): Likewise.
17983         (__strcspn_c2): Likewise.
17984         (__strcspn_c3): Likewise.
17985         (__strspn_c1): Likewise.
17986         (__strspn_c2): Likewise.
17987         (__strspn_c3): Likewise.
17988         (__strsep_1c): Likewise.
17989         (__strsep_2c): Likewise.
17990         (__strsep_3c): Likewise.
17991         * string/memccpy.c (__memccpy): Likewise.
17992         * string/stpcpy.c (__stpcpy): Likewise.
17993         * string/strcmp.c (strcmp): Likewise.
17994         * string/strrchr.c (strrchr): Likewise.
17995         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17996         Likewise.
17997         * sysdeps/mach/hurd/getcwd.c
17998         (_hurd_canonicalize_directory_name_internal): Likewise.
17999         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18000         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18001         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18002         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18003         Likewise, in both definitions.
18004         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18005         definitions.
18006         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18007         64] (__bswap_64): Likewise.
18008         * time/test_time.c (main): Likewise.
18009         * time/tzfile.c (__tzfile_read): Likewise.
18010         (__tzfile_compute): Likewise.
18011         * time/tzset.c (__tzset_parse_tz): Likewise.
18012         (tzset_internal): Likewise.
18013         (compute_change): Likewise.
18014         * wcsmbs/wcscat.c (__wcscat): Likewise.
18015         * wcsmbs/wcschr.c (wcschr): Likewise.
18016         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18017         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18018         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18019         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18020         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18021         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18022         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18023         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18024         * wcsmbs/wmemset.c (wmemset): Likewise.
18026 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18028         * scripts/config.guess: Update to version 2013-05-16.
18029         * scripts/config.sub: Update to version 2013-04-24.
18030         * scripts/install-sh: Update to version 2011-11-20.07.
18031         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18032         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18034 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18036         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18037         * elf/sln.c: Likewise.
18038         * hurd/hurd/ioctl.h: Likewise.
18039         * hurd/hurdmalloc.c: Likewise.
18040         * hurd/xattr.c: Likewise.
18041         * include/shlib-compat.h: Likewise.
18042         * inet/ruserpass.c: Likewise.
18043         * libio/iofgets_u.c: Likewise.
18044         * libio/iofgetws_u.c: Likewise.
18045         * locale/programs/ld-identification.c: Likewise.
18046         * locale/programs/ld-time.c: Likewise.
18047         * mach/msg-destroy.c: Likewise.
18048         * nss/nss_files/files-netgrp.c: Likewise.
18049         * resolv/res_data.c: Likewise.
18050         * soft-fp/op-1.h: Likewise.
18051         * soft-fp/op-2.h: Likewise.
18052         * soft-fp/op-4.h: Likewise.
18053         * soft-fp/op-common.h: Likewise.
18054         * stdio-common/printf_fphex.c: Likewise.
18055         * stdlib/strtod_l.c: Likewise.
18056         * sunrpc/rpc/clnt.h: Likewise.
18057         * sysdeps/generic/framestate.c: Likewise.
18058         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18059         * sysdeps/i386/bsd-setjmp.S: Likewise.
18060         * sysdeps/i386/__longjmp.S: Likewise.
18061         * sysdeps/i386/setjmp.S: Likewise.
18062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18063         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18064         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18065         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18066         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18067         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18071         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18072         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18073         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18074         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18075         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18076         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18077         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18078         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18079         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18080         * sysdeps/ieee754/support.c: Likewise.
18081         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18082         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18083         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18084         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18085         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18086         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18087         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18088         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18089         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18090         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18091         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18092         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18093         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18094         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18095         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18096         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18097         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18100 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18102         * posix/transbug.c: Remove executable mode.
18104 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18106         * crypt/speeds.c: Remove trailing whitespace.
18107         * dlfcn/default.c: Likewise.
18108         * elf/ifuncdep2.c: Likewise.
18109         * elf/ifuncmain1.c: Likewise.
18110         * elf/ifuncmain1vis.c: Likewise.
18111         * elf/testobj.h: Likewise.
18112         * elf/tst-stackguard1.c: Likewise.
18113         * gmon/sys/gmon.h: Likewise.
18114         * hurd/hurdmsg.c: Likewise.
18115         * hurd/new-fd.c: Likewise.
18116         * hurd/ports-get.c: Likewise.
18117         * iconvdata/ibm1008_420.c: Likewise.
18118         * inet/tst-getni1.c: Likewise.
18119         * inet/tst-getni2.c: Likewise.
18120         * libio/ioungetc.c: Likewise.
18121         * libio/wfiledoalloc.c: Likewise.
18122         * manual/libm-err-tab.pl: Likewise.
18123         * math/w_dremf.c: Likewise.
18124         * misc/ftruncate.c: Likewise.
18125         * posix/bug-glob2.c: Likewise.
18126         * posix/tst-pcre.c: Likewise.
18127         * posix/wait4.c: Likewise.
18128         * resolv/README: Likewise.
18129         * resolv/res_debug.h: Likewise.
18130         * resolv/tst-inet_ntop.c: Likewise.
18131         * setjmp/bug269-setjmp.c: Likewise.
18132         * soft-fp/extended.h: Likewise.
18133         * soft-fp/op-1.h: Likewise.
18134         * soft-fp/op-2.h: Likewise.
18135         * soft-fp/op-4.h: Likewise.
18136         * soft-fp/op-8.h: Likewise.
18137         * soft-fp/testit.c: Likewise.
18138         * stdio-common/bug16.c: Likewise.
18139         * stdlib/random.c: Likewise.
18140         * sunrpc/rpcsvc/rquota.x: Likewise.
18141         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18142         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18144         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18145         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18146         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18147         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18148         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18149         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18150         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18151         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18152         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18153         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18155         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18156         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18157         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18158         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18159         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18162         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18163         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18164         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18165         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18166         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18167         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18168         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18169         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18170         * sysdeps/ieee754/s_lib_version.c: Likewise.
18171         * sysdeps/mach/hurd/check_fds.c: Likewise.
18172         * sysdeps/mach/hurd/getsockname.c: Likewise.
18173         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18174         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18175         * sysdeps/powerpc/bits/link.h: Likewise.
18176         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18177         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18178         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18179         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18180         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18181         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18182         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18183         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18184         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18185         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18186         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18187         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18188         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18189         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18190         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18191         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18193         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18194         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18195         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18196         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18197         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18198         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18199         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18200         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18201         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18202         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18203         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18204         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18206         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18207         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18208         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18209         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18210         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18211         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18212         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18213         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18214         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18215         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18216         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18217         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18218         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18219         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18220         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18221         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18222         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18223         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18224         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18225         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18227         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18228         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18230         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18231         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18232         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18233         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18234         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18235         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18236         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18237         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18238         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18239         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18240         * sysdeps/powerpc/sysdep.h: Likewise.
18241         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18242         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18243         * sysdeps/sh/dl-trampoline.S: Likewise.
18244         * sysdeps/sh/memset.S: Likewise.
18245         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18246         * sysdeps/sh/strlen.S: Likewise.
18247         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18248         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18249         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18250         * sysdeps/sparc/sparc32/rem.S: Likewise.
18251         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18252         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18253         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18254         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18255         * sysdeps/sparc/sparc32/urem.S: Likewise.
18256         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18257         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18258         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18259         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18260         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18261         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18262         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18263         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18264         * sysdeps/unix/bsd/times.c: Likewise.
18265         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18266         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18270         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18271         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18272         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18273         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18274         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18275         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18276         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18277         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18278         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18279         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18280         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18281         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18282         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18283         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18284         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18285         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18286         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18287         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18288         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18289         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18290         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18291         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18292         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18293         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18294         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18295         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18296         * sysdeps/x86_64/strcspn.S: Likewise.
18298 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18300         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18301         generated file.  Regenerate properly from gen-translit.pl.
18302         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18303         locale/C-translit.h.
18305 2013-06-05  Andreas Schwab  <schwab@suse.de>
18307         [BZ #15100]
18308         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18309         week as 6 instead of -1.
18310         * time/tst-strptime.c (day_tests): Add test case.
18312 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18314         * sysdeps/generic/math_private.h
18315         (libc_feholdexcept_setround_53bit): Replace with
18316         libc_feholdsetround_53bit.
18317         (libc_feupdateenv_53bit): Replace with
18318         libc_feresetround_53bit.
18319         (SET_RESTORE_ROUND_53BIT): Adjust.
18321 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18323         * string/test-strchrnul.c: Add copyright header.
18325         * posix/tst-getaddrinfo4.c: Increase test timeout.
18327 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18329         [BZ #15536]
18330         * math/libm-test.inc (MAX_EXP): Remove
18331         (MIN_EXP): Define.
18332         (ulp): Use MIN_EXP - MANT_DIG.
18333         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18335 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18337         * po/be.po: Revert last change.
18338         * po/zh_CN.po: Likewise.
18339         * po/header.pot: Likewise.
18341 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18343         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18344         link-libc-deps to empty as target-specific variable.
18345         * Makerules (link-libc-args): New variable.
18346         (libc-for-link): Likewise.
18347         (link-libc-deps): Likewise.
18348         (lib%.so): Depend on $(link-libc-deps).  Link with
18349         $(link-libc-args).
18350         (build-module): Link with $(link-libc-args).
18351         (build-module-asneeded): Likewise.
18352         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18353         list of objects.
18354         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18355         target-specific variable.
18356         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18357         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18358         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18359         libc.
18360         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18361         libc and ld.so.
18362         ($(objpfx)libpcprofile.so): Likewise.
18363         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18364         libc_nonshared.a.
18365         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18366         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18367         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18368         $(link-libc-deps).
18369         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18370         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18371         * login/Makefile ($(objpfx)libutil.so): Likewise.
18372         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18373         * math/Makefile ($(objpfx)libm.so): Likewise.
18374         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18375         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18376         variable instead of depending directly on libc.
18377         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18378         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18379         $(link-libc-deps).
18380         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18381         libc.
18382         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18383         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18384         ($(objpfx)libanl.so): Likewise.
18385         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18386         ld.so.
18387         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18388         $(link-libc-deps).
18389         * sysdeps/i386/fpu/Makefile: Remove file.
18390         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18391         ($(objpfx)libm.so): Remove dependency on ld.so.
18393 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18395         [BZ # 15553]
18396         * nis/yp_xdr.c (XDRMAXNAME): Define.
18397         (XDRMAXRECORD): Define.
18398         (xdr_domainname): Use XDRMAXNAME.
18399         (xdr_mapname): Likewise.
18400         (xdr_peername): Likewise.
18401         (xdr_keydat): Use XDRMAXRECORD.
18402         (xdr_valdat): Likewise.
18404 2013-05-30  Jeff Law  <law@redhat.com>
18406         [BZ #14256]
18407         * manual/errno.texi (ESTALE): Update to account for more than
18408         just NFS file systems.
18409         * sysdeps/gnu/errlist.c: Regenerated.
18411 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18413         [BZ #15465]
18414         * elf/Makefile (tests): Add tst-null-argv.
18415         (modules-names):  Add tst-null-argv-lib.
18416         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18417         (tst-null-argv-ENV): Set environment for tst-null-argv.
18418         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18419         (RTLD_PROGNAME): New macro.
18420         * elf/tst-null-argv.c: New test case.
18421         * elf/tst-null-argv-lib.c: Library for test case.
18422         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18423         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18424         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18425         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18426         * elf/dl-init.c (call_init): Likewise.
18427         (_dl_init): Likewise.
18428         * elf/dl-load.c (print_search_path): Likewise.
18429         (_dl_map_object): Likewise.
18430         * elf/dl-lookup.c (do_lookup_x): Likewise.
18431         (add_dependency): Likewise.
18432         (_dl_lookup_symbol_x): Likewise.
18433         (_dl_debug_bindings): Likewise.
18434         * elf/dl-open.c (_dl_show_scope): Likewise.
18435         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18436         * elf/dl-version.c (match_symbol): Likewise.
18437         (_dl_check_map_versions): Likewise.
18438         * elf/rtld.c (dl_main): Likewise.
18439         (print_unresolved): Use RTLD_PROGNAME.
18440         (print_missing_version): Likewise.
18441         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18442         (elf_machine_rela): Likewise.
18443         * sysdeps/powerpc/powerpc32/dl-machine.c
18444         (__process_machine_rela): Likewise.
18445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18446         Likewise.
18447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18448         Likewise.
18449         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18450         Likewise.
18451         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18453         Likewise.
18454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18455         Likewise.
18456         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18458 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18460         * po/be.po: Add descriptive title.
18461         * po/zh_CN.po: Likewise.
18462         * po/header.pot: Likewise.
18464 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18466         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18467         error message.
18468         (enlarge_archive): Likewise.
18470 2013-05-28  Ben North  <ben@redfrontdoor.org>
18472         * manual/arith.texi (frexp): It is the magnitude of the return
18473         value which lies in [0.5, 1), not the return value itself.
18475 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18479 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18481         * stdio-common/bug26.c (main): Correct fscanf template.
18483         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18484         declare _dl_skip_args.
18486         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18487         Don't declare.
18489         * manual/platform.texi: Add missing @end deftypefun.
18491 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18493         [BZ #15529]
18494         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18495         bit of mantissa of 2^16382.
18496         * math/libm-test.inc (hypot_test_data): Add more tests.
18498         * math/libm-test.inc: Add drem and pow10 to list of tested
18499         functions.
18500         (pow10_test): New function.
18501         (drem_test): Likewise.
18502         (drem_test_tonearest): Likewise.
18503         (drem_test_towardzero): Likewise.
18504         (drem_test_downward): Likewise.
18505         (drem_test_upward): Likewise.
18506         (main): Call the new functions.
18508         * math/libm-test.inc (finite_test_data): Remove.
18509         (finite_test): Run tests from isfinite_test_data.
18510         (gamma_test_data): Remove.
18511         (gamma_test): Run tests from lgamma_test_data.
18512         * sysdeps/i386/fpu/libm-test-ulps: Update.
18513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18515 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18517         * manual/platform.texi: Add PowerPC PPR function set documentation.
18518         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18519         implementation.
18521 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18523         * math/libm-test.inc (MAX_EXP): Define.
18524         (ULPDIFF): Define.
18525         (ulp): New function.
18526         (check_float_internal): Use ULPDIFF.
18527         (cpow_test): Disable failing test.
18528         (check_ulp): Test ulp() implemetnation.
18529         (main): Call check_ulp before starting tests.
18531 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18533         * math/gen-libm-test.pl (generate_testfile): Do not handle
18534         START_DATA and END_DATA.
18535         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18536         END_DATA.
18537         (acos_tonearest_test_data): Likewise.
18538         (acos_towardzero_test_data): Likewise.
18539         (acos_downward_test_data): Likewise.
18540         (acos_upward_test_data): Likewise.
18541         (acosh_test_data): Likewise.
18542         (asin_test_data): Likewise.
18543         (asin_tonearest_test_data): Likewise.
18544         (asin_towardzero_test_data): Likewise.
18545         (asin_downward_test_data): Likewise.
18546         (asin_upward_test_data): Likewise.
18547         (asinh_test_data): Likewise.
18548         (atan_test_data): Likewise.
18549         (atanh_test_data): Likewise.
18550         (atan2_test_data): Likewise.
18551         (cabs_test_data): Likewise.
18552         (cacos_test_data): Likewise.
18553         (cacosh_test_data): Likewise.
18554         (carg_test_data): Likewise.
18555         (casin_test_data): Likewise.
18556         (casinh_test_data): Likewise.
18557         (catan_test_data): Likewise.
18558         (catanh_test_data): Likewise.
18559         (cbrt_test_data): Likewise.
18560         (ccos_test_data): Likewise.
18561         (ccosh_test_data): Likewise.
18562         (ceil_test_data): Likewise.
18563         (cexp_test_data): Likewise.
18564         (cimag_test_data): Likewise.
18565         (clog_test_data): Likewise.
18566         (clog10_test_data): Likewise.
18567         (conj_test_data): Likewise.
18568         (copysign_test_data): Likewise.
18569         (cos_test_data): Likewise.
18570         (cos_tonearest_test_data): Likewise.
18571         (cos_towardzero_test_data): Likewise.
18572         (cos_downward_test_data): Likewise.
18573         (cos_upward_test_data): Likewise.
18574         (cosh_test_data): Likewise.
18575         (cosh_tonearest_test_data): Likewise.
18576         (cosh_towardzero_test_data): Likewise.
18577         (cosh_downward_test_data): Likewise.
18578         (cosh_upward_test_data): Likewise.
18579         (cpow_test_data): Likewise.
18580         (cproj_test_data): Likewise.
18581         (creal_test_data): Likewise.
18582         (csin_test_data): Likewise.
18583         (csinh_test_data): Likewise.
18584         (csqrt_test_data): Likewise.
18585         (ctan_test_data): Likewise.
18586         (ctan_tonearest_test_data): Likewise.
18587         (ctan_towardzero_test_data): Likewise.
18588         (ctan_downward_test_data): Likewise.
18589         (ctan_upward_test_data): Likewise.
18590         (ctanh_test_data): Likewise.
18591         (ctanh_tonearest_test_data): Likewise.
18592         (ctanh_towardzero_test_data): Likewise.
18593         (ctanh_downward_test_data): Likewise.
18594         (ctanh_upward_test_data): Likewise.
18595         (erf_test_data): Likewise.
18596         (erfc_test_data): Likewise.
18597         (exp_test_data): Likewise.
18598         (exp_tonearest_test_data): Likewise.
18599         (exp_towardzero_test_data): Likewise.
18600         (exp_downward_test_data): Likewise.
18601         (exp_upward_test_data): Likewise.
18602         (exp10_test_data): Likewise.
18603         (exp2_test_data): Likewise.
18604         (expm1_test_data): Likewise.
18605         (fabs_test_data): Likewise.
18606         (fdim_test_data): Likewise.
18607         (finite_test_data): Likewise.
18608         (floor_test_data): Likewise.
18609         (fma_test_data): Likewise.
18610         (fma_towardzero_test_data): Likewise.
18611         (fma_downward_test_data): Likewise.
18612         (fma_upward_test_data): Likewise.
18613         (fmax_test_data): Likewise.
18614         (fmin_test_data): Likewise.
18615         (fmod_test_data): Likewise.
18616         (fpclassify_test_data): Likewise.
18617         (frexp_test_data): Likewise.
18618         (gamma_test_data): Likewise.
18619         (hypot_test_data): Likewise.
18620         (ilogb_test_data): Likewise.
18621         (isfinite_test_data): Likewise.
18622         (isgreater_test_data): Likewise.
18623         (isgreaterequal_test_data): Likewise.
18624         (isinf_test_data): Likewise.
18625         (isless_test_data): Likewise.
18626         (islessequal_test_data): Likewise.
18627         (islessgreater_test_data): Likewise.
18628         (isnan_test_data): Likewise.
18629         (isnormal_test_data): Likewise.
18630         (issignaling_test_data): Likewise.
18631         (isunordered_test_data): Likewise.
18632         (j0_test_data): Likewise.
18633         (j1_test_data): Likewise.
18634         (jn_test_data): Likewise.
18635         (ldexp_test_data): Likewise.
18636         (lgamma_test_data): Likewise.
18637         (lrint_test_data): Likewise.
18638         (lrint_tonearest_test_data): Likewise.
18639         (lrint_towardzero_test_data): Likewise.
18640         (lrint_downward_test_data): Likewise.
18641         (lrint_upward_test_data): Likewise.
18642         (llrint_test_data): Likewise.
18643         (llrint_tonearest_test_data): Likewise.
18644         (llrint_towardzero_test_data): Likewise.
18645         (llrint_downward_test_data): Likewise.
18646         (llrint_upward_test_data): Likewise.
18647         (log_test_data): Likewise.
18648         (log10_test_data): Likewise.
18649         (log1p_test_data): Likewise.
18650         (log2_test_data): Likewise.
18651         (logb_test_data): Likewise.
18652         (logb_downward_test_data): Likewise.
18653         (lround_test_data): Likewise.
18654         (llround_test_data): Likewise.
18655         (modf_test_data): Likewise.
18656         (nearbyint_test_data): Likewise.
18657         (nextafter_test_data): Likewise.
18658         (nexttoward_test_data): Likewise.
18659         (pow_test_data): Likewise.
18660         (pow_tonearest_test_data): Likewise.
18661         (pow_towardzero_test_data): Likewise.
18662         (pow_downward_test_data): Likewise.
18663         (pow_upward_test_data): Likewise.
18664         (remainder_test_data): Likewise.
18665         (remainder_tonearest_test_data): Likewise.
18666         (remainder_towardzero_test_data): Likewise.
18667         (remainder_downward_test_data): Likewise.
18668         (remainder_upward_test_data): Likewise.
18669         (remquo_test_data): Likewise.
18670         (rint_test_data): Likewise.
18671         (rint_tonearest_test_data): Likewise.
18672         (rint_towardzero_test_data): Likewise.
18673         (rint_downward_test_data): Likewise.
18674         (rint_upward_test_data): Likewise.
18675         (round_test_data): Likewise.
18676         (scalb_test_data): Likewise.
18677         (scalbn_test_data): Likewise.
18678         (scalbln_test_data): Likewise.
18679         (signbit_test_data): Likewise.
18680         (sin_test_data): Likewise.
18681         (sin_tonearest_test_data): Likewise.
18682         (sin_towardzero_test_data): Likewise.
18683         (sin_downward_test_data): Likewise.
18684         (sin_upward_test_data): Likewise.
18685         (sincos_test_data): Likewise.
18686         (sinh_test_data): Likewise.
18687         (sinh_tonearest_test_data): Likewise.
18688         (sinh_towardzero_test_data): Likewise.
18689         (sinh_downward_test_data): Likewise.
18690         (sinh_upward_test_data): Likewise.
18691         (sqrt_test_data): Likewise.
18692         (tan_test_data): Likewise.
18693         (tan_tonearest_test_data): Likewise.
18694         (tan_towardzero_test_data): Likewise.
18695         (tan_downward_test_data): Likewise.
18696         (tan_upward_test_data): Likewise.
18697         (tanh_test_data): Likewise.
18698         (tgamma_test_data): Likewise.
18699         (trunc_test_data): Likewise.
18700         (y0_test_data): Likewise.
18701         (y1_test_data): Likewise.
18702         (yn_test_data): Likewise.
18703         (significand_test_data): Likewise.
18705         * math/gen-libm-test.pl (@functions): Remove variable.
18706         (generate_testfile): Don't handle START and END lines.
18707         * math/libm-test.inc (START): New macro.
18708         (END): Likewise.
18709         (END_COMPLEX): Likewise.
18710         (acos_test): Use END macro without arguments.
18711         (acos_test_tonearest): Likewise.
18712         (acos_test_towardzero): Likewise.
18713         (acos_test_downward): Likewise.
18714         (acos_test_upward): Likewise.
18715         (acosh_test): Likewise.
18716         (asin_test): Likewise.
18717         (asin_test_tonearest): Likewise.
18718         (asin_test_towardzero): Likewise.
18719         (asin_test_downward): Likewise.
18720         (asin_test_upward): Likewise.
18721         (asinh_test): Likewise.
18722         (atan_test): Likewise.
18723         (atanh_test): Likewise.
18724         (atan2_test): Likewise.
18725         (cabs_test): Likewise.
18726         (cacos_test): Use END_COMPLEX macro without arguments.
18727         (cacosh_test): Likewise.
18728         (carg_test): Use END macro without arguments.
18729         (casin_test): Use END_COMPLEX macro without arguments.
18730         (casinh_test): Likewise.
18731         (catan_test): Likewise.
18732         (catanh_test): Likewise.
18733         (cbrt_test): Use END macro without arguments.
18734         (ccos_test): Use END_COMPLEX macro without arguments.
18735         (ccosh_test): Likewise.
18736         (ceil_test): Use END macro without arguments.
18737         (cexp_test): Use END_COMPLEX macro without arguments.
18738         (cimag_test): Use END macro without arguments.
18739         (clog_test): Use END_COMPLEX macro without arguments.
18740         (clog10_test): Likewise.
18741         (conj_test): Likewise.
18742         (copysign_test): Use END macro without arguments.
18743         (cos_test): Likewise.
18744         (cos_test_tonearest): Likewise.
18745         (cos_test_towardzero): Likewise.
18746         (cos_test_downward): Likewise.
18747         (cos_test_upward): Likewise.
18748         (cosh_test): Likewise.
18749         (cosh_test_tonearest): Likewise.
18750         (cosh_test_towardzero): Likewise.
18751         (cosh_test_downward): Likewise.
18752         (cosh_test_upward): Likewise.
18753         (cpow_test): Use END_COMPLEX macro without arguments.
18754         (cproj_test): Likewise.
18755         (creal_test): Use END macro without arguments.
18756         (csin_test): Use END_COMPLEX macro without arguments.
18757         (csinh_test): Likewise.
18758         (csqrt_test): Likewise.
18759         (ctan_test): Likewise.
18760         (ctan_test_tonearest): Likewise.
18761         (ctan_test_towardzero): Likewise.
18762         (ctan_test_downward): Likewise.
18763         (ctan_test_upward): Likewise.
18764         (ctanh_test): Likewise.
18765         (ctanh_test_tonearest): Likewise.
18766         (ctanh_test_towardzero): Likewise.
18767         (ctanh_test_downward): Likewise.
18768         (ctanh_test_upward): Likewise.
18769         (erf_test): Use END macro without arguments.
18770         (erfc_test): Likewise.
18771         (exp_test): Likewise.
18772         (exp_test_tonearest): Likewise.
18773         (exp_test_towardzero): Likewise.
18774         (exp_test_downward): Likewise.
18775         (exp_test_upward): Likewise.
18776         (exp10_test): Likewise.
18777         (exp2_test): Likewise.
18778         (expm1_test): Likewise.
18779         (fabs_test): Likewise.
18780         (fdim_test): Likewise.
18781         (finite_test): Likewise.
18782         (floor_test): Likewise.
18783         (fma_test): Likewise.
18784         (fma_test_towardzero): Likewise.
18785         (fma_test_downward): Likewise.
18786         (fma_test_upward): Likewise.
18787         (fmax_test): Likewise.
18788         (fmin_test): Likewise.
18789         (fmod_test): Likewise.
18790         (fpclassify_test): Likewise.
18791         (frexp_test): Likewise.
18792         (gamma_test): Likewise.
18793         (hypot_test): Likewise.
18794         (ilogb_test): Likewise.
18795         (isfinite_test): Likewise.
18796         (isgreater_test): Likewise.
18797         (isgreaterequal_test): Likewise.
18798         (isinf_test): Likewise.
18799         (isless_test): Likewise.
18800         (islessequal_test): Likewise.
18801         (islessgreater_test): Likewise.
18802         (isnan_test): Likewise.
18803         (isnormal_test): Likewise.
18804         (issignaling_test): Likewise.
18805         (isunordered_test): Likewise.
18806         (j0_test): Likewise.
18807         (j1_test): Likewise.
18808         (jn_test): Likewise.
18809         (ldexp_test): Likewise.
18810         (lgamma_test): Likewise.
18811         (lrint_test): Likewise.
18812         (lrint_test_tonearest): Likewise.
18813         (lrint_test_towardzero): Likewise.
18814         (lrint_test_downward): Likewise.
18815         (lrint_test_upward): Likewise.
18816         (llrint_test): Likewise.
18817         (llrint_test_tonearest): Likewise.
18818         (llrint_test_towardzero): Likewise.
18819         (llrint_test_downward): Likewise.
18820         (llrint_test_upward): Likewise.
18821         (log_test): Likewise.
18822         (log10_test): Likewise.
18823         (log1p_test): Likewise.
18824         (log2_test): Likewise.
18825         (logb_test): Likewise.
18826         (logb_test_downward): Likewise.
18827         (lround_test): Likewise.
18828         (llround_test): Likewise.
18829         (modf_test): Likewise.
18830         (nearbyint_test): Likewise.
18831         (nextafter_test): Likewise.
18832         (nexttoward_test): Likewise.
18833         (pow_test): Likewise.
18834         (pow_test_tonearest): Likewise.
18835         (pow_test_towardzero): Likewise.
18836         (pow_test_downward): Likewise.
18837         (pow_test_upward): Likewise.
18838         (remainder_test): Likewise.
18839         (remainder_test_tonearest): Likewise.
18840         (remainder_test_towardzero): Likewise.
18841         (remainder_test_downward): Likewise.
18842         (remainder_test_upward): Likewise.
18843         (remquo_test): Likewise.
18844         (rint_test): Likewise.
18845         (rint_test_tonearest): Likewise.
18846         (rint_test_towardzero): Likewise.
18847         (rint_test_downward): Likewise.
18848         (rint_test_upward): Likewise.
18849         (round_test): Likewise.
18850         (scalb_test): Likewise.
18851         (scalbn_test): Likewise.
18852         (scalbln_test): Likewise.
18853         (signbit_test): Likewise.
18854         (sin_test): Likewise.
18855         (sin_test_tonearest): Likewise.
18856         (sin_test_towardzero): Likewise.
18857         (sin_test_downward): Likewise.
18858         (sin_test_upward): Likewise.
18859         (sincos_test): Likewise.
18860         (sinh_test): Likewise.
18861         (sinh_test_tonearest): Likewise.
18862         (sinh_test_towardzero): Likewise.
18863         (sinh_test_downward): Likewise.
18864         (sinh_test_upward): Likewise.
18865         (sqrt_test): Likewise.
18866         (tan_test): Likewise.
18867         (tan_test_tonearest): Likewise.
18868         (tan_test_towardzero): Likewise.
18869         (tan_test_downward): Likewise.
18870         (tan_test_upward): Likewise.
18871         (tanh_test): Likewise.
18872         (tgamma_test): Likewise.
18873         (trunc_test): Likewise.
18874         (y0_test): Likewise.
18875         (y1_test): Likewise.
18876         (yn_test): Likewise.
18877         (significand_test): Likewise.
18879 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18881         [BZ #15381]
18882         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18884 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18886         [BZ #14894]
18887         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18888         __ppc_mdoio and __ppc_mdoom.
18889         * manual/platform.texi: Document new functions __ppc_yield,
18890         __ppc_mdoio and __ppc_mdoom.
18892 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18894         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18895         (main): Mention "tls" pseudo-hwcap is legacy.
18896         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18898 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18900         * math/gen-libm-test.pl (parse_args): Output only string of
18901         arguments as text for test name, not full call or descriptions of
18902         tests for extra outputs.
18903         (generate_testfile): Do not pass function name to parse_args.
18904         Generate this_func variable from START.
18905         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18906         field to arg_str.
18907         (struct test_ff_f_data): Likewise.
18908         (test_ff_f_data_nexttoward): Likewise.
18909         (struct test_fi_f_data): Likewise.
18910         (struct test_fl_f_data): Likewise.
18911         (struct test_if_f_data): Likewise.
18912         (struct test_fff_f_data): Likewise.
18913         (struct test_c_f_data): Likewise.
18914         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18915         (struct test_fF_f1_data): Likewise.
18916         (struct test_ffI_f1_data): Likewise.
18917         (struct test_c_c_data): Rename test_name field to arg_str.
18918         (struct test_cc_c_data): Likewise.
18919         (struct test_f_i_data): Likewise.
18920         (struct test_ff_i_data): Likewise.
18921         (struct test_f_l_data): Likewise.
18922         (struct test_f_L_data): Likewise.
18923         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18924         and extra2_name.
18925         (COMMON_TEST_SETUP): New macro.
18926         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18927         (COMMON_TEST_CLEANUP): Likewise.
18928         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18929         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18930         macros.
18931         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18932         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18933         macros.
18934         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18935         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18936         cleanup macros.
18937         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18938         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18939         macros.
18940         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18941         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18942         macros.
18943         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18944         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18945         cleanup macros.
18946         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18947         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18948         cleanup macros.
18949         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18950         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18951         cleanup macros.
18952         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18953         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18954         macros.
18955         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18956         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18957         macros.
18958         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18959         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18960         macros.
18961         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18962         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18963         cleanup macros.
18964         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18965         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18966         cleanup macros.
18967         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18968         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18969         macros.
18970         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18971         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18972         cleanup macros.
18973         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18974         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18975         macros.
18976         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18977         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18978         macros.
18979         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18980         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18981         cleanup macros.
18982         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18984 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18986         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18987         to _sifields.sigfault.
18988         (si_addr_lsb): Define new macro.
18989         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18991         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18993 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18995         [BZ #15441]
18996         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18997         returns -1.
18998         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18999         null return -1.
19000         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19001         loading the domain.
19003 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19005         * math/gen-libm-test.pl (parse_args): Do not include expected
19006         result in test name.
19007         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19008         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19009         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19010         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19011         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         * benchtests/Makefile: Sort function entries.
19018         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19019         tanh, asinh, acosh, atanh.
19020         * benchtests/acos-inputs: New file.
19021         * benchtests/acosh-inputs: New file.
19022         * benchtests/asin-inputs: New file.
19023         * benchtests/asinh-inputs: New file.
19024         * benchtests/atanh-inputs: New file.
19025         * benchtests/cosh-inputs: New file.
19026         * benchtests/log-inputs: New file.
19027         * benchtests/sinh-inputs: New file.
19028         * benchtests/tanh-inputs: New file.
19030 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19032         [BZ #15339]
19033         * posix/tst-getaddrinfo4.c: New test.
19034         * posix/Makefile (tests): Add it.
19036 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19038         [BZ #15339]
19039         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19040         when no services were used.
19041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19042         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19044 2013-05-21  Andreas Schwab  <schwab@suse.de>
19046         [BZ #15014]
19047         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19048         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19049         successful.
19050         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19051         redundant variable declarations and reallocation of buffer when
19052         parsing as IPv6 address.  Always set NSS status when called from
19053         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19054         buffer too small.  Correct computation of needed size.
19055         * nss/Makefile (tests): Add test-digits-dots.
19056         * nss/test-digits-dots.c: New test.
19058 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19060         * benchtests/Makefile: Remove instructions for adding
19061         benchmark tests.
19062         * benchtests/README: New file to explain how to execute and
19063         enhance the benchmark tests.
19065 2013-05-21  Andreas Schwab  <schwab@suse.de>
19067         [BZ #15493]
19068         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19069         * setjmp/tst-sigsetjmp.c: New test.
19071 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19073         * sysdeps/x86_64/memset.S (memset): New implementation.
19074         (__bzero): Likewise.
19075         (__memset_tail): New function.
19077 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19079         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19080         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19081         __memcpy_sse2_unaligned ifunc selection.
19082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19083         Add memcpy-sse2-unaligned.S.
19084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19085         Add: __memcpy_sse2_unaligned.
19087 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19089         [BZ #15490]
19090         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19091         math_force_eval before restoring floating-point envrionment.
19092         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19093         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19094         Likewise.
19095         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19096         <math_private.h>.
19097         (__nearbyintl): Use math_force_eval before restoring
19098         floating-point environment.
19099         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19101         * math/gen-libm-test.pl (special_functions): Remove.
19102         (parse_args): Don't handle TEST_extra.  Handle functions with no
19103         return value.
19104         * math/libm-test.inc (struct test_sincos_data): Replace with
19105         struct test_fFF_11_data.
19106         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19107         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19108         (sincos_test_data): Change element type to struct
19109         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19110         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19111         RUN_TEST_LOOP_sincos.
19112         * math/README.libm-test: Don't mention special handling of
19113         individual functions.
19114         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19115         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19116         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19117         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19118         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19121         * math/gen-libm-test.pl (get_variable): Remove function.
19122         (parse_args): Don't show pointer parameters to call in test
19123         names.  Use "extra output N" in test names for extra outputs
19124         rather than naming variables.
19126 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19128         [BZ #15488]
19129         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19130         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19131         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19132         double tests.
19133         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19134         disable.
19135         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19136         check_long_double.
19138         * math/gen-libm-test.pl (@tests): Remove variable.
19139         ($count): Likewise.
19140         (new_test): Remove function.
19141         (show_exceptions): New function.
19142         (special_functions): Use show_exceptions instead of new_test.
19143         (parse_args): Likewise.
19144         (generate_testfile): Pass only function name in generated call to
19145         print_max_error or print_complex_max_error.
19146         (get_ulps): Do not handle complex tests specially.
19147         (output_test): Rename to ...
19148         (get_all_ulps_for_test): ... this.  Return a string rather than
19149         printing to a file.  Require ulps to be present.
19150         (output_ulps): Generate arrays rather than #defines.
19151         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19152         (struct ulp_data): New type.
19153         (BUILD_COMPLEX_ULP): Remove macro.
19154         (compare_ulp_data): New function.
19155         (find_ulps): Likewise.
19156         (find_test_ulps): Likewise.
19157         (find_function_ulps): Likewise.
19158         (find_complex_function_ulps): Likewise.
19159         (print_max_error): Determine allowed ulps using
19160         find_function_ulps.
19161         (print_complex_max_error): Determine allowed ulps using
19162         find_complex_function_ulps.
19163         (check_float_internal): Determine max ulps using find_test_ulps.
19164         (check_float): Do not take max_ulp parameter.  Update call to
19165         check_float_internal.
19166         (check_complex): Likewise.
19167         (check_int): Do not take max_ulp parameter.
19168         (check_long): Likewise.
19169         (check_bool): Likewise.
19170         (check_longlong): Likewise.
19171         (struct test_f_f_data): Remove max_ulp field.
19172         (struct test_ff_f_data): Likewise.
19173         (struct test_ff_f_data_nexttoward): Likewise.
19174         (struct test_fi_f_data): Likewise.
19175         (struct test_fl_f_data): Likewise.
19176         (struct test_if_f_data): Likewise.
19177         (struct test_fff_f_data): Likewise.
19178         (struct test_c_f_data): Likewise.
19179         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19180         (struct test_fF_f1_data): Likewise.
19181         (struct test_ffI_f1_data): Likewise.
19182         (struct test_c_c_data): Remove max_ulp field.
19183         (struct test_cc_c_data): Likewise.
19184         (struct test_f_i_data): Likewise.
19185         (struct test_ff_i_data): Likewise.
19186         (struct test_f_l_data): Likewise.
19187         (struct test_f_L_data): Likewise.
19188         (struct test_sincos_data): Likewise.
19189         (RUN_TEST_f_f): Do not handle ulps.
19190         (RUN_TEST_LOOP_f_f): Likewise.
19191         (RUN_TEST_2_f): Likewise.
19192         (RUN_TEST_LOOP_2_f): Likewise.
19193         (RUN_TEST_fff_f): Likewise.
19194         (RUN_TEST_LOOP_fff_f): Likewise.
19195         (RUN_TEST_c_f): Likewise.
19196         (RUN_TEST_LOOP_c_f): Likewise.
19197         (RUN_TEST_f_f1): Likewise.
19198         (RUN_TEST_LOOP_f_f1): Likewise.
19199         (RUN_TEST_fF_f1): Likewise.
19200         (RUN_TEST_LOOP_fF_f1): Likewise.
19201         (RUN_TEST_fI_f1): Likewise.
19202         (RUN_TEST_LOOP_fI_f1): Likewise.
19203         (RUN_TEST_ffI_f1): Likewise.
19204         (RUN_TEST_LOOP_ffI_f1): Likewise.
19205         (RUN_TEST_c_c): Likewise.
19206         (RUN_TEST_LOOP_c_c): Likewise.
19207         (RUN_TEST_cc_c): Likewise.
19208         (RUN_TEST_LOOP_cc_c): Likewise.
19209         (RUN_TEST_f_i): Likewise.
19210         (RUN_TEST_LOOP_f_i): Likewise.
19211         (RUN_TEST_f_i_tg): Likewise.
19212         (RUN_TEST_LOOP_f_i_tg): Likewise.
19213         (RUN_TEST_ff_i_tg): Likewise.
19214         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19215         (RUN_TEST_f_b): Likewise.
19216         (RUN_TEST_LOOP_f_b): Likewise.
19217         (RUN_TEST_f_b_tg): Likewise.
19218         (RUN_TEST_LOOP_f_b_tg): Likewise.
19219         (RUN_TEST_f_l): Likewise.
19220         (RUN_TEST_LOOP_f_l): Likewise.
19221         (RUN_TEST_f_L): Likewise.
19222         (RUN_TEST_LOOP_f_L): Likewise.
19223         (RUN_TEST_sincos): Likewise.
19224         (RUN_TEST_LOOP_sincos): Likewise.
19226 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #15480]
19229         [BZ #15485]
19230         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19231         main case of finite arguments, set rounding mode to FE_TONEAREST
19232         and discard exceptions.
19233         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19234         exceptions.
19235         (remainder_tonearest_test_data): New variable.
19236         (remainder_test_tonearest): New function.
19237         (remainder_towardzero_test_data): New variable.
19238         (remainder_test_towardzero): New function.
19239         (remainder_downward_test_data): New variable.
19240         (remainder_test_downward): New function.
19241         (remainder_upward_test_data): New variable.
19242         (remainder_test_upward): New function.
19243         (main): Call the new test functions.
19245         * math/libm-test.inc (struct test_f_f1_data): Remove field
19246         extra_init.
19247         (struct test_fF_f1_data): Likewise.
19248         (struct test_ffI_f1_data): Likewise.
19249         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19250         based on value of EXTRA_EXPECTED.
19251         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19252         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19253         EXTRA_VAR based on value of EXTRA_EXPECTED.
19254         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19255         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19256         EXTRA_VAR based on value of EXTRA_EXPECTED.
19257         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19258         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19259         EXTRA_VAR based on value of EXTRA_EXPECTED.
19260         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19261         * math/gen-libm-test.pl (parse_args): Don't output initializers
19262         for extra output values.
19264         * math/libm-test.inc (check_int): Expect result to be exactly
19265         equal to expected value and do not handle ulps.
19266         (check_long): Likewise.
19267         (check_longlong): Likewise.
19269         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19270         exceptions.
19271         (cimag_test_data): Likewise.
19272         (conj_test_data): Likewise.
19273         (copysign_test_data): Likewise.
19274         (cproj_test_data): Likewise.
19275         (creal_test_data): Likewise.
19276         (fabs_test_data): Likewise.
19277         (fdim_test_data): Likewise.
19278         (finite_test_data): Likewise.
19279         (floor_test_data): Likewise.
19280         (fmax_test_data): Likewise.
19281         (fmin_test_data): Likewise.
19282         (fmod_test_data): Likewise.
19283         (fpclassify_test_data): Likewise.
19284         (frexp_test_data): Likewise.
19285         (ilogb_test_data): Likewise.
19286         (isfinite_test_data): Likewise.
19287         (isgreater_test_data): Likewise.
19288         (isgreaterequal_test_data): Likewise.
19289         (isinf_test_data): Likewise.
19290         (isless_test_data): Likewise.
19291         (islessequal_test_data): Likewise.
19292         (islessgreater_test_data): Likewise.
19293         (isnan_test_data): Likewise.
19294         (isnormal_test_data): Likewise.
19295         (issignaling_test_data): Likewise.
19296         (isunordered_test_data): Likewise.
19297         (ldexp_test_data): Likewise.
19298         (lrint_test_data): Likewise.
19299         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19300         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19301         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19302         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19303         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19304         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19305         test input.
19306         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19307         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19308         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19309         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19310         that test input.
19311         (lrint_downward_test_data): Test for "inexact" exceptions.
19312         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19313         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19314         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19315         test input.
19316         (lrint_upward_test_data): Test for "inexact" exceptions.
19317         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19318         test input.
19319         (llrint_test_data): Test for "inexact" exceptions.
19320         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19321         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19322         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19323         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19324         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19325         (llrint_downward_test_data): Test for "inexact" exceptions.
19326         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19327         (llrint_upward_test_data): Test for "inexact" exceptions.
19328         (logb_test_data): Likewise.
19329         (logb_downward_test_data): Likewise.
19330         (nextafter_test_data): Likewise.
19331         (nexttoward_test_data): Likewise.
19332         (remainder_test_data): Likewise.
19333         (remquo_test_data): Likewise.
19334         (scalbn_test_data): Likewise.
19335         (scalbln_test_data): Likewise.
19336         (signbit_test_data): Likewise.
19337         (sqrt_test_data): Likewise.
19338         (significand_test_data): Likewise.
19340 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342         [BZ #15424]
19343         * benchtests/bench-modf.c (struct args): Mark arg0 as
19344         volatile.
19345         * scripts/bench.pl: Mark members of struct args as volatile.
19347 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19349         [BZ # 15497]
19350         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19351         negative infinity on POWER6 or lower.
19352         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19354 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19356         [BZ #15442]
19357         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19358         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19359         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19360         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19361         (_FP_SETQNAN): New macro.
19362         (_FP_SETQNAN_SEMIRAW): Likewise.
19363         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19364         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19365         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19366         (FP_EXTEND): Use _FP_FRAC_SNANP.
19367         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19368         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19369         into account.
19370         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19371         New macro.
19372         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19373         Likewise.
19375 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19377         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19378         with DIVIDE_BY_ZERO_EXCEPTION.
19379         (gamma_test_data): Likewise.
19380         (lgamma_test_data): Likewise.
19381         (log_test_data): Likewise.
19382         (log10_test_data): Likewise.
19383         (log2_test_data): Likewise.
19384         (tgamma_test_data): Likewise.
19386         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19387         (acos_test_tonearest): Likewise.
19388         (acos_test_towardzero): Likewise.
19389         (acos_test_downward): Likewise.
19390         (acos_test_upward): Likewise.
19391         (acosh_test): Likewise.
19392         (asin_test): Likewise.
19393         (asin_test_tonearest): Likewise.
19394         (asin_test_towardzero): Likewise.
19395         (asin_test_downward): Likewise.
19396         (asin_test_upward): Likewise.
19397         (asinh_test): Likewise.
19398         (atan_test): Likewise.
19399         (atanh_test): Likewise.
19400         (atan2_test): Likewise.
19401         (cabs_test): Likewise.
19402         (cacos_test): Likewise.
19403         (cacosh_test): Likewise.
19404         (casin_test): Likewise.
19405         (casinh_test): Likewise.
19406         (catan_test): Likewise.
19407         (catanh_test): Likewise.
19408         (cbrt_test): Likewise.
19409         (ccos_test): Likewise.
19410         (ccosh_test): Likewise.
19411         (cexp_test): Likewise.
19412         (clog_test): Likewise.
19413         (clog10_test): Likewise.
19414         (cos_test): Likewise.
19415         (cos_test_tonearest): Likewise.
19416         (cos_test_towardzero): Likewise.
19417         (cos_test_downward): Likewise.
19418         (cos_test_upward): Likewise.
19419         (cosh_test): Likewise.
19420         (cosh_test_tonearest): Likewise.
19421         (cosh_test_towardzero): Likewise.
19422         (cosh_test_downward): Likewise.
19423         (cosh_test_upward): Likewise.
19424         (cpow_test): Likewise.
19425         (csin_test): Likewise.
19426         (csinh_test): Likewise.
19427         (csqrt_test): Likewise.
19428         (ctan_test): Likewise.
19429         (ctan_test_tonearest): Likewise.
19430         (ctan_test_towardzero): Likewise.
19431         (ctan_test_downward): Likewise.
19432         (ctan_test_upward): Likewise.
19433         (ctanh_test): Likewise.
19434         (ctanh_test_tonearest): Likewise.
19435         (ctanh_test_towardzero): Likewise.
19436         (ctanh_test_downward): Likewise.
19437         (ctanh_test_upward): Likewise.
19438         (erf_test): Likewise.
19439         (erfc_test): Likewise.
19440         (exp_test): Likewise.
19441         (exp_test_tonearest): Likewise.
19442         (exp_test_towardzero): Likewise.
19443         (exp_test_downward): Likewise.
19444         (exp_test_upward): Likewise.
19445         (exp10_test): Likewise.
19446         (exp2_test): Likewise.
19447         (expm1_test): Likewise.
19448         (fmod_test): Likewise.
19449         (gamma_test): Likewise.
19450         (hypot_test): Likewise.
19451         (j0_test): Likewise.
19452         (j1_test): Likewise.
19453         (jn_test): Likewise.
19454         (lgamma_test): Likewise.
19455         (log_test): Likewise.
19456         (log10_test): Likewise.
19457         (log1p_test): Likewise.
19458         (log2_test): Likewise.
19459         (logb_test_downward): Likewise.
19460         (pow_test): Likewise.
19461         (pow_test_tonearest): Likewise.
19462         (pow_test_towardzero): Likewise.
19463         (pow_test_downward): Likewise.
19464         (pow_test_upward): Likewise.
19465         (remainder_test): Likewise.
19466         (remquo_test): Likewise.
19467         (sin_test): Likewise.
19468         (sin_test_tonearest): Likewise.
19469         (sin_test_towardzero): Likewise.
19470         (sin_test_downward): Likewise.
19471         (sin_test_upward): Likewise.
19472         (sincos_test): Likewise.
19473         (sinh_test): Likewise.
19474         (sinh_test_tonearest): Likewise.
19475         (sinh_test_towardzero): Likewise.
19476         (sinh_test_downward): Likewise.
19477         (sinh_test_upward): Likewise.
19478         (sqrt_test): Likewise.
19479         (tan_test): Likewise.
19480         (tan_test_tonearest): Likewise.
19481         (tan_test_towardzero): Likewise.
19482         (tan_test_downward): Likewise.
19483         (tan_test_upward): Likewise.
19484         (tanh_test): Likewise.
19485         (tgamma_test): Likewise.
19486         (y0_test): Likewise.
19487         (y1_test): Likewise.
19488         (yn_test): Likewise.
19490         * math/gen-libm-test.pl (adjust_arg): Remove function.
19491         (special_function): Remove argument $in_func.  Only handle
19492         generating output for tables of tests, not inside functions.
19493         (parse_args): Likewise.
19494         (generate_testfile): Remove variable $in_func.  Update call to
19495         parse_args.
19496         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19497         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19498         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19499         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19500         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19501         (MAX_VALUE_INIT): Rename macro to max_value.
19502         (MIN_VALUE_INIT): Rename macro to min_value.
19503         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19504         (plus_zero): Remove variable.
19505         (minus_zero): Likewise.
19506         (plus_infty): Likewise.
19507         (minus_infty): Likewise.
19508         (qnan_value): Likewise.
19509         (max_value): Likewise.
19510         (min_value): Likewise.
19511         (min_subnorm_value): Likewise.
19513 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19515         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19516         uint64_t or uint32_t usage.
19517         * crypt/sha256-block.c: Likewise.
19518         * crypt/sha256-crypt.c: Likewise.
19519         * crypt/sha256.c: Likewise.
19520         * crypt/sha512-block.c: Likewise.
19521         * crypt/sha512-crypt.c: Likewise.
19522         * crypt/sha512.c: Likewise.
19523         * debug/backtrace-tst.c: Likewise.
19524         * debug/pcprofiledump.c: Likewise.
19525         * elf/cache.c: Likewise.
19526         * elf/dl-cache.c: Likewise.
19527         * elf/dl-misc.c: Likewise.
19528         * elf/dl-profile.c: Likewise.
19529         * elf/dl-support.c: Likewise.
19530         * elf/ldconfig.c: Likewise.
19531         * elf/sprof.c: Likewise.
19532         * iconv/dummy-repertoire.c: Likewise.
19533         * iconv/iconv_charmap.c: Likewise.
19534         * iconv/skeleton.c: Likewise.
19535         * iconvdata/8bit-generic.c: Likewise.
19536         * iconvdata/cp737.h: Likewise.
19537         * iconvdata/cp775.h: Likewise.
19538         * iconvdata/ibm1008.h: Likewise.
19539         * iconvdata/ibm1025.h: Likewise.
19540         * iconvdata/ibm1046.h: Likewise.
19541         * iconvdata/ibm1097.h: Likewise.
19542         * iconvdata/ibm1112.h: Likewise.
19543         * iconvdata/ibm1122.h: Likewise.
19544         * iconvdata/ibm1123.h: Likewise.
19545         * iconvdata/ibm1124.h: Likewise.
19546         * iconvdata/ibm1129.h: Likewise.
19547         * iconvdata/ibm1130.h: Likewise.
19548         * iconvdata/ibm1132.h: Likewise.
19549         * iconvdata/ibm1133.h: Likewise.
19550         * iconvdata/ibm1137.h: Likewise.
19551         * iconvdata/ibm1140.h: Likewise.
19552         * iconvdata/ibm1141.h: Likewise.
19553         * iconvdata/ibm1142.h: Likewise.
19554         * iconvdata/ibm1143.h: Likewise.
19555         * iconvdata/ibm1144.h: Likewise.
19556         * iconvdata/ibm1145.h: Likewise.
19557         * iconvdata/ibm1146.h: Likewise.
19558         * iconvdata/ibm1147.h: Likewise.
19559         * iconvdata/ibm1148.h: Likewise.
19560         * iconvdata/ibm1149.h: Likewise.
19561         * iconvdata/ibm1153.h: Likewise.
19562         * iconvdata/ibm1154.h: Likewise.
19563         * iconvdata/ibm1155.h: Likewise.
19564         * iconvdata/ibm1156.h: Likewise.
19565         * iconvdata/ibm1157.h: Likewise.
19566         * iconvdata/ibm1158.h: Likewise.
19567         * iconvdata/ibm1160.h: Likewise.
19568         * iconvdata/ibm1161.h: Likewise.
19569         * iconvdata/ibm1162.h: Likewise.
19570         * iconvdata/ibm1163.h: Likewise.
19571         * iconvdata/ibm1164.h: Likewise.
19572         * iconvdata/ibm1166.h: Likewise.
19573         * iconvdata/ibm1167.h: Likewise.
19574         * iconvdata/ibm12712.h: Likewise.
19575         * iconvdata/ibm1390.h: Likewise.
19576         * iconvdata/ibm1399.h: Likewise.
19577         * iconvdata/ibm16804.h: Likewise.
19578         * iconvdata/ibm4517.h: Likewise.
19579         * iconvdata/ibm4899.h: Likewise.
19580         * iconvdata/ibm4909.h: Likewise.
19581         * iconvdata/ibm4971.h: Likewise.
19582         * iconvdata/ibm5347.h: Likewise.
19583         * iconvdata/ibm803.h: Likewise.
19584         * iconvdata/ibm856.h: Likewise.
19585         * iconvdata/ibm901.h: Likewise.
19586         * iconvdata/ibm902.h: Likewise.
19587         * iconvdata/ibm9030.h: Likewise.
19588         * iconvdata/ibm9066.h: Likewise.
19589         * iconvdata/ibm921.h: Likewise.
19590         * iconvdata/ibm922.h: Likewise.
19591         * iconvdata/ibm9448.h: Likewise.
19592         * iconvdata/isiri-3342.h: Likewise.
19593         * iconvdata/jis0201.h: Likewise.
19594         * include/link.h: Likewise.
19595         * include/netdb.h: Likewise.
19596         * inet/check_native.c: Likewise.
19597         * inet/check_pf.c: Likewise.
19598         * inet/getipv4sourcefilter.c: Likewise.
19599         * inet/getnameinfo.c: Likewise.
19600         * inet/getsourcefilter.c: Likewise.
19601         * inet/htonl.c: Likewise.
19602         * inet/setipv4sourcefilter.c: Likewise.
19603         * inet/setsourcefilter.c: Likewise.
19604         * inet/test-inet6_opt.c: Likewise.
19605         * inet/tst-network.c: Likewise.
19606         * locale/C-collate.c: Likewise.
19607         * locale/C-ctype.c: Likewise.
19608         * locale/C-time.c: Likewise.
19609         * locale/C-translit.h: Likewise.
19610         * locale/loadarchive.c: Likewise.
19611         * locale/programs/3level.h: Likewise.
19612         * locale/programs/charmap.c: Likewise.
19613         * locale/programs/charmap.h: Likewise.
19614         * locale/programs/ld-address.c: Likewise.
19615         * locale/programs/ld-collate.c: Likewise.
19616         * locale/programs/ld-ctype.c: Likewise.
19617         * locale/programs/ld-identification.c: Likewise.
19618         * locale/programs/ld-measurement.c: Likewise.
19619         * locale/programs/ld-messages.c: Likewise.
19620         * locale/programs/ld-monetary.c: Likewise.
19621         * locale/programs/ld-name.c: Likewise.
19622         * locale/programs/ld-numeric.c: Likewise.
19623         * locale/programs/ld-paper.c: Likewise.
19624         * locale/programs/ld-telephone.c: Likewise.
19625         * locale/programs/ld-time.c: Likewise.
19626         * locale/programs/linereader.c: Likewise.
19627         * locale/programs/locale.c: Likewise.
19628         * locale/programs/locarchive.c: Likewise.
19629         * locale/programs/locfile.h: Likewise.
19630         * locale/programs/repertoire.c: Likewise.
19631         * locale/programs/simple-hash.c: Likewise.
19632         * locale/programs/simple-hash.h: Likewise.
19633         * malloc/memusage.c: Likewise.
19634         * malloc/memusagestat.c: Likewise.
19635         * nis/nis_defaults.c: Likewise.
19636         * nis/nis_hash.c: Likewise.
19637         * nis/nis_print.c: Likewise.
19638         * nis/nis_xdr.c: Likewise.
19639         * nscd/connections.c: Likewise.
19640         * nscd/hstcache.c: Likewise.
19641         * nscd/nscd_gethst_r.c: Likewise.
19642         * nscd/nscd_getserv_r.c: Likewise.
19643         * nscd/nscd_helper.c: Likewise.
19644         * nscd/servicescache.c: Likewise.
19645         * nss/makedb.c: Likewise.
19646         * nss/nss_db/db-XXX.c: Likewise.
19647         * nss/nss_db/db-initgroups.c: Likewise.
19648         * nss/nss_db/db-netgrp.c: Likewise.
19649         * nss/nss_files/files-network.c: Likewise.
19650         * nss/nss_files/files-parse.c: Likewise.
19651         * posix/bug-regex5.c: Likewise.
19652         * posix/fnmatch_loop.c: Likewise.
19653         * posix/regcomp.c: Likewise.
19654         * posix/regexec.c: Likewise.
19655         * posix/tst-rfc3484-2.c: Likewise.
19656         * posix/tst-rfc3484-3.c: Likewise.
19657         * posix/tst-rfc3484.c: Likewise.
19658         * resolv/nss_dns/dns-canon.c: Likewise.
19659         * resolv/nss_dns/dns-network.c: Likewise.
19660         * resolv/res_init.c: Likewise.
19661         * resolv/res_mkquery.c: Likewise.
19662         * resolv/tst-aton.c: Likewise.
19663         * stdlib/cxa_atexit.c: Likewise.
19664         * stdlib/cxa_finalize.c: Likewise.
19665         * stdlib/gen-fpioconst.c: Likewise.
19666         * stdlib/strtol_l.c: Likewise.
19667         * string/tst-endian.c: Likewise.
19668         * sunrpc/auth_des.c: Likewise.
19669         * sunrpc/clnt_udp.c: Likewise.
19670         * sunrpc/rtime.c: Likewise.
19671         * sunrpc/svcauth_des.c: Likewise.
19672         * sunrpc/xdr.c: Likewise.
19673         * sunrpc/xdr_intXX_t.c: Likewise.
19674         * sunrpc/xdr_rec.c: Likewise.
19675         * sysdeps/generic/ldconfig.h: Likewise.
19676         * sysdeps/generic/ldsodefs.h: Likewise.
19677         * sysdeps/generic/memusage.h: Likewise.
19678         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19679         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19680         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19681         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19682         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19683         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19684         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19685         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19686         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19688         * sysdeps/posix/getaddrinfo.c: Likewise.
19689         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19690         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19691         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19692         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19693         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19694         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19695         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19696         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19697         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19698         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19699         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19700         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19701         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19702         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19703         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19704         * sysdeps/x86_64/dl-tls.h: Likewise.
19705         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19706         * time/alt_digit.c: Likewise.
19707         * time/era.c: Likewise.
19708         * wcsmbs/tst-c16c32-1.c: Likewise.
19710 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19712         * math/libm-test.inc (struct test_sincos_data): New type.
19713         (RUN_TEST_LOOP_sincos): New macro.
19714         (sincos_test_data): New variable.
19715         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19717 2013-05-16  Richard Henderson  <rth@redhat.com>
19719         * math/atest-exp2.c (LIMB64): New macro.
19720         (CONSTSZ): New macro.
19721         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19722         (hexdig): Move ...
19723         (print_mpn_fp): ... to function scope.
19724         (read_mpn_hex): Remove.
19725         (get_log2): Remove.
19726         (exp2_mpn): Use mp_log2.
19727         (main): Use mp_exp1.
19729 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19731         * math/libm-test.inc: Remove comment about not testing "inexact"
19732         exceptions.
19733         (INEXACT_EXCEPTION): New macro.
19734         (NO_INEXACT_EXCEPTION): Likewise.
19735         (INVALID_EXCEPTION_OK): Update value.
19736         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19737         (OVERFLOW_EXCEPTION_OK): Likewise.
19738         (UNDERFLOW_EXCEPTION_OK): Likewise.
19739         (IGNORE_ZERO_INF_SIGN): Likewise.
19740         (ERRNO_UNCHANGED): Likewise.
19741         (ERRNO_EDOM): Likewise.
19742         (ERRNO_ERANGE): Likewise.
19743         (test_exceptions): Handle testing "inexact" exceptions.
19744         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19745         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19746         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19747         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19748         INEXACT_EXCEPTION.
19749         (rint_towardzero_test_data): Likewise.
19750         (rint_downward_test_data): Likewise.
19751         (rint_upward_test_data): Likewise.
19753         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19754         with OVERFLOW_EXCEPTION.
19755         (exp10_test_data): Likewise.
19756         (exp2_test_data): Likewise.
19757         (expm1_test_data): Likewise.
19758         (lgamma_test_data): Likewise.
19759         (pow_test_data): Likewise.
19760         (tgamma_test_data): Likewise.
19761         (yn_test_data): Remove duplicate test of overflow.
19763         * math/libm-test.inc (struct test_cc_c_data): New type.
19764         (RUN_TEST_LOOP_cc_c): New macro.
19765         (cpow_test_data): New variable.
19766         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19768         * math/libm-test.inc (struct test_f_L_data): New type.
19769         (RUN_TEST_LOOP_f_L): New macro.
19770         (llrint_test_data): New variable.
19771         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19772         (llrint_tonearest_test_data): New variable.
19773         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19774         (llrint_towardzero_test_data): New variable.
19775         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19776         (llrint_downward_test_data): New variable.
19777         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19778         (llrint_upward_test_data): New variable.
19779         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19780         (llround_test_data): New variable.
19781         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19783 2013-05-13  Peter Collingbourne  <pcc@google.com>
19785         * math/atest-exp2.c (get_log2): Remove const attribute.
19787 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19789         * math/libm-test.inc (struct test_f_l_data): New type.
19790         (RUN_TEST_LOOP_f_l): New macro.
19791         (lrint_test_data): New variable.
19792         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19793         (lrint_tonearest_test_data): New variable.
19794         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19795         (lrint_towardzero_test_data): New variable.
19796         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19797         (lrint_downward_test_data): New variable.
19798         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19799         (lrint_upward_test_data): New variable.
19800         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19801         (lround_test_data): New variable.
19802         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19804 2013-05-15  Peter Collingbourne  <pcc@google.com>
19806         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19807         (EXTRACT_WORDS64) Use where appropriate.
19808         (INSERT_WORDS64) Likewise.
19810         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19811         constraints with x constraints.
19812         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19814         * malloc/obstack.c (_obstack_compat): Add initializer.
19816 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19818         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19819         si_trapno and add si_addr_lsb to _sifields.sigfault.
19820         (si_trapno): Remove macro.
19821         (si_addr_lsb): Define new macro.
19822         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19824 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19826         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19827         instead of TEST_f_l.
19828         (llrint_test_tonearest): Likewise.
19829         (llrint_test_towardzero): Likewise.
19830         (llrint_test_downward): Likewise.
19831         (llrint_test_upward): Likewise.
19832         (llround_test): Likewise.
19834         * math/libm-test.inc (struct test_f_i_data): Add comment.
19835         (RUN_TEST_LOOP_f_b): New macro.
19836         (RUN_TEST_LOOP_f_b_tg): Likewise.
19837         (finite_test_data): New variable.
19838         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19839         (isfinite_test_data): New variable.
19840         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19841         (isinf_test_data): New variable.
19842         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19843         (isnan_test_data): New variable.
19844         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19845         (isnormal_test_data): New variable.
19846         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19847         (issignaling_test_data): New variable.
19848         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19849         (signbit_test_data): New variable.
19850         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19852         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19853         with INVALID_EXCEPTION.
19854         (acosh_test_data): Likewise.
19855         (asin_test_data): Likewise.
19856         (atanh_test_data): Likewise.
19857         (fmod_test_data): Likewise.
19858         (log_test_data): Likewise.
19859         (log10_test_data): Likewise.
19860         (log2_test_data): Likewise.
19861         (pow_test_data): Likewise.
19862         (sqrt_test_data): Likewise.
19863         (y0_test_data): Likewise.
19864         (y1_test_data): Likewise.
19865         (yn_test_data): Likewise.
19867         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19868         function contents.
19870         * math/libm-test.inc (struct test_ff_i_data): New type.
19871         (RUN_TEST_LOOP_ff_i_tg): New macro.
19872         (isgreater_test_data): New variable.
19873         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19874         (isgreaterequal_test_data): New variable.
19875         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19876         (isless_test_data): New variable.
19877         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19878         (islessequal_test_data): New variable.
19879         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19880         (islessgreater_test_data): New variable.
19881         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19882         (isunordered_test_data): New variable.
19883         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19885 2013-05-14  David S. Miller  <davem@davemloft.net>
19887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19889 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19891         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19893         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19894         extra_test to int.
19895         (struct test_f_i_data): Change type of max_ulp to int.
19897         * math/libm-test.inc (test_ffI_f1_data): New type.
19898         (RUN_TEST_LOOP_ffI_f1): New macro.
19899         (remquo_test_data): New variable.
19900         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19902         * setjmp/tst-setjmp-fp.c: New file.
19903         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19904         (link-libm): New variable.
19905         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19907         * math/libm-test.inc (struct test_f_i_data): New type.
19908         (RUN_TEST_LOOP_f_i): New macro.
19909         (RUN_TEST_LOOP_f_i_tg): Likewise.
19910         (fpclassify_test_data): New variable.
19911         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19912         (ilogb_test_data): New variable.
19913         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19915         * math/libm-test.inc (scalbln_test): Correct function name in END
19916         call.
19918         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19919         (RUN_TEST_LOOP_fI_f1): New macro.
19920         (frexp_test_data): New variable.
19921         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19923         * math/libm-test.inc (struct test_fF_f1_data): New type.
19924         (RUN_TEST_LOOP_fF_f1): New macro.
19925         (modf_test_data): New variable.
19926         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19928         * math/libm-test.inc (struct test_f_f1_data): New type.
19929         (RUN_TEST_LOOP_f_f1): New macro.
19930         (gamma_test_data): New variable.
19931         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19932         (lgamma_test_data): New variable.
19933         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19935 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19938         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19939         (main): Comment "tls" pseudo-hwcap.
19941 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19943         * math/libm-test.inc (struct test_fl_f_data): New type.
19944         (RUN_TEST_LOOP_fl_f): New variable.
19945         (scalbln_test_data): New variable.
19946         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19948         * math/libm-test.inc (struct test_fi_f_data): New type.
19949         (RUN_TEST_LOOP_fi_f): New macro.
19950         (ldexp_test_data): New variable.
19951         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19952         (scalbn_test_data): New variable.
19953         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19955         * math/libm-test.inc (struct test_c_f_data): New type.
19956         (RUN_TEST_LOOP_c_f): New macro.
19957         (cabs_test_data): New variable.
19958         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19959         (carg_test_data): New variable.
19960         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19961         (cimag_test_data): New variable.
19962         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19963         (creal_test_data): New variable.
19964         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19966         * math/libm-test.inc (struct test_if_f_data): New type.
19967         (RUN_TEST_LOOP_if_f): New macro.
19968         (jn_test_data): New variable.
19969         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19970         (yn_test_data): New variable.
19971         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19973         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19975 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19977         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19978         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19980 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19982         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19983         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19984         (bench-deps): Add bench-timing.h.
19985         * benchtests-bench-skeleton.c: Include bench-timing.h.
19986         (main): Use TIMING_* macros instead of clock_gettime.
19987         * benchtests/bench-timing.h: New file.
19989         [BZ #14582]
19990         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19991         Renamed from _LIB_VERSION.
19992         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19994 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19996         * math/libm-test.inc (struct test_fff_f_data): New type.
19997         (RUN_TEST_LOOP_fff_f): New macro.
19998         (fma_test_data): New variable.
19999         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20000         (fma_towardzero_test_data): New variable.
20001         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20002         (fma_downward_test_data): New variable.
20003         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20004         (fma_upward_test_data): New variable.
20005         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20007         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20008         (struct test_c_c_data): New type.
20009         (RUN_TEST_LOOP_c_c): New macro.
20010         (cacos_test_data): New variable.
20011         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20012         (cacosh_test_data): New variable.
20013         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20014         (casin_test_data): New variable.
20015         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20016         (casinh_test_data): New variable.
20017         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20018         (catan_test_data): New variable.
20019         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20020         (catanh_test_data): New variable.
20021         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20022         (ccos_test_data): New variable.
20023         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20024         (ccosh_test_data): New variable.
20025         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20026         (cexp_test_data): New variable.
20027         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20028         (clog_test_data): New variable.
20029         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20030         (clog10_test_data): New variable.
20031         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20032         (conj_test_data): New variable.
20033         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20034         (cproj_test_data): New variable.
20035         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20036         (csin_test_data): New variable.
20037         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20038         (csinh_test_data): New variable.
20039         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20040         (csqrt_test_data): New variable.
20041         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20042         (ctan_test_data): New variable.
20043         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20044         (ctan_tonearest_test_data): New variable.
20045         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20046         (ctan_towardzero_test_data): New variable.
20047         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20048         (ctan_downward_test_data): New variable.
20049         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20050         (ctan_upward_test_data): New variable.
20051         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20052         (ctanh_test_data): New variable.
20053         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20054         (ctanh_tonearest_test_data): New variable.
20055         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20056         (ctanh_towardzero_test_data): New variable.
20057         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20058         (ctanh_downward_test_data): New variable.
20059         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20060         (ctanh_upward_test_data): New variable.
20061         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20062         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20063         of BUILD_COMPLEX.
20065         * math/libm-test.inc (struct test_ff_f_data): New type.
20066         (struct test_ff_f_data_nexttoward): Likewise.
20067         (RUN_TEST_LOOP_2_f): New macro.
20068         (RUN_TEST_LOOP_ff_f): Likewise.
20069         (atan2_test_data): New variable.
20070         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20071         (copysign_test_data): New variable.
20072         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20073         (fdim_test_data): New variable.
20074         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20075         (fmax_test_data): New variable.
20076         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20077         (fmin_test_data): New variable.
20078         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20079         (fmod_test_data): New variable.
20080         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20081         (hypot_test_data): New variable.
20082         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20083         (nextafter_test_data): New variable.
20084         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20085         (nexttoward_test_data): New variable.
20086         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20087         (pow_test_data): New variable.
20088         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20089         (pow_tonearest_test_data): New variable.
20090         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20091         (pow_towardzero_test_data): New variable.
20092         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20093         (pow_downward_test_data): New variable.
20094         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20095         (pow_upward_test_data): New variable.
20096         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20097         (remainder_test_data): New variable.
20098         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20099         (scalb_test_data): New variable.
20100         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20101         * sysdeps/i386/fpu/libm-test-ulps: Update.
20103 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20105         * math/libm-test.inc (fma_test): Use max_value instead of local
20106         variable fltmax.
20107         (nextafter_test): Likewise.
20109         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20110         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20111         (acos_downward_test_data): New variable.
20112         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20113         (acos_upward_test_data): New variable.
20114         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20115         (acosh_test_data): New variable.
20116         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20117         (asin_test_data): New variable.
20118         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20119         (asin_tonearest_test_data): New variable.
20120         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20121         (asin_towardzero_test_data): New variable.
20122         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20123         (asin_downward_test_data): New variable.
20124         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20125         (asin_upward_test_data): New variable.
20126         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20127         (asinh_test_data): New variable.
20128         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20129         (atan_test_data): New variable.
20130         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20131         (atanh_test_data): New variable.
20132         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20133         (cbrt_test_data): New variable.
20134         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20135         (ceil_test_data): New variable.
20136         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20137         (cos_test_data): New variable.
20138         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20139         (cos_tonearest_test_data): New variable.
20140         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20141         (cos_towardzero_test_data): New variable.
20142         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20143         (cos_downward_test_data): New variable.
20144         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20145         (cos_upward_test_data): New variable.
20146         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20147         (cosh_test_data): New variable.
20148         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20149         (cosh_tonearest_test_data): New variable.
20150         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20151         (cosh_towardzero_test_data): New variable.
20152         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20153         (cosh_downward_test_data): New variable.
20154         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20155         (cosh_upward_test_data): New variable.
20156         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20157         (erf_test_data): New variable.
20158         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20159         (erfc_test_data): New variable.
20160         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20161         (exp_test_data): New variable.
20162         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20163         (exp_tonearest_test_data): New variable.
20164         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20165         (exp_towardzero_test_data): New variable.
20166         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20167         (exp_downward_test_data): New variable.
20168         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20169         (exp_upward_test_data): New variable.
20170         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20171         (exp10_test_data): New variable.
20172         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20173         (exp2_test_data): New variable.
20174         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20175         (expm1_test_data): New variable.
20176         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20177         (fabs_test_data): New variable.
20178         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20179         (floor_test_data): New variable.
20180         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20181         (j0_test_data): New variable.
20182         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20183         (j1_test_data): New variable.
20184         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20185         (log_test_data): New variable.
20186         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20187         (log10_test_data): New variable.
20188         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20189         (log1p_test_data): New variable.
20190         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20191         (log2_test_data): New variable.
20192         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20193         (logb_test_data): New variable.
20194         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20195         (logb_downward_test_data): New variable.
20196         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20197         (nearbyint_test_data): New variable.
20198         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20199         (rint_test_data): New variable.
20200         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20201         (rint_tonearest_test_data): New variable.
20202         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20203         (rint_towardzero_test_data): New variable.
20204         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20205         (rint_downward_test_data): New variable.
20206         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20207         (rint_upward_test_data): New variable.
20208         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20209         (round_test_data): New variable.
20210         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20211         (sin_test_data): New variable.
20212         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20213         (sin_tonearest_test_data): New variable.
20214         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20215         (sin_towardzero_test_data): New variable.
20216         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20217         (sin_downward_test_data): New variable.
20218         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20219         (sin_upward_test_data): New variable.
20220         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20221         (sinh_test_data): New variable.
20222         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20223         (sinh_tonearest_test_data): New variable.
20224         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20225         (sinh_towardzero_test_data): New variable.
20226         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20227         (sinh_downward_test_data): New variable.
20228         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20229         (sinh_upward_test_data): New variable.
20230         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20231         (sqrt_test_data): New variable.
20232         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20233         (tan_test_data): New variable.
20234         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20235         (tan_tonearest_test_data): New variable.
20236         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20237         (tan_towardzero_test_data): New variable.
20238         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20239         (tan_downward_test_data): New variable.
20240         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20241         (tan_upward_test_data): New variable.
20242         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20243         (tanh_test_data): New variable.
20244         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20245         (tgamma_test_data): New variable.
20246         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20247         (trunc_test_data): New variable.
20248         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20249         (y0_test_data): New variable.
20250         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20251         (y1_test_data): New variable.
20252         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20253         (significand_test_data): New variable.
20254         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20256 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20258         [BZ #12387]
20259         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20261 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20263         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20265 2013-05-10  Andreas Jaeger  <aj@suse.de>
20267         [BZ #15448]
20268         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20269         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20271 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20273         * math/gen-libm-test.pl (adjust_arg): New function.
20274         (special_functions): Handle generating output in both functions
20275         and arrays.
20276         (parse_args): Likewise.
20277         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20278         $in_func argument to parse_args.
20279         * math/libm-test.inc (struct test_f_f_data): New type.
20280         (IF_ROUND_INIT_): New macro.
20281         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20282         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20283         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20284         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20285         (ROUND_RESTORE_): Likewise.
20286         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20287         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20288         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20289         (ROUND_RESTORE_FE_UPWARD): Likewise.
20290         (RUN_TEST_LOOP_f_f): New macro.
20291         (acos_test_data): New variable.
20292         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20293         (acos_tonearest_test_data): New variable.
20294         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20296 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20298         * benchtests/bench-skeleton.c (startup): Fix coding style.
20300 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20302         [BZ #6809]
20303         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20304         negative infinity argument.
20305         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20306         negative infinity argument.
20307         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20308         negative infinity argument.
20309         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20310         domain errors.
20312 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20314         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20315         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20316         * iconv/iconv_prog.c (main): Likewise.
20317         * locale/programs/charmap-dir.c (charmap_readdir)
20318         (fopen_uncompressed): Likewise.
20319         * locale/programs/locfile.c (siblings_uncached)
20320         (write_locale_data): Use lstat64 instead of lstat.
20321         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20322         stat.
20324 2013-05-10  Andreas Jaeger  <aj@suse.de>
20326         [BZ #15395]
20327         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20328         localization.
20329         Include <locale.h>.
20331 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20333         * elf/dl-close.c (_dl_close_worker): Add comments.
20335 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20337         [BZ #15359]
20338         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20339         high part of pi/2.
20340         (__ieee754_rem_pio2l): Update comments.
20342         [BZ #15429]
20343         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20344         high part of pi/2.
20345         (__ieee754_rem_pio2l): Update comments.
20347         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20348         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20350         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20351         M_PI_4l.
20353         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20354         (M_PI_34_LOG10El): Likewise.
20355         (M_PI2_LOG10El): Likewise.
20356         (M_PI4_LOG10El): Likewise.
20357         (M_PI_LOG10El): Likewise.
20359 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20363 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20365         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20366         (MINUS_ZERO_INIT): Likewise.
20367         (PLUS_INFTY_INIT): Likewise.
20368         (MINUS_INFTY_INIT): Likewise.
20369         (QNAN_VALUE_INIT): Likewise.
20370         (MAX_VALUE_INIT): Likewise.
20371         (MIN_VALUE_INIT): Likewise.
20372         (MIN_SUBNORM_VALUE_INIT): Likewise.
20373         (plus_zero): Initialize with PLUS_ZERO_INIT.
20374         (minus_zero): Initialize with MINUS_ZERO_INIT.
20375         (plus_infty): Initialize with PLUS_INFTY_INIT.
20376         (minus_infty): Initialize with MINUS_INFTY_INIT.
20377         (qnan_value): Initialize with QNAN_VALUE_INIT.
20378         (max_value): Initialize with MAX_VALUE_INIT.
20379         (min_value): Initialize with MIN_VALUE_INIT.
20380         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20382         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20383         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20384         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20385         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20387         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20388         (RUN_TEST_2_f): Likewise.
20389         (RUN_TEST_ff_f): Likewise.
20390         (RUN_TEST_fi_f): Likewise.
20391         (RUN_TEST_fl_f): Likewise.
20392         (RUN_TEST_fff_f): Likewise.
20393         (RUN_TEST_c_f): Likewise.
20394         (RUN_TEST_f_f1): Likewise.
20395         (RUN_TEST_fF_f1): Likewise.
20396         (RUN_TEST_fI_f1): Likewise.
20397         (RUN_TEST_ffI_f1): Likewise.
20398         (RUN_TEST_c_c): Likewise.
20399         (RUN_TEST_cc_c): Likewise.
20400         (RUN_TEST_f_i): Likewise.
20401         (RUN_TEST_f_i_tg): Likewise.
20402         (RUN_TEST_ff_i_tg): Likewise.
20403         (RUN_TEST_f_b): Likewise.
20404         (RUN_TEST_f_b_tg): Likewise.
20405         (RUN_TEST_f_l): Likewise.
20406         (RUN_TEST_f_L): Likewise.
20407         (RUN_TEST_sincos): Likewise.
20408         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20409         whether to show exceptions.  Do not include ");\n" in return
20410         value.
20411         (special_functions): Output call to RUN_TEST_sincos instead of
20412         check_float calls.  Update calls to new_test.
20413         (parse_args): Output call to single RUN_TEST_* macro instead of
20414         check_* calls and other assignments.  Update calls to new_test.
20416         [BZ #2546]
20417         [BZ #2560]
20418         [BZ #5159]
20419         [BZ #15426]
20420         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20421         input to result for tgamma overflow.
20422         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20423         (gamma_coeff): New variable.
20424         (NCOEFF): New macro.
20425         (gamma_positive): New function.
20426         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20427         underflow here.  Use gamma_positive instead of exp (lgamma) for
20428         other arguments.
20429         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20430         (gamma_coeff): New variable.
20431         (NCOEFF): New macro.
20432         (gammaf_positive): New function.
20433         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20434         underflow here.  Use gamma_positive instead of exp (lgamma) for
20435         other arguments.
20436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20437         (gamma_coeff): New variable.
20438         (NCOEFF): New macro.
20439         (gammal_positive): New function.
20440         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20441         underflow here.  Use gamma_positive instead of exp (lgamma) for
20442         other arguments.
20443         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20444         (gamma_coeff): New variable.
20445         (NCOEFF): New macro.
20446         (gammal_positive): New function.
20447         (__ieee754_gammal_r): Handle positive infinity, overflow and
20448         underflow here.  Handle NaN the same as positive infinity.  Remove
20449         check x < 0xffffffff for negative integers.  Use gamma_positive
20450         instead of exp (lgamma) for other arguments.
20451         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20452         (gamma_coeff): New variable.
20453         (NCOEFF): New macro.
20454         (gammal_positive): New function.
20455         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20456         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20460         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20461         * sysdeps/generic/math_private.h (__gamma_productf): New
20462         prototype.
20463         (__gamma_product): Likewise.
20464         (__gamma_productl): Likewise.
20465         * math/Makefile (libm-calls): Add gamma_product.
20466         * math/libm-test.inc (tgamma_test): Add more tests.
20467         * sysdeps/i386/fpu/libm-test-ulps: Update.
20468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20470 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20472         * benchtests/bench-skeleton.c (main): Preheat CPU.
20474 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20476         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20478 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20480         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20481         and _dl_skip_args_internal.
20483 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20485         * manual/message.texi (Message Translation): Talk about users.
20486         Message to key mapping impacts design.
20488 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20490         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20492         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20494         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20495         * sysdeps/wordsize-64/glob64.c: ... here.
20497         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20498         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20499         New macros.
20501         * debug/getlogin_r_chk.c: Moved to ...
20502         * login/getlogin_r_chk.c: ... here.
20503         * debug/Makefile (routines): Move getlogin_r_chk to ...
20504         * login/Makefile (routines): ... here.
20505         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20506         * login/Versions (libc: GLIBC_2.4): ... here.
20508         * io/poll.c (__poll): Renamed from poll.
20509         Add libc_hidden_def.
20510         (poll): Define as weak alias.
20512         * debug/ptsname_r_chk.c: Moved to ...
20513         * login/ptsname_r_chk.c: ... here.
20514         * debug/Makefile (routines): Move ptsname_r_chk to ...
20515         * login/Makefile (routines): ... here.
20516         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20517         * login/Versions (libc: GLIBC_2.4): ... here.
20519         * posix/getlogin.c: Moved to ...
20520         * login/getlogin.c: ... here.
20521         * posix/getlogin_r.c: Moved to ...
20522         * login/getlogin_r.c: ... here.
20523         * posix/getlogin_r.c: Moved to ...
20524         * login/getlogin_r.c: ... here.
20525         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20526         * login/Makefile (routines): ... here.
20527         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20528         * login/Versions (libc: GLIBC_2.0): ... here.
20530         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20531         (setrlimit): Define as weak alias.
20533         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20534         Call __ names for open, ftruncate, and close.
20535         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20536         (truncate): Define as weak alias.
20538 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20540         * math/gen-libm-test.pl (parse_args): Initialize x before each
20541         test of frexp, modf and remquo.
20543         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20544         test signgam value.
20546 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20548         [BZ #15418]
20549         [BZ #15419]
20550         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20551         internal tests.
20552         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20554 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20556         * elf/dl-writev.h: New file.
20557         * elf/dl-misc.c: Include it.
20558         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20559         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20561 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20563         * math/libm-test.inc (noXFails): Remove variable.
20564         (noXPasses): Likewise.
20565         (BUILD_COMPLEX_INT): Remove macro.
20566         (print_screen): Remove xfail argument.
20567         (print_screen_max_error): Likewise.
20568         (update_stats): Likewise.
20569         (print_max_error): Likewise.  Update calls to other affected
20570         functions.
20571         (print_complex_max_error): Likewise.
20572         (test_single_exception): Update calls to print_screen.
20573         (test_single_errno): Likewise.
20574         (check_float_internal): Remove xfail argument.  Update calls to
20575         other affected functions.
20576         (check_float): Likewise.
20577         (check_complex): Likewise.
20578         (check_int): Likewise.
20579         (check_long): Likewise.
20580         (check_bool): Likewise.
20581         (check_longlong): Likewise.
20582         (main): Don't print noXFails and noXPasses.
20583         * math/gen-libm-test.pl (top level): Don't mention expected
20584         failure handling in comment.
20585         (new_test): Don't handle expected failures.
20586         (parse_args): Don't mention expected failure handling in comment.
20587         (generate_testfile): Don't handle expected failures.
20588         (parse_ulps): Likewise.
20589         (print_ulps_file): Likewise.
20590         (get_failure): Remove function.
20591         (output_test): Don't handle expected failures.
20592         * make/README.libm-test: Don't mention expected failure handling.
20594         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20595         (minus_zero): Likewise.
20596         (plus_infty): Likewise.
20597         (minus_infty): Likewise.
20598         (qnan_value): Likewise.
20599         (max_value): Likewise.
20600         (min_value): Likewise.
20601         (min_subnorm_value): Likewise.
20602         (initialize): Do not initialize those variables dynamically.
20604 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20606         * io/open.c (__open_2): Moved to ...
20607         * io/open_2.c: ... this new file.
20608         * io/open64.c (__open64_2): Moved to ...
20609         * io/open64_2.c: ... this new file.
20610         * io/openat.c (__openat_2): Moved to ...
20611         * io/openat_2.c: ... this new file.
20612         * io/openat64.c (__openat64_2): Moved to ...
20613         * io/openat64_2.c: ... this new file.
20614         * io/Makefile (routines): Add them.
20615         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20616         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20617         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20618         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20619         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20620         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20621         (__openat64): Add hidden_ver.
20622         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20623         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20625         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20626         Separately conditionalize setting of GLRO(dl_sysinfo) so
20627         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20628         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20630 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20632         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20633         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20634         definition.
20635         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20636         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20637         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20638         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20639         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20641 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20643         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20644         test signgam value.
20646         * math/libm-test.inc (hypot_test): Do not use
20647         IGNORE_ZERO_INF_SIGN.
20649 2013-05-03  Andreas Jaeger  <aj@suse.de>
20651         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20652         Linux 3.9.
20653         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20654         (PF_MAX): Adjust for VSOCK change.
20656 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20660 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20662         [BZ #15264]
20663         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20664         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20665         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20667 2013-05-02  David S. Miller  <davem@davemloft.net>
20669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20671 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20673         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20675 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20677         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20679 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20681         [BZ #14952]
20682         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20683         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20684         Use __attribute__ ((__gnu_inline__)).
20685         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20686         Don't use __attribute__ ((__gnu_inline__)).
20688 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20690         [BZ #15423]
20691         * math/s_catan.c (__catan): Handle small real or imaginary part of
20692         input specially to avoid spurious underflow.
20693         * math/s_catanf.c (__catanf): Likewise.
20694         * math/s_catanh.c (__catanh): Likewise.
20695         * math/s_catanhf.c (__catanhf): Likewise.
20696         * math/s_catanhl.c (__catanhl): Likewise.
20697         * math/s_catanl.c (__catanl): Likewise.
20698         * math/libm-test.inc (catan_test): Add more tests.
20699         (catanh_test): Likewise.
20700         * sysdeps/i386/fpu/libm-test-ulps: Update.
20701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20703 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20707 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20709         [BZ #15416]
20710         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20711         accurately for denominator in atan2.
20712         * math/s_catanf.c (__catanf): Likewise.
20713         * math/s_catanh.c (__catanh): Likewise.
20714         * math/s_catanhf.c (__catanhf): Likewise.
20715         * math/s_catanhl.c (__catanhl): Likewise.
20716         * math/s_catanl.c (__catanl): Likewise.
20717         * math/libm-test.inc (catan_test): Add more tests.
20718         (catanh_test): Likewise.
20719         * sysdeps/i386/fpu/libm-test-ulps: Update.
20720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20724         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20726         * benchtests/Makefile (bench): Remove slow benchmarks.
20727         * benchtests/atan-inputs: Add slow benchmark inputs.
20728         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20729         (BENCH_FUNC): Accept variant offset.
20730         (VARIANT): Define.
20731         * benchtests/bench-skeleton.c (main): Run benchmark for each
20732         variant.
20733         * benchtests/cos-inputs: Add slow benchmark inputs.
20734         * benchtests/exp-inputs: Likewise.
20735         * benchtests/pow-inputs: Likewise.
20736         * benchtests/sin-inputs: Likewise.
20737         * benchtests/slowatan-inputs: Remove.
20738         * benchtests/slowatan.c: Remove.
20739         * benchtests/slowcos-inputs: Remove.
20740         * benchtests/slowcos.c: Remove.
20741         * benchtests/slowexp-inputs: Remove.
20742         * benchtests/slowexp.c: Remove.
20743         * benchtests/slowpow-inputs: Remove.
20744         * benchtests/slowpow.c: Remove.
20745         * benchtests/slowsin-inputs: Remove.
20746         * benchtests/slowsin.c: Remove.
20747         * benchtests/slowtan-inputs: Remove.
20748         * benchtests/slowtan.c: Remove.
20749         * benchtests/tan-inputs: Add slow benchmark inputs.
20750         * scripts/bench.pl: Parse comments and directives.
20752         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20753         in CPPFLAGS.
20754         ($(objpfx)bench-%.c): Remove *-ITER.
20755         * benchtests/bench-modf.c: Remove definition of ITER.
20756         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20757         (main): Loop for DURATION seconds instead of fixed number of
20758         iterations.
20759         * scripts/bench.pl: Don't expect iterations in parameters.
20761 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20763         * io/fchdir.c (__fchdir): Renamed from fchdir.
20764         (fchdir): Define as weak alias.
20766 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20768         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20769         (ERRNO_EDOM): Likewise.
20770         (ERRNO_ERANGE): Likewise.
20771         (noErrnoTests): New variable.
20772         (init_max_error): Set errno to 0.
20773         (test_single_errno): New function.
20774         (test_errno): Likewise.
20775         (check_float_internal): Call test_errno.  Set errno to 0.
20776         (check_complex): Refer to errno tests in comment.
20777         (check_int): Call test_errno.  Set errno to 0.
20778         (check_long): Likewise.
20779         (check_bool): Likewise.
20780         (check_longlong): Likewise.
20781         (cos_test): Use ERRNO_* flags for errno tests instead of
20782         check_int.
20783         (expm1_test): Likewise.
20784         (fmod_test): Likewise.
20785         (ilogb_test): Likewise.
20786         (lgamma_test): Likewise.
20787         (pow_test): Likewise.
20788         (remainder_test): Likewise.
20789         (sin_test): Likewise.
20790         (tan_test): Likewise.
20791         (yn_test): Likewise.
20792         (initialize): Set errno to 0.
20793         (main): Print number of errno tests.
20794         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20796 2013-04-29  Andreas Jaeger  <aj@suse.de>
20798         [BZ #15084]
20799         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20800         and RES_USEVC.
20802         [BZ #15085]
20803         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20804         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20805         unimplemented.
20807         [BZ #15380]
20808         * stdlib/random.c (__initstate): Return NULL if
20809         __initstate fails.
20811         [BZ #15086]
20812         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20813         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20814         RES_SNGLKUPREOP.
20816 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20820 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20822         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20823         of individual tests.
20824         (casin_test): Likewise.
20825         (casinh_test): Likewise.
20827 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #15409]
20830         * math/s_catan.c (__catan): Handle arguments with large real or
20831         imaginary part separately without squaring.
20832         * math/s_catanf.c (__catanf): Likewise.
20833         * math/s_catanh.c (__catanh): Likewise.
20834         * math/s_catanhf.c (__catanhf): Likewise.
20835         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20836         and redefine.
20837         (__catanhl): Handle arguments with large real or imaginary part
20838         separately without squaring.
20839         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20840         and redefine.
20841         (__catanl): Handle arguments with large real or imaginary part
20842         separately without squaring.
20843         * math/libm-test.inc (catan_test): Add more tests.
20844         (catanh_test): Likewise.
20845         * sysdeps/i386/fpu/libm-test-ulps: Update.
20846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20848 2013-04-27  Andreas Jaeger  <aj@suse.de>
20850         [BZ #15007]
20851         * stdlib/stdlib.h: Update guards for qecvt.
20852         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20853         <stdlib.h>.
20855 2013-04-27  Allan McRae  <allan@archlinux.org>
20857         * sysdeps/i386/fpu/libm-test-ulps: Update.
20859 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20861         [BZ #15406]
20862         * math/s_catan.c: Include <float.h>.
20863         (__catan): Ensure underflow exception occurs for underflowed
20864         result.
20865         * math/s_catanf.c: Include <float.h>.
20866         (__catanf): Ensure underflow exception occurs for underflowed
20867         result.
20868         * math/s_catanh.c: Include <float.h>.
20869         (__catanh): Ensure underflow exception occurs for underflowed
20870         result.
20871         * math/s_catanhf.c: Include <float.h>.
20872         (__catanhf): Ensure underflow exception occurs for underflowed
20873         result.
20874         * math/s_catanhl.c: Include <float.h>.
20875         (__catanhl): Ensure underflow exception occurs for underflowed
20876         result.
20877         * math/s_catanl.c: Include <float.h>.
20878         (__catanl): Ensure underflow exception occurs for underflowed
20879         result.
20880         * math/libm-test.inc (catan_test): Add more tests.
20881         (catanh_test): Likewise.
20883         [BZ #15405]
20884         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20885         underflowed result.
20886         * math/s_ccoshf.c (__ccoshf): Likewise.
20887         * math/s_ccoshl.c (__ccoshl): Likewise.
20888         * math/s_csin.c (__csin): Likewise.
20889         * math/s_csinf.c (__csinf): Likewise.
20890         * math/s_csinh.c (__csinh): Likewise.
20891         * math/s_csinhf.c (__csinhf): Likewise.
20892         * math/s_csinhl.c (__csinhl): Likewise.
20893         * math/s_csinl.c (__csinl): Likewise.
20894         * math/libm-test.inc (ccos_test): Add more tests.
20895         (ccosh_test): Likewise.
20896         (csin_test): Likewise.
20897         (csinh_test): Likewise.
20899 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20901         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20902         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20903         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20904         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20905         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20906         powerpc/power5+/fpu folders.
20907         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20910 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20914 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20916         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20917         additions to variable.
20918         [$(config-machine) = x86_64] (modules-names): Likewise.
20919         ($(objpfx)tst-audit3): Remove dependency.
20920         ($(objpfx)tst-audit3.out): Likewise.
20921         ($(objpfx)tst-audit4): Likewise.
20922         ($(objpfx)tst-audit4.out): Likewise.
20923         ($(objpfx)tst-audit5): Likewise.
20924         ($(objpfx)tst-audit5.out): Likewise.
20925         ($(objpfx)tst-audit6): Likewise.
20926         ($(objpfx)tst-audit6.out): Likewise.
20927         ($(objpfx)tst-audit7): Likewise.
20928         ($(objpfx)tst-audit7.out): Likewise.
20929         (tst-audit3-ENV): Remove variable.
20930         (tst-audit4-ENV): Likewise.
20931         (tst-audit5-ENV): Likewise.
20932         (tst-audit6-ENV): Likewise.
20933         (tst-audit7-ENV): Likewise.
20934         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20935         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20936         addition to variable.
20937         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20938         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20939         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20940         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20941         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20942         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20943         tst-audit3, tst-audit4 and tst-audit5.
20944         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20945         tst-audit6 and tst-audit7.
20946         [$(subdir) = elf] (modules-names): Add audit modules for those
20947         tests.
20948         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20949         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20950         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20951         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20952         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20953         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20954         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20955         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20956         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20957         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20958         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20959         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20960         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20961         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20962         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20963         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20964         Likewise.
20965         [$(subdir) = elf && $(config-cflags-avx) = yes]
20966         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20967         [$(subdir) = elf && $(config-cflags-avx) = yes]
20968         (CFLAGS-tst-auditmod4a.c): Likewise.
20969         [$(subdir) = elf && $(config-cflags-avx) = yes]
20970         (CFLAGS-tst-auditmod4b.c): Likewise.
20971         [$(subdir) = elf && $(config-cflags-avx) = yes]
20972         (CFLAGS-tst-auditmod6b.c): Likewise.
20973         [$(subdir) = elf && $(config-cflags-avx) = yes]
20974         (CFLAGS-tst-auditmod6c.c): Likewise.
20975         [$(subdir) = elf && $(config-cflags-avx) = yes]
20976         (CFLAGS-tst-auditmod7b.c): Likewise.
20977         * elf/tst-audit3.c: Move to ...
20978         * sysdeps/x86_64/tst-audit3.c: ... here.
20979         * elf/tst-audit4.c: Move to ...
20980         * sysdeps/x86_64/tst-audit4.c: ... here.
20981         * elf/tst-audit5.c: Move to ...
20982         * sysdeps/x86_64/tst-audit5.c: ... here.
20983         * elf/tst-audit6.c: Move to ...
20984         * sysdeps/x86_64/tst-audit6.c: ... here.
20985         * elf/tst-audit7.c: Move to ...
20986         * sysdeps/x86_64/tst-audit7.c: ... here.
20987         * elf/tst-auditmod3a.c: Move to ...
20988         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20989         * elf/tst-auditmod3b.c: Move to ...
20990         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20991         * elf/tst-auditmod4a.c: Move to ...
20992         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20993         * elf/tst-auditmod4b.c: Move to ...
20994         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20995         * elf/tst-auditmod5a.c: Move to ...
20996         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20997         * elf/tst-auditmod5b.c: Move to ...
20998         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20999         * elf/tst-auditmod6a.c: Move to ...
21000         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21001         * elf/tst-auditmod6b.c: Move to ...
21002         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21003         * elf/tst-auditmod6c.c: Move to ...
21004         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21005         * elf/tst-auditmod7a.c: Move to ...
21006         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21007         * elf/tst-auditmod7b.c: Move to ...
21008         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21010 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21012         [BZ #15366]
21013         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21014         define unconditionally.
21015         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21016         define unconditionally.
21017         (INT8_C, INT16_C, etc.): Likewise.
21019 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21021         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21022         __ehdr_start with hidden visibility.
21024         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21026 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21028         * math/libm-test.inc (cos_test): Use accurate hex constants.
21029         (sincost_test): Likewise.
21031 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21033         * math/libm-test.inc (catan_test): Add more tests.
21034         (catanh_test): Likewise.
21036         * math/s_catanf.c (__catanf): Use suffixed floating-point
21037         constants.
21038         * math/s_catanhf.c (__catanhf): Likewise.
21039         * math/s_catanhl.c (__catanhl): Likewise.
21040         * math/s_catanl.c (__catanl): Likewise.
21042         [BZ #15394]
21043         * math/s_catan.c (__catan): Calculate imaginary part of result
21044         with log1p not log unless computing log of number close to 0.
21045         * math/s_catanf.c (__catanf): Likewise.
21046         * math/s_catanl.c (__catanl): Likewise.
21047         * math/s_catanh.c (__catanh): Calculate real part of result with
21048         log1p not log unless computing log of number close to 0.
21049         * math/s_catanhf.c (__catanhf): Likewise.
21050         * math/s_catanhl.c (__catanhl): Likewise.
21051         * math/libm-test.inc (catan_test): Add more tests.
21052         (catanh_test): Likewise.
21053         * sysdeps/i386/fpu/libm-test-ulps: Update.
21054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21056 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21058         * benchtests/Makefile: Mention files in which fast and slow
21059         paths of math functions are implemented.
21061 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21063         * sysdeps/posix/timespec_get.c: New file.
21065 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21067         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21068         POWER.
21069         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21070         for POWER.
21071         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21072         powerpc/power5/fpu folders.
21073         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21074         * benchtests/Makefile: Add modf testcase.
21075         * benchtests/bench-modf.c: New file: Benchmark test for mo
21077 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21079         [BZ #14888]
21080         * time/Makefile (tests): Add tst-strptime-whitespace.
21081         * time/strptime_l.c (get_number): Use ISSPACE.
21082         (__strptime_internal): Likewise.
21083         * time/tst-strptime-whitespace.c: New test case.
21085 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21087         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21088         member.
21089         (_nss_files_init): Set it here.
21091 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21093         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21094         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21095         unsigned.
21097 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21099         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21101 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21103         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21104         size just once.
21106 2013-04-21  David S. Miller  <davem@davemloft.net>
21108         * po/ru.po: Update Russion translation from translation project.
21110 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21112         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21113         and setfsgid.
21115 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21117         * configure.in: Remove i386 configure warning. Remove i386 case.
21118         * configure: Regenerate.
21119         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21120         Add example to error message.
21121         * sysdeps/i386/configure: Regenerate.
21123 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21125         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21126         slowtan.
21127         * benchtests/cos-inputs: New file.
21128         * benchtests/slowcos-inputs: New file.
21129         * benchtests/slowcos.c: New file.
21130         * benchtests/slowtan-inputs: New file.
21131         * benchtests/slowtan.c: New file.
21132         * benchtests/tan-inputs: New file.
21134 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21136         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21137         considered kosher.
21139 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21141         * benchtests/Makefile: Include cppflags-iterator.mk to add
21142         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21144         * Makefile.in (bench-clean): New target.
21145         * benchtests/Makefile (bench-clean): Likewise.
21147 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21149         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21151 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21153         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21155 2013-04-15  Andreas Schwab  <schwab@suse.de>
21157         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21159         * nscd/pwdcache.c (cache_addpw): Likewise.
21160         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21161         more than recsize.
21163 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165         * benchtests/Makefile (bench): Write all output to
21166         bench-out.tmp together.
21168 2013-04-15  Andreas Schwab  <schwab@suse.de>
21170         * nscd/nscd.c (main): Don't fork again after closing files.
21172 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21174         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21176         * benchtests/Rules (bench-deps): Collect dependencies into a
21177         single variable.  Add Makefile to dependencies.
21178         ($(objpfx)bench-%.c): Depend on bench-deps.
21180 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21181             Xavier Roche  <roche+kml2@exalead.com>
21183         [BZ #15361]
21184         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21185         just that it's a file descriptor.
21186         * manual/llio.texi (Synchronizing AIO Operations): Update description
21187         for EBADF error from aio_fsync.
21189 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21191         * Rules (bench): Move target definition...
21192         * benchtests/Makefile: ... here.
21194 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21196         * math/libm-test.inc (cos_test): Fix PI/2 test.
21197         (sincos_test): Likewise.
21198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21199         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21201 2013-04-11  Andreas Schwab  <schwab@suse.de>
21203         [BZ #13988]
21204         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21205         accept exponent character only when digits were seen.
21206         * stdio-common/Makefile (tests): Add bug26.
21207         * stdio-common/bug26.c: New file.
21209         [BZ #14293]
21210         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21211         non-freeable.
21213 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21215         * Makeconfig (rtld-prefix): Define built linker prefix.
21216         * Rules (run-bench): Use it.
21217         * math/Makefile (run-regen-ulps): Likewise.
21219         * Rules (bench): Remove eval.
21221 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21222             Roland McGrath  <roland@hack.frob.com>
21223             Ondrej Bilka  <neleai@seznam.cz>
21225         [BZ #15346]
21226         * time/getdate.c: Include ctype.h and alloca.h.
21227         (__getdate_r): Trim leading and trailing spaces of input.
21228         * time/tst-getdate.c (tests): Add tests with leading and
21229         trailing spaces.
21231 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21233         [BZ #14280]
21234         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21235         when computing value.
21237 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21239         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21240         Use testrun.sh to run libm tests.
21242         [BZ #15309]
21243         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21245 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21247         [BZ #15264]
21248         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21250 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21252         * Makefile.in (regen-ulps): New target.
21253         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21254         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21255         [ifneq (no,$(PERL)] (regen-ulps): New target.
21256         [ifeq (no,$(PERL)] (regen-ulps): New target.
21257         * math/libm-test.inc (ulps_file_name): Define.
21258         (output_dir): New variable.
21259         (options): Add "output-dir" option.
21260         (parse_opt): Handle 'o' case.
21261         (main): If output_dir is non-NULL use it as a prefix
21262         otherwise use "".
21263         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21265 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21267         [BZ #10060, #10062]
21268         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21269         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21270         fail configure if __sync_val_compare_and_swap is not inlined.
21271         * sysdeps/i386/configure: Regenerate.
21272         * configure.in: Build for i686 when configured for i386.
21273         * configure: Regenerate.
21274         * README: Remove i386 reference.
21276 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21278         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21279         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21281 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21283         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21284         (lmsnanval): New variables.
21285         (F): Add conversion tests.
21286         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21287         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21289         * stdio-common/tstdiomisc.c (F): Properly collect individual
21290         tests' results.
21292         [BZ #14686, #15336]
21293         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21294         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21295         Instead, use input NaN values or generate a qNaN by arithmetic
21296         operation.  Also fix bugs to comply with the standard.
21297         * math/libm-test.inc (remainder_test): Add more tests.
21299         [BZ #15335, #15342]
21300         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21302         input NaN values or generate a qNaN by arithmetic operation.
21304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21305         unreachable code.
21307         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21308         definitions.
21310 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21312         [BZ #14478]
21313         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21314         underflowed result.
21315         * math/s_cexpf.c (__cexpf): Likewise.
21316         * math/s_cexpl.c (__cexpl): Likewise.
21317         * math/libm-test.inc (cexp_test): Add more tests.
21319 2013-04-03  Andreas Schwab  <schwab@suse.de>
21321         [BZ #15330]
21322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21323         order arrays from heap if bigger than alloca cutoff.
21325 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21327         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21328         (SNAN_TESTS_double): Refer to GCC PR56831.
21329         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21330         GCC PR56828.
21332 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21334         * Rules (bench): Move bench.out after the run is complete.
21336         * Rules (bench): Echo currently running benchmark.
21338         * benchtests/Makefile (bench): Add atan and slowatan.
21339         * benchtests/atan-inputs: New file.
21340         * benchtests/slowatan-inputs: New file.
21341         * benchtests/slowatan.c: New file.
21343         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21345         its value.
21347         [BZ #15305]
21348         * sysdeps/unix/sysv/linux/kernel-features.h
21349         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21350         __ASSUME_XFS_RESTRICTED_CHOWN.
21351         * sysdeps/unix/sysv/linux/pathconf.c
21352         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21353         Save and restore errno.
21355 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21357         [BZ #15327]
21358         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21359         arguments using __kernel_casinh.
21360         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21361         arguments using __kernel_casinhf.
21362         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21363         arguments using __kernel_casinhl.
21364         * math/libm-test.inc (cacosh_test): Add more tests.
21365         * sysdeps/i386/fpu/libm-test-ulps: Update.
21366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21368 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21370         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21373         * bench/Makefile (bench): Add sin and slowsin.
21374         * benchtests/sin-inputs: New file.
21375         * benchtests/slowsin-inputs: New file.
21376         * benchtests/slowsin.c: New file.
21378         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21379         (bench): Add slowexp and slowpow.
21380         (exp-ITER): Increase iterations.
21381         (pow-ITER): Likewise.
21382         * benchtests/exp-inputs: Change input.
21383         * benchtests/pow-inputs: Likewise.
21384         * benchtests/slowexp-inputs: New file.
21385         * benchtests/slowexp.c: New file.
21386         * benchtests/slowpow-inputs: New file.
21387         * benchtests/slowpow.c: New file.
21389 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21391         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21392         instructions.
21393         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21394         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21395         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21396         * benchtests/Makefile: Add rint benchtest.
21397         * benchtests/rint-inputs: Input for rint benchtest.
21399 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21401         * Versions.def (libm): Add GLIBC_2.18.
21402         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21403         hidden libm prototypes.
21404         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21405         * math/Makefile (libm-calls): Add s_issignaling.
21406         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21407         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21408         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21409         declaration.
21410         * math/math.h [__USE_GNU] (issignaling): New macro.
21411         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21412         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21413         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21414         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21415         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21416         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21417         * manual/arith.texi (issignaling): New section.
21418         * manual/libm-err-tab.pl (@all_functions): Update comment.
21419         * math/gen-libm-test.pl (parse_args): Apply special handling for
21420         issignaling.
21421         * math/libm-test.inc (print_float, issignaling_test): New
21422         functions.
21423         (check_float_internal): Add issignaling checks.
21424         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21425         default definition.
21426         * sysdeps/powerpc/math-tests.h: New file.
21427         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21428         tests.
21429         * math/test-snan.c (TEST_FUNC): Likewise.
21431 2013-03-30  David S. Miller  <davem@davemloft.net>
21433         * po/de.po: Update from translation team.
21435 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21437         [BZ #10357]
21438         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21439         imaginary part less than 1.0 and real part less than 0.5
21440         specially.
21441         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21442         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21443         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21444         (cacos_test): Add more tests.
21445         (casin_test): Likewise.
21446         (casinh_test): Likewise.
21447         * sysdeps/i386/fpu/libm-test-ulps: Update.
21448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21452         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21453         ONE with its value.
21455         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21456         (__pow_mp): Replace ONE and MONE with their values.
21457         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21459         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21460         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21461         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21462         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21464         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21466         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21467         (__pow_mp): Replace ZERO and MZERO with their values.
21468         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21469         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21470         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21472         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21473         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21474         (__sqr): Likewise.
21476         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21478         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21480 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21482         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21483         Declare with __attribute__ ((weak)).
21484         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21485         Call __call_tls_dtors only if it's not NULL.
21487 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21489         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21490         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21491         magic __ehdr_start linker symbol if it's defined.
21492         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21493         them up here if it was already done.
21495         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21496         (_dl_aux_init): Use const in cast when setting it.
21497         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21498         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21499         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21501         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21502         Declare them here.
21503         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21504         * csu/libc-tls.c: Nor here.
21505         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21507         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21508         (__libc_message): Never call vsyslog.
21510 2013-03-28  Alan Modra  <amodra@gmail.com>
21512         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21513         Define as empty.
21514         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21515         Likewise.
21517 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21519         [BZ #15214]
21520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21521         underflow.
21522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21524 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21526         [BZ #15304]
21527         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21528         Don't add gid passed as argument.
21530         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21532 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21534         [BZ #15307]
21535         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21536         imaginary part between 1.0 and 1.5 and real part less than 0.5
21537         specially.
21538         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21539         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21540         * math/libm-test.inc (cacos_test): Add more tests.
21541         (casin_test): Likewise.
21542         (casinh_test): Likewise.
21543         * sysdeps/i386/fpu/libm-test-ulps: Update.
21544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21546 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21548         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21549         constants.
21550         (norm): Likewise.
21551         (denorm): Likewise.
21552         (__dbl_mp): Likewise.
21553         (add_magnitudes): Likewise.
21554         (sub_magnitudes): Likewise.
21555         (__add): Likewise.
21556         (__sub): Likewise.
21557         (__mul): Likewise.
21558         (__sqr): Likewise.
21559         (__inv): Likewise.
21560         (__dvd): Likewise.
21562         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21563         commented code.
21564         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21565         (__dubcos): Likewise.
21566         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21567         (__ieee754_acos): Likewise.
21568         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21569         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21570         (__exp1): Likewise.
21571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21573         (log1): Likewise.
21574         (my_log2): Likewise.
21575         (checkint): Likewise.
21576         * sysdeps/ieee754/dbl-64/e_remainder.c
21577         (__ieee754_remainder): Likewise.
21578         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21580         (bsloww): Likewise.
21581         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21583         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21584         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21585         MANTISSA_STORE_T to store computations on mantissa.  Use
21586         macros for rounding and division.
21587         (denorm): Likewise.
21588         (__dbl_mp): Likewise.
21589         (add_magnitudes): Likewise.
21590         (sub_magnitudes): Likewise.
21591         (__mul): Likewise.
21592         (__sqr): Likewise.
21593         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21594         powers of two in terms of TWOPOW macro.
21595         (mp_no): Make type of mantissa as MANTISSA_T.
21596         [!RADIXI]: Define RADIXI.
21597         [!TWO52]: Define TWO52.
21598         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21600 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21602         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21603         llroundl symbol when building for PPC32.
21605 2013-03-24  Mark H Weaver  <mhw@netris.org>
21607         * manual/arith.texi (Normalization Functions): Fix prototypes for
21608         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21610 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21612         [BZ #13889]
21613         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21614         high value to check if expl overflow.
21615         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21616         to check for underflow and overflow.
21617         * math/libm-test.inc: Add exp test.
21619 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21621         [BZ #11120]
21622         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21623         with NOT_IN_libc.
21625 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21627         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21628         symbol.
21630 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21632         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21633         wrap blocks consisting of several statements.
21635         * sysdeps/generic/math-tests.h: New file.
21636         * sysdeps/i386/fpu/math-tests.h: Likewise.
21637         * math/test-snan.c: Include it.
21638         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21640 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21642         [BZ #15285]
21643         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21644         (__ieee754_j0l): Do not improve calculations using cos of twice
21645         input for inputs above LDBL_MAX / 2.0L.
21646         (__ieee754_y0l): Likewise.
21647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21648         (__ieee754_j1l): Do not improve calculations using cos of twice
21649         input for inputs above LDBL_MAX / 2.0L.
21650         (__ieee754_y1l): Likewise.
21651         * math/libm-test.inc (j0_test): Add another test.
21652         (j1_test): Likewise.
21653         (y0_test): Likewise.
21654         (y1_test): Likewise.
21655         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21659         * Rules ($(objpfx)bench-%.c): Include code from a C source
21660         file.
21662 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21664         [BZ #15287]
21665         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21666         imaginary part 1.0 and real part less than 0.5 specially.
21667         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21668         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21669         * math/libm-test.inc (cacos_test): Add more tests.
21670         (casin_test): Likewise.
21671         (casinh_test): Likewise.
21672         * sysdeps/i386/fpu/libm-test-ulps: Update.
21673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21677         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21678         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21680 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21682         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21683         * config.make.in (config-cflags-sse4): Remove variable.
21684         (config-cflags-avx): Likewise.
21685         (config-cflags-sse2avx): Likewise.
21686         (config-cflags-novzeroupper): Likewise.
21687         (config-asflags-i686): Likewise.
21688         (have-mfma4): Likewise.
21689         (have-as-vis3): Likewise.
21690         (MIG): Likewise.
21691         * configure.in (MIG): Do not AC_SUBST.
21692         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21693         (libc_cv_cc_sse4): Do not AC_SUBST.
21694         (libc_cv_cc_avx): Likewise.
21695         (libc_cv_cc_sse2avx): Likewise.
21696         (libc_cv_cc_novzeroupper): Likewise.
21697         (libc_cv_cc_fma4): Likewise.
21698         (libc_cv_as_i686): Likewise.
21699         (libc_cv_sparc_as_vis3): Likewise.
21700         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21701         LIBC_CONFIG_VAR.
21702         (config-asflags-i686): Likewise.
21703         (config-cflags-avx): Likewise.
21704         (config-cflags-sse2avx): Likewise.
21705         (have-mfma4): Likewise.
21706         (config-cflags-novzeroupper): Likewise.
21707         * sysdeps/mach/configure.in (MIG): Likewise.
21708         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21709         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21710         LIBC_CONFIG_VAR.
21711         (config-cflags-avx): Likewise.
21712         (config-cflags-sse2avx): Likewise.
21713         (have-mfma4): Likewise.
21714         (config-cflags-novzeroupper): Likewise.
21715         * configure: Regenerated.
21716         * sysdeps/i386/configure: Likewise.
21717         * sysdeps/mach/configure: Likewise.
21718         * sysdeps/sparc/configure: Likewise.
21719         * sysdeps/x86_64/configure: Likewise.
21721 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21723         [BZ #14812]
21724         * locale/programs/localedef.c (options): Put N_ translation marker
21725         on argument names, not just descriptions.
21727 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21729         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21731 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21733         [BZ #14176]
21734         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21736 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21738         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21739         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21740         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21741         [!BEFORE_ABORT] (before_abort): New function.
21742         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21743         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21744         (writev_for_fatal): New function.
21745         (WRITEV_FOR_FATAL): New macro; call that.
21746         (backtrace_and_maps): New function.
21747         (BEFORE_ABORT): New macro; call that.
21748         (struct str_list): Type removed.
21749         (__libc_message, __libc_fatal): Functions removed.
21750         Include <sysdeps/posix/libc_fatal.c> instead.
21752 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21754         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21755         constants.
21756         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21757         double constants.
21759 2013-03-19  Andreas Schwab  <schwab@suse.de>
21761         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21762         * sysdeps/gnu/configure: Regenerate.
21764         * configure.in: Substitute libc_cv_rtlddir.
21765         * configure: Regenerate.
21766         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21767         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21768         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21769         * elf/Makefile (install-others, CFLAGS-interp.c)
21770         (ldso_install, common-ldd-rewrite): Likewise.
21771         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21772         $(inst_slibdir)/$(rtld-installed-name).
21773         * scripts/rellns-sh: Add -p option.
21774         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21775         for source.
21777 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21779         * manual/nptl.texi: Renamed to ...
21780         * manual/threads.texi: ... this.
21781         * manual/Makefile (chapters): Update.
21783 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21785         [BZ #14812]
21786         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21787         on argument names, not just descriptions.
21788         * malloc/memusagestat.c (options): Likewise.
21789         * nss/getent.c (options): Likewise.
21791 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21793         [BZ #14812]
21794         * iconv/iconv_prog.c (options): Put N_ translation marker
21795         on argument names, not just descriptions.
21796         * iconv/iconvconfig.c (options): Likewise.
21798 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21800         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21801         implementation which is faster on all x86_64 architectures.
21802         Tested on AMD, Intel Nehalem, SNB, IVB.
21803         * sysdeps/x86_64/strnlen.S: Likewise.
21805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21806         Remove all multiarch strlen and strnlen versions.
21807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21808         Remove strlen and strnlen related parts.
21810         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21811         Inline strlen part.
21812         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21814         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21815         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21816         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21817         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21818         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21819         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21821 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21823         * manual/memory.texi (Malloc Tunable Parameters):
21824         Sort parameters alphabetically. Add comments for missing entries.
21826 2013-03-17  David S. Miller  <davem@davemloft.net>
21828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21830 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #15283]
21833         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21834         for arguments at most half maximum finite value.
21835         * math/libm-test.inc (j0_test): Add more tests.
21836         (j1_test): Likewise.
21837         (y0_test): Likewise.
21838         (y1_test): Likewise.
21839         * sysdeps/i386/fpu/libm-test-ulps: Update.
21840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21842         [BZ #14155]
21843         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21844         1 / x and functions P and Q for arguments above 0x1p256L.
21845         (__ieee754_y0l): Likewise.
21846         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21847         (__ieee754_y1l): Likewise.
21848         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21849         (j1_test): Likewise.
21850         (y0_test): Likewise.
21851         (y1_test): Likewise.
21853 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21855         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21856         variable.
21858 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21860         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21861         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21862         zero since it's initialized to EXEC_PAGESIZE.
21864         * sysdeps/unix/sysv/linux/ldsodefs.h
21865         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21866         * sysdeps/generic/ldsodefs.h: ... here.
21868 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21870         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21872         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21873         math/test-snan.c.
21874         * math/test-snan.c: Renamed from
21875         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21876         * math/Makefile (tests): Add test-snan.
21877         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21878         test-powerpc-snan.
21880         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21881         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21882         functions.
21883         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21884         __builtin_nan family of functions.
21885         * math/libm-test.inc (initialize): Initialize qnan_value with
21886         __builtin_nan family of functions.
21887         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21888         Remove variables.
21889         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21890         Remove functions.
21891         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21892         storage class.  Initialize qNaN_var and sNaN_var with
21893         __builtin_nan and __builtin_nans families of functions,
21894         respectively.
21896         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21897         (sqrt_test): Remove duplicate test with qNaN input.
21898         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21899         (round_test, signbit_test, significand_test): Note missing +/-Inf
21900         as well as qNaN tests.
21902         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21903         qNaN_var.  Fix a few strings, too.
21904         * math/libm-test.inc (nan_value): Rename to qnan_value.
21905         * math/gen-libm-test.pl (%beautify): Adjust to that.
21906         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21907         * math/test-misc.c (main): Likewise.
21908         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21909         to __qnan_bytes, and __qnan_union, respectively.
21910         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21911         Likewise.
21912         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21913         and lqnanval, respectively.
21914         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21915         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21916         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21917         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21919         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21920         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21921         doubles.
21923         * math/test-misc.c (main): Fix copy'n'pastos.
21924         * misc/tst-efgcvt.c (special): Likewise.
21926         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21927         Remove declarations.
21929 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21931         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21932         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21933         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21934         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21936 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21938         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21939         macro to return vdso values correctly in IFUNC implementations.
21940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21941         Optimization by using IFUNC.
21943 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21944             Richard Henderson  <rth@redhat.com>
21945             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21947         * Makefile.in (bench): New target.
21948         * NEWS: Mention the benchmark framework.
21949         * Rules (bench): Likewise.
21950         (binaries-bench): Generate binaries for functions to
21951         benchmark.
21952         * benchtests/Makefile: New makefile for benchmark tests.
21953         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21954         programs.
21955         * benchtests/exp-inputs: New input file for EXP function.
21956         * benchtests/pow-inputs: New input file for POW function.
21957         * scripts/bench.pl: New script to generate source files for
21958         benchmark programs.
21960 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21963         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21964         computations on mantissa.  Use macros for rounding and
21965         division.
21966         (denorm): Likewise.
21967         (__dbl_mp): Likewise.
21968         (add_magnitudes): Likewise.
21969         (sub_magnitudes): Likewise.
21970         (__mul): Likewise.
21971         (__sqr): Likewise.
21972         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21973         powers of two in terms of TWOPOW macro.
21974         (mp_no): Make type of mantissa as MANTISSA_T.
21975         [!RADIXI]: Define RADIXI.
21976         [!TWO52]: Define TWO52.
21977         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21979         * manual/nptl.texi (cindex): Modify threads to pthreads.
21981 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21983         * sysdeps/x86_64/preconfigure: Regenerated.
21985 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21987         [BZ #14155]
21988         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21989         0x1p28 and above.
21990         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21991         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21992         0x1p28 and above.
21993         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21994         * math/libm-test.inc (j0_test): Do not allow one spurious
21995         underflow exception.
21996         (y1_test): Likewise.
21998 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22000         * manual/Makefile (chapters): Add nptl.
22001         * manual/debug.texi (Debugging Support): Add link to Threads
22002         chapter.
22003         * manual/nptl.texi: New file.
22005         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22007 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22009         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22010         for non-NULL pointer before the memory validity test. Pointed
22011         out by Holger Brunck <holger.brunck@keymile.com>.
22013 2013-03-13  Andreas Schwab  <schwab@suse.de>
22015         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22016         instead of .os.
22018 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22020         * timezone/zic.c: Update from tzcode 2013b.
22022 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22024         * manual/install.texi (Configuring and compiling):
22025         Mention i686 and i586.
22026         * INSTALL: Regenerate.
22028 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22030         * sysdeps/init_array/elf-init.c: New file.
22031         * csu/elf-init.c
22032         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22033         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22035         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22036         __gmon_start__ as global, but as static with a .preinit_array pointer.
22037         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22038         * sysdeps/init_array/crti.S: New file, empty except for comments.
22039         * sysdeps/init_array/crtn.S: Likewise.
22041 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22043         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22044         definining bcopy.
22045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22046         Remove Prefer_SSE_for_memop.
22047         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22048         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22049         HAS_PREFER_SSE_FOR_MEMOP.
22050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22051         memset-x86-64.
22052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22053         Remove bzero, memset ifunc support.
22054         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22055         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22056         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22057         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22059 2013-03-11  Andreas Schwab  <schwab@suse.de>
22061         [BZ #15234]
22062         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22063         by SHLIB_COMPAT.
22064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22065         (GLIBC_2.16): Remove pthread_atfork.
22067 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22069         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22070         (ptestcases.h): Likewise.
22072 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22074         * Makeconfig ($(common-objpfx)config.status): Depend on
22075         sysdeps/*/preconfigure{,.in} too.
22077 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22079         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22080         (__free_hook): Use void * instead of __malloc_ptr_t.
22081         (__malloc_hook): Likewise.
22082         (__realloc_hook): Likewise.
22083         (__memalign_hook): Likewise.
22084         (__after_morecore_hook): Likewise.
22085         * malloc/arena.c (save_malloc_hook): Likewise.
22086         (save_free_hook): Likewise.
22087         * malloc/hooks.c (malloc_hook_ini): Likewise.
22088         (realloc_hook_ini): Likewise.
22089         (memalign_hook_ini): Likewise.
22090         * malloc/malloc.c (malloc_hook_ini): Likewise.
22091         (realloc_hook_ini): Likewise.
22092         (memalign_hook_ini): Likewise.
22093         (__free_hook): Likewise.
22094         (__malloc_hook): Likewise.
22095         (__realloc_hook): Likewise.
22096         (__memalign_hook): Likewise.
22097         (__libc_malloc): Likewise.
22098         (__libc_free): Likewise.
22099         (__libc_realloc): Likewise.
22100         (__libc_memalign): Likewise.
22101         (__libc_valloc): Likewise.
22102         (__libc_pvalloc): Likewise.
22103         (__libc_calloc): Likewise.
22104         (__posix_memalign): Likewise.
22105         * malloc/morecore.c (__sbrk): Likewise.
22106         (__default_morecore): Likewise.
22108         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22110         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22111         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22112         __malloc_ptrdiff_t.
22114         * malloc/malloc.h (__malloc_size_t): Remove macro.
22115         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22116         __malloc_size_t.
22117         (old_memalign_hook): Likewise.
22118         (old_realloc_hook): Likewise.
22119         (struct hdr): Likewise.
22120         (flood): Likewise.
22121         (mallochook): Likewise.
22122         (memalignhook): Likewise.
22123         (reallochook): Likewise.
22124         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22125         (tr_old_realloc_hook): Likewise.
22126         (tr_old_memalign_hook): Likewise.
22127         (tr_mallochook): Likewise.
22128         (tr_reallochook): Likewise.
22129         (tr_memalignhook): Likewise.
22131 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22133         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22134         default_ldbl_pack and using as default implementation.
22135         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22136         implementation.
22137         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22138         redundant definition.
22139         (ldbl_insert_mantissa): Likewise.
22140         (ldbl_canonicalize): Likewise.
22141         (ldbl_nearbyint): Likewise.
22142         (ldbl_pack): Rename to ldbl_pack_ppc.
22143         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22144         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22145         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22147 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22150         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22151         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22152         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22154         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22155         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22156         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22158 2013-03-07  Andreas Jaeger  <aj@suse.de>
22160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22161         bits/mman-linux.h.
22163 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22165         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22166         Include mpa.h and declare __MPEXP.
22167         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22168         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22169         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22170         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22171         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22172         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22173         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22175         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22176         (__slowpow): Use long double EXPL and LOGL functions to
22177         compute POW.
22178         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22179         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22180         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22181         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22182         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22183         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22186         intermediate variable to calculate exponent.
22187         (__sqr): Likewise.
22188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22189         Likewise.
22190         (__sqr): Likewise.
22192         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22193         [!NO__SQR]: Define __sqr.
22194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22195         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22196         sysdeps/ieee754/dbl-64/mpa.c.
22197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22199         [BZ #12723]
22200         * posix/Makefile (tests): Add tst-pathconf.
22201         * posix/tst-pathconf.c: New test case.
22202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22203         _PC_PIPE_BUF.
22204         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22206 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22208         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22210 2013-03-06  Andreas Jaeger  <aj@suse.de>
22212         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22213         definition via __MAP_ANONYMOUS.
22215         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22216         it's not part of Linux headers.
22218         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22219         (MAP_HUGE_MASK): Define.
22221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22222         Define.
22223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22225         Define.
22226         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22227         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22228         Define.
22229         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22230         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22231         Define.
22232         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22234         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22235         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22236         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22237         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22238         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22239         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22241         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22242         Handle f2fs.
22244         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22245         Handle f2fs and efivarfs.
22247         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22248         f2fs.
22250         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22251         (EFIVARFS_MAGIC): Add.
22252         (F2FS_LINK_MAX): Add.
22254 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22256         * stdio-common/vfprintf.c: Replace __builtin_expect with
22257         __glibc_unlikely.
22259 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22261         [BZ #13550]
22262         * sysdeps/generic/bp-sym.h: Remove file.
22263         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22264         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22265         <bp-sym.h> and <bp-asm.h>.
22266         (__longjmp): Don't use BP_SYM.
22267         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22268         and <bp-asm.h>.
22269         (memcpy): Don't use BP_SYM.
22270         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22271         <bp-sym.h> and <bp-asm.h>.
22272         (memcpy): Don't use BP_SYM.
22273         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22274         <bp-asm.h>.
22275         (memcpy): Don't use BP_SYM.
22276         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22277         <bp-asm.h>.
22278         (memset): Don't use BP_SYM.
22279         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22280         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22281         (__bzero): Don't use BP_SYM.
22282         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22283         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22285         <bp-sym.h> and <bp-asm.h>.
22286         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22287         pointers.
22288         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22289         <bp-sym.h> and <bp-asm.h>.
22290         (memcpy): Don't use BP_SYM.
22291         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22292         <bp-sym.h> and <bp-asm.h>.
22293         (memset): Don't use BP_SYM.
22294         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22295         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22296         (__bzero): Don't use BP_SYM.
22297         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22298         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22299         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22300         <bp-sym.h> and <bp-asm.h>.
22301         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22302         pointers.
22303         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22304         <bp-sym.h> and <bp-asm.h>.
22305         (memcpy): Don't use BP_SYM.
22306         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22307         <bp-sym.h> and <bp-asm.h>.
22308         (memset): Don't use BP_SYM.
22309         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22310         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22311         (__bzero): Don't use BP_SYM.
22312         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22313         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22314         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22315         <bp-sym.h> and <bp-asm.h>.
22316         (__memchr): Don't use BP_SYM.
22317         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22318         <bp-sym.h> and <bp-asm.h>.
22319         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22320         pointers.
22321         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22322         <bp-sym.h> and <bp-asm.h>.
22323         (memcpy): Don't use BP_SYM.
22324         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22325         <bp-sym.h> and <bp-asm.h>.
22326         (__mempcpy): Don't use BP_SYM.
22327         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22328         <bp-sym.h> and <bp-asm.h>.
22329         (__memrchr): Don't use BP_SYM.
22330         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22331         <bp-sym.h> and <bp-asm.h>.
22332         (memset): Don't use BP_SYM.
22333         (__bzero): Likewise.
22334         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22335         <bp-sym.h> and <bp-asm.h>.
22336         (__rawmemchr): Don't use BP_SYM.
22337         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22338         <bp-sym.h> and <bp-asm.h>.
22339         (__STRCMP): Don't use BP_SYM.
22340         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22341         <bp-sym.h> and <bp-asm.h>.
22342         (strchr): Don't use BP_SYM.
22343         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22344         <bp-sym.h> and <bp-asm.h>.
22345         (__strchrnul): Don't use BP_SYM.
22346         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22347         <bp-sym.h> and <bp-asm.h>.
22348         (strlen): Don't use BP_SYM.
22349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22350         <bp-sym.h> and <bp-asm.h>.
22351         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22352         pointers.
22353         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22354         <bp-sym.h> and <bp-asm.h>.
22355         (__strnlen): Don't use BP_SYM.
22356         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22357         <bp-sym.h> and <bp-asm.h>.
22358         (__GI__setjmp): Don't use BP_SYM.
22359         (_setjmp): Likewise.
22360         (__sigsetjmp): Likewise.
22361         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22362         (L(start_addresses)): Don't use BP_SYM.
22363         (_start): Likewise.
22364         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22365         <bp-asm.h>.
22366         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22367         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22368         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22369         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22370         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22371         <bp-asm.h>.
22372         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22373         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22374         about bounded pointers.
22375         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22376         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22377         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22378         <bp-asm.h>.
22379         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22380         about bounded pointers.  Remove GKM FIXME comments.
22381         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22382         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22383         <bp-asm.h>.
22384         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22385         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22386         Remove GKM FIXME comments.
22387         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22388         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22389         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22390         <bp-asm.h>.
22391         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22392         about bounded pointers.  Remove GKM FIXME comment.
22393         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22394         and <bp-asm.h>.
22395         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22396         pointers.
22397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22398         <bp-sym.h> and <bp-asm.h>.
22399         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22401         <bp-sym.h> and <bp-asm.h>.
22402         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22403         comment.
22405 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22407         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22408         call free(NULL).
22410 2013-03-05  David S. Miller  <davem@davemloft.net>
22412         * po/es.po: Update from translation team.
22414 2013-03-05  Andreas Jaeger  <aj@suse.de>
22416         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22417         <bits/mman-linux.h>.
22418         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22419         is fine.
22420         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22421         <bits/mman-linux.h> to end of file.
22422         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22423         is fine.
22424         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22425         <bits/mman-linux.h> to end of file.
22426         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22427         is fine.
22428         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22429         <bits/mman-linux.h> to end of file.
22431         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22432         (MCL_CURRENT, MCL_FUTURE): Define here.
22434 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22436         [BZ #15232]
22437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22438         attribute_hidden.
22439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22441 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22443         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22444         fourth parameter needed for rt_sigprocmask syscall.
22445         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22446         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22447         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22448         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22449         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22450         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22452 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22454         [BZ #13550]
22455         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22456         comment about bounded pointers.
22457         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22458         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22460 2013-03-04  Andreas Jaeger  <aj@suse.de>
22462         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22463         common definitions.
22465         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22466         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22467         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22468         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22472 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22474         [BZ #15055]
22475         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22476         __ieee754_sqrl instead of __sqrl.
22478 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22480         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22481         * sysdeps/powerpc/fpu_control.h: ... here.
22482         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22483         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22484         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22485         * sysdeps/powerpc/bits/mathinline.h: ... here.
22487 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22489         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22490         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22491         to just [NEED_DL_SYSINFO_DSO].
22492         * elf/dl-support.c: Likewise.
22493         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22494         * elf/rtld.c (dl_main): Likewise.
22495         * elf/setup-vdso.h (setup_vdso): Likewise.
22496         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22497         * sysdeps/unix/sysv/linux/dl-sysdep.c
22498         (_dl_discover_osversion): Likewise.
22500 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22502         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22503         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22505 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22507         * NEWS: Mention libm performance improvements and non-x86 PI
22508         futex support.
22510         * csu/libc-start.c (__pthread_initialize_minimal): Change
22511         function arguments.
22512         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22514 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22516         [BZ #13550]
22517         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22518         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22519         <bp-sym.h> and <bp-asm.h>.
22520         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22521         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22522         and <bp-asm.h>.
22523         (memcpy): Don't use BP_SYM.
22524         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22525         <bp-asm.h>.
22526         (__mpn_add_n): Don't use BP_SYM.
22527         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22528         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22529         and <bp-asm.h>.
22530         (__mpn_addmul_1): Don't use BP_SYM.
22531         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22532         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22533         <bp-sym.h>.
22534         (_setjmp): Don't use BP_SYM.
22535         (__novmx_setjmp): Likewise.
22536         (__GI__setjmp): Likewise.
22537         (__vmx_setjmp): Likewise.
22538         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22539         <bp-sym.h>.
22540         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22541         (__bzero): Don't use BP_SYM.
22542         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22543         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22544         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22545         <bp-sym.h> and <bp-asm.h>.
22546         (memcpy): Don't use BP_SYM.
22547         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22548         <bp-sym.h> and <bp-asm.h>.
22549         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22550         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22551         <bp-sym.h> and <bp-asm.h>.
22552         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22553         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22554         <bp-asm.h>.
22555         (__mpn_lshift): Don't use BP_SYM.
22556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22557         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22558         <bp-asm.h>.
22559         (memset): Don't use BP_SYM.
22560         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22561         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22562         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22563         <bp-asm.h>.
22564         (__mpn_mul_1): Don't use BP_SYM.
22565         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22567         <bp-sym.h> and <bp-asm.h>.
22568         (memcmp): Don't use BP_SYM.
22569         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22570         <bp-sym.h> and <bp-asm.h>.
22571         (memcpy): Don't use BP_SYM.
22572         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22573         <bp-sym.h> and <bp-asm.h>.
22574         (memset): Don't use BP_SYM.
22575         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22576         <bp-sym.h> and <bp-asm.h>.
22577         (strncmp): Don't use BP_SYM.
22578         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22579         <bp-sym.h> and <bp-asm.h>.
22580         (memcpy): Don't use BP_SYM.
22581         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22582         <bp-sym.h> and <bp-asm.h>.
22583         (memset): Don't use BP_SYM.
22584         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22585         <bp-sym.h> and <bp-asm.h>.
22586         (__memchr): Don't use BP_SYM.
22587         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22588         <bp-sym.h> and <bp-asm.h>.
22589         (memcmp): Don't use BP_SYM.
22590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22591         <bp-sym.h> and <bp-asm.h>.
22592         (memcpy): Don't use BP_SYM.
22593         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22594         <bp-sym.h> and <bp-asm.h>.
22595         (__mempcpy): Don't use BP_SYM.
22596         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22597         <bp-sym.h> and <bp-asm.h>.
22598         (__memrchr): Don't use BP_SYM.
22599         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22600         <bp-sym.h> and <bp-asm.h>.
22601         (memset): Don't use BP_SYM.
22602         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22603         <bp-sym.h> and <bp-asm.h>.
22604         (__rawmemchr): Don't use BP_SYM.
22605         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22606         <bp-sym.h> and <bp-asm.h>.
22607         (__STRCMP): Don't use BP_SYM.
22608         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22609         <bp-sym.h> and <bp-asm.h>.
22610         (strchr): Don't use BP_SYM.
22611         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22612         <bp-sym.h> and <bp-asm.h>.
22613         (__strchrnul): Don't use BP_SYM.
22614         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22615         <bp-sym.h> and <bp-asm.h>.
22616         (strlen): Don't use BP_SYM.
22617         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22618         <bp-sym.h> and <bp-asm.h>.
22619         (strncmp): Don't use BP_SYM.
22620         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22621         <bp-sym.h> and <bp-asm.h>.
22622         (__strnlen): Don't use BP_SYM.
22623         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22624         <bp-asm.h>.
22625         (__mpn_rshift): Don't use BP_SYM.
22626         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22627         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22628         <bp-sym.h> and <bp-asm.h>.
22629         (__sigsetjmp): Don't use BP_SYM.
22630         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22631         (L(start_addresses)): Don't use BP_SYM.
22632         (_start): Likewise.
22633         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22634         <bp-asm.h>.
22635         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22636         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22637         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22638         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22639         <bp-asm.h>.
22640         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22641         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22642         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22643         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22644         <bp-asm.h>.
22645         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22646         comments.
22647         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22648         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22649         <bp-asm.h>.
22650         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22651         FIXME comments.
22652         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22653         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22654         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22655         <bp-asm.h>.
22656         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22657         comment.
22658         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22659         and <bp-asm.h>.
22660         (strncmp): Don't use BP_SYM,
22661         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22662         <bp-asm.h>.
22663         (__mpn_sub_n): Don't use BP_SYM.
22664         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22665         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22666         and <bp-asm.h>.
22667         (__mpn_submul_1): Don't use BP_SYM.
22668         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22670         <bp-sym.h> and <bp-asm.h>.
22671         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22673         <bp-sym.h> and <bp-asm.h>.
22674         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22675         comment.
22677 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22680         Use ZK to minimize writes to Z.
22681         (sub_magnitudes): Simplify code a bit.
22682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22683         Use ZK to minimize writes to Z.
22684         (sub_magnitudes): Simplify code a bit.
22686 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22688         * csu/gmon-start.c: Add special exception to license text.
22690 2013-02-27  Richard Henderson  <rth@redhat.com>
22692         * scripts/config.guess: Update from config.git.
22693         * scripts/config.sub: Likewise.
22695 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22697         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22699         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22701         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22703         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22705         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22707 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22709         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22710         [$(build-shared = yes].
22712 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22714         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22715         (__mul): Reduce iterations for calculating mantissa.
22717         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22718         MPTWO.
22719         (__mpranred): Likewise.
22721         [BZ #15160]
22722         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22723         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22725 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22727         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22728         Define __attribute__.
22730 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22733         unused.
22734         * posix/regex_internal.h (__attribute): Remove.
22735         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22736         (re_string_context_at): Likewise.
22737         (bitset_not): Use __attribute__ and mark function as possibly
22738         unused.
22739         (bitset_merge): Likewise.
22740         (bitset_mask): Likewise.
22741         (re_string_char_size_at): Likewise.
22742         (re_string_wchar_at): Likewise.
22743         (re_string_elem_size_at): Likewise.
22745 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22747         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22748         code.
22749         (cc32): Likewise.
22751         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22752         (__acr): Likewise.
22753         (__cpy): Likewise.
22754         (norm): Likewise.
22755         (denorm): Likewise.
22756         (__dbl_mp): Likewise.
22757         (add_magnitudes): Likewise.
22758         (sub_magnitudes): Likewise.
22759         (__mul): Likewise.
22760         (__inv): Likewise.
22762         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22763         style.
22765         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22766         style.
22768         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22769         code.
22771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22772         up changes with default code.
22773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22774         Likewise.
22776 2013-02-24  Allan McRae  <allan@archlinux.org>
22778         * manual/socket.texi (The Internet Namespace): Order menu items
22779         to match that in the file.
22781         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22782         node listing of the info page menu.
22784 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22786         [BZ #13550]
22787         * sysdeps/i386/bp-asm.h: Remove file.
22788         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22789         (PARMS): Do not use macros from bp-asm.h.
22790         (S1): Likewise.
22791         (S2): Likewise.
22792         (SIZE): Likewise.
22793         (__mpn_add_n): Do not use BP_SYM
22794         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22795         "bp-asm.h".
22796         (PARMS): Do not use macros from bp-asm.h.
22797         (S1): Likewise.
22798         (SIZE): Likewise.
22799         (__mpn_addmul_1): Do not use BP_SYM
22800         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22801         "bp-asm.h".
22802         (PARMS): Do not use macros from bp-asm.h.
22803         (SIGMSK): Likewise.
22804         (_setjmp): Likewise.  Do not use BP_SYM.
22805         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22806         "bp-asm.h".
22807         (PARMS): Do not use macros from bp-asm.h.
22808         (SIGMSK): Likewise.
22809         (setjmp): Likewise.  Do not use BP_SYM.
22810         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22811         "bp-asm.h".
22812         (PARMS): Do not use macros from bp-asm.h.
22813         (__frexp): Do not use BP_SYM.
22814         (frexp): Likewise.
22815         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22816         "bp-asm.h".
22817         (PARMS): Do not use macros from bp-asm.h.
22818         (__frexpf): Do not use BP_SYM.
22819         (frexpf): Likewise.
22820         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22821         "bp-asm.h".
22822         (PARMS): Do not use macros from bp-asm.h.
22823         (__frexpl): Do not use BP_SYM.
22824         (frexpl): Likewise.
22825         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22826         "bp-asm.h".
22827         (PARMS): Do not use macros from bp-asm.h.
22828         (__remquo): Do not use BP_SYM.
22829         (remquo): Likewise.
22830         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22831         "bp-asm.h".
22832         (PARMS): Do not use macros from bp-asm.h.
22833         (__remquof): Do not use BP_SYM.
22834         (remquof): Likewise.
22835         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22836         "bp-asm.h".
22837         (PARMS): Do not use macros from bp-asm.h.
22838         (__remquol): Do not use BP_SYM.
22839         (remquol): Likewise.
22840         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22841         "bp-asm.h".
22842         (PARMS): Do not use macros from bp-asm.h.
22843         (DEST): Likewise.
22844         (SRC): Likewise.
22845         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22846         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22847         "bp-asm.h".
22848         (PARMS): Do not use macros from bp-asm.h.
22849         (strlen): Do not use BP_SYM.
22850         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22851         "bp-asm.h".
22852         (PARMS): Do not use macros from bp-asm.h.
22853         (S1): Likewise.
22854         (S2): Likewise.
22855         (SIZE): Likewise.
22856         (__mpn_add_n): Do not use BP_SYM.
22857         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22858         "bp-asm.h".
22859         (PARMS): Do not use macros from bp-asm.h.
22860         (S1): Likewise.
22861         (SIZE): Likewise.
22862         (__mpn_addmul_1): Do not use BP_SYM.
22863         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22864         weak_alias.
22865         (bzero): Likewise.
22866         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22867         "bp-asm.h".
22868         (PARMS): Do not use macros from bp-asm.h.
22869         (S): Likewise.
22870         (SIZE): Likewise.
22871         (__mpn_lshift): Do not use BP_SYM.
22872         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22873         "bp-asm.h".
22874         (PARMS): Do not use macros from bp-asm.h.
22875         (DEST): Likewise.
22876         (SRC): Likewise.
22877         (LEN): Likewise.
22878         (memcpy): Likewise.  Do not use BP_SYM.
22879         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22880         libc_hidden_def and weak_alias.
22881         (mempcpy): Do not use BP_SYM in weak_alias.
22882         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22883         "bp-asm.h".
22884         (PARMS): Do not use macros from bp-asm.h.
22885         (DEST): Likewise.
22886         (LEN): Likewise.
22887         [!BZERO_P] (CHR): Likewise.
22888         (memset): Likewise.  Do not use BP_SYM.
22889         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22890         "bp-asm.h".
22891         (PARMS): Do not use macros from bp-asm.h.
22892         (S1): Likewise.
22893         (SIZE): Likewise.
22894         (__mpn_mul_1): Do not use BP_SYM.
22895         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22896         "bp-asm.h".
22897         (PARMS): Do not use macros from bp-asm.h.
22898         (S): Likewise.
22899         (SIZE): Likewise.
22900         (__mpn_rshift): Do not use BP_SYM.
22901         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22902         "bp-asm.h".
22903         (PARMS): Do not use macros from bp-asm.h.
22904         (STR): Likewise.
22905         (CHR): Likewise.
22906         (strchr): Likewise.  Do not use BP_SYM.
22907         (index): Do not use BP_SYM in weak_alias.
22908         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22909         "bp-asm.h".
22910         (PARMS): Do not use macros from bp-asm.h.
22911         (DEST): Likewise.
22912         (SRC): Likewise.
22913         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22914         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22915         "bp-asm.h".
22916         (PARMS): Do not use macros from bp-asm.h.
22917         (strlen): Do not use BP_SYM.
22918         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22919         "bp-asm.h".
22920         (PARMS): Do not use macros from bp-asm.h.
22921         (S1): Likewise.
22922         (S2): Likewise.
22923         (SIZE): Likewise.
22924         (__mpn_sub_n): Do not use BP_SYM.
22925         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22926         "bp-asm.h".
22927         (PARMS): Do not use macros from bp-asm.h.
22928         (S1): Likewise.
22929         (SIZE): Likewise.
22930         (__mpn_submul_1): Do not use BP_SYM.
22931         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22932         "bp-asm.h".
22933         (PARMS): Do not use macros from bp-asm.h.
22934         (S1): Likewise.
22935         (S2): Likewise.
22936         (SIZE): Likewise.
22937         (__mpn_add_n): Do not use BP_SYM.
22938         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22939         weak_alias.
22940         (bzero): Likewise.
22941         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22942         "bp-asm.h".
22943         (PARMS): Do not use macros from bp-asm.h.
22944         (BLK2): Likewise.
22945         (LEN): Likewise.
22946         (memcmp): Do not use BP_SYM.
22947         (bcmp): Do not use BP_SYM in weak_alias.
22948         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22949         "bp-asm.h".
22950         (PARMS): Do not use macros from bp-asm.h.
22951         (DEST): Likewise.
22952         (SRC): Likewise.
22953         (LEN): Likewise.
22954         (memcpy): Likewise.  Do not use BP_SYM.
22955         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22956         "bp-asm.h".
22957         (PARMS): Do not use macros from bp-asm.h.
22958         (DEST): Likewise.
22959         (SRC): Likewise.
22960         (LEN): Likewise.
22961         (memmove): Likewise.  Do not use BP_SYM.
22962         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22963         "bp-asm.h".
22964         (PARMS): Do not use macros from bp-asm.h.
22965         (DEST): Likewise.
22966         (SRC): Likewise.
22967         (LEN): Likewise.
22968         (__mempcpy): Likewise.  Do not use BP_SYM.
22969         (mempcpy): Do not use BP_SYM in weak_alias.
22970         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22971         "bp-asm.h".
22972         (PARMS): Do not use macros from bp-asm.h.
22973         (DEST): Likewise.
22974         (LEN): Likewise.
22975         [!BZERO_P] (CHR): Likewise.
22976         (memset): Likewise.  Do not use BP_SYM.
22977         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22978         "bp-asm.h".
22979         (PARMS): Do not use macros from bp-asm.h.
22980         (STR2): Likewise.
22981         (strcmp): Do not use BP_SYM.
22982         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22983         "bp-asm.h".
22984         (PARMS): Do not use macros from bp-asm.h.
22985         (STR): Likewise.
22986         (DELIM): Likewise.
22987         [USE_AS_STRTOK_R] (SAVE): Likewise.
22988         (FUNCTION): Likewise.  Do not use BP_SYM.
22989         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22990         aliases.
22991         (strtok_r): Likewise.
22992         (__GI___strtok_r): Likewise.
22993         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22994         (PARMS): Do not use macros from bp-asm.h.
22995         (S): Likewise.
22996         (SIZE): Likewise.
22997         (__mpn_lshift): Do not use BP_SYM.
22998         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22999         (PARMS): Do not use macros from bp-asm.h.
23000         (STR): Likewise.
23001         (CHR): Likewise.
23002         (__memchr): Do not use BP_SYM.
23003         (memchr): Do not use BP_SYM in weak_alias.
23004         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23005         (PARMS): Do not use macros from bp-asm.h.
23006         (BLK2): Likewise.
23007         (LEN): Likewise.
23008         (memcmp): Do not use BP_SYM.
23009         (bcmp): Do not use BP_SYM in weak_alias.
23010         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23011         (PARMS): Do not use macros from bp-asm.h.
23012         (S1): Likewise.
23013         (SIZE): Likewise.
23014         (__mpn_mul_1): Do not use BP_SYM.
23015         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23016         "bp-asm.h".
23017         (PARMS): Do not use macros from bp-asm.h.
23018         (STR): Likewise.
23019         (CHR): Likewise.
23020         (__rawmemchr): Do not use BP_SYM.
23021         (rawmemchr): Do not use BP_SYM in weak_alias.
23022         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23023         (PARMS): Do not use macros from bp-asm.h.
23024         (S): Likewise.
23025         (SIZE): Likewise.
23026         (__mpn_rshift): Do not use BP_SYM.
23027         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23028         (PARMS): Do not use macros from bp-asm.h.
23029         (SIGMSK): Likewise.
23030         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23031         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23032         (_start): Do not use BP_SYM.
23033         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23034         (PARMS): Do not use macros from bp-asm.h.
23035         (DEST): Likewise.
23036         (SRC): Likewise.
23037         (__stpcpy): Likewise.  Do not use BP_SYM.
23038         (stpcpy): Do not use BP_SYM in weak_alias.
23039         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23040         "bp-asm.h".
23041         (PARMS): Do not use macros from bp-asm.h.
23042         (DEST): Likewise.
23043         (SRC): Likewise.
23044         (LEN): Likewise.
23045         (__stpncpy): Likewise.  Do not use BP_SYM.
23046         (stpncpy): Do not use BP_SYM in weak_alias.
23047         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23048         (PARMS): Do not use macros from bp-asm.h.
23049         (STR): Likewise.
23050         (CHR): Likewise.
23051         (strchr): Likewise.  Do not use BP_SYM.
23052         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23053         "bp-asm.h".
23054         (PARMS): Do not use macros from bp-asm.h.
23055         (STR): Likewise.
23056         (CHR): Likewise.
23057         (__strchrnul): Likewise.  Do not use BP_SYM.
23058         (strchrnul): Do not use BP_SYM in weak_alias.
23059         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23060         "bp-asm.h".
23061         (PARMS): Do not use macros from bp-asm.h.
23062         (STOP): Likewise.
23063         (strcspn): Do not use BP_SYM.
23064         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23065         "bp-asm.h".
23066         (PARMS): Do not use macros from bp-asm.h.
23067         (STR): Likewise.
23068         (STOP): Likewise.
23069         (strpbrk): Likewise.  Do not use BP_SYM.
23070         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23071         "bp-asm.h".
23072         (PARMS): Do not use macros from bp-asm.h.
23073         (STR): Likewise.
23074         (CHR): Likewise.
23075         (strrchr): Likewise.  Do not use BP_SYM.
23076         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23077         (PARMS): Do not use macros from bp-asm.h.
23078         (SKIP): Likewise.
23079         (strspn): Do not use BP_SYM.
23080         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23081         (PARMS): Do not use macros from bp-asm.h.
23082         (STR): Likewise.
23083         (DELIM): Likewise.
23084         (SAVE): Likewise.
23085         (FUNCTION): Likewise.  Do not use BP_SYM.
23086         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23087         aliases.
23088         (strtok_r): Likewise.
23089         (__GI___strtok_r): Likewise.
23090         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23091         (PARMS): Do not use macros from bp-asm.h.
23092         (S1): Likewise.
23093         (S2): Likewise.
23094         (SIZE): Likewise.
23095         (__mpn_sub_n): Do not use BP_SYM.
23096         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23097         "bp-asm.h".
23098         (PARMS): Do not use macros from bp-asm.h.
23099         (S1): Likewise.
23100         (SIZE): Likewise.
23101         (__mpn_submul_1): Do not use BP_SYM.
23102         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23103         <bp-sym.h>.
23104         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23105         and <bp-asm.h>.
23106         (PARMS): Do not use macros from bp-asm.h.
23107         (FLAGS): Likewise.
23108         (PTID): Likewise.
23109         (TLS): Likewise.
23110         (CTID): Likewise.
23111         (__clone): Do not use BP_SYM.
23112         (clone): Do not use BP_SYM in weak_alias.
23113         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23114         and <bp-asm.h>.
23115         (PARMS): Do not use macros from bp-asm.h.
23116         (LEN): Likewise.
23117         (__mmap64): Do not use BP_SYM.
23118         (mmap64): Do not use BP_SYM in weak_alias.
23119         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23120         <bp-sym.h> and <bp-asm.h>.
23121         (PARMS): Do not use macros from bp-asm.h.
23122         (__posix_fadvise64_l64): Do not use BP_SYM.
23123         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23124         (PARMS): Do not use macros from bp-asm.h.
23125         (NSOPS): Likewise.
23126         (semtimedop): Do not use BP_SYM.
23127         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23128         and <bp-asm.h>.
23130 2013-02-21  Allan McRae  <allan@archlinux.org>
23132         * manual/message.texi (Charset conversion in gettext):
23133         Move @end statement to beginning of line.
23135 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23138         static.
23139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23140         Likewise.
23142         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23143         (denorm): Likewise.
23144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23147 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23149         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23150         tail-call to the resolved function if pltexit isn't needed.
23152 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23155         or Y being zero as being unlikely.
23156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23157         Likewise.
23159 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23161         * manual/nss.texi (System Databases and Name Service Switch):
23162         Remove frobnicate @pxref.
23164 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23166         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23167         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23169 2013-02-20  Petr Machata  <pmachata@redhat.com>
23171         * elf/elf.h (R_ARM_TARGET1): New macro.
23172         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23173         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23174         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23175         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23176         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23177         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23178         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23179         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23180         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23181         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23182         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23183         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23184         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23185         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23186         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23187         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23188         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23189         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23190         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23191         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23192         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23193         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23194         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23195         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23196         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23197         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23198         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23199         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23200         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23201         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23202         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23203         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23204         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23205         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23206         (R_ARM_THM_GOT_BREL12): Likewise.
23207         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23208         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23209         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23210         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23211         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23212         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23213         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23214         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23215         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23217 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23219         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23220         __attribute_used__ to __attribute__ ((unused)).
23222 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23224         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23225         powerpc mpa.c.
23226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23227         comment formatting.
23228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23230 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23232         [BZ #13550]
23233         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23234         Remove macro.
23235         (ENTER): Remove both macro definitions.
23236         (LEAVE): Likewise.
23237         (CHECK_BOUNDS_LOW): Likewise.
23238         (CHECK_BOUNDS_HIGH): Likewise.
23239         (CHECK_BOUNDS_BOTH): Likewise.
23240         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23241         (RETURN_BOUNDED_POINTER): Likewise.
23242         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23243         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23244         (POP_ERRNO_LOCATION_RETURN): Likewise.
23245         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23246         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23247         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23248         macros.
23249         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23250         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23251         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23252         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23253         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23254         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23255         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23256         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23257         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23258         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23259         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23260         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23261         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23262         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23263         removed macros.
23264         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23265         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23266         macros.
23267         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23268         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23269         * sysdeps/i386/i586/memset.S (memset): Likewise.
23270         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23271         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23272         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23273         macros.
23274         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23275         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23276         Change uses of L(2) to L(out).
23277         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23278         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23279         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23280         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23281         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23282         removed macros.
23283         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23284         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23285         macros.
23286         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23287         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23288         (RETURN): Do not use macro LEAVE.
23289         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23290         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23291         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23292         * sysdeps/i386/i686/memset.S (memset): Likewise.
23293         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23294         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23295         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23296         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23297         Likewise.
23298         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23299         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23300         L(1_2) and L(1_3) into L(1).
23301         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23302         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23303         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23304         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23305         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23306         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23307         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23308         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23309         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23310         macros.
23311         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23312         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23313         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23314         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23315         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23316         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23317         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23318         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23319         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23320         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23321         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23322         * sysdeps/i386/strspn.S (strspn): Likewise.
23323         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23324         conditional code.
23325         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23326         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23327         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23328         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23329         L(1_3) into L(1_1).
23330         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23331         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23332         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23333         macros.
23334         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23336 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23338         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23339         macro.
23341 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23343         * math/atest-exp.c (exp_mpn): Remove ROUND.
23344         * math/atest-exp2.c (exp_mpn): Likewise.
23345         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23347         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23348         * stdlib/tst-tls-atexit-lib.c: Likewise.
23349         * stdlib/tst-tls-atexit.c: Likewise.
23351 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23353         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23354         and __attribute_alloc_size__.
23356 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23358         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23359         __attribute_alloc_size__.
23360         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23361         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23363 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23365         * include/programs/xmalloc.h: New file.
23366         * catgets/gencat.c: Include it.
23367         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23368         * elf/pldd.c: Likewise.
23369         * iconv/iconv_charmap.c: Likewise.
23370         * iconv/iconvconfig.c: Likewise.
23371         * iconv/strtab.c: Likewise.
23372         * locale/programs/locale.c: Likewise.
23373         * locale/programs/localedef.h: Likewise.
23374         * locale/programs/simple-hash.c: Likewise.
23375         * nscd/nscd.h: Likewise.
23376         * nss/makedb.c: Likewise.
23377         * sysdeps/generic/ldconfig.h: Likewise.
23379 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23381         * Versions.def: Add GLIBC_2.18.
23382         * include/link.h (struct link_map): New member l_tls_dtor_count.
23383         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23384         (__call_tls_dtors): Likewise.
23385         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23386         __cxa_thread_atexit_impl.
23387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23388         Likewise.
23389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23390         Likewise.
23391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23392         Likewise.
23393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23394         Likewise.
23395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23397         Likewise.
23398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23399         Likewise.
23400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23402         Likewise.
23403         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23404         (tests): Add test case tst-tls-atexit.
23405         (modules-names): Add shared library for tst-tls-atexit.
23406         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23407         (GLIBC_PRIVATE): Add __call_tls_dtors.
23408         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23409         for libstdc++.
23410         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23411         * stdlib/tst-tls-atexit.c: New test case.
23412         * stdlib/tst-tls-atexit-lib.c: New test case.
23414         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23416         * elf/Versions (ld): Add _dl_find_dso_for_object.
23417         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23418         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23419         (dl_open_worker): Use _dl_find_dso_for_object.
23420         * elf/dl-sym.c (do_sym): Likewise.
23421         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23423 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23425         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23426         Syntactic changes only.
23427         (_dl_runtime_profile): Do a tail-call to the resolved function.
23429 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23431         [BZ #13550]
23432         * sysdeps/x86_64/bp-asm.h: Remove file.
23433         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23434         <bp-sym.h> and <bp-asm.h>.
23435         (__clone): Do not use BP_SYM.
23436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23437         <bp-sym.h> and <bp-asm.h>.
23438         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23439         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23440         "bp-asm.h".
23441         (_setjmp): Do not use BP_SYM.
23442         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23443         "bp-asm.h".
23444         (setjmp): Do not use BP_SYM.
23445         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23446         libc_hidden_def.
23447         (mempcpy): Do not use BP_SYM in weak_alias.
23448         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23449         "bp-asm.h".
23450         (strchr): Do not use BP_SYM.
23451         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23452         "bp-asm.h".
23453         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23454         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23455         (_start): Do not use BP_SYM.
23456         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23457         "bp-asm.h".
23458         (strcat): Do not use BP_SYM.
23459         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23460         "bp-asm.h".
23461         (STRCMP): Do not use BP_SYM.
23462         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23463         "bp-asm.h".
23464         (STRCPY): Do not use BP_SYM.
23465         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23466         "bp-asm.h".
23467         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23468         "bp-asm.h".
23469         (FUNCTION): Do not use BP_SYM.
23470         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23471         weak_alias.
23472         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23474 2013-02-17  Andreas Jaeger  <aj@suse.de>
23476         * time/Versions: Sort entries.
23477         * string/Versions: Likewise.
23478         * resolv/Versions: Likewise.
23479         * posix/Versions: Likewise.
23480         * iconv/Versions: Likewise.
23481         * elf/Versions: Likewise.
23482         * wcsmbs/Versions: Likewise.
23484 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23487         loop termination condition.
23489         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23490         variable to calculate EZ.
23491         (__sqr): Likewise.
23493         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23494         the lower precision input.
23496 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23498         [BZ #13550]
23499         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23500         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23501         (run-via-rtld-prefix): Do not handle %-bp tests.
23502         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23503         (all-object-suffixes): Remove .ob.
23504         (bppfx): Remove variable.
23505         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23506         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23507         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23508         [$(build-bounded) = yes] (libtype.ob): Likewise.
23509         * Makerules (elide-routines.ob): Remove variable.
23510         (do-tests-clean): Do not handle *-bp.out.
23511         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23512         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23513         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23514         (tests): Do not include $(tests-bp.out).
23515         (xtests): Do not include $(xtests-bp.out).
23516         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23517         [$(build-bounded) = yes] ($(addprefix
23518         $(objpfx),$(binaries-bounded))): Remove rule.
23519         ($(objpfx)%-bp.out): Remove rule.
23520         * config.make.in (build-bounded): Remove variable.
23521         * crypt/Makefile [$(build-bounded) = yes]
23522         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23523         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23524         append to variable.
23525         [$(build-bounded) = yes] (install-lib): Likewise.
23526         [$(build-bounded) = yes] (generated): Likewise.
23527         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23528         Remove rule.
23529         * intl/Makefile [$(build-bounded) = yes]
23530         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23531         * math/Makefile [$(build-bounded) = yes]
23532         ($(tests:%=$(objpfx)%-bp): Likewise.
23533         * misc/Makefile [$(build-bounded) = yes]
23534         ($(objpfx)tst-tsearch-bp): Likewise.
23535         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23536         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23537         Remove dependency.
23538         * string/Makefile (o-objects.ob): Remove variable.
23539         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23540         (CFLAGS-.ob): Remove variable.
23541         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23542         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23543         both definitions of variable.
23544         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23545         (ASFLAGS-.ob): Remove variable.
23547 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23549         [BZ #13550]
23550         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23551         Remove __BOUNDED_POINTERS__ from condition.
23552         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23553         * string/bits/string2.h [!__NO_STRING_INLINES &&
23554         !__BOUNDED_POINTERS__]: Likewise.
23555         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23556         Likewise.
23557         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23558         Remove conditional code.
23559         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23560         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23561         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23562         condition.
23564         [BZ #13550]
23565         * csu/libc-start.c: Do not include <bp-sym.h>.
23566         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23567         * elf/dl-open.c: Do not include <bp-sym.h>.
23568         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23569         * math/fegetenv.c: Do not include <bp-sym.h>.
23570         (fegetenv): Do not use BP_SYM in versioned symbols.
23571         * nptl/sysdeps/pthread/bits/libc-lockP.h
23572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23573         <bp-sym.h>.
23574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23575         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23577         (__pthread_mutex_destroy): Likewise.
23578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23579         (__pthread_mutex_lock): Likewise.
23580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23581         (__pthread_mutex_trylock): Likewise.
23582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23583         (__pthread_mutex_unlock): Likewise.
23584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23585         (__pthread_mutexattr_init): Likewise.
23586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23587         (__pthread_mutexattr_destroy): Likewise.
23588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23589         (__pthread_mutexattr_settype): Likewise.
23590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23591         (__pthread_rwlock_init): Likewise.
23592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23593         (__pthread_rwlock_destroy): Likewise.
23594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23595         (__pthread_rwlock_rdlock): Likewise.
23596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23597         (__pthread_rwlock_tryrdlock): Likewise.
23598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23599         (__pthread_rwlock_wrlock): Likewise.
23600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23601         (__pthread_rwlock_trywrlock): Likewise.
23602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23603         (__pthread_rwlock_unlock): Likewise.
23604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23605         (__pthread_key_create): Likewise.
23606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23607         (__pthread_setspecific): Likewise.
23608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23609         (__pthread_getspecific): Likewise.
23610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23611         Likewise.
23612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23613         (_pthread_cleanup_push_defer): Likewise.
23614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23615         (_pthread_cleanup_pop_restore): Likewise.
23616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23617         (pthread_setcancelstate): Likewise.
23618         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23619         <bp-sym.h>.
23620         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23621         (memchr): Do not use BP_SYM in weak_alias.
23622         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23623         (fegetenv): Do not use BP_SYM in versioned symbols.
23624         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23625         (fesetenv): Do not use BP_SYM in versioned symbols.
23626         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23627         (feupdateenv): Do not use BP_SYM in versioned symbols.
23628         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23629         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23630         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23631         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23632         (open64): Do not use BP_SYM in weak_alias.
23633         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23634         (fegetenv): Do not use BP_SYM in versioned symbols.
23635         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23636         (fesetenv): Do not use BP_SYM in versioned symbols.
23637         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23638         (feupdateenv): Do not use BP_SYM in versioned symbols.
23639         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23640         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23641         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23642         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23643         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23644         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23645         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23646         <bp-sym.h>.
23647         (__libc_start_main): Do not use BP_SYM.
23649 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23652         redundant return line.
23653         (norm): Likewise.
23654         (denorm): Likewise.
23655         (dbl_mp): Likewise.
23656         (sub_magnitudes): Likewise.
23657         (__add): Likewise.
23658         (__sub): Likewise.
23659         (__mul): Likewise.
23660         (__inv): Likewise.
23661         (__dvd): Likewise.
23662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23663         (norm): Likewise.
23664         (denorm): Likewise.
23665         (dbl_mp): Likewise.
23666         (sub_magnitudes): Likewise.
23667         (__add): Likewise.
23668         (__sub): Likewise.
23669         (__mul): Likewise.
23670         (__inv): Likewise.
23671         (__dvd): Likewise.
23673         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23674         instead of __mul.
23675         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23676         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23677         (cc32): Likewise.
23679         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23680         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23682         of __mul for squares.
23683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23684         function
23685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23686         Likewise.
23687         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23688         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23690 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23692         [BZ #13550]
23693         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23694         code.
23695         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23696         prototype or function definition.  Rename ubp_* variables and
23697         parameters.  Remove argv definitions conditional on
23698         [__BOUNDED_POINTERS__].
23699         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23700         * elf/dl-runtime.c (_dl_fixup): Likewise.
23701         * include/set-hooks.h (RUN_HOOK): Likewise.
23702         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23703         definition.
23704         * string/strcpy.c (strcpy): Do not use __unbounded.
23705         * sysdeps/generic/frame.h (struct layout): Likewise.
23706         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23707         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23708         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23709         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23710         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23711         (__backtrace): Likewise.
23712         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23713         use __ptrvalue.
23714         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23715         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23716         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23717         Likewise.
23718         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23719         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23720         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23722         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23723         Do not use __unbounded.
23724         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23725         Rename __unboundedrlimits parameter to rlimits in prototype.
23726         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23727         Do not use __unbounded.
23728         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23729         not use __ptrvalue.
23730         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23731         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23732         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23733         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23734         __ptrvalue or __unbounded.
23735         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23736         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23737         use __unbounded.
23738         (__new_msgctl): Do not use __ptrvalue.
23739         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23740         __unbounded.
23741         (__libc_msgrcv): Do not use __ptrvalue.
23742         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23743         startup_info): Do not use __unbounded.
23744         (__libc_start_main): Likewise.  Rename ubp_* variables and
23745         parameters.  Remove argv definitions conditional on
23746         [__BOUNDED_POINTERS__].
23747         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23748         __ptrvalue.
23749         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23750         use __unbounded.
23751         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23752         or __ptrvalue.
23753         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23754         use __unbounded.
23755         (__new_shmctl): Do not use __ptrvalue.
23756         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23757         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23758         Likewise.
23759         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23760         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23761         (__libc_sigaction): Likewise.
23762         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23763         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23764         Likewise.
23765         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23767 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23769         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23771         * string/mempcpy.c: Implement by calling memcpy.
23773 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23778         evaluation.
23780         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23781         values in the mantissa.
23783         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23784         minimize writes to Z.
23785         (sub_magnitudes): Simplify code a bit.
23787 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23789         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23790         from the message.  The linker prefixes all warnings with that already.
23792 2013-02-12  Andreas Schwab  <schwab@suse.de>
23794         [BZ #15078]
23795         * posix/regexec.c (extend_buffers): Add parameter min_len.
23796         (check_matching): Pass minimum needed length.
23797         (clean_state_log_if_needed): Likewise.
23798         (get_subexp): Likewise.
23799         * posix/Makefile (tests): Add bug-regex34.
23800         (bug-regex34-ENV): Define.
23801         * posix/bug-regex34.c: New file.
23803         [BZ #11561]
23804         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23805         elements compare against the byte sequence of it, not its name.
23806         * posix/Makefile (tests): Add bug-regex35.
23807         (bug-regex35-ENV): Define.
23808         * posix/bug-regex35.c: New file.
23810 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23812         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23813         comment.
23814         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23815         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23816         (CHECK_EOL): Add undef.
23818 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23820         * bits/stdlib-bsearch.h: New file.
23821         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23822         * stdlib/stdlib.h: Likewise.
23824 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23826         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23827         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23828         declaration.
23829         * manual/search.texi (Array Search Function): Add missing const in
23830         lfind prototype.
23831         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23832         declaration to use rlim_t.
23833         (Basic Scheduling Functions): Remove erroneous const from
23834         sched_getparam prototype.  Remove erroneous * from
23835         sched_get_priority_max and sched_get_priority_min prototypes.
23836         (Resource Usage): Fix summary @comment on vtimes to refer to
23837         sys/vtimes.h rather than vtimes.h.
23838         Add missing *s in vtimes prototype.
23839         (Limits on Resources): Fix ulimit prototype to return long int.
23840         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23841         prototypes to use long int rather than double.
23842         (BSD Random): Fix initstate and setstate to use char *, not void *.
23843         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23844         prototype to make second argument 'struct aiocb64 *const[]'.
23845         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23846         (Status of AIO Operations): Remove erroneous const in aio_return and
23847         aio_return64 prototypes.
23848         (Synchronizing I/O): Fix sync prototype to return void.
23849         * manual/startup.texi (Suboptions): Remove an erroneous const in
23850         getsubopt prototype.
23851         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23852         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23853         use size_t rather than int.
23854         (Scanning All Users): Likewise for getpwent_r.
23855         (Setting Groups): Add missing const to setgroups prototype.
23856         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23857         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23858         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23859         'const void *' rather than 'const char *'.
23860         (Host Address Functions): Likewise for inet_ntop.
23861         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23862         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23863         ssize_t for return value.
23864         (Sending Data): Likewise for send, sendto, sendmsg.
23865         (Socket Option Functions): Add a missing const in setsockopt prototype.
23866         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23867         use wchar_t for the argument.
23868         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23869         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23870         take no arguments.
23871         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23872         double/float/long double for second argument.
23873         Fix return types of significand, significandf, significandl.
23874         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23875         argument in fchmod prototype.
23876         (File Owner): Use uid_t and gid_t in fchown prototype.
23877         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23878         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23879         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23880         use 'const struct dirent **' as argument types to CMP function pointer
23881         argument.
23882         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23883         (File Times): Fix summary magic @comment for struct utimbuf and utime
23884         to refer to utime.h, not time.h.
23885         * manual/string.texi (Argz Functions): Add missing const in
23886         argz_extract and argz_next prototypes.
23887         (Finding Tokens in a String): Likewise for basename.
23888         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23889         (Copying and Concatenation): Fix typo in wmemmove prototype.
23890         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23891         (Signal Stack): Remove erroneous const in sigstack prototype.
23892         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23893         prototype.
23894         (Simple Calendar Time): Likewise for stime.
23895         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23896         prototype.
23897         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23898         say sys/sysctl.h instead.
23899         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23900         and vsyslog prototypes.
23902 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23904         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23905         Remove.
23907 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23909         * misc/sys/mman.h: Fix typo in mremap comment.
23911 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23913         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23914         the '\0' terminator.
23916 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23918         [BZ #13550]
23919         * debug/segfault.c: Don't include <bp-checks.h>.
23920         * sysdeps/generic/bp-checks.h: Remove file.
23921         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23922         (__GETDENTS): Don't use CHECK_N.
23923         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23924         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23925         (__getgroups): Don't use CHECK_N.
23926         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23927         (setgroups): Don't use CHECK_N.
23928         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23929         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23930         (__libc_msgrcv): Don't use CHECK_N.
23931         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23932         (__libc_msgsnd): Don't use CHECK_N.
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23934         <bp-checks.h>.
23935         (__libc_pread): Don't use CHECK_N.
23936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23937         include <bp-checks.h>.
23938         (__libc_pread64): Don't use CHECK_N.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23940         include <bp-checks.h>.
23941         (__libc_pwrite): Don't use CHECK_N.
23942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23943         include <bp-checks.h>.
23944         (__libc_pwrite64): Don't use CHECK_N.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23946         <bp-checks.h>.
23947         (__libc_pread): Don't use CHECK_N.
23948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23949         include <bp-checks.h>.
23950         (__libc_pread64): Don't use CHECK_N.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23952         include <bp-checks.h>.
23953         (__libc_pwrite): Don't use CHECK_N.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23955         include <bp-checks.h>.
23956         (__libc_pwrite64): Don't use CHECK_N.
23957         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23958         (do_pread): Don't use CHECK_N.
23959         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23960         (do_pread64): Don't use CHECK_N.
23961         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23962         (do_pwrite): Don't use CHECK_N.
23963         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23964         (do_pwrite64): Don't use CHECK_N.
23965         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23966         (__libc_readv): Don't use CHECK_N.
23967         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23968         (semop): Don't use CHECK_N.
23969         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23970         <bp-checks.h>.
23971         (semtimedop): Don't use CHECK_N.
23972         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23973         (__libc_pread): Don't use CHECK_N.
23974         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23975         <bp-checks.h>.
23976         (__libc_pread64): Don't use CHECK_N.
23977         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23978         <bp-checks.h>.
23979         (__libc_pwrite): Don't use CHECK_N.
23980         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23981         <bp-checks.h>.
23982         (__libc_pwrite64): Don't use CHECK_N.
23983         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23984         <bp-checks.h>.
23985         (__libc_msgrcv): Don't use CHECK_N.
23986         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23987         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23988         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23989         (__libc_writev): Don't use CHECK_N.
23991 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23993         * string/strcpy.c: Removed unused variable.
23995         * Makeconfig (+sysdep-includes): Define with := rather than =.
23996         Use an existing include/ subdir of each sysdeps dir before it.
23998 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24000         * nscd/connection.c (register_traced_file): Comment function.
24001         [HAVE_INOTIFY] (union __inev): Define.
24002         [HAVE_INOTIFY] (inotify_check_files): New function.
24003         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24004         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24005         clear_db_cache.
24006         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24008 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24010         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24011         loaded if not already and that a failure is permanent.
24013 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24015         [BZ #15006]
24016         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24017         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24019 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24021         [BZ #13550]
24022         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24023         (CHECK_1_NULL_OK): Likewise.
24024         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24025         (__fxstat): Do not use CHECK_1.
24026         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24027         <bp-checks.h>.
24028         (___fxstat64): Do not use CHECK_1.
24029         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24030         <bp-checks.h>.
24031         (__fxstatat): Do not use CHECK_1.
24032         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24033         <bp-checks.h>.
24034         (__fxstatat64): Do not use CHECK_1.
24035         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24036         <bp-checks.h>.
24037         (__fxstat): Do not use CHECK_1.
24038         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24039         <bp-checks.h>.
24040         (__fxstatat): Do not use CHECK_1.
24041         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24042         <bp-checks.h>.
24043         (__getresgid): Do not use CHECK_1.
24044         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24045         <bp-checks.h>.
24046         (__getresuid): Do not use CHECK_1.
24047         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24048         <bp-checks.h>.
24049         (__lxstat): Do not use CHECK_1.
24050         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24051         <bp-checks.h>.
24052         (__old_msgctl): Do not use CHECK_1.
24053         (__new_msgctl): Likewise.
24054         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24055         <bp-checks.h>.
24056         (__new_setrlimit): Do not use CHECK_1.
24057         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24058         <bp-checks.h>.
24059         (__old_shmctl): Do not use CHECK_1.
24060         (__new_shmctl): Likewise.
24061         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24062         <bp-checks.h>.
24063         (__xstat): Do not use CHECK_1.
24064         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24065         (__lxstat): Do not use CHECK_1.
24066         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24067         <bp-checks.h>.
24068         (___lxstat64): Do not use CHECK_1.
24069         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24070         (__old_msgctl): Do not use CHECK_1.
24071         (__new_msgctl): Likewise.
24072         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24073         <bp-checks.h>.
24074         (__gettimeofday): Do not use CHECK_1.
24075         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24076         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24077         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24078         <bp-checks.h>.
24079         (__gettimeofday): Do not use CHECK_1.
24080         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24081         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24082         (__new_shmctl): Do not use CHECK_1.
24083         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24084         <bp-checks.h>.
24085         (do_sigtimedwait): Do not use CHECK_1.
24086         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24087         <bp-checks.h>.
24088         (do_sigwaitinfo): Do not use CHECK_1.
24089         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24090         <bp-checks.h>.
24091         (msgctl): Do not use CHECK_1.
24092         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24093         <bp-checks.h>.
24094         (shmctl): Do not use CHECK_1.
24095         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24096         (ustat): Do not use CHECK_1.
24097         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24098         <bp-checks.h>.
24099         (__fxstat): Do not use CHECK_1.
24100         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24101         <bp-checks.h>.
24102         (__fxstatat): Do not use CHECK_1.
24103         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24104         <bp-checks.h>.
24105         (__lxstat): Do not use CHECK_1.
24106         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24107         <bp-checks.h>.
24108         (__xstat): Do not use CHECK_1.
24109         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24110         (__xstat): Do not use CHECK_1.
24111         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24112         (___xstat64): Do not use CHECK_1.
24114         [BZ #13550]
24115         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24116         definitions.
24117         (CHECK_BOUNDS_HIGH): Likewise.
24118         * string/strcpy.c: Do not include <bp-checks.h>.
24119         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24121 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24123         * nscd/nscd-client.h (__nscd_drop_map_ref):
24124         Add __attribute__ ((unused)).
24125         * nis/nss-nisplus.h (niserr2nss): Likewise.
24127         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24128         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24130         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24131         Remove inline keyword.
24132         * include/rounding-mode.h (round_away): Likewise.
24133         * libio/wfileops.c (adjust_wide_data): Likewise.
24134         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24135         (__m128i_strloadu_tolower): Likewise.
24136         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24137         (__m128i_strloadu_tolower): Likewise.
24138         * time/mktime.c (ydhms_diff): Likewise.
24139         * locale/elem-hash.h (elem_hash): Likewise.
24140         * locale/setlocale.c (setdata): Likewise.
24141         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24142         (re_string_wchar_at): Likewise.
24143         (bitset_not, bitset_merge, bitset_mask): Likewise.
24144         [!(__GNUC__ > 3)] (inline): Remove macro.
24145         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24146         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24147         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24148         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24149         * string/memcmp.c (memcmp_bytes): Likewise.
24150         * locale/programs/locarchive.c (compute_hashval): Likewise.
24151         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24152         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24153         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24154         * nss/getent.c (print_rpc, print_protocols): Likewise.
24155         (print_passwd, print_group, print_aliases): Likewise.
24156         * nis/nss-nisplus.h (niserr2nss): Likewise.
24157         * nscd/connections.c (restart_p): Likewise.
24158         Change return type to bool.
24160 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24162         * Makeconfig (all-Depend-files): Add existing
24163         $(sorted-subdirs:=/Depend) files.
24164         (all-subdirs): Remove nss.
24165         * sysdeps/unix/inet/Subdirs: Add it here instead.
24166         * hesiod/Depend: New file.
24168         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24169         instead of calling alloca.
24171         * io/lseek.c (__lseek): Rename to __libc_lseek.
24172         Define __lseek as an alias.
24174         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24176 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24178         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24179         else clause and remove check for non-standard endianness.
24181 2013-02-04  David S. Miller  <davem@davemloft.net>
24183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24185 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24187         [BZ #13550]
24188         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24189         (__ubp_memchr): Remove prototype.
24190         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24191         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24192         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24193         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24194         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24195         Remove alias.
24196         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24197         (__ubp_memchr): Likewise.
24198         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24199         (__ubp_memchr): Likewise.
24200         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24201         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24202         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24203         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24204         CHECK_STRING.
24205         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24206         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24207         (__getcwd): Do not use CHECK_STRING.
24208         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24209         <bp-checks.h>.
24210         (__real_chown): Do not use CHECK_STRING.
24211         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24212         <bp-checks.h>.
24213         (fchownat): Do not use CHECK_STRING.
24214         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24215         CHECK_STRING.
24216         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24217         <bp-checks.h>.
24218         (__lchown): Do not use CHECK_STRING.
24219         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24220         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24221         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24222         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24224         include <bp-checks.h>.
24225         (truncate64): Do not use CHECK_STRING.
24226         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24227         <bp-checks.h>.
24228         (__real_chown): Do not use CHECK_STRING.
24229         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24230         <bp-checks.h>.
24231         (__lchown): Do not use CHECK_STRING.
24232         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24233         <bp-checks.h>.
24234         (__chown): Do not use CHECK_STRING.
24235         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24236         <bp-checks.h>.
24237         (truncate64): Do not use CHECK_STRING.
24238         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24239         Likewise.
24240         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24241         (__xmknod): Do not use CHECK_STRING.
24242         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24243         <bp-checks.h>.
24244         (__xmknodat): Do not use CHECK_STRING.
24245         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24246         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24248 2013-02-04  Andreas Schwab  <schwab@suse.de>
24250         [BZ #14142]
24251         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24252         * include/netdb.h: Likewise for h_errno.
24253         * elf/tst-stackguard1.c: Include <tls.h>.
24255 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24257         * elf/link.h (struct link_map): Extend the l_addr comment.
24258         * include/link.h (struct link_map): Likewise.
24260 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24262         [BZ #13550]
24263         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24264         (BOUNDED_1): Remove macro.
24265         * debug/backtrace.c: Don't include <bp-checks.h>.
24266         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24267         (__backtrace): Likewise.
24268         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24269         <bp-checks.h>.
24270         (__backtrace): Don't use BOUNDED_1.
24271         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24272         <bp-checks.h>.
24273         (__backtrace): Don't use BOUNDED_1.
24274         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24275         (__backtrace): Don't use BOUNDED_1.
24276         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24277         (shmat): Don't use BOUNDED_N.
24279 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24281         [BZ #13550]
24282         * sysdeps/generic/bp-start.h: Remove file.
24283         * csu/libc-start.c: Don't include <bp-start.h>.
24284         (LIBC_START_MAIN): Set up __environ directly instead of using
24285         INIT_ARGV_and_ENVIRON.
24286         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24287         <bp-start.h>.
24289         [BZ #13550]
24290         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24291         definitions.
24292         (CHECK_FCNTL): Likewise.
24293         (CHECK_N_PAGES): Likewise.
24295         [BZ #13550]
24296         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24297         definitions.
24298         (CHECK_SIGSET_NULL_OK): Likewise.
24299         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24300         <bp-checks.h>.
24301         (sigpending): Don't use CHECK_SIGSET.
24302         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24303         <bp-checks.h>.
24304         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24305         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24306         <bp-checks.h>.
24307         (do_sigsuspend): Don't use CHECK_SIGSET.
24308         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24309         use CHECK_SIGSET.
24310         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24311         (do_sigwait): Don't use CHECK_SIGSET.
24312         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24313         use CHECK_SIGSET.
24314         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24315         include <bp-checks.h>.
24316         (sigpending): Don't use CHECK_SIGSET.
24317         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24318         include <bp-checks.h>.
24319         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24320         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24321         <bp-checks.h>.
24322         (sigpending): Don't use CHECK_SIGSET.
24323         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24324         <bp-checks.h>.
24325         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24327         [BZ #13550]
24328         * sysdeps/generic/bp-semctl.h: Remove file.
24329         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24330         <bp-checks.h> and <bp-semctl.h>.
24331         (__old_semctl): Don't use CHECK_SEMCTL.
24332         (__new_semctl): Likewise.
24333         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24334         and <bp-semctl.h>.
24335         (__old_semctl): Don't use CHECK_SEMCTL.
24336         (__new_semctl): Likewise.
24337         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24338         <bp-checks.h> and <bp-semctl.h>.
24339         (__old_semctl): Don't use CHECK_SEMCTL.
24340         (__new_semctl): Likewise.
24341         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24342         <bp-checks.h> and <bp-semctl.h>.
24343         (semctl): Don't use CHECK_SEMCTL.
24345         [BZ #13550]
24346         * Makerules (elide-bp-thunks): Remove variable.
24347         (elide-routines.oS): Don't use $(elide-bp-thunks).
24348         (elide-routines.os): Likewise.
24349         (elide-routines.o): Likewise.
24350         (elide-routines.op): Likewise.
24351         (elide-routines.og): Likewise.
24352         (objects): Don't use $(bp-thunks).
24353         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24354         include.
24355         (common-generated): Do not add s-proto-bp.d.
24356         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24357         (int): Likewise.
24358         (typ): Likewise.
24359         Do not generate makefile rules for bounded-pointer thunks.
24360         * sysdeps/generic/bp-thunks.h: Remove file.
24361         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24362         * sysdeps/unix/s-proto-bp.S: Likewise.
24364         [BZ #15062]
24365         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24366         parts of result separately when argument is not close to line from
24367         -i to i and one part of argument is small.
24368         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24369         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24370         * math/libm-test.inc (cacos_test): Add more tests.
24371         (casin_test): Likewise.
24372         (casinh_test): Likewise.
24373         * sysdeps/i386/fpu/libm-test-ulps: Update.
24374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24376 2013-01-31  David S. Miller  <davem@davemloft.net>
24378         * po/de.po: Update from translation team.
24380 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24382         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24384 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24386         * configure.in (_AC_PROG_CC_C89): New definition.
24387         * configure: Regenerate.
24389         * configure.in (AC_PROG_CPP): New definition.
24390         * configure: Regenerate.
24392 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24394         * debug/tst-backtrace.h: New file.
24395         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24396         (ret): Remove variable.
24397         (x): Likewise.
24398         (FAIL): Remove macro.
24399         (NO_INLINE): Likewise.
24400         (fn1): Use match function instead of strstr.
24401         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24402         (ret): Remove variable.
24403         (x): Likewise.
24404         (FAIL): Remove macro.
24405         (NO_INLINE): Likewise.
24406         (fn): Use match function instead of strstr.
24407         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24408         (ret): Remove variable.
24409         (x): Likewise.
24410         (FAIL): Remove macro.
24411         (NO_INLINE): Likewise.
24412         (handle_signal): Use match function instead of strstr.
24413         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24414         (ret): Remove variable.
24415         (x): Likewise.
24416         (FAIL): Remove macro.
24417         (NO_INLINE): Likewise.
24418         (handle_signal): Use match function instead of strstr.
24420 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24422         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24424 2013-01-23  David S. Miller  <davem@davemloft.net>
24426         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24427         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24428         argument of CAS if possible.
24429         * sysdeps/sparc/sparc64/bits/atomic.h
24430         (__arch_compare_and_exchange_val_32_acq): Likewise.
24431         (__arch_compare_and_exchange_val_64_acq): Likewise.
24433 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24435         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24436         * sysdeps/posix/ulimit.c: ... this.
24437         Include <limits.h>.
24438         * sysdeps/unix/bsd/ulimit.c: Remove file.
24440 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24442         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24443         (LDFLAGS-tst-array5): Likewise.
24445 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24447         [BZ #15036]
24448         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24449         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24450         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24451         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24453 2013-01-21  David S. Miller  <davem@davemloft.net>
24455         * sysdeps/sparc/backtrace.c: New file.
24456         * sysdeps/sparc/sparc32/backtrace.h: New file.
24457         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24458         * sysdeps/sparc/sparc64/backtrace.h: New file.
24459         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24460         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24461         -funwind-tables.
24463 2013-01-21  Andreas Schwab  <schwab@suse.de>
24465         [BZ #15020]
24466         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24467         closed its stdout.
24469 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24472         "mpa2.h".
24473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24475 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24476             Mark Mitchell  <mark@codesourcery.com>
24477             Tom de Vries  <tom@codesourcery.com>
24478             Paul Pluzhnikov  <ppluzhnikov@google.com>
24480         * debug/tst-backtrace2.c: New file.
24481         * debug/tst-backtrace3.c: Likewise.
24482         * debug/tst-backtrace4.c: Likewise.
24483         * debug/tst-backtrace5.c: Likewise.
24484         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24485         (CFLAGS-tst-backtrace3.c): Likewise.
24486         (CFLAGS-tst-backtrace4.c): Likewise.
24487         (CFLAGS-tst-backtrace5.c): Likewise.
24488         (LDFLAGS-tst-backtrace2): Likewise.
24489         (LDFLAGS-tst-backtrace3): Likewise.
24490         (LDFLAGS-tst-backtrace4): Likewise.
24491         (LDFLAGS-tst-backtrace5): Likewise.
24492         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24493         tst-backtrace4 and tst-backtrace5.
24495 2013-01-18  Anton Blanchard  <anton@samba.org>
24496             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24498         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24499         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24500         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24501         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24503         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24504         "+r" and remove output regs list as redundant.  Add explicit inline
24505         asm to specify register of return val to work around compiler codegen
24506         bug.  Remove (int) cast on return value.  Add return type parameter to
24507         use in macro so that this macro does not truncate return value for
24508         64-bit values.
24509         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24510         pass to INTERNAL_VSYSCALL_NCS.
24511         (INLINE_VSYSCALL): Add 'long int' as return type to
24512         INTERNAL_VSYSCALL_NCS macro invocation.
24513         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24514         INTERNAL_VSYSCALL_NCS macro invocation.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24517 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24519         [BZ #14496]
24520         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24521         Fix application of SIMD FP exception mask.
24523         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24524         mp_no from a power of two.
24525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24526         __mpexp_twomm1.  Use __pow_mp.
24528         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24529         multiplication.
24531 2013-01-17  David S. Miller  <davem@davemloft.net>
24533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24535 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24537         [BZ #15023]
24538         * include/complex.h: Condition contents on [!_COMPLEX_H].
24539         (__kernel_casinhf): New prototype.
24540         (__kernel_casinh): Likewise.
24541         (__kernel_casinhl): Likewise.
24542         * math/Makefile (libm_calls): Add k_casinh.
24543         * math/k_casinh.c: New file.
24544         * math/k_casinhf.c: Likewise.
24545         * math/k_casinhl.c: Likewise.
24546         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24547         finite nonzero arguments.
24548         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24549         finite nonzero arguments.
24550         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24551         finite nonzero arguments.
24552         * math/s_casinh.c: Do not include <float.h>.
24553         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24554         * math/s_casinhf.c: Do not include <float.h>.
24555         (__casinhf): Move code for finite nonzero arguments to
24556         k_casinhf.c.
24557         * math/s_casinhl.c: Do not include <float.h>.
24558         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24559         redefine.
24560         (__casinhl): Move code for finite nonzero arguments to
24561         k_casinhl.c.
24562         * math/libm-test.inc (cacos_test): Add more tests.
24563         * sysdeps/i386/fpu/libm-test-ulps: Update.
24564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24566 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24568         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24569         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24570         [!HAVE_MREMAP]: Remove [defined linux] case.
24571         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24573 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24575         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24577 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24579         * elf/elf.h (R_386_SIZE32): New relocation.
24580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24581         R_386_SIZE32.
24582         (elf_machine_rela): Likewise.
24583         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24584         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24586 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24588         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24589         (FP_FAST_FMA): Do not define.
24590         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24591         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24592         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24593         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24594         !_SOFT_FLOAT]: Likewise.
24595         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24596         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24597         value.
24598         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24599         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24600         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24601         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24602         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24603         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24604         file.
24606 2013-01-16  Andreas Schwab  <schwab@suse.de>
24608         [BZ #14327]
24609         * include/stdlib.h (__mktemp): Add declaration.
24610         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24611         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24613 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24616         definitions.
24617         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24618         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24619         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24620         definitions here.
24621         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24622         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24623         definitions.
24624         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24625         and ONE.
24626         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24627         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24628         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24629         definitions.
24630         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24631         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24632         definitions.
24633         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24635         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24637 2013-01-15  David S. Miller  <davem@davemloft.net>
24639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24640         trunc{,f} to libm-sysdep_routes.
24641         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24643         file.
24644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24646         file.
24647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24648         file.
24649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24651         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24652         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24653         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24654         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24655         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24656         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24659         nearbyint{,f} to libm-sysdep_routes.
24660         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24662         New file.
24663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24664         file.
24665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24666         New file.
24667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24668         file.
24669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24671         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24672         file.
24673         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24674         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24675         file.
24676         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24677         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24678         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24680         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24681         libc_feholdexcept and libc_fesetenv.
24683 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24685         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24687 2013-01-14  David S. Miller  <davem@davemloft.net>
24689         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24690         (SPARC_ASM_VIS2_IFUNC): Likewise.
24691         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24693         use of 'siam' instruction.
24694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24695         Likewise.
24696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24697         Likewise.
24698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24699         Likewise.
24700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24702         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24703         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24705         file.
24706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24707         file.
24708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24709         file.
24710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24711         file.
24712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24717         new VIS2 routines.
24718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24721         Likewise.
24722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24727         routines to libm-sysdep_routines.
24728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24731         fdim/fdimf to libm-sysdep_routines.
24732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24733         file.
24734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24736         file.
24737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24740         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24741         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24742         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24743         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24745 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24747         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24748         to optimize copies.
24750         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24755         local variable MPTWO.
24756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24757         Likewise.
24759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24761         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24762         GLOB_NOESCAPE.
24764 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24766         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24768 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24770         * manual/pattern.texi (glob_t): Document gl_flags.
24771         (glob64_t): Likewise.
24773 2013-01-11  David S. Miller  <davem@davemloft.net>
24775         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24776         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24777         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24778         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24779         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24780         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24781         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24782         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24783         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24784         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24785         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24786         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24787         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24789         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24790         sparc V9 rather than using V8 code.
24791         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24792         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24794         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24795         Move to...
24796         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24797         Here.
24799 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24801         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24802         not in the main loop.
24803         * configure: Regenerated.
24805 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24807         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24808         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24809         to just #else.
24810         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24811         [!__GLIBC_HAVE_LONG_LONG] case.
24812         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24813         condition to just #else.
24814         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24815         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24816         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24817         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24818         unconditional.
24819         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24820         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24821         #elif condition to just #else.
24822         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24823         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24824         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24825         #elif condition to just #else.
24827 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24829         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24830         (EF_MIPS_ARCH_64): Fix value.
24831         (EF_MIPS_ARCH_32R2): New.
24832         (EF_MIPS_ARCH_64R2): New.
24834 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24836         * Makeconfig (+link-pie-before-libc): New.
24837         (+link-pie-after-libc): Likewise.
24838         (+link-pie-tests): Likewise.
24839         (+link-pie): Rewritten.
24840         (link-before-libc): Remove $(config-LDFLAGS).
24841         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24842         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24843         (config-LDFLAGS): Renamed to ...
24844         (rtld-LDFLAGS): This.
24845         (rtld-tests-LDFLAGS): New macro.
24846         (link-libc-rpath-link): Likewise.
24847         (link-libc-tests-rpath-link): Likewise.
24848         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24849         (link-libc): Prepand $(link-libc-rpath-link).
24850         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24851         (test-program-prefix): New macro.
24852         (test-via-rtld-prefix): Likewise.
24853         (test-program-cmd): Likewise.
24854         (host-test-program-cmd): Likewise.
24855         * Makefile ($(common-objpfx)testrun.sh): Replace
24856         $(run-program-prefix) with $(test-program-prefix).
24857         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24858         $(rtld-LDFLAGS).
24859         ($(common-objpfx)shlib.lds): Likewise.
24860         (build-module-helper): Likewise.
24861         ($(common-objpfx)format.lds): Likewise.
24862         * Rules (binaries-pie-tests): New.
24863         (binaries-pie-notests): Likewise.
24864         (binaries-pie): Rewritten.
24865         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24866         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24867         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24868         (make-test-out): Replace $(host-built-program-cmd) with
24869         $(host-test-program-cmd).
24870         * config.make.in (build-hardcoded-path-in-tests): New variable.
24871         * configure.in (--enable-hardcoded-path-in-tests): New configure
24872         option.
24873         (hardcoded_path_in_tests): New AC_SUBST.
24874         * configure: Regenerated.
24875         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24876         $(built-program-cmd) with $(test-program-cmd).
24877         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24878         (test_program_cmd): This.
24879         * elf/Makefile ($(objpfx)order.out): Run test with
24880         $(test-program-prefix).
24881         ($(objpfx)order2.out): Likewise.
24882         ($(objpfx)tst-initorder.out): Likewise.
24883         ($(objpfx)tst-initorder2.out): Likewise.
24884         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24885         $(test-program-cmd).
24886         ($(objpfx)tst-array1-static.out): Likewise.
24887         ($(objpfx)tst-array2.out): Likewise.
24888         ($(objpfx)tst-array3.out): Likewise.
24889         ($(objpfx)tst-array4.out): Likewise.
24890         ($(objpfx)tst-array5.out): Likewise.
24891         ($(objpfx)tst-array5-static.out): Likewise.
24892         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24893         $(test-program-cmd).
24894         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24895         $(run-program-prefix) with $(test-program-prefix).
24896         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24897         (test_program_prefix): This.
24898         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24899         $(run-program-prefix) with $(test-program-prefix).
24900         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24901         (test_program_prefix): This.
24902         * iconvdata/tst-tables.sh: Likewise.
24903         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24904         $(run-program-prefix) with $(test-program-prefix).
24905         ($(objpfx)tst-translit.out): Likewise.
24906         ($(objpfx)tst-gettext2.out): Likewise.
24907         ($(objpfx)tst-gettext4.out): Likewise.
24908         ($(objpfx)tst-gettext6.out): Likewise.
24909         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24910         (test_program_prefix): This.
24911         * intl/tst-gettext2.sh: Likewise.
24912         * intl/tst-gettext4.sh  Likewise.
24913         * intl/tst-gettext6.sh: Likewise.
24914         * intl/tst-translit.sh: Likewise.
24915         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24916         with $(test-program-cmd).
24917         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24918         $(run-program-prefix) with $(test-program-prefix).
24919         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24920         (test_program_prefix): This.
24921         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24922         $(run-program-prefix) with $(test-program-prefix).
24923         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24924         (test_program_prefix): This.
24925         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24926         * posix/Makefile ($(objpfx)globtest.out): Replace
24927         $(run-via-rtld-prefix) and $(test-wrapper) with
24928         $(test-program-prefix) and $(test-via-rtld-prefix).
24929         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24930         $(test-program-prefix).
24931         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24932         $(host-test-program-cmd).
24933         (tst-spawn-ARGS): Likewise.
24934         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24935         $(test-program-prefix).
24936         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24937         (test_via_rtld_prefix): This.
24938         (test_wrapper): Renamed to ...
24939         (test_program_prefix): This.
24940         (run_program_prefix): Replaced by test_program_prefix.
24941         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24942         (test_program_prefix): This.
24943         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24944         with $(host-test-program-cmd).
24945         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24946         $(run-program-prefix) with $(test-program-prefix).
24947         ($(objpfx)tst-printf.out): Likewise.
24948         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24949         $(test-program-cmd).
24950         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24951         (test_program_prefix): This.
24952         * stdio-common/tst-unbputc.sh: Likewise.
24953         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24954         $(run-program-prefix) with $(test-program-prefix).
24955         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24956         (test_program_prefix): This.
24957         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24958         $(built-program-cmd) with $(test-program-cmd).
24960 2013-01-11  Andreas Jaeger  <aj@suse.de>
24962         [BZ #15003]
24963         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24964         value. Sync with Linux 3.7.
24966 2013-01-10  David S. Miller  <davem@davemloft.net>
24968         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24969         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24970         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24972 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24974         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24975         never set.
24976         * configure: Regenerated.
24978 2013-01-10  David S. Miller  <davem@davemloft.net>
24980         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24981         sparc V9 rather than using V8 code.
24982         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24983         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24985 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24987         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24988         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24989         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24990         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24991         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24992         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24993         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24994         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24995         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24996         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24997         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24998         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24999         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25000         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25001         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25002         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25003         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25004         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25005         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25006         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25007         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25008         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25009         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25010         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25011         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25012         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25013         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25015 2013-01-10  David S. Miller  <davem@davemloft.net>
25017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25019 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25021         * posix/Makefile (tests-static): New variable.
25022         (tests): Add $(tests-static).
25023         (tst-exec-static-ARGS): New variable.
25024         (tst-spawn-static-ARGS): Likewise.
25025         * posix/tst-exec-static.c: New file.
25026         * posix/tst-spawn-static.c: Likewise.
25027         * posix/tst-exec.c: Support run directly.
25028         * posix/tst-spawn.c: Likewise.
25030 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25032         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25033         long.
25034         * math/bits/mathcalls.h (llrint): Likewise.
25035         (llround): Likewise.
25036         * stdlib/stdlib.h (struct drand48_data): Likewise.
25037         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25038         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25039         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25040         Likewise.
25041         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25042         Likewise.
25043         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25044         (elf_greg_t): Likewise.
25045         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25046         (__jmp_buf): Likewise.
25047         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25048         definitions.
25049         (llrint): Likewise, for all definitions.
25050         (llrintl): Likewise.
25052         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25053         Remove [__GNUC__] condition.
25054         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25055         condition to just [__USE_ISOC99].
25056         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25058 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25060         [BZ #14200]
25061         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25062         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25063         defined.
25064         (_POSIX_V6_ILP32_OFF32): Likewise.
25065         (_XBS5_ILP32_OFF32): Likewise.
25066         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25067         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25069 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25074         doubles __mpexp_twomm1.  Adjust usage.
25075         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25076         Remove.
25078 2013-01-10  Andreas Schwab  <schwab@suse.de>
25080         [BZ #14964]
25081         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25082         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25084 2013-01-09  David S. Miller  <davem@davemloft.net>
25086         [BZ #15003]
25087         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25088         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25089         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25090         (TCP_FASTOPEN): Define.
25091         (tcp_repair_opt): New structure.
25092         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25093         enum values.
25094         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25095         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25096         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25097         (tcp_cookie_transactions): New structure.
25099 2013-01-09  Anton Blanchard  <anton@samba.org>
25101         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25102         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25104         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25106 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25108         * include/features.h (__USE_ANSI): Remove.
25110 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25112         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25114         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25116 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118         * sysdeps/s390/fpu/libm-test-ulps: Update.
25120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25122         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25123         (__acr): Likewise.
25124         (__cpy): Likewise.
25125         (norm): Likewise.
25126         (denorm): Likewise.
25127         (__mp_dbl): Likewise.
25128         (__dbl_mp): Likewise.
25129         (add_magnitudes): Likewise.
25130         (sub_magnitudes): Likewise.
25131         (__add): Likewise.
25132         (__sub): Likewise.
25133         (__mul): Likewise.
25134         (__inv): Likewise.
25135         (__dvd): Likewise.
25136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25137         (__acr): Likewise.
25138         (__cpy): Likewise.
25139         (norm): Likewise.
25140         (denorm): Likewise.
25141         (__mp_dbl): Likewise.
25142         (__dbl_mp): Likewise.
25143         (add_magnitudes): Likewise.
25144         (sub_magnitudes): Likewise.
25145         (__add): Likewise.
25146         (__sub): Likewise.
25147         (__mul): Likewise.
25148         (__inv): Likewise.
25149         (__dvd): Likewise.
25150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25151         (__acr): Likewise.
25152         (__cpy): Likewise.
25153         (norm): Likewise.
25154         (denorm): Likewise.
25155         (__mp_dbl): Likewise.
25156         (__dbl_mp): Likewise.
25157         (add_magnitudes): Likewise.
25158         (sub_magnitudes): Likewise.
25159         (__add): Likewise.
25160         (__sub): Likewise.
25161         (__mul): Likewise.
25162         (__inv): Likewise.
25163         (__dvd): Likewise.
25165 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25167         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25168         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25169         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25170         2 && __USE_EXTERN_INLINES]: Likewise.
25172 2013-01-08  Andreas Jaeger  <aj@suse.de>
25174         [BZ# 14985]
25175         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25176         Remove.
25177         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25178         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25180 2013-01-07  Anton Blanchard  <anton@samba.org>
25182         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25183         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25184         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25185         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25186         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25187         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25188         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25189         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25192         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25193         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25194         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25195         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25196         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25197         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25198         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25200         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25201         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25202         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25203         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25204         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25205         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25206         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25207         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25208         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25209         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25211         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25212         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25214         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25215         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25216         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25217         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25218         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25219         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25220         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25222         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25223         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25224         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25226 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25228         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25229         (__MALLOC_PMT): Likewise.
25230         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25231         [__GNUC__], only on [_LIBC].
25232         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25233         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25234         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25235         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25236         forward declaration.
25237         (realloc_hook_ini): Likewise.
25238         (memalign_hook_ini): Likewise.
25239         (__libc_memalign): Do not use __MALLOC_PMT in variable
25240         declaration.
25241         (__libc_valloc): Likewise.
25242         (__libc_pvalloc): Likewise.
25243         (__libc_calloc): Likewise.
25244         (__posix_memalign): Likewise.
25246         [BZ #14996]
25247         * math/s_casinh.c: Include <float.h>.
25248         (__casinh): Do not do computation with squaring and square root
25249         for large arguments.
25250         * math/s_casinhf.c: Include <float.h>.
25251         (__casinhf): Do not do computation with squaring and square root
25252         for large arguments.
25253         * math/s_casinhl.c: Include <float.h>.
25254         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25255         (__casinhl): Do not do computation with squaring and square root
25256         for large arguments.
25257         * math/libm-test.inc (casin_test): Add more tests.
25258         (casinh_test): Likewise.
25259         * sysdeps/i386/fpu/libm-test-ulps: Update.
25260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25262 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25264         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25265         (__x86_64_raw_data_cache_size): Likewise.
25266         (__x86_64_data_cache_size_half): Likewise.
25267         (__x86_64_raw_data_cache_size_half): Likewise.
25268         (__x86_64_shared_cache_size): Likewise.
25269         (__x86_64_raw_shared_cache_size): Likewise.
25270         (__x86_64_shared_cache_size_half): Likewise.
25271         (__x86_64_raw_shared_cache_size_half): Likewise.
25272         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25273         to ...
25274         (__x86_data_cache_size): This.
25275         (__x86_64_raw_data_cache_size): Renamed to ...
25276         (__x86_raw_data_cache_size): This.
25277         (__x86_64_data_cache_size_half): Renamed to ...
25278         (__x86_data_cache_size_half): This.
25279         (__x86_64_raw_data_cache_size_half): Renamed to ...
25280         (__x86_raw_data_cache_size_half): This.
25281         (__x86_64_shared_cache_size): Renamed to ...
25282         (__x86_shared_cache_size): This.
25283         (__x86_64_raw_shared_cache_size): Renamed to ...
25284         (__x86_raw_shared_cache_size): This.
25285         (__x86_64_shared_cache_size_half): Renamed to ...
25286         (__x86_shared_cache_size_half): This.
25287         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25288         (__x86_raw_shared_cache_size_half): This.
25289         * sysdeps/x86_64/memcpy.S: Updated.
25290         * sysdeps/x86_64/memset.S: Likewise.
25291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25292         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25295 2013-01-04  David S. Miller  <davem@davemloft.net>
25297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25299 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25301         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25302         1 to avoid redefinition warning.
25303         (__USE_GNU): Don't define.
25304         (init_signaling_nan): Protoize.
25306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25308 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25310         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25312         (__cpymn): Likewise.
25313         (norm): Remove commented code.
25314         (denorm): Likewise.
25315         (__mp_dbl): Likewise.
25316         (__inv): Likewise.
25317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25318         (__cpymn): Likewise.
25319         (norm): Remove commented code.
25320         (denorm): Likewise.
25321         (__mp_dbl): Likewise.
25322         (__inv): Likewise.
25324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25325         mp_no value for 1.0 and 2.0.
25326         (norm): Use RADIXI instead of radixi.d.
25327         (denorm): Likewise.
25328         (__mul): Use 0.0 instead of zero.d.
25329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25330         mp_no value for 1.0 and 2.0.
25331         (norm): Use RADIXI instead of radixi.d.
25332         (denorm): Likewise.
25333         (__mul): Use 0.0 instead of zero.d.
25335 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25337         [BZ #14994]
25338         * math/s_casinh.c (__casinh): Reduce finite argument to first
25339         quadrant then set signs of results at the end.
25340         * math/s_casinhf.c (__casinhf): Likewise.
25341         * math/s_casinhl.c (__casinhl): Likewise.
25342         * math/libm-test.inc (casin_test): Add more tests.
25343         (casinh_test): Likewise.
25344         * sysdeps/i386/fpu/libm-test-ulps: Update.
25345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25347 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25349         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25351         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25353         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25354         declarations.
25355         (denorm): Likewise.
25356         (__mp_dbl): Likewise.
25357         (__inv): Likewise.
25359         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25360         and adjust the header comment.
25362         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25363         variable name from declaration.
25365 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25368         Initialize COMMON_CPUID_INDEX_7 element.
25369         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25370         (CPUID_RTM): Likewise.
25371         (HAS_RTM): Likewise.
25372         (COMMON_CPUID_INDEX_7): New enum.
25374 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25376         [BZ #14981]
25377         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25378         size is zero, record memory as freed.
25380 2013-01-03  Andreas Jaeger  <aj@suse.de>
25382         * po/ia.po: Add new Interlingua translation.
25384 2012-01-03  Allan McRae  <allan@archlinux.org>
25386         * locale/programs/localedef.c: Fix description of '--posix' flag.
25388 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25390         * NEWS: Update dates in second copyright notice.
25391         * README: Update copyright dates in example.
25392         * manual/libc.texinfo: Update copyright dates.
25393         * scripts/test-installation.pl: Update copyright date in --version
25394         output.
25396         * hurd/ctty-input.c: Fix copyright notice formatting.
25397         * hurd/ctty-output.c: Likewise.
25398         * hurd/dtable.c: Likewise.
25399         * hurd/hurd-raise.c: Likewise.
25400         * hurd/hurdprio.c: Likewise.
25401         * hurd/msgportdemux.c: Likewise.
25402         * misc/sys/file.h: Likewise.
25403         * misc/sys/ioctl.h: Likewise.
25404         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25405         * sysdeps/mach/hurd/chdir.c: Likewise.
25406         * sysdeps/mach/hurd/fchdir.c: Likewise.
25407         * sysdeps/mach/hurd/rename.c: Likewise.
25408         * sysdeps/mach/hurd/rmdir.c: Likewise.
25409         * sysdeps/mach/hurd/seekdir.c: Likewise.
25410         * sysdeps/mach/hurd/setsid.c: Likewise.
25411         * sysdeps/posix/wait3.c: Likewise.
25413         * All files with FSF copyright notices: Update copyright dates
25414         using scripts/update-copyrights.
25415         * intl/plural.c: Regenerated.
25416         * locale/programs/charmap-kw.h: Likewise.
25417         * locale/programs/locfile-kw.h: Likewise.
25419 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25421         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25422         four values.
25424         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25425         calculation loop and add branch prediction.
25427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25428         check access beyond bounds of m1np.
25430         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25431         MPTWO.
25432         (__inv): Remove local variable MPTWO to use the global
25433         constant.
25434         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25435         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25436         variable MPTWO.
25437         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25438         MP3HALFS static const.
25440 2013-01-01  David S. Miller  <davem@davemloft.net>
25442         * po/ca.po: Update from translation team.
25444 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25446         * scripts/update-copyrights: New file.
25447         * Makeconfig: Reformat copyright notice.
25448         * ctype/ctype.h: Likewise.
25449         * debug/swprintf_chk.c: Likewise.
25450         * elf/dl-cache.c: Likewise.
25451         * elf/dl-debug.c: Likewise.
25452         * elf/dl-object.c: Likewise.
25453         * grp/initgroups.c: Likewise.
25454         * hurd/Makefile: Likewise.
25455         * hurd/hurd/signal.h: Likewise.
25456         * hurd/hurdfault.c: Likewise.
25457         * hurd/hurdioctl.c: Likewise.
25458         * hurd/hurdlookup.c: Likewise.
25459         * hurd/intr-msg.c: Likewise.
25460         * iconv/gconv_open.c: Likewise.
25461         * libio/swprintf.c: Likewise.
25462         * locale/lc-ctype.c: Likewise.
25463         * locale/nl_langinfo.c: Likewise.
25464         * mach/Machrules: Likewise.
25465         * mach/Makefile: Likewise.
25466         * malloc/obstack.h: Likewise.
25467         * manual/Makefile: Likewise.
25468         * manual/tsort.awk: Likewise.
25469         * misc/bits/stab.def: Likewise.
25470         * nis/nis_print_group_entry.c: Likewise.
25471         * nis/nis_table.c: Likewise.
25472         * nis/nss_compat/compat-pwd.c: Likewise.
25473         * nis/nss_compat/compat-spwd.c: Likewise.
25474         * po/Makefile: Likewise.
25475         * posix/fnmatch.c: Likewise.
25476         * posix/regex.h: Likewise.
25477         * resolv/Makefile: Likewise.
25478         * resolv/nss_dns/dns-network.c: Likewise.
25479         * resolv/res_hconf.c: Likewise.
25480         * scripts/gen-sorted.awk: Likewise.
25481         * soft-fp/soft-fp.h: Likewise.
25482         * stdio-common/printf.h: Likewise.
25483         * stdlib/monetary.h: Likewise.
25484         * stdlib/random.c: Likewise.
25485         * stdlib/random_r.c: Likewise.
25486         * sysdeps/generic/Makefile: Likewise.
25487         * sysdeps/gnu/Makefile: Likewise.
25488         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25490         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25491         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25492         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25495         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25496         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25498         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25499         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25500         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25501         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25502         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25503         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25504         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25506         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25507         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25508         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25509         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25510         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25511         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25512         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25513         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25514         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25515         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25516         * sysdeps/mach/hurd/errnos.awk: Likewise.
25517         * sysdeps/mach/hurd/fork.c: Likewise.
25518         * sysdeps/mach/hurd/getcwd.c: Likewise.
25519         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25520         * sysdeps/mach/hurd/mmap.c: Likewise.
25521         * sysdeps/mach/hurd/utimes.c: Likewise.
25522         * sysdeps/mach/hurd/xmknod.c: Likewise.
25523         * sysdeps/posix/profil.c: Likewise.
25524         * sysdeps/posix/readdir_r.c: Likewise.
25525         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25526         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25527         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25528         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25530         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25531         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25532         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25534         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25535         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25536         * sysdeps/pthread/lio_listio.c: Likewise.
25537         * sysdeps/sparc/dl-procinfo.h: Likewise.
25538         * sysdeps/unix/i386/sysdep.S: Likewise.
25539         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25540         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25541         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25542         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25544         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25545         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25546         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25547         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25548         * sysdeps/wordsize-32/divdi3.c: Likewise.
25549         * time/sys/time.h: Likewise.
25550         * wcsmbs/Makefile: Likewise.
25552 2013-01-01  David S. Miller  <davem@davemloft.net>
25554         * po/fr.po: Update from translation team.
25556         * catgets/gencat.c: Update copyright year.
25557         * csu/version.c: Likewise.
25558         * debug/catchsegv.sh: Likewise.
25559         * debug/pcprofiledump.c: Likewise.
25560         * debug/xtrace.sh: Likewise.
25561         * elf/ldconfig.c: Likewise.
25562         * elf/ldd.bash.in: Likewise.
25563         * elf/pldd.c: Likewise.
25564         * elf/sotruss.ksh: Likewise.
25565         * elf/sprof.c: Likewise.
25566         * iconv/iconv_prog.c: Likewise.
25567         * iconv/iconvconfig.c: Likewise.
25568         * locale/programs/locale.c: Likewise.
25569         * locale/programs/localedef.c: Likewise.
25570         * login/programs/pt_chown.c: Likewise.
25571         * malloc/memusage.sh: Likewise.
25572         * malloc/memusagestat.c: Likewise.
25573         * malloc/mtrace.pl: Likewise.
25574         * nscd/nscd.c: Likewise.
25575         * nss/getent.c: Likewise.
25576         * nss/makedb.c: Likewise.
25577         * posix/getconf.c: Likewise.
25579 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25581         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25582         numbers.
25584 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25586         * math/bits/mathcalls.h (modf): Use __nonnull.
25588 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25590         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25591         (split): Use macro CN instead of the bare value.
25592         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25593         could be used.
25594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25595         instead of the bare value.
25596         (power1): Likewise.
25598 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25601         __ATAN_TWOM.
25602         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25604         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25605         their values.
25606         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25607         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25608         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25609         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25611 2012-12-28  Andreas Jaeger  <aj@suse.de>
25613         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25614         values are from Linux 3.7.
25616         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25617         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25619 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25621         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25622         TRUE case.
25624         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25625         (norm): Likewise.
25626         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25627         variables with preprocessor constants.
25628         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25629         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25630         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25632 2012-12-27  Bruno Haible  <bruno@clisp.org>
25634         [BZ #14317]
25635         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25636         only if needed.
25638 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25641         and use variable directly.
25642         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25644         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25645         MPONE.
25646         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25647         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25648         variable MPONE.
25649         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25651         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25652         include directive.  Remove local variable MPONE.
25653         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25654         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25655         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25657 2012-12-25  David S. Miller  <davem@davemloft.net>
25659         * version.h (RELEASE): Set to "development".
25660         (VERSION): Set to "2.17.90".
25661         * NEWS: Add 2.18 section.
25663 2012-12-21  David S. Miller  <davem@davemloft.net>
25665         * po/hr.po: Update from translation team.
25667 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25669         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25671 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25673         * NEWS:  Mention new memcpy for MIPS.
25675 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25677         * manual/contrib.texi (Contributors): Spelling correction.
25679 2012-12-15  David S. Miller  <davem@davemloft.net>
25681         * po/ru.po: Update from translation team.
25683 2012-12-13  David S. Miller  <davem@davemloft.net>
25685         * NEWS: Mention IFUNC testsuite enhancements.
25687         * po/pl.po: Update from translation team.
25688         * po/bg.po: Likewise.
25690         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25691         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25693 2012-12-11  David S. Miller  <davem@davemloft.net>
25695         * po/sv.po: Update from translation team.
25697         * po/vi.po: Update from translation team.
25699         * po/cs.po: Update from translation team.
25701         * po/de.po: Update from translation team.
25702         * po/eo.po: Likewise.
25703         * po/nl.po: Likewise.
25705 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25707         [BZ #14246]
25708         * manual/argp.texi (Argp Helper Functions): Move node to follow
25709         Argp Parsing State.
25711         [BZ #14872]
25712         * manual/conf.texi (Limits on File System Capacity): Mention if
25713         terminating null is included in the max size.
25715 2012-12-10  Andreas Jaeger  <aj@suse.de>
25717         * po/cs.po: Update from translation team.
25719 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25721         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25722         void pointer and cast to uintptr_t.
25723         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25724         path.
25725         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25726         * sysdeps/s390/s390-64/memset.S: Likewise.
25728 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25730         [BZ #14833]
25731         * menual/message.texi (Message Translation): Fix typos.
25732         (Helper programs for gettext): Likewise.
25734 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25736         [BZ #14898]
25737         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25738         Change to -1.
25740 2012-12-07  David S. Miller  <davem@davemloft.net>
25742         * po/libc.pot: Update.
25744 2012-12-07  Richard Henderson  <rth@redhat.com>
25746         [BZ #10114]
25747         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25748         normal/normal case to before the switch.
25749         (_FP_DIV): Likewise.
25751 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25752             Mike Frysinger  <vapier@gentoo.org>
25754         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25755         check for __NR_fadvise64_64.
25757 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25759         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25760         0, not just to plain "0" as a statement.
25761         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25762         with cw.
25764 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25766         * NEWS: Use sourceware.org in Bugzilla URL.
25768 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25771         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25773         * stdio-common/tst-put-error.c (do_test): Add newline to the
25774         padded test to ensure flush.
25776 2012-12-05  Jeff Law  <law@redhat.com>
25778         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25780 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25782         * README: Don't refer to ports add-on as distributed separately.
25783         Mention AArch64 in list of systems supported in the ports add-on.
25785         * LICENSES: Add more non-FSF copyright and license notices.
25787         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25788         ((unused)).
25790         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25792         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25793         10000 as width of padded output.
25795 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25797         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25800         variable LX with __attribute__ ((unused)).
25801         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25802         Likewise.
25803         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25805         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25806         with __attribute__ ((unused)).
25808 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25810         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25812 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25814         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25815         (CFLAGS-nldbl-acos.c): New variable.
25816         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25817         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25818         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25819         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25820         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25821         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25822         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25823         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25824         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25825         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25826         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25827         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25828         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25829         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25830         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25831         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25832         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25833         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25834         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25835         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25836         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25837         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25838         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25839         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25840         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25841         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25842         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25843         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25844         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25845         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25846         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25847         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25848         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25849         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25850         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25851         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25852         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25853         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25854         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25855         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25856         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25857         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25858         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25859         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25860         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25861         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25862         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25863         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25864         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25865         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25866         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25867         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25868         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25869         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25870         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25871         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25872         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25873         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25874         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25875         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25876         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25877         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25878         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25879         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25880         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25881         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25882         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25883         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25884         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25885         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25886         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25887         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25888         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25889         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25890         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25891         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25892         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25893         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25894         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25895         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25896         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25897         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25898         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25899         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25900         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25901         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25902         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25903         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25904         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25905         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25906         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25907         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25908         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25909         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25910         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25911         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25912         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25915         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25917         [BZ #14914]
25918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25919         whole low double instead of just low 47 bits when splitting values
25920         into two parts.
25922 2012-12-03  Allan McRae  <allan@archlinux.org>
25924         * manual/stdio.texi (Predefined Printf Handlers): Remove
25925         @hsep and @vsep usage.
25927 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25929         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25930         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25932 2012-12-03  Jeff Law  <law@redhat.com>
25934         * time/sys/time.h (settimeofday): Do not mark TV argument
25935         as __nonnull.
25937 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25939         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25940         when currently writing and seek to current position when not.
25941         * libio/Makefile (tests): Remove bug-fclose1.
25942         * libio/bug-fclose1.c: Delete.
25944 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25946         * manual/arith.texi (feenableexcept): Fix typo.
25947         (fedisableexcept): Likewise.
25949 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25951         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25952         second, differently-typed declaration, rather than a cast.
25954 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25956         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25957         * include/rpc/svc.h: ... here.
25959 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25961         [BZ #13013]
25962         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25963         depending n and resplen2 to catch cases where answer
25964         equals answerp2.
25966 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25968         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25969         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25971 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25973         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25975 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25977         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25979 2012-11-28  Jeff Law  <law@redhat.com>
25981         [BZ #13761]
25982         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25983         dataset_temporary.  Track alloca usage into alloca_used.
25984         If dataset is large allocate and release it via malloc/free.
25986 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25988         [BZ #14197]
25989         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25991 2012-11-28  David S. Miller  <davem@davemloft.net>
25993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25995 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25997         [BZ #14803]
25998         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25999         of pi/2 rounded to nearest to 64 bits.
26000         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26001         nearest to 64 bits.
26002         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26003         bits.
26005 2012-11-28  Jeff Law <law@redhat.com>
26006             Martin Osvald <mosvald@redhat.com>
26008         [BZ #14889]
26009         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26010         * sunrpc/svc.c: Include time.h.
26011         (__svc_accept_failed): New function.
26012         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26013         any reason other than EINTR, call __svc_accept_failed.
26014         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26015         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26017 2012-11-28  Andreas Schwab  <schwab@suse.de>
26019         * scripts/abilist.awk: Also handle indirect functions in .opd
26020         section.
26022 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26024         [BZ #13881]
26025         * sysdeps/x86/fpu/powl_helper.c: New file.
26026         * sysdeps/x86/fpu/Makefile: Likewise.
26027         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26028         (p3): New object.
26029         (__ieee754_powl): Use __powl_helper for finite arguments except
26030         integer exponents below 8.
26031         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26032         (p3): New object.
26033         (__ieee754_powl): Use __powl_helper for finite arguments except
26034         integer exponents below 8.
26035         * math/libm-test.inc (pow_test): Add more tests and enable some
26036         previously disabled tests.
26037         * sysdeps/i386/fpu/libm-test-ulps: Update.
26038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26040 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26041             Carlos O'Donell  <carlos_odonell@mentor.com>
26043         * nss/makedb.c (is_prime): Assert that input is odd and greater
26044         than 4.  Note that fact in a comment too.
26045         (next_prime): Add 4 to input.
26047 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26049         [BZ #11741]
26050         * libio/Makefile (tests): Add test case tst-fwrite-error.
26051         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26052         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26053         * libio/tst-fwrite-error.c: New test case.
26055 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26057         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26058         before casting to void *.
26059         * include/libc-internal.h (__pointer_type): New macro.
26060         (__integer_if_pointer_type_sub): Likewise.
26061         (__integer_if_pointer_type): Likewise.
26062         (cast_to_integer): Likewise.
26063         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26064         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26065         before casting to atomic64_t.
26066         (atomic_exchange_acq): Likewise.
26067         (__arch_exchange_and_add_body): Likewise.
26068         (__arch_add_body): Likewise.
26069         (atomic_add_negative): Likewise.
26070         (atomic_add_zero): Likewise.
26072 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26074         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26075         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26076         (add_fdes): Likewise.
26077         (linear_search_fdes): Likewise.
26078         (binary_search_unencoded_fdes): Likewise.
26080 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26082         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26084 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26086         * configure.in: Autodetect C++ header directories.
26087         * configure: Regenerated.
26089 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26091         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26093 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26097 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26099         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26100         LDBL_MANT_DIG == 106]: Disable some tests.
26101         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26102         Likewise.
26103         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26104         Likewise.
26106         [BZ #14871]
26107         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26108         input for small inputs.  Return +/- pi/2 for large inputs.
26109         * math/libm-test.inc (atan_test): Add more tests.
26111         * sysdeps/generic/unwind-dw2-fde-glibc.c
26112         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26113         __attribute__ ((unused)).
26115         [BZ #14645]
26116         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26117         x * y if x and y are nonzero and z is zero.
26119         [BZ #14811]
26120         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26121         nonzero exponents with absolute value below 0x1p-117 to +/-
26122         0x1p-117.
26124         [BZ #14869]
26125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26126         up arguments below 2**-450, not just those below 2**-500.
26127         * math/libm-test.inc (hypot_test): Add another test.
26129         [BZ #14868]
26130         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26131         Return a+b for ratio over 2**120, not 2**60.
26132         * math/libm-test.inc (hypot_test): Add another test.
26134         * math/libm-test.inc (clog_test): Use
26135         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26136         (clog10_test): Likewise.
26138         [BZ #6778]
26139         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26141 2012-11-22  Andreas Schwab  <schwab@suse.de>
26143         * sysdeps/i386/fpu/libm-test-ulps: Update.
26145 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26147         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26148         printf output with newline.
26150 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26152         [BZ #14865]
26153         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26154         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26155         -z nodlopen, -z initfirst and -z execstack support.
26156         * configure: Regenerated.
26158         * elf/elf.h (DF_1_NODIRECT): New macro.
26159         (DF_1_IGNMULDEF): Likewise.
26160         (DF_1_NOKSYMS): Likewise.
26161         (DF_1_NOHDR): Likewise.
26162         (DF_1_EDITED): Likewise.
26163         (DF_1_NORELOC): Likewise.
26164         (DF_1_SYMINTPOSE): Likewise.
26165         (DF_1_GLOBAUDIT): Likewise.
26166         (DF_1_SINGLETON): Likewise.
26167         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26168         DT_1_SUPPORTED_MASK bits.
26169         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26171 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26173         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26175 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26177         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26178         macro.
26180         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26181         (sendmmsg): Move declarations...
26182         * socket/sys/socket.h: ... here.
26183         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26184         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26185         include it from...
26186         * socket/recvmmsg.c: ... this new file.
26187         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26188         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26189         definition of __sendmmsg hidden.
26190         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26191         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26192         Move ENOSYS stub into and include it from...
26193         * socket/sendmmsg.c: ... this new file.
26194         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26195         (sysdep_routines): Move recvmmsg and sendmmsg...
26196         * socket/Makefile (routines): ... here.
26197         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26198         (GLIBC_PRIVATE): Add __sendmmsg.
26199         * include/sys/socket.h (__sendmmsg): Add declarations.
26200         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26201         sendmmsg.
26203 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26206         variable I1 with __attribute__ ((unused)).
26207         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26209 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26211         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26212         DUMMY variables with __attribute__ ((unused)).
26214         * bits/byteswap.h: Include <bits/types.h>.
26215         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26217 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26219         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26220         string_t.  Do not manually set errno.
26221         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26222         length with __strnlen.  Make sure to both set errno and return it on
26223         failure.
26225 2012-11-19  David S. Miller  <davem@davemloft.net>
26227         With help from Joseph Myers.
26228         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26229         very large arguments properly.
26230         * math/libm-test.inc (atan_test): New tests.
26231         (atan2_test): New tests.
26232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26235 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26237         [BZ #14856]
26238         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26239         Define to 3.
26241         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26242         [POSIX] (EADDRNOTAVAIL): Likewise.
26243         [POSIX] (EAFNOSUPPORT): Likewise.
26244         [POSIX] (EALREADY): Likewise.
26245         [POSIX] (ECONNABORTED): Likewise.
26246         [POSIX] (ECONNREFUSED): Likewise.
26247         [POSIX] (ECONNRESET): Likewise.
26248         [POSIX] (EDESTADDRREQ): Likewise.
26249         [POSIX] (EDQUOT): Likewise.
26250         [POSIX] (EHOSTUNREACH): Likewise.
26251         [POSIX] (EIDRM): Likewise.
26252         [POSIX] (EISCONN): Likewise.
26253         [POSIX] (ELOOP): Likewise.
26254         [POSIX] (EMULTIHOP): Likewise.
26255         [POSIX] (ENETDOWN): Likewise.
26256         [POSIX] (ENETUNREACH): Likewise.
26257         [POSIX] (ENOBUFS): Likewise.
26258         [POSIX] (ENODATA): Likewise.
26259         [POSIX] (ENOLINK): Likewise.
26260         [POSIX] (ENOMSG): Likewise.
26261         [POSIX] (ENOPROTOOPT): Likewise.
26262         [POSIX] (ENOSR): Likewise.
26263         [POSIX] (ENOSTR): Likewise.
26264         [POSIX] (ENOTCONN): Likewise.
26265         [POSIX] (ENOTSOCK): Likewise.
26266         [POSIX] (EOPNOTSUPP): Likewise.
26267         [POSIX] (EOVERFLOW): Likewise.
26268         [POSIX] (EPROTO): Likewise.
26269         [POSIX] (EPROTONOSUPPORT): Likewise.
26270         [POSIX] (EPROTOTYPE): Likewise.
26271         [POSIX] (ESTALE): Likewise.
26272         [POSIX] (ETIME): Likewise.
26273         [POSIX] (ETXTBSY): Likewise.
26274         [POSIX] (EWOULDBLOCK): Likewise.
26275         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26276         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26277         [POSIX] (SEEK_CUR): Likewise.
26278         [POSIX] (SEEK_END): Likewise.
26279         [POSIX || UNIX98] (mode_t): Do not require.
26280         [POSIX] (off_t): Likewise.
26281         [POSIX] (pid_t): Likewise.
26282         [POSIX] (sys/stat.h): Do not allow header.
26283         [POSIX] (unistd.h): Likewise.
26284         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26285         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26286         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26287         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26288         require.
26289         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26290         sigevent): Specify elements.
26291         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26292         entry.
26293         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26294         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26296         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26297         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26298         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26299         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26300         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26301         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26302         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26303         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26304         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26305         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26306         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26307         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26308         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26309         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26310         Likewise.
26311         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26312         Likewise.
26313         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26314         Likewise.
26315         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26316         Likewise.
26317         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26318         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26319         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26320         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26321         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26322         Specify lower bound on value.
26323         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26324         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26325         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26326         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26327         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26328         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26329         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26330         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26331         value.
26332         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26333         as optional.
26334         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26335         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26336         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26337         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26338         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26339         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26340         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26341         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26342         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26343         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26344         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26345         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26346         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26347         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26348         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26349         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26350         entry.
26351         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26352         optional.
26353         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26354         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26355         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26356         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26357         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26358         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26359         Likewise.
26360         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26361         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26362         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26363         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26364         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26365         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26366         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26367         as optional.
26368         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26369         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26370         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26371         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26372         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26373         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26374         specify as optional.
26375         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26376         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26377         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26378         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26379         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26380         [XPG3] (NL_LANGMAX): Likewise.
26381         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26382         [POSIX || XPG3] (NL_NMAX): Likewise.
26383         [POSIX || XPG3] (NL_SETMAX): Likewise.
26384         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26385         [XPG3] (NZERO): Likewise.
26386         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26387         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26388         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26389         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26390         (REG_ERANGE): Expect.
26391         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26392         optional-constant.
26393         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26394         Use (void) in prototype.
26395         [POSIX] (*_t): Allow.
26396         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26397         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26398         (WRDE_BADVAL): Expect.
26400         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26401         expect.
26402         [XPG3 || XPG4] (O_RSYNC): Likewise.
26403         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26404         Likewise.
26405         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26406         [XPG3 || XPG4] (sigqueue): Likewise.
26407         [XPG3 || XPG4] (sigtimedwait): Likewise.
26408         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26409         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26410         [XPG3 || XPG4] (vsnprintf): Likewise.
26411         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26412         Likewise.
26413         [XPG3 || XPG4] (blksize_t): Likewise.
26414         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26415         Likewise.
26416         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26417         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26418         [XPG3 || XPG4] (struct itimerspec): Likewise.
26419         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26420         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26421         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26422         [XPG3 || XPG4] (clockid_t): Likewise.
26423         [XPG3 || XPG4] (timer_t): Likewise.
26424         [XPG3 || XPG4] (clock_getres): Likewise.
26425         [XPG3 || XPG4] (clock_gettime): Likewise.
26426         [XPG3 || XPG4] (clock_settime): Likewise.
26427         [XPG3 || XPG4] (nanosleep): Likewise.
26428         [XPG3 || XPG4] (timer_create): Likewise.
26429         [XPG3 || XPG4] (timer_delete): Likewise.
26430         [XPG3 || XPG4] (timer_gettime): Likewise.
26431         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26432         [XPG3 || XPG4] (timer_settime): Likewise.
26433         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26434         [XPG3 || XPG4] (getlogin_r): Likewise.
26435         [XPG3 || XPG4] (pread): Likewise.
26436         [XPG3 || XPG4] (pthread_atfork): Likewise.
26437         [XPG3 || XPG4] (pwrite): Likewise.
26439         [BZ #14835]
26440         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26441         <bits/siginfo.h>.
26443 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26445         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26446         finalizing MALLSTREAM.
26448         * sysdeps/mach/hurd/syncfs.c: New file.
26450 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26452         [BZ #14719]
26453         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26454         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26456         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26457         (_nss_dns_gethostbyname4_r): Likewise.
26458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26459         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26461 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26463         [BZ #13763]
26464         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26466 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26468         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26469         * elf/cache.c (print_entry): Print ",AArch64" for
26470         FLAG_AARCH64_LIB64
26472         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26473         * elf/cache.c (print_entry): Print ",hard-float" for
26474         FLAG_ARM_LIBHF.
26476 2012-11-18  David S. Miller  <davem@davemloft.net>
26478         With help from Joseph Myers.
26479         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26480         cutoff to 2**-13.
26481         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26482         cutoff to 2**-25.
26483         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26484         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26485         small.
26486         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26487         * math/libm-test.inc (y0_test): New tests.
26488         (y1_test): New tests.
26489         * sysdeps/i386/fpu/libm-test-ulps: Update.
26490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26493 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26495         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26496         64-bit targets.
26497         * configure: Regenerated.
26499 2012-11-17  David S. Miller  <davem@davemloft.net>
26501         [BZ #14811]
26502         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26503         nonzero exponents with absolute value below 0x1p-128 to +/-
26504         0x1p-128.
26506 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26508         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26510         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26512         * posix/getconf-speclist.c: New file.
26513         * posix/posix-envs.def: Likewise.
26514         * posix/confstr.c (START_ENV_GROUP): New macro.
26515         (END_ENV_GROUP): Likewise.
26516         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26517         (KNOWN_PRESENT_ENV_STRING): Likewise.
26518         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26519         (UNKNOWN_ENVIRONMENT): Likewise.
26520         (confstr): Include posix-envs.def instead of handling
26521         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26522         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26523         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26524         (END_ENV_GROUP): Likewise.
26525         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26526         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26527         (UNKNOWN_ENVIRONMENT): Likewise.
26528         (__sysconf): Include posix-envs.def instead of handling associated
26529         cases directly here.
26530         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26531         preprocessing getconf-speclist.c rather than running getconf or
26532         generating empty file.
26534 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26536         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26538 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26540         [BZ #14672]
26541         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26543 2012-11-16  David S. Miller  <davem@davemloft.net>
26545         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26546         smaller than LDBL_EPSILON/2.0L, just return xm1.
26548 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26550         * elf/tst-array1.c (init): Set constructor priority to 1000.
26551         (fini): Set destructor priority to 1000.
26552         * elf/tst-array2dep.c: Likewise.
26554 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26556         [BZ #11741]
26557         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26558         (_IO_new_file_xsputn): Also return EOF if none of the input
26559         data was written when overflow failed.
26560         * libio/iopadn.c (_IO_padn): Likewise.
26561         * libio/iowpadn.c (_IO_wpadn): Likewise.
26562         * stdio-common/tst-put-error.c: Add copyright notice.
26563         (do_test): Add case for printing padded string.
26564         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26565         _IO_padn returned error.
26566         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26567         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26568         return EOF.
26570 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26572         * libio/libioP.h: Add comment note that the references to C++
26573         bits are now obsolete.
26575 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26577         * math/libm-test.inc (check_complex): Use asprintf.
26579 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26581         * debug/pcprofiledump.c (print_version): Update copyright year.
26582         * malloc/memusagestat.c (print_version): Likewise.
26584 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26586         [BZ #14831]
26587         * elf/Makefile (tests): Add tst-audit8.
26588         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26589         ($(objpfx)tst-audit8.out): New target.
26590         (tst-audit8-ENV): New variable.
26591         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26592         audit if l_reloc_result is NULL.
26593         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26594         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26595         * elf/tst-audit8.c: New file.
26597 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26599         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26600         * misc/Makefile (CFLAGS-select.c): Define.
26601         * posix/Makefile (CFLAGS-pause.c): Define.
26603 2012-11-13  David S. Miller  <davem@davemloft.net>
26605         * crypt/Makefile: Move test targets after toplevel Rules
26606         inclusion.  Grab any necessary sysdep routines when linking.
26607         * crypt/md5.c (md5_process_block): Remove define, we will always
26608         name it __md5_process_block.
26609         (md5_finish_ctx): Update md5_process_block call.
26610         (md5_stream): Likewise.
26611         (md5_process_bytes): Likewise.
26612         (md5_process_block): Rename to __md5_process_block and move to ...
26613         * crypt/md5-block.c: ... here.
26614         * crypt/sha256.c (sha256_process_block): Move to ...
26615         * crypt/sha256-block.c: ... here.
26616         * crypt/sha512.c (sha512_process_block): Move to ...
26617         * crypt/sha512-block.c: ... here.
26618         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26619         path.
26620         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26621         * sysdeps/sparc/sparc64/multiarch/Makefile
26622         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26623         crypt subdir.
26624         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26625         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26626         multiarch changes.
26627         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26628         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26629         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26630         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26631         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26632         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26633         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26634         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26635         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26636         file.
26637         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26638         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26639         file.
26640         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26642 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26644         * timezone/tzselect.ksh: Update from tzcode git revision
26645         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26646         * timezone/zdump.c: Likewise.
26647         * timezone/zic.c: Likewise.
26648         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26649         in TZVERSION setting, not $(PKGVERSION).
26650         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26651         REPORT_BUGS_TO settings.
26653         [BZ #14838]
26654         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26655         macro.
26657 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26659         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26660         detection to immediately after _FP_ROUND().
26661         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26662         bits are 0.
26664 2012-11-11  David S. Miller  <davem@davemloft.net>
26666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26667         inttypes.h
26668         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26669         __close rather than their public counterparts.
26671 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26673         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26674         file.
26675         [UNIX98] (sem_timedwait): Do not expect.
26676         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26677         [XPG4 || UNIX98] (sockatmark): Do not expect.
26678         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26679         (clock_getcpuclockid): Do not expect.
26680         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26681         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26682         Do not expect.
26683         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26684         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26685         [UNIX98] (vwscanf): Likewise.
26686         [UNIX98] (vswscanf): Likewise.
26688 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26690         * timezone/version.h: Remove file.
26691         * timezone/README: Do not refer to version.h.
26692         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26693         $(objpfx)version.h.
26694         ($(objpfx)zdump.o): Likewise.
26695         ($(objpfx)version.h): New target.
26697         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26698         2012i.
26699         * timezone/README: Don't mention modification to tzselect.ksh.
26700         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26701         work on unmodified tzselect.ksh.  Substitute version numbers in
26702         tzselect.ksh.
26704         * Makefile (format-me): Remove.
26705         (INSTALL): Adjust indentation.  Use commands directly instead of
26706         using $(format-me).
26708         * aclocal.m4 (ACX_PKGVERSION): New macro.
26709         (ACX_BUGURL): Likewise.
26710         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26711         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26712         (REPORT_BUGS_TO): Likewise.
26713         * configure: Regenerated.
26714         * config.h.in (PKGVERSION): New macro.
26715         (REPORT_BUGS_TO): Likewise.
26716         * config.make.in (PKGVERSION): New variable.
26717         (PKGVERSION_TEXI): Likewise.
26718         (REPORT_BUGS_TO): Likewise.
26719         (REPORT_BUGS_TEXI): Likewise.
26720         * Makefile (format-me): Use -I$(common-objpfx)manual.
26721         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26722         ($(common-objpfx)manual/%): New target.
26723         (manual/%): Remove target.
26724         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26725         (print_version): Use PKGVERSION.
26726         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26727         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26728         and REPORT_BUGS_TO.
26729         ($(objpfx)xtrace): Likewise.
26730         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26731         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26732         (print_version): Use PKGVERSION.
26733         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26734         (do_version): Use PKGVERSION.
26735         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26736         REPORT_BUGS_TO.
26737         (common-ldd-rewrite): Likewise.
26738         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26739         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26740         (print_version): Use PKGVERSION.
26741         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26742         * elf/pldd.c (argp_program_bug_address): Remove variable.
26743         (more_help): New function.
26744         (argp): Use more_help.
26745         (print_version): Use PKGVERSION.
26746         * elf/sln.c (main): Use PKGVERSION.
26747         (usage): Use REPORT_BUGS_TO.
26748         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26749         (top level): Use PKGVERSION.
26750         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26751         (print_version): Use PKGVERSION.
26752         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26753         (print_version): Use PKGVERSION.
26754         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26755         (print_version): Use PKGVERSION.
26756         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26757         (print_version): Use PKGVERSION.
26758         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26759         (print_version): Use PKGVERSION.
26760         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26761         (print_version): Use PKGVERSION.
26762         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26763         and BUGURL.
26764         ($(objpfx)memusage): Likewise.
26765         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26766         (do_version): Use PKGVERSION.
26767         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26768         (print_version): Use PKGVERSION.
26769         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26770         ($PKGVERSION): New variable.
26771         ($REPORT_BUGS_TO): Likewise.
26772         (usage): Use $REPORT_BUGS_TO.
26773         (top level): Use $PKGVERSION.
26774         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26775         ($(objpfx)pkgvers.texi): New rule.
26776         ($(objpfx)stamp-pkgvers): Likewise.
26777         * manual/install.texi: Include pkgvers.texi.
26778         (--with-pkgversion): Document new configure option.
26779         (--with-bugurl): Likewise.
26780         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26781         than necessarily for this particular distribution.  Use
26782         REPORT_BUGS_TO for where to report bugs.
26783         * INSTALL: Regenerated.
26784         * manual/libc.texinfo: Include pkgvers.texi.
26785         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26786         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26787         (print_version): Use PKGVERSION.
26788         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26789         (print_version): Use PKGVERSION.
26790         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26791         (print_version): Use PKGVERSION.
26792         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26793         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26794         macro.
26795         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26796         (print_version): Use PKGVERSION.
26797         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26798         (print_version): Use PKGVERSION.
26799         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26800         and PKGVERSION.
26802         * timezone/checktab.awk: Update from tzcode 2012i.
26803         * timezone/ialloc.c: Likewise.
26804         * timezone/private.h: Likewise.
26805         * timezone/scheck.c: Likewise.
26806         * timezone/tzfile.h: Likewise.
26807         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26808         (TZVERSION): Hardcode tzcode version number.
26809         * timezone/zdump.c: Update from tzcode 2012i.
26810         * timezone/zic.c: Likewise.
26811         * timezone/version.h: New file.
26812         * timezone/README: Describe version.h.  Update upstream location.
26814         [BZ #14824]
26815         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26816         (mktemp): Enable declaration.
26817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26820         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26821         Likewise.
26822         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26823         Likewise.
26824         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26825         Likewise.
26826         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26827         Likewise.
26828         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26829         Likewise.
26830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26831         Likewise.
26833         [BZ #14821]
26834         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26835         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26836         for copies of such integer values.
26837         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26838         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26840 2012-11-09  Andreas Jaeger  <aj@suse.de>
26842         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26843         definitions and declarations that are provided by
26844         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26846 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26848         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26849         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26850         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26851         definition.
26853 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26855         * elf/elf.h: Update comment before AArch64 relocations.
26857 2012-11-07  David S. Miller  <davem@davemloft.net>
26859         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26860         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26861         (__start_context): Declare.
26862         (__makecontext_ret): Delete.
26863         (__makecontext): Hook up __start_context instead of
26864         __makecontext_ret.
26865         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26866         (sysdep_routines): Add __start_context when in stdlib.
26868 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26870         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26871         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26872         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26873         hardcoded "nm".
26874         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26875         (READELF): New variable.  Use it instead of hardcoded "readelf".
26877 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26879         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26880         * sysdeps/x86/Makefile: Here.
26881         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26882         * sysdeps/x86/tst-xmmymm.sh: This.
26884 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26886         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26887         expectations.
26888         [UNIX98] (pthread_barrier_t): Do not expect.
26889         [UNIX98] (pthread_barrierattr_t): Likewise.
26890         [UNIX98] (pthread_spinlock_t): Likewise.
26891         [UNIX98] (pthread_barrier_destroy): Likewise.
26892         [UNIX98] (pthread_barrier_init): Likewise.
26893         [UNIX98] (pthread_barrier_wait): Likewise.
26894         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26895         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26896         [UNIX98] (pthread_barrierattr_init): Likewise.
26897         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26898         [UNIX98] (pthread_getcpuclockid): Likewise.
26899         [UNIX98] (pthread_mutex_timedlock): Likewise.
26900         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26901         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26902         [UNIX98] (pthread_sigmask): Likewise.
26903         [UNIX98] (pthread_spin_destroy): Likewise.
26904         [UNIX98] (pthread_spin_init): Likewise.
26905         [UNIX98] (pthread_spin_lock): Likewise.
26906         [UNIX98] (pthread_spin_trylock): Likewise.
26907         [UNIX98] (pthread_spin_unlock): Likewise.
26908         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26909         Do not expect.
26910         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26911         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26912         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26913         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26914         [XPG3 || XPG4] (pthread_key_t): Likewise.
26915         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26916         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26917         [XPG3 || XPG4] (pthread_once_t): Likewise.
26918         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26919         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26920         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26921         [XPG3 || XPG4] (pthread_t): Likewise.
26923         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26924         not expect.
26925         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26927         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26928         Change function return type to int.
26930         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26931         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26932         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26933         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26934         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26935         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26936         [!POSIX] (posix_madvise): Likewise.
26937         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26938         && !UNIX98].
26939         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26940         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26941         (mode_t): Likewise.
26942         (posix_mem_offset): Likewise.
26943         (posix_typed_mem_get_info): Likewise.
26944         (posix_typed_mem_open): Likewise.
26946         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26947         Change condition to [XOPEN2K8].
26949         * conform/conformtest.pl: Preprocess allow-header data with -x c
26950         instead of from stdin.
26951         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26952         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26953         [C99-based standards] (cerfc): Likewise.
26954         [C99-based standards] (cexp2): Likewise.
26955         [C99-based standards] (cexpm1): Likewise.
26956         [C99-based standards] (clog10): Likewise.
26957         [C99-based standards] (clog1p): Likewise.
26958         [C99-based standards] (clog2): Likewise.
26959         [C99-based standards] (clgamma): Likewise.
26960         [C99-based standards] (ctgamma): Likewise.
26961         [C99-based standards] (cerff): Likewise.
26962         [C99-based standards] (cerfcf): Likewise.
26963         [C99-based standards] (cexp2f): Likewise.
26964         [C99-based standards] (cexpm1f): Likewise.
26965         [C99-based standards] (clog10f): Likewise.
26966         [C99-based standards] (clog1pf): Likewise.
26967         [C99-based standards] (clog2f): Likewise.
26968         [C99-based standards] (clgammaf): Likewise.
26969         [C99-based standards] (ctgammaf): Likewise.
26970         [C99-based standards] (cerfl): Likewise.
26971         [C99-based standards] (cerfcl): Likewise.
26972         [C99-based standards] (cexp2l): Likewise.
26973         [C99-based standards] (cexpm1l): Likewise.
26974         [C99-based standards] (clog10l): Likewise.
26975         [C99-based standards] (clog1pl): Likewise.
26976         [C99-based standards] (clog2l): Likewise.
26977         [C99-based standards] (clgammal): Likewise.
26978         [C99-based standards] (ctgammal): Likewise.
26979         * conform/data/inttypes.h-data [C99-based standards]: Include
26980         stdint.h-data.  Remove all expectations for stdint.h contents.
26981         [C99-based standards] (PRI*): Do not allow.
26982         [C99-based standards] (SCN*): Likewise.
26983         [C99-based standards] (*_t): Likewise.
26984         [C99-based-standards] (PRId8): Expect macro.
26985         [C99-based-standards] (PRIi8): Likewise.
26986         [C99-based-standards] (PRIo8): Likewise.
26987         [C99-based-standards] (PRIu8): Likewise.
26988         [C99-based-standards] (PRIx8): Likewise.
26989         [C99-based-standards] (PRIX8): Likewise.
26990         [C99-based-standards] (SCNd8): Likewise.
26991         [C99-based-standards] (SCNi8): Likewise.
26992         [C99-based-standards] (SCNo8): Likewise.
26993         [C99-based-standards] (SCNu8): Likewise.
26994         [C99-based-standards] (SCNx8): Likewise.
26995         [C99-based-standards] (PRIdLEAST8): Likewise.
26996         [C99-based-standards] (PRIiLEAST8): Likewise.
26997         [C99-based-standards] (PRIoLEAST8): Likewise.
26998         [C99-based-standards] (PRIuLEAST8): Likewise.
26999         [C99-based-standards] (PRIxLEAST8): Likewise.
27000         [C99-based-standards] (PRIXLEAST8): Likewise.
27001         [C99-based-standards] (SCNdLEAST8): Likewise.
27002         [C99-based-standards] (SCNiLEAST8): Likewise.
27003         [C99-based-standards] (SCNoLEAST8): Likewise.
27004         [C99-based-standards] (SCNuLEAST8): Likewise.
27005         [C99-based-standards] (SCNxLEAST8): Likewise.
27006         [C99-based-standards] (PRIdFAST8): Likewise.
27007         [C99-based-standards] (PRIiFAST8): Likewise.
27008         [C99-based-standards] (PRIoFAST8): Likewise.
27009         [C99-based-standards] (PRIuFAST8): Likewise.
27010         [C99-based-standards] (PRIxFAST8): Likewise.
27011         [C99-based-standards] (PRIXFAST8): Likewise.
27012         [C99-based-standards] (SCNdFAST8): Likewise.
27013         [C99-based-standards] (SCNiFAST8): Likewise.
27014         [C99-based-standards] (SCNoFAST8): Likewise.
27015         [C99-based-standards] (SCNuFAST8): Likewise.
27016         [C99-based-standards] (SCNxFAST8): Likewise.
27017         [C99-based-standards] (PRId16): Likewise.
27018         [C99-based-standards] (PRIi16): Likewise.
27019         [C99-based-standards] (PRIo16): Likewise.
27020         [C99-based-standards] (PRIu16): Likewise.
27021         [C99-based-standards] (PRIx16): Likewise.
27022         [C99-based-standards] (PRIX16): Likewise.
27023         [C99-based-standards] (SCNd16): Likewise.
27024         [C99-based-standards] (SCNi16): Likewise.
27025         [C99-based-standards] (SCNo16): Likewise.
27026         [C99-based-standards] (SCNu16): Likewise.
27027         [C99-based-standards] (SCNx16): Likewise.
27028         [C99-based-standards] (PRIdLEAST16): Likewise.
27029         [C99-based-standards] (PRIiLEAST16): Likewise.
27030         [C99-based-standards] (PRIoLEAST16): Likewise.
27031         [C99-based-standards] (PRIuLEAST16): Likewise.
27032         [C99-based-standards] (PRIxLEAST16): Likewise.
27033         [C99-based-standards] (PRIXLEAST16): Likewise.
27034         [C99-based-standards] (SCNdLEAST16): Likewise.
27035         [C99-based-standards] (SCNiLEAST16): Likewise.
27036         [C99-based-standards] (SCNoLEAST16): Likewise.
27037         [C99-based-standards] (SCNuLEAST16): Likewise.
27038         [C99-based-standards] (SCNxLEAST16): Likewise.
27039         [C99-based-standards] (PRIdFAST16): Likewise.
27040         [C99-based-standards] (PRIiFAST16): Likewise.
27041         [C99-based-standards] (PRIoFAST16): Likewise.
27042         [C99-based-standards] (PRIuFAST16): Likewise.
27043         [C99-based-standards] (PRIxFAST16): Likewise.
27044         [C99-based-standards] (PRIXFAST16): Likewise.
27045         [C99-based-standards] (SCNdFAST16): Likewise.
27046         [C99-based-standards] (SCNiFAST16): Likewise.
27047         [C99-based-standards] (SCNoFAST16): Likewise.
27048         [C99-based-standards] (SCNuFAST16): Likewise.
27049         [C99-based-standards] (SCNxFAST16): Likewise.
27050         [C99-based-standards] (PRId32): Likewise.
27051         [C99-based-standards] (PRIi32): Likewise.
27052         [C99-based-standards] (PRIo32): Likewise.
27053         [C99-based-standards] (PRIu32): Likewise.
27054         [C99-based-standards] (PRIx32): Likewise.
27055         [C99-based-standards] (PRIX32): Likewise.
27056         [C99-based-standards] (SCNd32): Likewise.
27057         [C99-based-standards] (SCNi32): Likewise.
27058         [C99-based-standards] (SCNo32): Likewise.
27059         [C99-based-standards] (SCNu32): Likewise.
27060         [C99-based-standards] (SCNx32): Likewise.
27061         [C99-based-standards] (PRIdLEAST32): Likewise.
27062         [C99-based-standards] (PRIiLEAST32): Likewise.
27063         [C99-based-standards] (PRIoLEAST32): Likewise.
27064         [C99-based-standards] (PRIuLEAST32): Likewise.
27065         [C99-based-standards] (PRIxLEAST32): Likewise.
27066         [C99-based-standards] (PRIXLEAST32): Likewise.
27067         [C99-based-standards] (SCNdLEAST32): Likewise.
27068         [C99-based-standards] (SCNiLEAST32): Likewise.
27069         [C99-based-standards] (SCNoLEAST32): Likewise.
27070         [C99-based-standards] (SCNuLEAST32): Likewise.
27071         [C99-based-standards] (SCNxLEAST32): Likewise.
27072         [C99-based-standards] (PRIdFAST32): Likewise.
27073         [C99-based-standards] (PRIiFAST32): Likewise.
27074         [C99-based-standards] (PRIoFAST32): Likewise.
27075         [C99-based-standards] (PRIuFAST32): Likewise.
27076         [C99-based-standards] (PRIxFAST32): Likewise.
27077         [C99-based-standards] (PRIXFAST32): Likewise.
27078         [C99-based-standards] (SCNdFAST32): Likewise.
27079         [C99-based-standards] (SCNiFAST32): Likewise.
27080         [C99-based-standards] (SCNoFAST32): Likewise.
27081         [C99-based-standards] (SCNuFAST32): Likewise.
27082         [C99-based-standards] (SCNxFAST32): Likewise.
27083         [C99-based-standards] (PRId64): Likewise.
27084         [C99-based-standards] (PRIi64): Likewise.
27085         [C99-based-standards] (PRIo64): Likewise.
27086         [C99-based-standards] (PRIu64): Likewise.
27087         [C99-based-standards] (PRIx64): Likewise.
27088         [C99-based-standards] (PRIX64): Likewise.
27089         [C99-based-standards] (SCNd64): Likewise.
27090         [C99-based-standards] (SCNi64): Likewise.
27091         [C99-based-standards] (SCNo64): Likewise.
27092         [C99-based-standards] (SCNu64): Likewise.
27093         [C99-based-standards] (SCNx64): Likewise.
27094         [C99-based-standards] (PRIdLEAST64): Likewise.
27095         [C99-based-standards] (PRIiLEAST64): Likewise.
27096         [C99-based-standards] (PRIoLEAST64): Likewise.
27097         [C99-based-standards] (PRIuLEAST64): Likewise.
27098         [C99-based-standards] (PRIxLEAST64): Likewise.
27099         [C99-based-standards] (PRIXLEAST64): Likewise.
27100         [C99-based-standards] (SCNdLEAST64): Likewise.
27101         [C99-based-standards] (SCNiLEAST64): Likewise.
27102         [C99-based-standards] (SCNoLEAST64): Likewise.
27103         [C99-based-standards] (SCNuLEAST64): Likewise.
27104         [C99-based-standards] (SCNxLEAST64): Likewise.
27105         [C99-based-standards] (PRIdFAST64): Likewise.
27106         [C99-based-standards] (PRIiFAST64): Likewise.
27107         [C99-based-standards] (PRIoFAST64): Likewise.
27108         [C99-based-standards] (PRIuFAST64): Likewise.
27109         [C99-based-standards] (PRIxFAST64): Likewise.
27110         [C99-based-standards] (PRIXFAST64): Likewise.
27111         [C99-based-standards] (SCNdFAST64): Likewise.
27112         [C99-based-standards] (SCNiFAST64): Likewise.
27113         [C99-based-standards] (SCNoFAST64): Likewise.
27114         [C99-based-standards] (SCNuFAST64): Likewise.
27115         [C99-based-standards] (SCNxFAST64): Likewise.
27116         [C99-based-standards] (PRIdMAX): Likewise.
27117         [C99-based-standards] (PRIiMAX): Likewise.
27118         [C99-based-standards] (PRIoMAX): Likewise.
27119         [C99-based-standards] (PRIuMAX): Likewise.
27120         [C99-based-standards] (PRIxMAX): Likewise.
27121         [C99-based-standards] (PRIXMAX): Likewise.
27122         [C99-based-standards] (SCNdMAX): Likewise.
27123         [C99-based-standards] (SCNiMAX): Likewise.
27124         [C99-based-standards] (SCNoMAX): Likewise.
27125         [C99-based-standards] (SCNuMAX): Likewise.
27126         [C99-based-standards] (SCNxMAX): Likewise.
27127         [C99-based-standards] (PRIdPTR): Likewise.
27128         [C99-based-standards] (PRIiPTR): Likewise.
27129         [C99-based-standards] (PRIoPTR): Likewise.
27130         [C99-based-standards] (PRIuPTR): Likewise.
27131         [C99-based-standards] (PRIxPTR): Likewise.
27132         [C99-based-standards] (PRIXPTR): Likewise.
27133         [C99-based-standards] (SCNdPTR): Likewise.
27134         [C99-based-standards] (SCNiPTR): Likewise.
27135         [C99-based-standards] (SCNoPTR): Likewise.
27136         [C99-based-standards] (SCNuPTR): Likewise.
27137         [C99-based-standards] (SCNxPTR): Likewise.
27138         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27139         allow.
27140         * conform/data/stdint.h-data: Update comments to clarify
27141         requirements.
27142         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27143         type.
27144         [C99-based standards] (INT8_MAX): Likewise.
27145         [C99-based standards] (INT16_MIN): Likewise.
27146         [C99-based standards] (INT16_MAX): Likewise.
27147         [C99-based standards] (INT32_MIN): Likewise.
27148         [C99-based standards] (INT32_MAX): Likewise.
27149         [C99-based standards] (INT64_MIN): Likewise.
27150         [C99-based standards] (INT64_MAX): Likewise.
27151         [C99-based standards] (UINT8_MAX): Likewise.
27152         [C99-based standards] (UINT16_MAX): Likewise.
27153         [C99-based standards] (UINT32_MAX): Likewise.
27154         [C99-based standards] (UINT64_MAX): Likewise.
27155         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27156         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27157         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27158         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27159         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27160         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27161         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27162         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27163         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27164         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27165         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27166         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27167         [C99-based standards] (INT_FAST8_MIN): Likewise.
27168         [C99-based standards] (INT_FAST8_MAX): Likewise.
27169         [C99-based standards] (INT_FAST16_MIN): Likewise.
27170         [C99-based standards] (INT_FAST16_MAX): Likewise.
27171         [C99-based standards] (INT_FAST32_MIN): Likewise.
27172         [C99-based standards] (INT_FAST32_MAX): Likewise.
27173         [C99-based standards] (INT_FAST64_MIN): Likewise.
27174         [C99-based standards] (INT_FAST64_MAX): Likewise.
27175         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27176         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27177         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27178         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27179         [C99-based standards] (INTPTR_MIN): Likewise.
27180         [C99-based standards] (INTPTR_MAX): Likewise.
27181         [C99-based standards] (UINTPTR_MAX): Likewise.
27182         [C99-based standards] (INTMAX_MIN): Likewise.
27183         [C99-based standards] (INTMAX_MAX): Likewise.
27184         [C99-based standards] (UINTMAX_MAX): Likewise.
27185         [C99-based standards] (PTRDIFF_MIN): Likewise.
27186         [C99-based standards] (PTRDIFF_MAX): Likewise.
27187         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27188         [C99-based standards] (SIZE_MAX): Likewise.
27189         [C99-based standards] (WCHAR_MAX): Likewise.
27190         [C99-based standards] (WINT_MAX): Likewise.
27191         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27192         constraint on value.
27193         [C99-based standards] (WCHAR_MIN): Likewise.
27194         [C99-based standards] (WINT_MIN): Likewise.
27195         [C99-based standards] (*_t): Allow.
27196         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27197         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27198         Include math.h-data and complex.h-data.  Remove all expectations
27199         of math.h and complex.h contents.
27200         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27201         at end of line.
27202         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27203         (struct tm): Expect tag.
27204         [C99-based-standards] (wcstof): Expect function.
27205         [C99-based-standards] (wcstold): Likewise.
27206         [C99-based-standards] (wcstoll): Likewise.
27207         [C99-based-standards] (wcstoull): Likewise.
27208         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27209         macro-int-constant.  Specify type.
27210         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27211         constraint on value.
27212         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27213         Specify type.
27214         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27215         Specify value.
27216         [ISO C standards]: Do not allow headers.
27217         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27218         wcs[abcdefghijklmnopqrstuvwxyz]*.
27219         [ISO C standards] (*_t): Do not allow.
27220         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27221         Expect function.
27222         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27223         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27224         Specify type.
27225         [ISO C standards]: Do not allow headers.
27226         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27227         is[abcdefghijklmnopqrstuvwxyz]*.
27228         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27229         to[abcdefghijklmnopqrstuvwxyz]*.
27230         [ISO C standards] (*_t): Do not allow.
27231         * conform/data/stdalign.h-data: New file.
27232         * conform/data/stdbool.h-data: Likewise.
27233         * conform/data/stdnoreturn.h-data: Likewise.
27235 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27237         [BZ #14815]
27238         * manual/filesys.texi (Directory Entries): Typo fix.
27239         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27241 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27243         * elf/elf.h (EM_AARCH64): New macro.
27244         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27245         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27246         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27247         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27248         (R_AARCH64_TLSDESC): Likewise.
27249         (NT_ARM_TLS): Likewise.
27250         (NT_ARM_HW_BREAK): Likewise.
27251         (NT_ARM_HW_WATCH): Likewise.
27253 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27255         [BZ #14811]
27256         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27257         (__ieee754_powl): Saturate nonzero exponents with absolute value
27258         below 0x1p-79 to +/- 0x1p-79.
27259         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27260         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27261         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27262         nonzero exponents with absolute value below 0x1p-32 to +/-
27263         0x1p-32.
27264         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27265         (__ieee754_powl): Saturate nonzero exponents with absolute value
27266         below 0x1p-79 to +/- 0x1p-79.
27267         * math/libm-test.inc (pow_test): Add more tests.
27269 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27271         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27272         _dl_s390_cap_flags with kernel. Increase string length.
27273         (_dl_s390_platforms): Add z196 and zEC12.
27275 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27277         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27278         Change XOPEN21K to XOPEN2K.
27280 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27282         * string/memmove.c: Use memcpy when possible.
27284 2012-11-06  Andreas Jaeger  <aj@suse.de>
27286         * po/eo.po: Update from translation team.
27288 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27290         [BZ #14793]
27291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27292         exponent and small x and y exponents, scale x or y up.  Increase
27293         by 2 the exponent used in scaling up.
27294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27296         * math/libm-test.inc (fma_test): Add more tests.
27297         (fma_test_towardzero): Likewise.
27298         (fma_test_downward): Likewise.
27299         (fma_test_upward): Likewise.
27301 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27303         [BZ #14805]
27304         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27305         fenv_t *.
27307         [BZ #14801]
27308         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27309         namespace for names of struct fields.
27310         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27311         fenv_t fields.
27312         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27313         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27315 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27317         [BZ #3665]
27318         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27320 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27322         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27323         PTR_DEMANGLE.
27325         [BZ #5246]
27326         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27327         PTR_DEMANGLE.
27329 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #14797]
27332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27333         definitely overflow as x * y not x * y + z.
27334         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27336         * math/libm-test.inc (fma_test): Add more tests.
27337         (fma_test_towardzero): Likewise.
27338         (fma_test_downward): Likewise.
27339         (fma_test_upward): Likewise.
27341 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27343         [BZ #157]
27345         * include/stub-tag.h: Remove file.
27346         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27347         '#include' of it.
27348         * manual/maint.texi (Porting): Don't reference it.
27349         * Makerules ($(objpfx)stubs): Likewise.
27350         * dirent/closedir.c: Don't include <stub-tag.h>.
27351         * dirent/dirfd.c: Likewise.
27352         * dirent/fdopendir.c: Likewise.
27353         * dirent/getdents.c: Likewise.
27354         * dirent/getdents64.c: Likewise.
27355         * dirent/opendir.c: Likewise.
27356         * dirent/readdir.c: Likewise.
27357         * dirent/readdir64.c: Likewise.
27358         * dirent/readdir64_r.c: Likewise.
27359         * dirent/readdir_r.c: Likewise.
27360         * dirent/rewinddir.c: Likewise.
27361         * dirent/seekdir.c: Likewise.
27362         * dirent/telldir.c: Likewise.
27363         * gmon/profil.c: Likewise.
27364         * grp/setgroups.c: Likewise.
27365         * inet/if_index.c: Likewise.
27366         * io/access.c: Likewise.
27367         * io/chdir.c: Likewise.
27368         * io/chmod.c: Likewise.
27369         * io/chown.c: Likewise.
27370         * io/close.c: Likewise.
27371         * io/dup.c: Likewise.
27372         * io/dup2.c: Likewise.
27373         * io/dup3.c: Likewise.
27374         * io/euidaccess.c: Likewise.
27375         * io/faccessat.c: Likewise.
27376         * io/fchdir.c: Likewise.
27377         * io/fchmod.c: Likewise.
27378         * io/fchmodat.c: Likewise.
27379         * io/fchown.c: Likewise.
27380         * io/fchownat.c: Likewise.
27381         * io/fcntl.c: Likewise.
27382         * io/flock.c: Likewise.
27383         * io/fstatfs.c: Likewise.
27384         * io/fstatfs64.c: Likewise.
27385         * io/fstatvfs.c: Likewise.
27386         * io/fstatvfs64.c: Likewise.
27387         * io/futimens.c: Likewise.
27388         * io/fxstat.c: Likewise.
27389         * io/fxstat64.c: Likewise.
27390         * io/fxstatat.c: Likewise.
27391         * io/fxstatat64.c: Likewise.
27392         * io/getcwd.c: Likewise.
27393         * io/isatty.c: Likewise.
27394         * io/lchmod.c: Likewise.
27395         * io/lchown.c: Likewise.
27396         * io/link.c: Likewise.
27397         * io/linkat.c: Likewise.
27398         * io/lseek.c: Likewise.
27399         * io/lseek64.c: Likewise.
27400         * io/lxstat64.c: Likewise.
27401         * io/mkdir.c: Likewise.
27402         * io/mkdirat.c: Likewise.
27403         * io/mkfifo.c: Likewise.
27404         * io/mkfifoat.c: Likewise.
27405         * io/open.c: Likewise.
27406         * io/open64.c: Likewise.
27407         * io/openat.c: Likewise.
27408         * io/openat64.c: Likewise.
27409         * io/pipe.c: Likewise.
27410         * io/pipe2.c: Likewise.
27411         * io/poll.c: Likewise.
27412         * io/posix_fadvise.c: Likewise.
27413         * io/posix_fadvise64.c: Likewise.
27414         * io/posix_fallocate.c: Likewise.
27415         * io/posix_fallocate64.c: Likewise.
27416         * io/read.c: Likewise.
27417         * io/readlink.c: Likewise.
27418         * io/readlinkat.c: Likewise.
27419         * io/rmdir.c: Likewise.
27420         * io/sendfile.c: Likewise.
27421         * io/sendfile64.c: Likewise.
27422         * io/statfs.c: Likewise.
27423         * io/statfs64.c: Likewise.
27424         * io/statvfs.c: Likewise.
27425         * io/statvfs64.c: Likewise.
27426         * io/symlink.c: Likewise.
27427         * io/symlinkat.c: Likewise.
27428         * io/ttyname.c: Likewise.
27429         * io/ttyname_r.c: Likewise.
27430         * io/umask.c: Likewise.
27431         * io/unlink.c: Likewise.
27432         * io/unlinkat.c: Likewise.
27433         * io/utime.c: Likewise.
27434         * io/utimensat.c: Likewise.
27435         * io/write.c: Likewise.
27436         * io/xmknod.c: Likewise.
27437         * io/xmknodat.c: Likewise.
27438         * io/xstat.c: Likewise.
27439         * io/xstat64.c: Likewise.
27440         * login/getpt.c: Likewise.
27441         * login/grantpt.c: Likewise.
27442         * login/unlockpt.c: Likewise.
27443         * math/e_acoshl.c: Likewise.
27444         * math/e_acosl.c: Likewise.
27445         * math/e_asinl.c: Likewise.
27446         * math/e_atan2l.c: Likewise.
27447         * math/e_atanhl.c: Likewise.
27448         * math/e_coshl.c: Likewise.
27449         * math/e_expl.c: Likewise.
27450         * math/e_fmodl.c: Likewise.
27451         * math/e_gammal_r.c: Likewise.
27452         * math/e_hypotl.c: Likewise.
27453         * math/e_j0l.c: Likewise.
27454         * math/e_j1l.c: Likewise.
27455         * math/e_jnl.c: Likewise.
27456         * math/e_lgammal_r.c: Likewise.
27457         * math/e_log10l.c: Likewise.
27458         * math/e_log2l.c: Likewise.
27459         * math/e_logl.c: Likewise.
27460         * math/e_powl.c: Likewise.
27461         * math/e_rem_pio2l.c: Likewise.
27462         * math/e_sinhl.c: Likewise.
27463         * math/e_sqrtl.c: Likewise.
27464         * math/fclrexcpt.c: Likewise.
27465         * math/fedisblxcpt.c: Likewise.
27466         * math/feenablxcpt.c: Likewise.
27467         * math/fegetenv.c: Likewise.
27468         * math/fegetexcept.c: Likewise.
27469         * math/fegetround.c: Likewise.
27470         * math/feholdexcpt.c: Likewise.
27471         * math/fesetenv.c: Likewise.
27472         * math/fesetround.c: Likewise.
27473         * math/feupdateenv.c: Likewise.
27474         * math/fgetexcptflg.c: Likewise.
27475         * math/fraiseexcpt.c: Likewise.
27476         * math/fsetexcptflg.c: Likewise.
27477         * math/ftestexcept.c: Likewise.
27478         * math/k_cosl.c: Likewise.
27479         * math/k_rem_pio2l.c: Likewise.
27480         * math/k_sinl.c: Likewise.
27481         * math/k_tanl.c: Likewise.
27482         * math/s_asinhl.c: Likewise.
27483         * math/s_atanl.c: Likewise.
27484         * math/s_cbrtl.c: Likewise.
27485         * math/s_erfl.c: Likewise.
27486         * math/s_expm1l.c: Likewise.
27487         * math/s_log1pl.c: Likewise.
27488         * math/s_tanhl.c: Likewise.
27489         * misc/acct.c: Likewise.
27490         * misc/brk.c: Likewise.
27491         * misc/chflags.c: Likewise.
27492         * misc/chroot.c: Likewise.
27493         * misc/fchflags.c: Likewise.
27494         * misc/fgetxattr.c: Likewise.
27495         * misc/flistxattr.c: Likewise.
27496         * misc/fremovexattr.c: Likewise.
27497         * misc/fsetxattr.c: Likewise.
27498         * misc/fsync.c: Likewise.
27499         * misc/ftruncate.c: Likewise.
27500         * misc/futimes.c: Likewise.
27501         * misc/futimesat.c: Likewise.
27502         * misc/getdomain.c: Likewise.
27503         * misc/getdtsz.c: Likewise.
27504         * misc/gethostid.c: Likewise.
27505         * misc/gethostname.c: Likewise.
27506         * misc/getloadavg.c: Likewise.
27507         * misc/getpagesize.c: Likewise.
27508         * misc/getsysstats.c: Likewise.
27509         * misc/getxattr.c: Likewise.
27510         * misc/gtty.c: Likewise.
27511         * misc/ioctl.c: Likewise.
27512         * misc/lgetxattr.c: Likewise.
27513         * misc/listxattr.c: Likewise.
27514         * misc/llistxattr.c: Likewise.
27515         * misc/lremovexattr.c: Likewise.
27516         * misc/lsetxattr.c: Likewise.
27517         * misc/lutimes.c: Likewise.
27518         * misc/madvise.c: Likewise.
27519         * misc/mincore.c: Likewise.
27520         * misc/mlock.c: Likewise.
27521         * misc/mlockall.c: Likewise.
27522         * misc/mmap.c: Likewise.
27523         * misc/mprotect.c: Likewise.
27524         * misc/msync.c: Likewise.
27525         * misc/munlock.c: Likewise.
27526         * misc/munlockall.c: Likewise.
27527         * misc/munmap.c: Likewise.
27528         * misc/preadv.c: Likewise.
27529         * misc/preadv64.c: Likewise.
27530         * misc/ptrace.c: Likewise.
27531         * misc/pwritev.c: Likewise.
27532         * misc/pwritev64.c: Likewise.
27533         * misc/readv.c: Likewise.
27534         * misc/reboot.c: Likewise.
27535         * misc/remap_file_pages.c: Likewise.
27536         * misc/removexattr.c: Likewise.
27537         * misc/revoke.c: Likewise.
27538         * misc/select.c: Likewise.
27539         * misc/setdomain.c: Likewise.
27540         * misc/setegid.c: Likewise.
27541         * misc/seteuid.c: Likewise.
27542         * misc/sethostid.c: Likewise.
27543         * misc/sethostname.c: Likewise.
27544         * misc/setregid.c: Likewise.
27545         * misc/setreuid.c: Likewise.
27546         * misc/setxattr.c: Likewise.
27547         * misc/sstk.c: Likewise.
27548         * misc/stty.c: Likewise.
27549         * misc/swapoff.c: Likewise.
27550         * misc/swapon.c: Likewise.
27551         * misc/sync.c: Likewise.
27552         * misc/syncfs.c: Likewise.
27553         * misc/syscall.c: Likewise.
27554         * misc/truncate.c: Likewise.
27555         * misc/ualarm.c: Likewise.
27556         * misc/usleep.c: Likewise.
27557         * misc/ustat.c: Likewise.
27558         * misc/utimes.c: Likewise.
27559         * misc/vhangup.c: Likewise.
27560         * misc/writev.c: Likewise.
27561         * posix/_exit.c: Likewise.
27562         * posix/alarm.c: Likewise.
27563         * posix/execve.c: Likewise.
27564         * posix/fexecve.c: Likewise.
27565         * posix/fork.c: Likewise.
27566         * posix/fpathconf.c: Likewise.
27567         * posix/getaddrinfo.c: Likewise.
27568         * posix/getegid.c: Likewise.
27569         * posix/geteuid.c: Likewise.
27570         * posix/getgid.c: Likewise.
27571         * posix/getgroups.c: Likewise.
27572         * posix/getlogin.c: Likewise.
27573         * posix/getlogin_r.c: Likewise.
27574         * posix/getpgid.c: Likewise.
27575         * posix/getpid.c: Likewise.
27576         * posix/getppid.c: Likewise.
27577         * posix/getresgid.c: Likewise.
27578         * posix/getresuid.c: Likewise.
27579         * posix/getsid.c: Likewise.
27580         * posix/getuid.c: Likewise.
27581         * posix/glob64.c: Likewise.
27582         * posix/nanosleep.c: Likewise.
27583         * posix/pathconf.c: Likewise.
27584         * posix/pause.c: Likewise.
27585         * posix/posix_madvise.c: Likewise.
27586         * posix/pread.c: Likewise.
27587         * posix/pread64.c: Likewise.
27588         * posix/pwrite.c: Likewise.
27589         * posix/pwrite64.c: Likewise.
27590         * posix/sched_getaffinity.c: Likewise.
27591         * posix/sched_getp.c: Likewise.
27592         * posix/sched_gets.c: Likewise.
27593         * posix/sched_primax.c: Likewise.
27594         * posix/sched_primin.c: Likewise.
27595         * posix/sched_rr_gi.c: Likewise.
27596         * posix/sched_setaffinity.c: Likewise.
27597         * posix/sched_setp.c: Likewise.
27598         * posix/sched_sets.c: Likewise.
27599         * posix/sched_yield.c: Likewise.
27600         * posix/setgid.c: Likewise.
27601         * posix/setlogin.c: Likewise.
27602         * posix/setpgid.c: Likewise.
27603         * posix/setresgid.c: Likewise.
27604         * posix/setresuid.c: Likewise.
27605         * posix/setsid.c: Likewise.
27606         * posix/setuid.c: Likewise.
27607         * posix/sleep.c: Likewise.
27608         * posix/spawni.c: Likewise.
27609         * posix/sysconf.c: Likewise.
27610         * posix/times.c: Likewise.
27611         * posix/wait.c: Likewise.
27612         * posix/wait3.c: Likewise.
27613         * posix/wait4.c: Likewise.
27614         * posix/waitpid.c: Likewise.
27615         * resolv/gai_sigqueue.c: Likewise.
27616         * resource/getpriority.c: Likewise.
27617         * resource/getrlimit.c: Likewise.
27618         * resource/getrusage.c: Likewise.
27619         * resource/nice.c: Likewise.
27620         * resource/setpriority.c: Likewise.
27621         * resource/setrlimit.c: Likewise.
27622         * resource/ulimit.c: Likewise.
27623         * rt/aio_cancel.c: Likewise.
27624         * rt/aio_fsync.c: Likewise.
27625         * rt/aio_read.c: Likewise.
27626         * rt/aio_sigqueue.c: Likewise.
27627         * rt/aio_suspend.c: Likewise.
27628         * rt/aio_write.c: Likewise.
27629         * rt/clock_getres.c: Likewise.
27630         * rt/clock_gettime.c: Likewise.
27631         * rt/clock_nanosleep.c: Likewise.
27632         * rt/clock_settime.c: Likewise.
27633         * rt/lio_listio.c: Likewise.
27634         * rt/mq_close.c: Likewise.
27635         * rt/mq_getattr.c: Likewise.
27636         * rt/mq_notify.c: Likewise.
27637         * rt/mq_open.c: Likewise.
27638         * rt/mq_receive.c: Likewise.
27639         * rt/mq_send.c: Likewise.
27640         * rt/mq_setattr.c: Likewise.
27641         * rt/mq_timedreceive.c: Likewise.
27642         * rt/mq_timedsend.c: Likewise.
27643         * rt/mq_unlink.c: Likewise.
27644         * rt/shm_open.c: Likewise.
27645         * rt/shm_unlink.c: Likewise.
27646         * rt/timer_create.c: Likewise.
27647         * rt/timer_delete.c: Likewise.
27648         * rt/timer_getoverr.c: Likewise.
27649         * rt/timer_gettime.c: Likewise.
27650         * rt/timer_settime.c: Likewise.
27651         * setjmp/__longjmp.c: Likewise.
27652         * setjmp/setjmp.c: Likewise.
27653         * signal/kill.c: Likewise.
27654         * signal/killpg.c: Likewise.
27655         * signal/raise.c: Likewise.
27656         * signal/sigaction.c: Likewise.
27657         * signal/sigaltstack.c: Likewise.
27658         * signal/sigblock.c: Likewise.
27659         * signal/sigignore.c: Likewise.
27660         * signal/sigintr.c: Likewise.
27661         * signal/signal.c: Likewise.
27662         * signal/sigpause.c: Likewise.
27663         * signal/sigpending.c: Likewise.
27664         * signal/sigqueue.c: Likewise.
27665         * signal/sigreturn.c: Likewise.
27666         * signal/sigset.c: Likewise.
27667         * signal/sigsetmask.c: Likewise.
27668         * signal/sigstack.c: Likewise.
27669         * signal/sigsuspend.c: Likewise.
27670         * signal/sigtimedwait.c: Likewise.
27671         * signal/sigvec.c: Likewise.
27672         * signal/sigwait.c: Likewise.
27673         * signal/sigwaitinfo.c: Likewise.
27674         * signal/sysv_signal.c: Likewise.
27675         * socket/accept.c: Likewise.
27676         * socket/accept4.c: Likewise.
27677         * socket/bind.c: Likewise.
27678         * socket/connect.c: Likewise.
27679         * socket/getpeername.c: Likewise.
27680         * socket/getsockname.c: Likewise.
27681         * socket/getsockopt.c: Likewise.
27682         * socket/isfdtype.c: Likewise.
27683         * socket/listen.c: Likewise.
27684         * socket/recv.c: Likewise.
27685         * socket/recvfrom.c: Likewise.
27686         * socket/recvmsg.c: Likewise.
27687         * socket/send.c: Likewise.
27688         * socket/sendmsg.c: Likewise.
27689         * socket/sendto.c: Likewise.
27690         * socket/setsockopt.c: Likewise.
27691         * socket/shutdown.c: Likewise.
27692         * socket/sockatmark.c: Likewise.
27693         * socket/socket.c: Likewise.
27694         * socket/socketpair.c: Likewise.
27695         * stdio-common/ctermid.c: Likewise.
27696         * stdio-common/cuserid.c: Likewise.
27697         * stdio-common/remove.c: Likewise.
27698         * stdio-common/rename.c: Likewise.
27699         * stdio-common/renameat.c: Likewise.
27700         * stdio-common/tempname.c: Likewise.
27701         * stdlib/getcontext.c: Likewise.
27702         * stdlib/makecontext.c: Likewise.
27703         * stdlib/setcontext.c: Likewise.
27704         * stdlib/swapcontext.c: Likewise.
27705         * stdlib/system.c: Likewise.
27706         * streams/fattach.c: Likewise.
27707         * streams/fdetach.c: Likewise.
27708         * streams/getmsg.c: Likewise.
27709         * streams/getpmsg.c: Likewise.
27710         * streams/putmsg.c: Likewise.
27711         * streams/putpmsg.c: Likewise.
27712         * sysdeps/unix/bsd/getpt.c: Likewise.
27713         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27714         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27715         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27717         Likewise.
27718         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27719         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27720         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27721         * sysvipc/msgctl.c: Likewise.
27722         * sysvipc/msgget.c: Likewise.
27723         * sysvipc/msgrcv.c: Likewise.
27724         * sysvipc/msgsnd.c: Likewise.
27725         * sysvipc/semctl.c: Likewise.
27726         * sysvipc/semget.c: Likewise.
27727         * sysvipc/semop.c: Likewise.
27728         * sysvipc/semtimedop.c: Likewise.
27729         * sysvipc/shmat.c: Likewise.
27730         * sysvipc/shmctl.c: Likewise.
27731         * sysvipc/shmdt.c: Likewise.
27732         * sysvipc/shmget.c: Likewise.
27733         * termios/tcdrain.c: Likewise.
27734         * termios/tcflow.c: Likewise.
27735         * termios/tcflush.c: Likewise.
27736         * termios/tcgetattr.c: Likewise.
27737         * termios/tcgetpgrp.c: Likewise.
27738         * termios/tcsendbrk.c: Likewise.
27739         * termios/tcsetattr.c: Likewise.
27740         * termios/tcsetpgrp.c: Likewise.
27741         * time/adjtime.c: Likewise.
27742         * time/clock.c: Likewise.
27743         * time/getitimer.c: Likewise.
27744         * time/gettimeofday.c: Likewise.
27745         * time/setitimer.c: Likewise.
27746         * time/settimeofday.c: Likewise.
27747         * time/stime.c: Likewise.
27748         * time/time.c: Likewise.
27750 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27752         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27753         /usr/old/bin.
27755         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27756         instead of spaces.
27757         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27759 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27761         [BZ #14796]
27762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27763         FE_TONEAREST before applying Dekker multiplication and Knuth
27764         addition.  Clear inexact exceptions and check for exact zero
27765         results afterwards.
27766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27767         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27768         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27769         * math/libm-test.inc (fma_test): Add more tests.
27770         (fma_test_towardzero): Likewise.
27771         (fma_test_downward): Likewise.
27772         (fma_test_upward): Likewise.
27773         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27774         function.
27775         (libc_fesetround): New macro.
27776         (libc_fesetroundf): Likewise.
27777         (libc_fesetroundl): Likewise.
27778         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27779         function.
27780         (libc_fesetround_387): Likewise.
27781         (libc_fesetroundf): New macro.
27782         (libc_fesetround): Likewise.
27783         (libc_fesetroundl): Likewise.
27784         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27785         function.
27786         (libc_fesetroundf): New macro.
27787         (libc_fesetround): Likewise.
27788         (libc_fesetroundl): Likewise.
27789         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27790         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27791         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27792         libm_hidden_ver.
27793         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27794         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27795         libm_hidden_def.
27796         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27797         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27798         libm_hidden_ver.
27799         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27800         libm_hidden_def.
27802         [BZ #3439]
27803         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27804         integer constant usable in #if and use that to give value to enum
27805         constant.
27806         (FE_DIVBYZERO): Likewise.
27807         (FE_UNDERFLOW): Likewise.
27808         (FE_OVERFLOW): Likewise.
27809         (FE_INVALID): Likewise.
27810         (FE_INVALID_SNAN): Likewise.
27811         (FE_INVALID_ISI): Likewise.
27812         (FE_INVALID_IDI): Likewise.
27813         (FE_INVALID_ZDZ): Likewise.
27814         (FE_INVALID_IMZ): Likewise.
27815         (FE_INVALID_COMPARE): Likewise.
27816         (FE_INVALID_SOFTWARE): Likewise.
27817         (FE_INVALID_SQRT): Likewise.
27818         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27819         (FE_TONEAREST): Likewise.
27820         (FE_TOWARDZERO): Likewise.
27821         (FE_UPWARD): Likewise.
27822         (FE_DOWNWARD): Likewise.
27823         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27824         (FE_DIVBYZERO): Likewise.
27825         (FE_OVERFLOW): Likewise.
27826         (FE_UNDERFLOW): Likewise.
27827         (FE_INEXACT): Likewise.
27828         (FE_TONEAREST): Likewise.
27829         (FE_DOWNWARD): Likewise.
27830         (FE_UPWARD): Likewise.
27831         (FE_TOWARDZERO): Likewise.
27832         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27833         (FE_UNDERFLOW): Likewise.
27834         (FE_OVERFLOW): Likewise.
27835         (FE_DIVBYZERO): Likewise.
27836         (FE_INVALID): Likewise.
27837         (FE_TONEAREST): Likewise.
27838         (FE_TOWARDZERO): Likewise.
27839         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27840         (FE_OVERFLOW): Likewise.
27841         (FE_UNDERFLOW): Likewise.
27842         (FE_DIVBYZERO): Likewise.
27843         (FE_INEXACT): Likewise.
27844         (FE_TONEAREST): Likewise.
27845         (FE_TOWARDZERO): Likewise.
27846         (FE_UPWARD): Likewise.
27847         (FE_DOWNWARD): Likewise.
27848         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27849         (FE_DIVBYZERO): Likewise.
27850         (FE_OVERFLOW): Likewise.
27851         (FE_UNDERFLOW): Likewise.
27852         (FE_INEXACT): Likewise.
27853         (FE_TONEAREST): Likewise.
27854         (FE_DOWNWARD): Likewise.
27855         (FE_UPWARD): Likewise.
27856         (FE_TOWARDZERO): Likewise.
27858 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27860         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27862 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27864         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27865         commands.  Quote $PWD.
27866         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27867         -x" by "export".
27868         (remove_newlines): Remove.
27870 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27872         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27873         * stdlib/stdlib.h (atof): Moved to ...
27874         * include/bits/stdlib-float.h: Here.  New file.
27875         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27876         * stdlib/bits/stdlib-float.h: New file.
27877         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27878         -mno-sse -mno-mmx.
27879         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27880         <xmmintrin.h>.
27882 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27884         * conform/conformtest.pl (@headers): Add fenv.h.
27885         * conform/data/fenv.h-data: New file.
27886         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27887         include of <math/fenv.h>.
27889         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27890         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27891         && !UNIX98].  Enables tests for XOPEN2K8.
27892         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27893         POSIX2008]: Likewise.
27895         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27896         (struct rusage): Do not expect type or its members.
27898         [BZ #3439]
27899         * math/math.h (FP_NAN): Define macro to integer constant usable in
27900         #if and use that to give value to enum constant.
27901         (FP_INFINITE): Likewise.
27902         (FP_ZERO): Likewise.
27903         (FP_SUBNORMAL): Likewise.
27904         (FP_NORMAL): Likewise.
27906 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27908         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27909         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27910         arguments.
27912 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27914         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27915         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27916         autoconf-time if not.
27917         * configure.in: Remove AC_PREREQ.
27919 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27921         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27922         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27923         of the internal implementation.
27925 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27927         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27928         except include of <misc/sys/syslog.h>.
27930 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27933         function returns with a NULL context exit with zero.
27935 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27937         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27939 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27941         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27942         (run_program_cmd): This.
27943         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27944         (tst_langinfo): New variable.  Use it.
27946 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27948         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27949         floating point opcodes.
27951 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27953         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27954         variable.
27956         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27958         * sysdeps/mach/hurd/powerpc: Remove directory.
27959         * sysdeps/mach/powerpc: Likewise.
27961 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27963         * scripts/check-local-headers.sh: Ignore c++ headers.
27965 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27967         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27968         __libc_cleanup_region_start argument.
27970 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27972         [BZ #14784]
27973         [BZ #14785]
27974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27975         x * y using scaling, not as x * y + z.
27976         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27977         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27978         * math/libm-test.inc (fma_test): Add more tests.
27979         (fma_test_towardzero): Likewise.
27980         (fma_test_downward): Likewise.
27981         (fma_test_upward): Likewise.
27983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27985         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27987 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27989         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27990         New variable.
27992 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27994         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27996 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27999         Fix sort order.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28001         Likewise.
28003 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28006         Fix the order of the list for glibc 2.17.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28008         Likewise.
28010 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28014 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28016         [BZ #14610]
28017         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28018         for low part of x being zero before using __atanl (y).
28019         * math/libm-test.inc (atan2_test): Add another test.
28021         * manual/install.texi (Configuring and compiling): Document
28022         general use of test-wrapper and test-wrapper-env.
28023         * INSTALL: Regenerated.
28025         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28026         (__fma): Do not extract and scale down low bits on after-rounding
28027         systems when result rounded to normal precision would have normal
28028         exponent.
28029         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28030         (__fmal): Do not extract and scale down low bits on after-rounding
28031         systems when result rounded to normal precision would have normal
28032         exponent.
28033         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28034         (__fmal): Do not extract and scale down low bits on after-rounding
28035         systems when result rounded to normal precision would have normal
28036         exponent.
28037         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28038         macro.
28039         (fma_test): Add more tests.
28040         (fma_test_towardzero): Likewise.
28041         (fma_test_downward): Likewise.
28042         (fma_test_upward): Likewise.
28044 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28046         * sysdeps/i386/tininess.h: Renamed to ...
28047         * sysdeps/x86/tininess.h: This.
28048         * sysdeps/x86_64/tininess.h: Removed.
28050 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28052         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28053         input.  Use $(build-program-cmd).
28054         ($(objpfx)tst-array1-static.out): Likewise.
28055         ($(objpfx)tst-array2.out): Likewise.
28056         ($(objpfx)tst-array3.out): Likewise.
28057         ($(objpfx)tst-array4.out): Likewise.
28058         ($(objpfx)tst-array5.out): Likewise.
28059         ($(objpfx)tst-array5-static.out): Likewise.
28061 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28063         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28064         if defined.
28066         * nss/nsswitch.h (nss_interface_function): Provide new
28067         macro for use with NSS functions.
28068         * grp/initgroups.c: Use new macro.
28069         * nss/getXXbyYY.c: Likewise.
28070         * nss/getXXbyYY_r.c: Likewise.
28071         * nss/getXXent.c: Likewise.
28072         * nss/getXXent_r.c: Likewise.
28073         * sysdeps/posix/getaddrinfo.c: Likewise.
28075 2012-10-30  Andreas Jaeger  <aj@suse.de>
28077         * po/ru.po: Update Russion translation from translation project.
28079 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28081         [BZ #14152]
28082         [BZ #14783]
28083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28084         result and shift together with sticky bit instead of replicating
28085         round-to-nearest rounding.
28086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28088         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28089         missing underflow exceptions.
28090         (fma_test_towardzero): Add more tests.
28091         (fma_test_downward): Likewise.
28092         (fma_test_upward): Likewise.
28094         [BZ #14047]
28095         * sysdeps/generic/tininess.h: New file.
28096         * sysdeps/i386/tininess.h: Likewise.
28097         * sysdeps/sh/tininess.h: Likewise.
28098         * sysdeps/x86_64/tininess.h: Likewise.
28099         * stdlib/tst-strtod-underflow.c: Likewise.
28100         * stdlib/tst-tininess.c: Likewise.
28101         * stdlib/strtod_l.c: Include <tininess.h>.
28102         (round_and_return): Do not set errno for exact underflow cases.
28103         Force an underflow exception when setting errno for underflow.
28104         Determine underflow based on rounding to normal precision if
28105         TININESS_AFTER_ROUNDING.
28106         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28107         ERANGE for exact underflow cases.
28108         * stdlib/Makefile (tests): Add tst-tininess and
28109         tst-strtod-underflow.
28110         ($(objpfx)tst-tininess): Use $(link-libm).
28111         ($(objpfx)tst-strtod-underflow): Likewise.
28113 2012-10-30  Andreas Jaeger  <aj@suse.de>
28115         [BZ#14767]
28116         * elf/Makefile (tests): Remove conditional for have-initfini-array
28117         since this is now always required and the variable does not exist
28118         anymore.
28119         (tests-static): Likewise.
28120         (modules-names): Likewise.
28122         * po/eo.po: Add Esperanto translation from translation project.
28124         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28125         merged with constructor/destructor.
28126         (init_array): Likewise.
28127         * elf/tst-array2dep.c (fini_array): Likewise.
28128         (init_array): Likewise.
28130 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28132         * manual/message.texi: Delete @cartouche tags.
28134 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28136         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28137         EOPNOTSUPP.
28138         * sysdeps/mach/hurd/fsync.c: Likewise.
28140         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28141         [_POSIX_REALTIME_SIGNALS]: Change condition to
28142         [_POSIX_REALTIME_SIGNALS > 0].
28144 2012-10-27  Andreas Jaeger  <aj@suse.de>
28146         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28147         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28149         [__WORDSIZE != 64]: Likewise.
28151 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28153         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28154         *  iconvdata/tst-tables.sh: Likewise.
28156 2012-10-25  David S. Miller  <davem@davemloft.net>
28158         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28159         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28160         of strtoull.
28162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28163         ifunc-impl-list.c
28164         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28165         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28166         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28167         file.
28169 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28171         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28172         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28173         __getdirentries.
28175 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28176             Jim Blandy  <jimb@codesourcery.com>
28178         * scripts/cross-test-ssh.sh: New file.
28179         * manual/install.texi (Configuring and compiling): Document use of
28180         cross-test-ssh.sh.
28181         * INSTALL: Regenerated.
28183 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28185         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28186         EOPNOTSUPP.
28188 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28190         * Makeconfig (run-program-prefix): Fix comment.
28192 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28193             Jim Blandy  <jimb@codesourcery.com>
28195         * Makeconfig (test-wrapper): New variable,
28196         (test-wrapper-env): Likewise.
28197         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28198         (run-built-tests): Define to yes.
28199         (run-program-prefix): Use $(test-wrapper).
28200         (built-program-cmd): Likewise.
28201         * Rules (make-test-out): Use $(test-wrapper-env) and
28202         $(host-built-program-cmd).
28203         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28204         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28205         tst-pathopt.sh.
28206         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28207         $(test-wrapper-env) to tst-rtld-load-self.sh.
28208         ($(objpfx)order2.out): Use $(test-wrapper).
28209         ($(objpfx)tst-initorder.out): Likewise.
28210         ($(objpfx)tst-initorder2.out): Likewise.
28211         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28212         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28213         (test_wrapper_env): New variable.  Use it to run ld.so.
28214         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28215         Use it to run ld.so.
28216         (test_wrapper_env): Likewise.
28217         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28218         $(test-wrapper) to run-iconv-test.sh.
28219         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28220         (ICONV): Use $test_wrapper.
28221         * posix/Makefile ($(objpfx)globtest.out): Pass
28222         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28223         globtest.sh, not $(run-program-prefix).
28224         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28225         (test_wrapper): Likewise.
28226         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28227         set together with run_via_rtld_prefix.
28228         (run_program_prefix): Define in terms of test_wrapper and
28229         run_via_rtld_prefix.
28231 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28233         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28234         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28235         Targets removed.
28237         [BZ #14743]
28238         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28239         Declare __clock_getres, __clock_gettime, __clock_settime,
28240         __clock_nanosleep, and __clock_getcpuclockid.
28241         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28242         Remove librt_hidden_def (clock_gettime).
28243         * sysdeps/unix/clock_gettime.c: Likewise.
28244         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28245         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28246         * rt/clock_getres.c: Define __clock_getres as an alias.
28247         * sysdeps/posix/clock_getres.c: Likewise.
28248         * rt/clock_settime.c: Define __clock_settime as an alias.
28249         * sysdeps/unix/clock_settime.c: Likewise.
28250         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28251         * sysdeps/unix/clock_nanosleep.c: Likewise.
28252         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28253         * rt/clock-compat.c: New file.
28254         * rt/Makefile (librt-routines): Add clock-compat and move
28255         $(clock-routines) to ...
28256         (routines): ... here, new variable.
28257         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28258         Don't add get_clockfreq here.
28259         * rt/Versions (libc: GLIBC_2.17): New version set.
28260         Add clock_* symbols here.
28261         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28263         (GLIBC_2.17): Add clock_* symbols.
28264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28266         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28268         Likewise.
28269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28270         Likewise.
28271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28275         * NEWS: Mention the move.
28277         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28278         Use __open, __read, __close rather than their public counterparts.
28279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28280         (__get_clockfreq_via_cpuinfo): Likewise.
28281         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28282         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28284         * config.h.in (HAVE_IFUNC): New #undef.
28285         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28286         was successful.
28287         * configure: Regenerated.
28289 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28291         * configure.in: Move READELF check to start of file.
28292         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28293         libc_cv_asm_gnu_indirect_function in the process.
28294         * configure: Regenerated.
28296 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28298         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28299         send the output to /dev/null.
28300         (libc_cv_cc_with_libunwind): Likewise.
28301         (libc_cv_as_noexecstack): Likewise.
28302         * configure: Regenerate.
28304 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28306         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28308         * posix/globtest.sh (TMPDIR): Do not set.
28309         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28310         (testout): Likewise.
28312 2012-10-24  Andreas Jaeger  <aj@suse.de>
28314         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28315         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28316         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28317         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28318         posix_fadvise64, posix_fallocate64.
28320         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28321         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28322         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28323         Likewise.
28324         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28325         Likewise.
28326         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28328         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28329         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28330         <bits/fcntl-linux.h>.
28331         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28334         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28335         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28336         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28337         [__WORDSIZE != 64]: Likewise.
28339 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28341         * Makeconfig (run-built-tests): New variable.
28342         * Rules [$(cross-compiling) = yes]: Change condition to
28343         [$(run-built-tests) = no].
28344         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28345         to [$(run-built-tests) = yes].
28346         * elf/Makefile [$(cross-compiling) = no]: Likewise
28347         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28348         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28349         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28350         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28351         * io/Makefile [$(cross-compiling) = no]: Likewise.
28352         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28353         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28354         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28355         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28356         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28357         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28358         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28359         * string/Makefile [$(cross-compiling) = no]: Likewise.
28361         * posix/Makefile ($(objpfx)globtest.out): Pass
28362         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28363         $(rtld-installed-name).
28364         * posix/globtest.sh (elf_objpfx): Remove variable.
28365         (rtld_installed_name): Likewise.
28366         (library_path): Likewise.
28367         (run_program_prefix): New variable.  Use for running globtest
28368         binary.
28370 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28371             Joseph Myers  <joseph@codesourcery.com>
28373         * Makeconfig (host-built-program-cmd): New variable.
28374         * elf/Makefile (tst-stackguard1-ARGS): Use
28375         $(host-built-program-cmd).
28376         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28377         (tst-spawn-ARGS): Likewise.
28378         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28380 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28381             Jim Blandy  <jimb@codesourcery.com>
28383         * Makeconfig (run-via-rtld-prefix): New variable.
28384         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28385         (built-program-cmd): Likewise.
28387 2012-10-22  Andreas Jaeger  <aj@suse.de>
28389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28390         __O_RSYNC if it exists, otherwise to O_SYNC.
28392 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28393             Joseph Myers  <joseph@codesourcery.com>
28395         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28396         /dev/null.
28397         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28398         from /dev/null
28399         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28400         /dev/null.
28402 2012-10-22  Andreas Jaeger  <aj@suse.de>
28404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28405         Define always.
28406         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28409         bits/fcntl-linux.h.
28411         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28412         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28415         to __O_LARGEFILE.
28416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28417         to __O_LARGEFILE.
28419 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28420             Joseph Myers  <joseph@codesourcery.com>
28422         * config.make.in (NM): New variable.
28424 2012-10-21  Andreas Jaeger  <aj@suse.de>
28426         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28427         definitions and declarations that are provided by
28428         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28430 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28432         [BZ #14683]
28433         * elf/Makefile (tests-static): Add tst-leaks1-static.
28434         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28435         ($(objpfx)tst-leaks1-static): New rule.
28436         ($(objpfx)tst-leaks1-static-mem): Likewise.
28437         (tst-leaks1-static-ENV): New macro.
28438         * elf/dl-open.c (dl_open_worker): Check the main application
28439         only if SHARED is defined.
28440         * elf/tst-leaks1-static.c: New file.
28442 2012-10-20  Andreas Jaeger  <aj@suse.de>
28444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28445         generic values for Linux.
28446         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28447         and declarations that are provided by <bits/fcntl-linux.h> and
28448         include <bits/fcntl-linux.h>.
28449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28452 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28454         * io/fcntl.h: Move include of <bits/types.h> to the top and
28455         include it unconditionally.
28457 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28459         * wcsmbs/Makefile (tests-ifunc): New variable.
28460         (tests): Add $(tests-ifunc).
28461         * wcsmbs/test-wcschr-ifunc.c: New file.
28462         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28463         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28464         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28465         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28466         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28468         * string/Makefile (tests-ifunc): New variable.
28469         (tests): Add $(tests-ifunc).
28470         * string/test-memccpy.c (TEST_NAME): New macro.
28471         * string/test-memchr.c (TEST_NAME): Likewise.
28472         * string/test-memcmp.c (TEST_NAME): Likewise.
28473         * string/test-memcpy.c (TEST_NAME): Likewise.
28474         * string/test-memmem.c (TEST_NAME): Likewise.
28475         * string/test-memmove.c (TEST_NAME): Likewise.
28476         * string/test-memset.c (TEST_NAME): Likewise.
28477         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28478         * string/test-stpcpy.c (TEST_NAME): Likewise.
28479         * string/test-stpncpy.c (TEST_NAME): Likewise.
28480         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28481         * string/test-strcasestr.c (TEST_NAME): Likewise.
28482         * string/test-strcat.c (TEST_NAME): Likewise.
28483         * string/test-strchr.c (TEST_NAME): Likewise.
28484         * string/test-strcmp.c(TEST_NAME): Likewise.
28485         * string/test-strcpy.c (TEST_NAME): Likewise.
28486         * string/test-strcspn.c (TEST_NAME): Likewise.
28487         * string/test-strlen.c (TEST_NAME): Likewise.
28488         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28489         * string/test-strncmp.c (TEST_NAME): Likewise.
28490         * string/test-strncpy.c (TEST_NAME): Likewise.
28491         * string/test-strnlen.c (TEST_NAME): Likewise.
28492         * string/test-strpbrk.c (TEST_NAME): Likewise.
28493         * string/test-strrchr.c (TEST_NAME): Likewise.
28494         * string/test-strspn.c (TEST_NAME): Likewise.
28495         * string/test-strstr.c (TEST_NAME): Likewise.
28496         * string/test-bcopy-ifunc.c: New file.
28497         * string/test-bzero-ifunc.c: Likewise.
28498         * string/test-memccpy-ifunc.c: Likewise.
28499         * string/test-memchr-ifunc.c: Likewise.
28500         * string/test-memcmp-ifunc.c: Likewise.
28501         * string/test-memcpy-ifunc.c: Likewise.
28502         * string/test-memmem-ifunc.c: Likewise.
28503         * string/test-memmove-ifunc.c: Likewise.
28504         * string/test-mempcpy-ifunc.c: Likewise.
28505         * string/test-memset-ifunc.c: Likewise.
28506         * string/test-rawmemchr-ifunc.c: Likewise.
28507         * string/test-stpcpy-ifunc.c: Likewise.
28508         * string/test-stpncpy-ifunc.c: Likewise.
28509         * string/test-strcasecmp-ifunc.c: Likewise.
28510         * string/test-strcasestr-ifunc.c: Likewise.
28511         * string/test-strcat-ifunc.c: Likewise.
28512         * string/test-strchr-ifunc.c: Likewise.
28513         * string/test-strchrnul-ifunc.c: Likewise.
28514         * string/test-strcmp-ifunc.c: Likewise.
28515         * string/test-strcpy-ifunc.c: Likewise.
28516         * string/test-strcspn-ifunc.c: Likewise.
28517         * string/test-strlen-ifunc.c: Likewise.
28518         * string/test-strncasecmp-ifunc.c: Likewise.
28519         * string/test-strncat-ifunc.c: Likewise.
28520         * string/test-strncmp-ifunc.c: Likewise.
28521         * string/test-strncpy-ifunc.c: Likewise.
28522         * string/test-strnlen-ifunc.c: Likewise.
28523         * string/test-strpbrk-ifunc.c: Likewise.
28524         * string/test-strrchr-ifunc.c: Likewise.
28525         * string/test-strspn-ifunc.c: Likewise.
28526         * string/test-strstr-ifunc.c: Likewise.
28528         * debug/Makefile (tests-ifunc): New variable.
28529         (tests): Add $(tests-ifunc).
28530         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28531         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28532         * debug/test-stpcpy_chk-ifunc.c: New file.
28533         * debug/test-strcpy_chk-ifunc.c: Likewise.
28535 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28537         [BZ #13601]
28538         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28539         header is not read in.
28541 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28543         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28544         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28545         directly.  Pass built executable to script as
28546         $(built-program-cmd).
28547         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28548         $testprogram without using LD_LIBRARY_PATH and $ldso.
28550         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28551         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28552         $(rtld-installed-name).
28553         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28554         (rtld_installed_name): Likewise.
28555         (library_path): Likewise.
28556         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28557         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28558         $(run-program-prefix) to tst-tables.sh.
28559         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28560         it to run tst-table-from and tst-table-to.
28561         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28562         Pass it to tst-table.sh.
28563         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28564         $(run-program-prefix) to tst-gettext.sh.
28565         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28566         tst-translit.sh.
28567         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28568         tst-gettext2.sh.
28569         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28570         to run tst-gettext.
28571         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28572         to run tst-gettext2.
28573         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28574         to run tst-translit.
28575         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28576         $(run-program-prefix) to tst-mtrace.sh.
28577         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28578         to run tst-mtrace.
28579         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28580         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28581         $(rtld-installed-name).
28582         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28583         (rtld_installed_name): Likewise.
28584         (run_program_prefix): New variable.  Use it to run wordexp-test.
28586         * Makeconfig (ARCH): Remove all definitions.
28587         (machine): Likewise.
28588         [ARCH]: Remove conditional code.
28589         [!objdir]: Give error.
28590         [!objdir] (objpfx): Remove.
28591         [!objdir] (common-objpfx): Likewise.
28592         [!objdir] (common-objdir): Likewise.
28593         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28594         AC_CONFIG_FILES call.
28595         * configure: Regenerated.
28597         [BZ #13888]
28598         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28599         or TMPDIR.
28600         (testout): Likewise.
28602         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28603         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28604         $(rtld-installed-name).
28605         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28606         (rtld_installed_name): Likwise.
28607         (runit): Remove function.
28608         (run_getconf): New variable,  Use it for running getconf binary.
28610 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28612         [BZ #14716]
28613         * string/test-memmem.c (check_result): New function.
28614         (do_one_test): Use it.
28615         (check1): New function.
28616         (test_main): Use it.
28618 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28620         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28622 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28624         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28625         (_G_LSEEK64): Likewise.
28626         (_G_MMAP64): Likewise.
28627         (_G_FSTAT64): Likewise.
28628         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28629         (_G_LSEEK64): Likewise.
28630         (_G_MMAP64): Likewise.
28631         (_G_FSTAT64): Likewise.
28632         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28633         unconditional.  Call __mmap64 directly.
28634         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28635         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28636         __lseek64 directly.
28637         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28638         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28639         __mmap64 directly.
28640         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28641         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28642         __lseek64 directly.
28643         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28644         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28645         __lseek64 directly.
28646         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28647         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28648         __lseek64 directly.
28649         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28650         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28651         __fxstat64 directly.
28652         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28653         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28654         unconditional.
28655         (freopen64) [!_G_OPEN64]: Remove conditional code.
28656         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28657         unconditional.
28658         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28659         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28660         unconditional.
28661         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28662         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28663         unconditional.
28664         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28665         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28666         unconditional.
28667         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28668         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28669         unconditional.
28670         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28671         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28672         unconditional.
28673         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28674         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28675         unconditional.
28676         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28678 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28680         [BZ #12140]
28681         * manual/memory.texi (Malloc Tunable Parameters): Add note
28682         about free list pointers overwriting some perturb bytes.
28683         Wording suggested by Roland McGrath.
28685 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28687         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28688         (lgamma_test): Likewise.
28689         (tgamma_test): Likewise.
28691 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28693         [BZ #14700]
28694         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28695         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28697 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28699         * NEWS: Mention BZ #14716.
28700         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28701         when removing AVAILABLE1_USES_J macro.
28703 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28705         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28706         (__bswap_64): __uint64_t for unsigned 64-bit int.
28708 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28710         * include/string.h (memmem): Declare libc hidden alias.
28711         * string/memmem.c (memmem): Define libc hidden alias.
28712         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28713         __read, __close instead of open, read, close.
28715 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28718         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28719         global and hidden.
28720         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28721         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28722         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28723         Likewise.
28724         (__rawmemchr_sse2): Likewise.
28725         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28726         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28727         (__strchr_sse2): Likewise.
28728         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28729         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28730         (__strcasecmp_sse2): Likewise.
28731         (__strncasecmp_sse2): Likewise.
28732         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28733         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28734         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28735         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28736         (__strrchr_sse2): Likewise.
28737         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28738         ifunc-impl-list.c.
28739         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28742         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28743         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28744         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28745         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28746         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28747         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28748         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28749         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28750         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28751         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28752         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28753         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28754         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28755         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28756         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28757         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28758         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28759         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28760         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28761         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28762         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28763         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28764         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28765         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28766         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28767         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28768         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28770         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28771         global and hidden.
28772         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28773         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28774         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28775         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28776         Likewise.
28777         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28778         Likewise.
28779         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28780         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28781         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28782         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28783         ifunc-impl-list.c.
28784         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28785         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28786         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28787         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28788         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28789         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28790         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28791         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28792         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28793         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28794         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28795         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28796         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28797         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28798         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28800         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28801         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28802         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28803         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28805         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28806         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28807         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28808         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28809         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28810         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28811         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28812         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28813         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28814         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28815         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28816         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28817         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28818         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28819         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28820         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28821         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28822         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28823         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28824         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28826         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28827         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28828         * include/ifunc-impl-list.h: New file.
28829         * misc/ifunc-impl-list.c: Likewise.
28830         * misc/Makefile (routines): Add ifunc-impl-list.
28831         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28832         * string/test-string.h: Include <ifunc-impl-list.h>.
28833         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28834         TEST_NAME]: New variables.
28835         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28836         are defined.
28837         (test_init): Call __libc_ifunc_impl_list to initialize
28838         func_list if TEST_IFUNC and TEST_NAME are defined.
28840         * string/Makefile (strop-tests): Add bcopy and bzero.
28841         * string/test-bcopy.c: New file.
28842         * string/test-bzero.c: Likewise.
28843         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28844         defined.
28845         * string/test-memset.c: Support bzero test if TEST_BZERO is
28846         defined.
28847         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28848         __libc_memmove.
28849         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28850         __libc_memset.
28851         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28852         of memset.
28854 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28856         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28857         * configure: Regenerated.
28859         * Makeconfig (+link-static-before-libc): Don't include
28860         $(link-static-libc).
28862         * libio/libio.h (_IO_pos_t): Remove.
28864 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28866         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28867         McGrath.
28869 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28871         * crypt/crypt-entry.c: Include fips-private.h.
28872         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28873         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28874         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28875         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28877 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28879         * crypt/crypt-private.h: Include stdbool.h.
28880         (_ufc_setup_salt_r): Return bool.
28881         * crypt/crypt-entry.c: Include errno.h.
28882         (__crypt_r): Return NULL with EINVAL for bad salt.
28883         * crypt/crypt_util.c (bad_for_salt): New.
28884         (_ufc_setup_salt_r): Check that salt is long enough and within
28885         the specified alphabet.
28886         * crypt/badsalttest.c: New file.
28887         * crypt/Makefile (tests): Add it.
28888         ($(objpfx)badsalttest): New.
28890 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28892         * NEWS: Add entry for BZ #14602.
28894 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28896         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28897         type-generic.
28898         * math/libm-test.inc: Update comment listing what functions and
28899         macros are tested.
28900         (isgreater_test): New function.
28901         (isgreaterequal_test): Likewise.
28902         (isless_test): Likewise.
28903         (islessequal_test): Likewise.
28904         (islessgreater_test): Likewise.
28905         (isunordered_test): Likewise.
28906         (main): Call the new functions.
28908 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28910         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28911         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28912         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28913         * sysdeps/i386/configure: Regenerated.
28914         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28915         * sysdeps/mach/configure: Regenerated.
28916         * sysdeps/mach/hurd/configure: Regenerated.
28917         * sysdeps/powerpc/configure: Regenerated.
28918         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28919         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28920         * sysdeps/s390/s390-32/configure: Regenerated.
28921         * sysdeps/s390/s390-64/configure: Regenerated.
28922         * sysdeps/sh/configure: Regenerated.
28923         * sysdeps/sparc/configure: Regenerated.
28924         * sysdeps/unix/sysv/linux/configure: Regenerated.
28925         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28926         * sysdeps/x86_64/configure: Regenerated.
28928         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28929         defined.  Don't check if MAP is NULL.
28931 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28933         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28934         (_G_stat64): Likewise.
28935         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28936         (_G_stat64): Likewise.
28937         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28938         instead of struct _G_stat64.
28939         * libio/fileops.c (mmap_remap_check): Likewise.
28940         (decide_maybe_mmap): Likewise.
28941         (_IO_new_file_seekoff): Likewise.
28942         (_IO_file_stat): Likewise.
28943         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28944         _G_off64_t.
28945         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28946         instead of struct _G_stat64.
28947         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28949 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28951         [BZ #14602]
28952         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28953         Replace with ...
28954         (CHECK_EOL): New macro.
28955         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28956         CHECK_EOL.
28957         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28958         Replace with CHECK_EOL.
28959         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28960         Replace with CHECK_EOL.
28962 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28964         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28965         type-generic.
28966         * math/libm-test.inc: Update comment listing what functions and
28967         macros are tested.
28968         (finite_test): New function.
28969         (isinf_test): Likewise.
28970         (isnan_test): Likewise.
28971         (fpclassify_test): Test subnormal input.
28972         (isfinite_test): Likewise.
28973         (isnormal_test): Likewise.
28974         (main): Call the new functions.
28976 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28978         [BZ #14660]
28979         * Makerules (%.dynsym): Force C locale when running
28980         $(OBJDUMP) --dynamic-syms.
28982 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28984         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28985         <stdint.h>.
28987 2012-10-06  David S. Miller  <davem@davemloft.net>
28989         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28990         upper 32-bits of the length value in %o2 since we use branch-on-register
28991         tests which consider the entire 64-bit register.
28993 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28995         * string/test-strstr.c (check2): Add a test for page boundary.
28997 2012-10-05  David S. Miller  <davem@davemloft.net>
28999         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29000         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29001         file.
29002         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29003         sysdep_routines.
29004         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29005         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29006         and bzero when HWCAP_SPARC_CRYPTO is present.
29008 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29010         [BZ #14602]
29011         * string/test-strstr.c (check2): New function.
29012         (test_main): Call check2.
29014         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29015         and bug-strchr1.
29016         * string/bug-strcasestr1.c (do_test): Moved to ...
29017         * string/test-strcasestr.c (check1): Here.  New function.
29018         (do_one_test): Break out result checking code into ...
29019         (check_result): This.  New function.
29020         (do_one_test): Call check_result.
29021         (test_main): Call check1.
29022         * string/bug-strchr1.c (do_test): Moved to ...
29023         * string/test-strchr.c (check1): Here.  New function.
29024         (do_one_test): Break out result checking code into ...
29025         (check_result): This.  New function.
29026         (do_one_test): Call check_result.
29027         (test_main): Call check1.
29028         * string/bug-strstr1.c (main): Moved to ...
29029         * string/test-strstr.c (check1): Here.  New function.
29030         (do_one_test): Break out result checking code into ...
29031         (check_result): This.  New function.
29032         (do_one_test): Call check_result.
29033         (test_main): Call check1.
29034         * string/bug-strcasestr1.c: Removed.
29035         * string/bug-strchr1.c: Likewise.
29036         * string/bug-strstr1.c: Likewise.
29038         * elf/Makefile (dl-routines): Add hwcaps.
29039         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29040         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29041         (_dl_important_hwcaps): Moved to ...
29042         * elf/dl-hwcaps.c: Here.  New file.
29043         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29045         [BZ #14557]
29046         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29047         if IS_IN_rtld isn't defined.
29049         * elf/dl-support.c (_dl_sysinfo_map): New.
29050         Include "get-dynamic-info.h" and "setup-vdso.h".
29051         (_dl_non_dynamic_init): Call setup_vdso.
29052         * elf/dynamic-link.h: Don't include <assert.h>.
29053         (elf_get_dynamic_info): Moved to ...
29054         * elf/get-dynamic-info.h: Here.  New file.
29055         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29056         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29057         * elf/setup-vdso.h: Here.  New file.
29058         * elf/rtld.c: Include "setup-vdso.h".
29059         (dl_main): Call setup_vdso.
29061 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29063         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29064         creal in comment listing functions tested.  List finite, isinf,
29065         isnan, isless, islessequal, isgreater, isgreaterequal,
29066         islessgreater, isunordered, lgamma_r and pow10 as functions and
29067         macros not tested.  Mention which functions not tested are aliases
29068         for other functions.  Fix typo.  Note that signs of NaNs are not
29069         tested.
29071         * scripts/config.guess: Update from config.git.
29072         * scripts/config.sub: Likewise.
29074 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29076         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29077         * misc/madvise.c (madvise): Renamed to __madvise.
29078         Make madvise a weak alias.
29079         * include/sys/mman.h: Declare __madvise.
29080         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29081         * sysdeps/unix/syscalls.list
29082         (madvise): Make __madvise the strong name, and madvise a weak alias.
29083         * sysdeps/unix/sysv/linux/syscalls.list
29084         (madvise, mmap): Remove redundant entries.
29085         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29086         * malloc/malloc.c (mtrim): Likewise.
29087         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29089 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29091         * sysdeps/mach/hurd/dl-cache.c: File removed.
29092         * config.h.in (USE_LDCONFIG): New #undef.
29093         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29094         * configure: Regenerated.
29095         * elf/Makefile (dl-routines): Add dl-cache only under
29096         [$(use-ldconfig) = yes].
29097         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29098         cache on [USE_LDCONFIG].
29099         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29100         [USE_LDCONFIG].
29101         * elf/rtld.c (dl_main): Likewise.
29103 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29105         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29106         _SC_LEVEL4_CACHE_LINESIZE.
29108 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29110         * sysdeps/unix/bsd/confstr.h: File removed.
29112 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29114         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29115         sys/sdt-config.h.
29117 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29119         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29120         Make 'mapoff' field ElfW(Off) rather than off_t.
29122 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29124         * nscd/Makefile: Remove nscd-cflags and all its users.
29125         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29126         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29128         [BZ #10631]
29129         * malloc.c (malloc_printerr): Clarify error message.
29131 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29133         [BZ #14648]
29134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29135         Set bit_FMA_Usable if FMA is supported.
29136         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29137         macro.
29138         (bit_FMA4_Usable): Updated.
29139         (index_FMA_Usable): New macro.
29140         (CPUID_FMA): Likewise
29141         (HAS_FMA): Defined with bit_FMA_Usable.
29143 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29145         * bits/types.h (__swblk_t): Type removed.
29146         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29147         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29149         (__SWBLK_T_TYPE): Likewise.
29150         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29151         (__SWBLK_T_TYPE): Likewise.
29152         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29153         (__SWBLK_T_TYPE): Likewise.
29154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29155         (__SWBLK_T_TYPE): Likewise.
29157 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29158             Honza Horak <hhorak@redhat.com>
29160         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29161         (xdr_mapname): Use YPMAXMAP as maxsize.
29162         (xdr_peername): Use YPMAXPEER as maxsize.
29163         (xdr_keydat): Use YPAXRECORD as maxsize.
29164         (xdr_valdat): Use YPMAXRECORD as maxsize.
29166 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29168         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29170         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29171         * csu/init-first.c: ... here.
29172         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29173         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29174         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29175         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29176         * sysdeps/i386/init-first.c: File removed.
29177         * sysdeps/sh/init-first.c: File removed.
29179 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29181         [BZ #14645]
29182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29183         if x * y might underflow to zero and z is zero.
29184         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29185         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29186         * math/libm-test.inc (min_subnorm_value): New variable.
29187         (fma_test): Add more tests.
29188         (fma_test_towardzero): Likewise.
29189         (fma_test_downward): Likewise
29190         (fma_test_upward): Likewise.
29191         (initialize): Set min_subnorm_value.
29193 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29195         [BZ #14638]
29196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29197         0 + 0.
29198         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29199         mode for addition resulting in exact zero.
29200         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29202         exact 0 + 0.
29203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29205         * math/libm-test.inc (fma_test): Add more tests.
29206         (fma_test_towardzero): New function.
29207         (fma_test_downward): Likewise.
29208         (fma_test_upward): Likewise.
29209         (main): Call the new functions.
29211 2012-09-28  David S. Miller  <davem@davemloft.net>
29213         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29215 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29217         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29218         instead of SIGALRM.
29220         * sysdeps/gnu/_G_config.h: Moved to ...
29221         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29222         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29223         * sysdeps/generic/_G_config.h: ... here.
29225         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29227         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29229         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29230         Conditionalize target on [libnss_test1.so-version].
29232         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29234         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29235         (elfobjdir): Move out of conditionals.
29237         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29238         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29239         (__nss_lookup_function): Conditionalize label remove_from_tree on
29240         [!DO_STATIC_NSS || SHARED], matching its only use.
29242 2012-09-28  David S. Miller  <davem@davemloft.net>
29244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29245         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29246         file.
29247         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29248         sysdep_routines.
29249         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29250         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29251         when HWCAP_SPARC_CRYPTO is present.
29253 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29255         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29257 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29259         [BZ #6530]
29260         * stdio-common/vfprintf.c (process_string_arg): Revert
29261         2000-07-22 change.
29263 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29265         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29266         for testcase.
29267         * stdio-common/tst-sprintf.c: Include <locale.h>
29268         (main): Test sprintf's handling of incomplete multibyte
29269         characters.
29271 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29273         * elf/dl-runtime.c (VERSYMIDX): Removed.
29274         * elf/dl-version.c (VERSYMIDX): Likewise.
29275         * elf/do-rel.h (VERSYMIDX): Likewise.
29276         (VALIDX): Likewise.
29277         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29278         * elf/rtld.c (VALIDX): Likewise.
29279         (ADDRIDX): Likewise.
29280         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29281         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29282         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29283         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29284         (VALIDX): Likewise.
29285         (ADDRIDX): Likewise.
29287 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29289         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29291 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29293         [BZ #11438]
29294         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29295         to global scope.
29296         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29297         addresses are in the same scope as 192.0.2/24.
29298         * posix/gai.conf: Document new scope table defaults.
29300 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29302         [BZ #5298]
29303         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29304         for ftell.  Compute offsets from write pointers instead.
29305         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29307 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29309         [BZ #14543]
29310         * libio/Makefile (tests): New test case tst-fseek.
29311         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29312         combination works in wide mode.
29313         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29314         state when the external buffer state changes.
29316 2012-09-27  David S. Miller  <davem@davemloft.net>
29318         [BZ #14376]
29319         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29320         pass reloc->r_addend in as the 'high' argument to
29321         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29325 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29327         * rt/tst-aio2.c: Include <pthread.h>.
29328         * rt/tst-aio3.c: Likewise.
29330 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29332         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29334 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29336         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29337         contents on [SHARED].
29339 2012-09-26  Marek Polacek  <polacek@redhat.com>
29341         [BZ #14530]
29342         [BZ #13741]
29343         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29344         for C++ and GCC <4.3 as well as for non GCC compilers.
29346 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29350 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29352         * Makefile.in (all, install): Declare with .PHONY.
29353         Reported by Michael Hope <michael.hope@linaro.org>.
29355 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29357         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29358         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29359         system header.
29360         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29361         Likewise.
29362         (sydep_routines): Add the new and the internal functions.
29363         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29364         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29366         (GLIBC_2.17): Add the new function.
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29368         (GLIBC_2.17): Likewise.
29369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29370         (GLIBC_2.17): Likewise.
29371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29372         (GLIBC_2.17): Likewise.
29373         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29375 2012-09-25  Alan Modra  <amodra@gmail.com>
29377         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29378         Add release barrier before setting once_control to say
29379         initialisation is done.  Add hints on lwarx.  Use macro in
29380         place of isync.
29381         (clear_once_control): Add release barrier.
29383 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29385         [BZ #13629]
29386         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29387         specially.
29388         * math/s_clog10.c (__clog10): Likewise.
29389         * math/s_clog10f.c (__clog10f): Likewise.
29390         * math/s_clog10l.c (__clog10l): Likewise.
29391         * math/s_clogf.c (__clogf): Likewise.
29392         * math/s_clogl.c (__clogl): Likewise.
29393         * math/Makefile (libm-calls): Add x2y2m1.
29394         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29395         (__x2y2m1): Likewise.
29396         (__x2y2m1l): Likewise.
29397         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29398         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29399         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29400         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29401         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29402         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29403         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29404         * sysdeps/i386/fpu/libm-test-ulps: Update.
29405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29407         [BZ #14621]
29408         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29409         int as type of variable DEPTH.
29410         (glob): Use size_t instead of int as type of variables NEWCOUNT
29411         and OLD_PATHC.
29413 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29415         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29416         Add s_sincosf-sse2.
29417         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29418         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29419         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29420         macros for using routine as __sincosf_ia32.
29421         Use macro for function declaration and weak_alias.
29422         * sysdeps/i386/fpu/libm-test-ulps: Update.
29424         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29427         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29428         subnormal argument.
29429         * math/s_cexpf.c (__cexpf): Likewise.
29430         * math/s_csinf.c (__csinf): Likewise.
29431         * math/s_csinhf.c (__csinhf): Likewise.
29432         * math/s_ctanf.c (__ctanf): Likewise.
29433         * math/s_ctanhf.c (__ctanhf): Likewise.
29434         * math/s_ccosh.c (__ccoshf): Likewise.
29435         * math/s_cexp.c (__cexpl): Likewise.
29436         * math/s_csin.c (__csin): Likewise.
29437         * math/s_csinh.c (__csinh): Likewise.
29438         * math/s_ctan.c (__ctan): Likewise.
29439         * math/s_ctanh.c (ctanh): Likewise.
29440         * math/s_ccoshl.c (__ccoshl): Likewise.
29441         * math/s_cexpl.c (__cexpl): Likewise.
29442         * math/s_csinl.c (__csinl): Likewise.
29443         * math/s_csinhl.c (__csinhl): Likewise.
29444         * math/s_ctanl.c (__ctanl): Likewise.
29445         * math/s_ctanhl.c (__ctanhl): Likewise.
29447 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29449         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29450         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29451         (_IO_off_t): Define to __off_t, not _G_off_t.
29452         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29453         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29454         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29455         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29456         type of __dummy and __dummy2 fields.
29457         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29458         (_G_ssize_t): Likewise.
29459         (_G_off_t): Likewise.
29460         (_G_pid_t): Likewise.
29461         (_G_uid_t): Likewise.
29462         (_G_wchar_t): Likewise.
29463         (_G_wint_t): Likewise.
29464         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29465         (_G_ssize_t): Likewise.
29466         (_G_off_t): Likewise.
29467         (_G_pid_t): Likewise.
29468         (_G_uid_t): Likewise.
29469         (_G_wchar_t): Likewise.
29470         (_G_wint_t): Likewise.
29471         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29472         (_G_ssize_t): Likewise.
29473         (_G_off_t): Likewise.
29474         (_G_pid_t): Likewise.
29475         (_G_uid_t): Likewise.
29476         (_G_wchar_t): Likewise.
29477         (_G_wint_t): Likewise.
29479 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29481         * malloc/arena.c: Include malloc-sysdep.h.
29482         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29483         is sufficient to shrink the heap or an unmap is needed.
29484         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29485         new function check_may_shrink_heap.
29486         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29487         new function check_may_shrink_heap.
29489 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29491         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29492         comments.
29494 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29496         * catgets/test-gencat.sh: Add "set -e".
29497         * elf/tst-pathopt.sh: Likewise.
29498         * grp/tst_fgetgrent.sh: Likewise.
29499         * iconvdata/run-iconv-test.sh: Likewise.
29500         * intl/tst-gettext.sh: Likewise.
29501         * intl/tst-gettext2.sh: Likewise.
29502         * intl/tst-gettext4.sh: Likewise.
29503         * intl/tst-gettext6.sh: Likewise.
29504         * intl/tst-translit.sh: Likewise.
29505         * io/ftwtest-sh: Likewise.
29506         * libio/test-freopen.sh: Likewise.
29507         * malloc/tst-mtrace.sh: Likewise.
29508         * posix/globtest.sh: Likewise.
29509         * posix/tst-getconf.sh: Likewise.
29510         * posix/wordexp-tst.sh: Likewise.
29511         * stdio-common/tst-printf.sh: Likewise.
29512         * stdio-common/tst-unbputc.sh: Likewise.
29513         * stdlib/tst-fmtmsg.sh: Likewise.
29514         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29515         * catgets/Makefile: Do not specify -e option when running
29516         testsuite shell scripts.
29517         * elf/Makefile: Likewise.
29518         * grp/Makefile: Likewise.
29519         * iconvdata/Makefile: Likewise.
29520         * intl/Makefile: Likewise.
29521         * io/Makefile: Likewise.
29522         * libio/Makefile: Likewise.
29523         * malloc/Makefile: Likewise.
29524         * posix/Makefile: Likewise.
29525         * stdio-common/Makefile: Likewise.
29526         * stdlib/Makefile: Likewise.
29527         * sysdeps/x86_64/Makefile: Likewise.
29529         * io/ftwtest-sh: Add copyright header.
29530         * posix/globtest.sh: Likewise.
29531         * posix/tst-getconf.sh: Likewise.
29532         * posix/wordexp-tst.sh: Likewise.
29533         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29535 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29537         [BZ #13679]
29538         * Makeconfig (+link): Defined as $(+link-static) if
29539         $(build-shared) isn't yes.
29540         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29541         isn't yes.
29542         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29544         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29546         [BZ #14562]
29547         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29548         new chunk size with MALLOC_ALIGN_MASK.
29550 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29552         [BZ #5044]
29553         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29554         <rounding-mode.h>.
29555         (__printf_fphex): Determine rounding using get_rounding_mode and
29556         round_away.
29557         * stdio-common/tst-printf-round.c (struct hex_test): New
29558         structure.
29559         (hex_tests): New variable.
29560         (test_hex_in_one_mode): New function.
29561         (do_test): Also run tests for hex float output.
29563 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29565         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29566         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29567         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29568         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29569         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29570         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29571         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29572         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29574 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29576         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29577         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29578         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29579         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29581 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29583         [BZ #14579]
29584         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29585         mode only.
29586         * elf/tst-rtld-load-self.sh: New test.
29587         * elf/Makefile: Run it.
29589 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29591         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29592         (tst-writev-ENV): Remove.
29593         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29595 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29597         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29599 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29601         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29602         unconditional.
29603         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29604         Likewise.
29605         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29606         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29607         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29608         Likewise.
29610 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29612         [BZ #14587]
29613         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29614         * config.make.in (have-cpp-asm-debuginfo): Removed.
29615         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29616         * configure: Regenerated.
29618 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29620         [BZ #5044]
29621         * stdio-common/printf_fp.c: Include <stdbool.h> and
29622         <rounding-mode.h>.
29623         (___printf_fp): Determine rounding using get_rounding_mode and
29624         round_away.
29625         * stdio-common/tst-printf-round.c: New file.
29626         * stdio-common/Makefile (tests): Add tst-printf-round.
29627         (link-libm): New variable.
29628         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29630 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29632         [BZ #14576]
29633         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29634         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29635         Likewise.
29636         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29637         Likewise.
29639 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29641         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29642         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29643         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29644         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29646 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29648         [BZ #14518]
29649         * include/rounding-mode.h: New file.
29650         * sysdeps/generic/get-rounding-mode.h: Likewise.
29651         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29652         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29653         (MAX_VALUE): New macro.
29654         (MIN_VALUE): Likewise.
29655         (overflow_value): New function.
29656         (underflow_value): Likewise.
29657         (round_and_return): Use overflow_value and underflow_value to
29658         determine return values in overflow and underflow cases.  Use
29659         round_away to determine rounding depending on rounding mode.
29660         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29661         determine return values in overflow and underflow cases.
29662         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29663         (struct test_results): New structure.
29664         (struct test): Use struct test_results to store expected results
29665         for all rounding modes.
29666         (TEST): Include expected results for all rounding modes.
29667         (test_in_one_mode): New function.
29668         (do_test): Use test_in_one_mode to compute and check results.
29669         Check results for all rounding modes.
29670         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29671         $(link-libm).
29673 2012-12-09  Allan McRae  <allan@archlinux.org>
29675         * sysdeps/i386/fpu/libm-test-ulps: Update
29677 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29679         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29680         (_G_int32_t): Likewise.
29681         (_G_uint16_t): Likewise.
29682         (_G_uint32_t): Likewise.
29683         (_G_HAVE_BOOL): Likewise.
29684         (_G_HAVE_ATEXIT): Likewise.
29685         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29686         (_G_HAVE_IO_FILE_OPEN): Likewise.
29687         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29688         (_G_int32_t): Likewise.
29689         (_G_uint16_t): Likewise.
29690         (_G_uint32_t): Likewise.
29691         (_G_HAVE_BOOL): Likewise.
29692         (_G_HAVE_ATEXIT): Likewise.
29693         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29694         (_G_HAVE_IO_FILE_OPEN): Likewise.
29695         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29696         (_G_int32_t): Likewise.
29697         (_G_uint16_t): Likewise.
29698         (_G_uint32_t): Likewise.
29699         (_G_HAVE_BOOL): Likewise.
29700         (_G_HAVE_ATEXIT): Likewise.
29701         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29702         (_G_HAVE_IO_FILE_OPEN): Likewise.
29704 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29706         * csu/libc-tls.c: Update copyright years.
29708 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29710         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29711         [!_G_USING_THUNKS]: Remove conditional code.
29712         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29713         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29715         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29716         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29717         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29718         (_G_VTABLE_LABEL_PREFIX): Likewise.
29719         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29720         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29721         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29722         (_G_VTABLE_LABEL_PREFIX): Likewise.
29723         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29724         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29725         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29726         (_G_VTABLE_LABEL_PREFIX): Likewise.
29727         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29729 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29731         * libio/Makefile: Include ../Makeconfig before tests.
29732         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29733         only if $(build-shared) is yes.
29735         * iconv/gconv_db.c: Update copyright years.
29737 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29739         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29740         unwind info if defined PIC. Fix special cases description.
29741         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29743         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29744         DP_HI_MASK entry.
29745         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29747 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29749         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29751         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29752         is NULL.
29754         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29755         (LDLIBS-tst-chk4): This.
29756         (LDFLAGS-tst-chk5): Renamed to ...
29757         (LDLIBS-tst-chk5): This.
29758         (LDFLAGS-tst-chk6): Renamed to ...
29759         (LDLIBS-tst-chk6): This.
29760         (LDFLAGS-tst-lfschk4): Renamed to ...
29761         (LDLIBS-tst-lfschk4): This.
29762         (LDFLAGS-tst-lfschk5): Renamed to ...
29763         (LDLIBS-tst-lfschk5): This.
29764         (LDFLAGS-tst-lfschk6): Renamed to ...
29765         (LDLIBS-tst-lfschk6): This.
29767         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29768         on $(common-objpfx)soversions.mk.
29770 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29772         [BZ #10014]
29773         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29774         example host name.
29776 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29778         * malloc/arena.c (arena_get_retry): New function that gets
29779         another arena for the caller to try its request on.
29780         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29781         current arena cannot fulfill the request.
29782         (__libc_memalign): Likewise.
29783         (__libc_memalign): Likewise.
29784         (__libc_pvalloc): Likewise.
29785         (__libc_calloc): Likewise.
29787 2012-09-05  John Tobey  <john.tobey@gmail.com>
29789         [BZ #13542]
29790         * manual/arith.texi (Operations on Complex): Fix description
29791         of carg branch cut.
29793 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29795         [BZ #10014]
29796         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29797         host name.
29799         [BZ #10038]
29800         * manual/memory.texi (Memory): Make order of menu items match
29801         order of sections.
29803 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29805         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29806         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29807         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29809 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29811         * csu/libc-tls.c (static_dtv): Renamed to ...
29812         (_dl_static_dtv): This.  Make it global.
29813         (_dl_initial_dtv): Removed.
29814         (__libc_setup_tls): Updated.
29815         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29816         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29817         DL_INITIAL_DTV.
29819 2012-09-06  Petr Machata  <pmachata@redhat.com>
29821         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29822         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29823         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29824         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29826 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29828         [BZ #14545]
29829         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29830         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29831         freeing dtv[-1].
29833 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29835         [BZ #14544]
29836         * Makeconfig (link-static-before-libc): Replace $(+prector)
29837         with $(+prectorT).
29838         (link-static-after-libc): Replace $(+postctor) with
29839         $(+postctorT).
29840         (link-bounded): Replace $(+prector)/$(+postctor) with
29841         $(+prectorT)/$(+postctorT).
29842         (+prectorT): New macro.
29843         (+postctorT): Likewise.
29845 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29847         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29848         (round_str): Handle values above the maximum for IBM long double
29849         as inexact.
29850         * stdlib/tst-strtod-round.c (tests): Regenerated.
29852 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29854         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29855         assembler flag.
29856         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29857         zarch_nohighgprs around the zarch optimized routines.
29858         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29859         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29860         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29861         for zarch.
29863 2012-09-05  David S. Miller  <davem@davemloft.net>
29865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29867         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29868         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29869         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29870         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29871         entries.
29873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29875         * malloc/arena.c: Fold copyright years.
29876         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29878 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29880         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29882 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29884         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29886 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29888         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29889         change internal state upon failure.
29891 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29893         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29894         * malloc/memusage.c (mmap): Likewise.
29895         (mmap64, mremap): Likewise.  Adjust name in comment.
29897 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29899         * libio/fileops.c: Fix typos in comments.
29900         * libio/oldfileops.c: Likewise.
29901         * libio/wfileops.c: Likewise.
29903 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29905         [BZ #1349]
29906         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29907         (tst-malloc-usable-ENV): Set environment for test case.
29908         * malloc/hooks.c (malloc_check_get_size): New function to get
29909         requested size.
29910         * malloc/malloc.c (musable): Use malloc_check_get_size.
29911         * malloc/tst-malloc-usable.c: New test case.
29913 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29915         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29917 2012-09-05  Allan McRae  <allan@archlinux.org>
29919         [BZ #13966]
29920         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29921         determine header location.
29922         * configure: Regenerated.
29924 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29926         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29927         float format.
29928         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29929         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29930         format.
29931         (test): Regenerate.
29933 2012-09-04  David S. Miller  <davem@davemloft.net>
29935         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29936         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29937         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29939 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29941         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29942         failures.
29944         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29946 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29948         [BZ #9914]
29949         * libio/iogetdelim.c: Include <limits.h>.
29950         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29951         + len + 1 would overflow.
29953 2012-09-03  Andreas Jaeger  <aj@suse.de>
29955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29956         * sysdeps/i386/fpu/libm-test-ulps: Update.
29958 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29960         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29961         Add s_sinf-sse2, s_conf-sse2.
29963         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29964         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29965         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29966         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29968         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29969         for using routine as __sinf_ia32.
29970         Use macro for function declaration and weak_alias.
29971         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29972         for using routine as __cosf_ia32.
29973         Use macro for function declaration and weak_alias.
29975         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29976         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29978         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29979         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29982         * math/libm-test.inc (cos_test): Add more test cases.
29983         (sin_test): Likewise.
29984         (sincos_test): Likewise.
29986 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29988         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29989         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29990         hidden.
29991         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29993 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29995         [BZ #14538]
29996         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29997         first element of the GOT.
29998         (elf_machine_load_address): Return the difference between
29999         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30001 2012-09-01  Allan McRae  <allan@archlinux.org>
30003         [BZ #13412]
30004         * configure.in (AWK): Require gawk version 3.0 or later.
30005         * configure: Regenerated.
30007 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30009         * sysdeps/unix/sysv/linux/kernel-features.h
30010         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30011         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30012         [__NR_clock_getres]: Make code unconditional.
30013         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30014         (clock_getcpuclockid): Remove code left unreachable by removal of
30015         conditionals.
30016         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30017         code unconditional.
30018         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30019         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30020         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30021         Make code unconditional.
30022         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30023         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30024         * sysdeps/unix/sysv/linux/clock_settime.c
30025         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30026         conditional code.
30027         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30028         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30030 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30032         [BZ #14476]
30033         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30034         scripts/test-installation.pl.
30036         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30037         and $ld_so_version if it is set.
30039 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30041         [BZ #14516]
30042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30043         failure if reading from procfs failed.
30044         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30046 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30048         * sysdeps/unix/sysv/linux/kernel-features.h
30049         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30050         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30051         Remove conditional code.
30052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30053         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30054         Remove conditional code.
30055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30056         * sysdeps/unix/sysv/linux/i386/fxstat.c
30057         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30059         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30060         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30061         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30062         * sysdeps/unix/sysv/linux/i386/lxstat.c
30063         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30064         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30065         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30066         Remove conditional code.
30067         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30068         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30069         Remove conditional code.
30070         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30071         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30072         <kernel-features.h>.
30073         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30074         Remove.
30075         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30076         Remove conditional code.
30077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30078         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30079         Remove conditional.
30081 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30083         [BZ #5400]
30084         * NEWS: Add fixed bug number.
30086 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30088         [BZ #14519]
30089         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30090         underflowing exponent in case of negative sign.
30091         * stdlib/tst-strtod-round-data: Add more tests.
30092         * stdlib/tst-strtod-round.c (tests): Regenerated.
30094         [BZ #3479]
30095         * stdlib/strtod_l.c (NDIG): Remove.
30096         (HEXNDIG): Likewise.
30097         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30098         smallest representable value.
30099         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30100         lie within an exact representation of 1/2 ulp of the result.
30101         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30102         unconditionally.
30103         (TENS_P9_IDX): Define unconditionally.
30104         (TENS_P9_SIZE): Likewise.
30105         (TENS_P10_IDX): Likewise.
30106         (TENS_P10_SIZE): Likewise.
30107         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30108         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30109         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30110         entries for 10^2^13 and 10^2^14.
30111         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30112         (TENS_P13_IDX): Define.
30113         (TENS_P13_SIZE): Likewise.
30114         (TENS_P14_IDX): Likewise.
30115         (TENS_P14_SIZE): Likewise.
30116         (_fpioconst_pow10): Change array size to
30117         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30118         unconditional.
30119         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30120         1024]: Add entries for 10^2^13 and 10^2^14.
30121         [LAST_POW10 > _LAST_POW10]: Remove #error.
30122         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30123         (_fpioconst_pow10): Change array size to
30124         FPIOCONST_POW10_ARRAY_SIZE.
30125         * stdlib/gen-fpioconst.c: New file.
30126         * stdlib/gen-tst-strtod-round.c: Likewise.
30127         * stdlib/tst-strtod-round-data: Likewise.
30128         * stdlib/tst-strtod-round.c: Likewise.
30129         * stdlib/Makefile (tests): Add tst-strtod-round.
30131         [BZ #14459]
30132         * stdlib/strtod_l.c: Include <stdint.h>.
30133         (NDEBUG): Do not define.
30134         (round_and_return): Change EXPONENT parameter to type intmax_t.
30135         Rearrange calculations to avoid internal overflow possibilities.
30136         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30137         Rearrange calculations to avoid internal overflow possibilities.
30138         Assert that number fits inside MPNSIZE limbs.
30139         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30140         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30141         calculations and add assertions to avoid internal overflow
30142         possibilities.  Add casts to avoid signed/unsigned operations.
30143         * stdlib/tst-strtod-overflow.c: New file.
30144         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30146 2012-08-25  Marek Polacek  <polacek@redhat.com>
30148         * time/time.h: Fix some typos in comments.
30150 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30152         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30153         * posix/tst-rfc3484-2.c: Likewise.
30154         * posix/tst-rfc3484-3.c: Likewise.
30156 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30158         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30159         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30161 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30163         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30164         #include of fxstatat64.c.
30166 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30168         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30169         * shadow/getspent_r.c: Likewise.
30170         * shadow/getspnam.c: Likewise.
30171         * shadow/getspnam_r.c: Likewise.
30172         * gshadow/getsgent.c: Likewise.
30173         * gshadow/getsgent_r.c: Likewise.
30174         * gshadow/getsgnam.c: Likewise.
30175         * gshadow/getsgnam_r.c: Likewise.
30176         * inet/getnetbyad.c: Likewise.
30177         * inet/getnetbyad_r.c: Likewise.
30178         * inet/getnetbynm.c: Likewise.
30179         * inet/getnetbynm_r.c: Likewise.
30180         * inet/getnetent.c: Likewise.
30181         * inet/getnetent_r.c: Likewise.
30182         * inet/getproto.c: Likewise.
30183         * inet/getproto_r.c: Likewise.
30184         * inet/getprtent.c: Likewise.
30185         * inet/getprtent_r.c: Likewise.
30186         * inet/getprtname.c: Likewise.
30187         * inet/getprtname_r.c: Likewise.
30188         * inet/getrpcbyname.c: Likewise.
30189         * inet/getrpcbyname_r.c: Likewise.
30190         * inet/getrpcbynumber.c: Likewise.
30191         * inet/getrpcbynumber_r.c: Likewise.
30192         * inet/getrpcent.c: Likewise.
30193         * inet/getrpcent_r.c: Likewise.
30194         * inet/getaliasent.c: Likewise.
30195         * inet/getaliasent_r.c: Likewise.
30196         * inet/getaliasname.c: Likewise.
30197         * inet/getaliasname_r.c: Likewise.
30198         * nscd/getgrgid_r.c: Likewise.
30199         * nscd/getgrnam_r.c: Likewise.
30200         * nscd/gethstbyad_r.c: Likewise.
30201         * nscd/gethstbynm3_r.c: Likewise.
30202         * nscd/getpwnam_r.c: Likewise.
30203         * nscd/getpwuid_r.c: Likewise.
30204         * nscd/getsrvbynm_r.c: Likewise.
30205         * nscd/getsrvbypt_r.c: Likewise.
30206         * nscd/gai.c: Likewise.
30208         * configure.in (build_nscd): New substituted variable, set
30209         by --disable-build-nscd and defaults to $use_nscd.
30210         * configure: Regenerated.
30211         * config.make.in (build-nscd): New substituted variable.
30212         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30213         Change conditional to require [$(build-nscd) = yes] as well.
30214         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30216         [BZ# 13696]
30217         * configure.in (use_nscd): New substituted variable, set by
30218         --disable-nscd.  If enabled, define USE_NSCD.
30219         * configure: Regenerated.
30220         * config.h.in: Add USE_NSCD.
30221         * config.make.in (use-nscd): New substituted variable.
30222         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30223         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30224         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30225         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30226         (CFLAGS-getgrnam_r.c): Likewise.
30227         (CFLAGS-initgroups.c): Likewise.
30228         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30229         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30230         Variables removed.
30231         * inet/getnetgrent_r.c
30232         (nscd_setnetgrent): New function, broken out of ...
30233         (setnetgrent): ... here.  Call it.
30234         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30235         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30236         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30237         * nscd/Makefile (routines, aux): Move definitions after include of
30238         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30239         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30240         Conditionalize on [USE_NSCD].
30241         (is_nscd, nscd_init_cb): Likewise.
30242         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30243         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30244         * nss/nss_db/db-init.c: Likewise.
30245         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30246         [USE_NSCD].
30247         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30248         (make_request): Use it.
30249         (cache_valid_p): New function.
30250         (__check_pf): Use it.
30251         * NEWS: Add item for --disable-nscd.
30253 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30255         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30256         to support sed >= 4.2.1-20-ga9bf076.
30257         * configure: Regenerated.
30259 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30261         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30262         Conditionalize whole body on [IREL].
30264 2012-08-22  Jeff Law <law@redhat.com>
30266         [BZ #14505]
30267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30268         if the family is PF_UNSPEC.
30270 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30272         * Makerules (lib-version): Rename from V.
30273         (install-lib-nosubdir): Change V to lib-version.
30275 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30277         [BZ #14252]
30278         * powerpc32/power6/wcschr.c: New file.
30279         * powerpc32/power6/wcscpy.c: New file.
30280         * powerpc32/power6/wcsrchr.c: New file.
30281         * powerpc64/power6/wcschr.c: New file.
30282         * powerpc64/power6/wcscpy.c: New file.
30283         * powerpc64/power6/wcsrchr.c: New file.
30285 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30287         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30288         (two_way_short_needle): Use it.
30289         * string/strstr.c (AVAILABLE1_USES_J): Define.
30290         * string/strcasestr.c: Likewise.
30292         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30293         array references.
30294         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30296         [BZ #11607]
30297         * NEWS: Add an entry.
30298         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30299         define their defaults.
30300         (two_way_short_needle): Detect end-of-string on-the-fly.
30301         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30302         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30303         * string/bug-strcasestr1.c: New test.
30304         * string/Makefile: Run it.
30306 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30308         [BZ #11607]
30309         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30310         the first character.
30312 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30314         * csu/elf-init.c (__libc_csu_irel): Function removed.
30315         * csu/libc-start.c (apply_irel): New function.
30316         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30318 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30320         * sysdeps/unix/sysv/linux/kernel-features.h
30321         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30322         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30323         <kernel-features.h>.
30324         [__NR_fadvise64_64]: Make code unconditional.
30325         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30326         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30327         !__NR_fadvise64_64)]: Likewise.
30328         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30329         !__NR_fadvise64_64))]: Likewise.
30330         [__NR_fadvise64]: Make code unconditional.
30331         [!__NR_fadvise64]: Remove conditional code.
30332         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30333         <kernel-features.h>.
30334         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30335         unconditional.
30336         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30337         conditional code.
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30339         not include <kernel-features.h>.
30340         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30341         unconditional.
30342         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30343         conditional code.
30344         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30345         include <kernel-features.h>.
30346         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30347         unconditional.
30348         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30349         conditional code.
30351 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30354         slight instruction rearrangements per scrollpipe analysis.
30355         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30357 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30359         * manual/syslog.texi (syslog; vsyslog, closelog):
30360         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30361         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30363         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30364         DSOCAPS to match condition on defining it.
30366 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30368         * sysdeps/unix/sysv/linux/kernel-features.h
30369         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30371         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30372         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30374         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30375         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30377         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30378         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30380         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30381         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30383         * sysdeps/unix/sysv/linux/kernel-features.h
30384         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30385         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30386         unconditional.
30387         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30388         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30389         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30390         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30391         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30392         Make code unconditional.
30393         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30394         (__mmap64) [!__NR_mmap2]: Likewise.
30395         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30396         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30397         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30398         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30399         [__NR_mmap2]: Make code unconditional.
30400         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30401         (__mmap64) [!__NR_mmap2]: Likewise.
30403 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30405         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30407 2012-08-18  Andreas Jaeger  <aj@suse.de>
30409         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30411 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30413         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30414         * include/unistd.h (__have_sock_cloexec): Likewise.
30415         (__have_pipe2): Likewise.
30416         (__have_dup3): Likewise.
30418 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30420         [BZ #9685]
30421         * include/unistd.h (__have_pipe2): Change define into an extern int.
30422         (__have_dup3): Likewise.
30423         * socket/have_sock_cloexec.c: Include fcntl.h.
30424         (__have_pipe2): New variable.
30425         (__have_dup3): Likewise.
30427 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30429         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30431 2012-08-17  Marek Polacek  <polacek@redhat.com>
30433         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30434         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30436 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30438         * configure.in: Add AC_SUBST for sysheaders.
30439         * configure: Regenerated.
30440         * config.make.in (sysheaders): New substituted variable.
30442         * sysdeps/unix/mkfifo.c: Moved ...
30443         * sysdeps/posix/mkfifo.c: ... here.
30444         * sysdeps/unix/mkfifoat.c: Moved ...
30445         * sysdeps/posix/mkfifoat.c: ... here.
30447         * sysdeps/unix/utime.c: Moved ...
30448         * sysdeps/posix/utime.c: ... here.
30450         * sysdeps/unix/time.c: Moved ...
30451         * sysdeps/posix/time.c: ... here.
30452         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30453         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30455         * sysdeps/unix/nice.c: Moved ...
30456         * sysdeps/posix/nice.c: ... here.
30458         * sysdeps/unix/alarm.c: Moved ...
30459         * sysdeps/posix/alarm.c: ... here.
30461         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30463 2012-08-17  Jeff Law <law@redhat.com>
30465         * intl/Makefile (codeset_mo): New variable.
30466         ($(codeset_mo)): New target.
30467         (tst-codeset.out): Depend on that.  Remove explicit rule.
30468         (tst-gettext3.out, tst-gettext5.out): Likewise.
30469         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30470         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30471         * intl/tst-codeset.sh: Remove.
30472         * intl/tst-gettext3.sh: Likewise.
30473         * intl/tst-gettext5.sh: Likewise.
30475 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30477         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30478         * sysdeps/unix/syscalls.list: ... here.
30480         * sysdeps/posix/getaddrinfo.c
30481         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30482         (gaiconf_init, gaiconf_reload): Use them.
30483         [!_STATBUF_ST_NSEC]
30484         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30485         Define using time_t rather than struct timespec.
30487         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30488         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30489         Macros removed.
30490         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30491         [!NO_THREADS].
30492         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30493         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30494         Likewise.
30496         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30497         __libc_cleanup_push argument.
30499         * bits/param.h: New file.
30500         * misc/sys/param.h: New file.
30501         * include/sys/param.h: New file.
30502         * misc/Makefile (headers): Add bits/param.h.
30503         * sysdeps/generic/sys/param.h: File removed.
30504         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30505         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30506         * sysdeps/mach/hurd/bits/param.h: New file.
30507         * sysdeps/mach/hurd/sys/param.h: File removed.
30509         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30510         last change.
30512         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30513         [_IO_MTSAFE_IO].
30514         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30515         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30516         New macros.
30518         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30519         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30520         rather than -D_IO_MTSAFE_IO conditionally.
30521         * stdio-common/Makefile (CPPFLAGS): Likewise.
30522         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30523         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30524         Use $(libio-mtsafe).
30525         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30526         of -D_IO_MTSAFE_IO.
30527         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30528         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30529         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30530         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30531         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30532         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30533         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30534         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30535         (CFLAGS-fread_u_chk.c): Likewise.
30536         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30537         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30538         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30539         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30540         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30541         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30542         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30543         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30544         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30546         * libio/Makefile: Test [$(libc-reentrant) = yes]
30547         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30549         * Makeconfig
30550         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30551         * sysdeps/pthread/configure: File removed.
30552         * sysdeps/pthread/Makeconfig: New file.
30553         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30554         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30556 2012-08-16  Gary Benson  <gbenson@redhat.com>
30558         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30559         unmapping the first object in a namespace.
30561 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30563         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30564         (__internal_setnetgrent): ... this.  Add internal_function to
30565         definition.  Add libc_hidden_def.
30566         (setnetgrent): Update caller.
30567         (internal_endnetgrent): Renamed to ...
30568         (__internal_endnetgrent): ... this.  Add internal_function to
30569         definition.  Add libc_hidden_def.
30570         (endnetgrent): Update caller.
30571         (internal_getnetgrent_r): Renamed to ...
30572         (__internal_getnetgrent_r): ... this.  Add internal_function to
30573         definition.  Add libc_hidden_def.
30574         (__getnetgrent_r): Update caller.
30575         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30577 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30579         * stdlib/longlong.h: Update from GCC.
30581 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30583         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30584         on _QL, which is set by umul_ppmm but never used.
30585         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30586         variables, which are set by GMP macros but never used.
30587         * stdio-common/_itowa.c (_itowa): Likewise.
30588         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30589         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30591 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30593         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30594         struct La_sh_regs is not constant.
30595         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30596         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30597         and struct La_sparc64_regs are not constant.
30599 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30601         * sysdeps/unix/sysv/linux/kernel-features.h
30602         (__ASSUME_POSIX_TIMERS): Remove.
30603         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30605         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30606         Make code unconditional.
30607         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30608         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30609         Make code unconditional.
30610         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30611         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30612         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30613         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30615         Make code unconditional.
30616         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30617         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30618         (__libc_missing_posix_timers): Remove.
30620 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30622         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30623         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30625         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30627         * elf/dl-sym.c: Include <stdlib.h>.
30629         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30630         constants, which avoids warnings in 32-bit builds.
30632         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30633         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30635         * misc/lseek.c: File moved to ...
30636         * io/lseek.c: ... here.
30638         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30640         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30641         shifting LEN more than 31 bits at once.
30643 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30645         [BZ #14195]
30646         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30647         segmentation fault for a case of two empty input strings.
30648         * string/test-strncasecmp.c (check1): Renamed to...
30649         (bz12205): ...this.
30650         (bz14195): Add new testcase for two empty input strings and N > 0.
30651         (test_main): Call new testcase, adapt for renamed function.
30653 2012-08-15  Andreas Jaeger  <aj@suse.de>
30655         [BZ #14090]
30656         * crypt/md5test2.c: New test, based on test supplied by Serge
30657         Belyshev <belyshev@depni.sinp.msu.ru>.
30658         * crypt/Makefile (xtests): Add md5test-giant..
30659         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30661 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30663         [BZ #14090]
30664         * crypt/md5.c (md5_process_block): Don't assume the buffer
30665         length is less than 2**32.
30666         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30667         length is less than 2**64.
30669 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30671         * string/str-two-way.h: Include <sys/param.h>.
30672         (MAX): Macro removed.
30674         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30675         Move #define and #undef of memmove to just before and after
30676         including <string.h>.
30678         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30679         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30680         and after including <string.h>.  Move declarations of
30681         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30682         to before #include "string/memmove.c".
30684         * include/dirent.h: Declare __getdirentries.
30686         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30687         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30689 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30691         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30692         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30693         * sysdeps/i386/configure: Regenerated.
30694         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30695         STABS_CURRENT_FILE, and STABS_FUN.
30696         (END): Remove call to STABS_FUN_END.
30697         (STABS_CURRENT_FILE1): Delete.
30698         (STABS_CURRENT_FILE): Likewise.
30699         (STABS_FUN): Likewise.
30700         (STABS_FUN_END): Likewise.
30701         (STABS_FUN2): Likewise.
30702         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30703         * sysdeps/x86_64/configure: Regenerated.
30705 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30707         * elf/dl-open.c: Include <atomic.h>.
30708         * elf/dl-lookup.c: Likewise.
30710 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30712         * sysdeps/unix/sysv/linux/kernel-features.h
30713         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30714         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30715         unconditionally.
30716         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30717         unconditionally.
30718         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30719         condition on __ASSUME_CLONE_THREAD_FLAGS.
30721 2012-08-14  Andreas Jaeger  <aj@suse.de>
30723         * sysdeps/i386/fpu/libm-test-ulps: Update.
30725 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30727         * include/atomic.h (atomic_exchange_and_add): Split into ...
30728         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30729         New atomic macros.
30731 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30735 2012-08-13  Jeff Law <law@redhat.com>
30737         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30738         null byte in the output string.
30740 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30742         * sysdeps/unix/sysv/linux/kernel-features.h
30743         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30744         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30745         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30746         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30747         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30748         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30749         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30751 2012-08-09  Jeff Law <law@redhat.com>
30753         [BZ #13939]
30754         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30755         When avoid_arena is set, don't retry in the that arena.  Pick the
30756         next one, whatever it might be.
30757         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30758         (arena_lock): Pass in new parameter to arena_get2.
30759         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30760         arena_get2.
30761         (__libc_malloc): Unify retrying after main arena failure with
30762         __libc_memalign version.
30763         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30765 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30767         [BZ #14166]
30768         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30769         to __redirect_strstr.
30770         (__strstr_sse42): Use typeof __redirect_strstr.
30771         (__strstr_ia32): Likewise.
30772         (__libc_strstr): New prototype.
30773         (strstr): Renamed to ...
30774         (__libc_strstr): This.
30775         (strstr): New strong alias of __libc_strstr.
30776         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30777         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30778         __redirect_time.
30779         Include <time.h>.
30780         (__libc_time): New prototype.
30781         (time_ifunc): Replace time with __libc_time.
30782         (time): New strong alias and hidden definition of __libc_time.
30783         (__GI_time): Remove strong alias.
30784         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30785         Include <stddef.h>.
30786         (memmove): Redefined to __redirect_memmove.
30787         (__memmove_sse2): Use typeof __redirect_memmove.
30788         (__memmove_ssse3): Likewise.
30789         (__memmove_ssse3_back): Likewise.
30790         (__libc_memmove): New prototype.
30791         (memmove): Renamed to ...
30792         (__libc_memmove): This.
30793         (memmove): New strong alias of __libc_memmove.
30795 2012-08-08  Mark Salter  <msalter@redhat.com>
30797         * elf/elf.h
30798         (R_MN10300_TLS_GD): Define.
30799         (R_MN10300_TLS_LD): Likewise.
30800         (R_MN10300_TLS_LDO): Likewise.
30801         (R_MN10300_TLS_GOTIE): Likewise.
30802         (R_MN10300_TLS_IE): Likewise.
30803         (R_MN10300_TLS_LE): Likewise.
30804         (R_MN10300_TLS_DTPMOD): Likewise.
30805         (R_MN10300_TLS_DTPOFF): Likewise.
30806         (R_MN10300_TLS_TPOFF): Likewise.
30807         (R_MN10300_SYM_DIFF): Likewise.
30808         (R_MN10300_ALIGN): Likewise.
30809         (R_MN10300_NUM): Update.
30811 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30814         Remove.
30816 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30818         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30820         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30821         sysdeps/unix -> sysdeps/posix move.
30822         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30824 2012-08-07      Allan McRae     <allan@archlinux.org>
30826         [BZ #14303]
30827         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30828         (SUNOS_CPP): Likewise.
30829         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30830         not found.
30831         (open_input): Call CPP using execvp.
30833 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30835         * sysdeps/unix/sysv/linux/kernel-features.h
30836         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30837         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30838         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30839         (__ASSUME_WAITID_SYSCALL): Likewise.
30840         * sysdeps/unix/sysv/linux/dl-execstack.c
30841         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30842         code unconditional.
30843         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30844         conditional code.
30845         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30846         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30847         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30848         code.
30849         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30850         unconditional.
30851         [__ASSUME_WAITID_SYSCALL]: Likewise.
30852         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30854 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30856         * sysdeps/unix/closedir.c: Renamed to ...
30857         * sysdeps/posix/closedir.c: ... here.
30858         * sysdeps/unix/dirfd.c: Renamed to ...
30859         * sysdeps/posix/dirfd.c: ... here.
30860         * sysdeps/unix/dirstream.h: Renamed to ...
30861         * sysdeps/posix/dirstream.h: ... here.
30862         * sysdeps/unix/fdopendir.c: Renamed to ...
30863         * sysdeps/posix/fdopendir.c: ... here.
30864         * sysdeps/unix/opendir.c: Renamed to ...
30865         * sysdeps/posix/opendir.c: ... here.
30866         * sysdeps/unix/readdir.c: Renamed to ...
30867         * sysdeps/posix/readdir.c: ... here.
30868         * sysdeps/unix/readdir_r.c: Renamed to ...
30869         * sysdeps/posix/readdir_r.c: ... here.
30870         * sysdeps/unix/rewinddir.c: Renamed to ...
30871         * sysdeps/posix/rewinddir.c: ... here.
30872         * sysdeps/unix/seekdir.c: Renamed to ...
30873         * sysdeps/posix/seekdir.c: ... here.
30874         * sysdeps/unix/telldir.c: Renamed to ...
30875         * sysdeps/posix/telldir.c: ... here.
30876         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30877         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30878         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30879         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30881         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30882         * bits/fcntl.h: ... here.
30884         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30885         not 0.
30886         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30887         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30888         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30889         (struct flock): Move l_start, l_len to the beginning.
30890         Use __pid_t for l_pid.
30891         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30892         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30893         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30894         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30895         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30896         [__USE_LARGEFILE64] (struct flock64): New type.
30897         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30899         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30900         * bits/dirent.h: ... here.
30902         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30903         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30905 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30907         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30908         Change from 2.6.0 to 2.6.16.
30909         * sysdeps/unix/sysv/linux/configure: Regenerated.
30910         * sysdeps/unix/sysv/linux/kernel-features.h
30911         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30912         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30913         version.
30914         (__ASSUME_UTIMES): Likewise.
30915         (__ASSUME_CLONE_STOPPED): Remove.
30916         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30917         architectures, not kernel version.
30918         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30919         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30920         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30921         (__ASSUME_WAITID_SYSCALL): Likewise.
30922         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30923         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30924         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30925         refer to older versions.
30927 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30929         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30930         Define alphasort64 as an alias.
30931         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30932         Define versionsort64 as an alias.
30933         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30934         Define scandir64 as an alias.
30935         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30936         Define scandirat64 as an alias.
30937         * dirent/alphasort64.c (alphasort64):
30938         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30939         * dirent/versionsort64.c: Likewise.
30940         * dirent/scandir64.c: Likewise.
30941         * dirent/scandirat64.c: Likewise.
30942         * sysdeps/wordsize-64/alphasort.c: File removed.
30943         * sysdeps/wordsize-64/alphasort64.c: File removed.
30944         * sysdeps/wordsize-64/scandir.c: File removed.
30945         * sysdeps/wordsize-64/scandir64.c: File removed.
30946         * sysdeps/wordsize-64/scandirat.c: File removed.
30947         * sysdeps/wordsize-64/scandirat64.c: File removed.
30948         * sysdeps/wordsize-64/versionsort.c: File removed.
30949         * sysdeps/wordsize-64/versionsort64.c: File removed.
30950         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30951         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30953         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30955         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30956         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30957         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30959         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30960         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30961         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30963         [defined __arch64__ || defined __sparcv9]
30964         (__INO_T_MATCHES_INO64_T): New macro.
30965         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30966         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30967         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30968         * sysdeps/unix/sysv/linux/bits/dirent.h
30969         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30970         (_DIRENT_MATCHES_DIRENT64): New macro.
30972         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30973         Define lockf64 as an alias.
30974         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30975         Define fseeko64 as an alias.
30976         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30977         Define ftello64 as an alias.
30978         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30979         Define _IO_fgetpos64 and fgetpos64 as aliases.
30980         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30981         Define _IO_fsetpos64 and fsetpos64 as aliases.
30982         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30983         Conditionalize body on this.
30984         * libio/fseeko64.c: Likewise.
30985         * libio/ftello64.c: Likewise.
30986         * libio/iofgetpos64.c: Likewise.
30987         * libio/iofsetpos64.c: Likewise.
30988         * sysdeps/wordsize-64/lockf.c: File removed.
30989         * sysdeps/wordsize-64/lockf64.c: File removed.
30990         * sysdeps/wordsize-64/fseeko.c: File removed.
30991         * sysdeps/wordsize-64/fseeko64.c: File removed.
30992         * sysdeps/wordsize-64/ftello.c: File removed.
30993         * sysdeps/wordsize-64/ftello64.c: File removed.
30994         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30995         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30996         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30997         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30998         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30999         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31001         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31003         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31004         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31005         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31006         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31007         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31009         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31011         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31013         [defined __arch64__ || defined __sparcv9]
31014         (__OFF_T_MATCHES_OFF64_T): New macro.
31015         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31016         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31018         (__OFF_T_MATCHES_OFF64_T): New macro.
31020 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31022         * stdlib/secure-getenv.c (__secure_getenv): Replace
31023         GLIBC_2_16 with GLIBC_2_17.
31025 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31028         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31030 2012-08-03  David S. Miller  <davem@davemloft.net>
31032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31034 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31037         Remove.
31038         (__ASSUME_CORRECT_SI_PID): Likewise.
31039         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31040         (__ASSUME_TMPFS_NAME): Likewise.
31041         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31042         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31043         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31044         (HAVE_AUX_SECURE): Make definition unconditional.
31045         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31046         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31048 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31050         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31051         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31052         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31053         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31054         __eloop_threshold instead of SYMLOOP_MAX.
31056         * sysdeps/generic/eloop-threshold.h: New file.
31057         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31058         of MAXSYMLINKS.
31059         * elf/chroot_canon.c (chroot_canon): Likewise.
31061 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31063         [BZ #13717]
31064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31065         Change to 2.6.0 everywhere.
31066         * sysdeps/unix/sysv/linux/configure: Regenerated.
31067         * sysdeps/unix/sysv/linux/kernel-features.h
31068         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31069         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31070         kernel versions.
31071         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31072         (__ASSUME_FUTEX_REQUEUE): Remove.
31073         (__ASSUME_STATFS64): Define unconditionally.
31074         (__ASSUME_AT_SECURE): Likewise.
31075         (__ASSUME_CORRECT_SI_PID): Likewise.
31076         (__ASSUME_TGKILL): Define without depending on kernel version for
31077         i386.
31078         (__ASSUME_UTIMES): Likewise.
31079         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31080         kernel version.
31081         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31082         (__ASSUME_TMPFS_NAME): Likewise.
31083         * README: Update reference to Linux kernel versions.
31085 2012-08-02  Marek Polacek  <polacek@redhat.com>
31087         [BZ# 14150]
31088         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31089         libc_cv_asm_type_prefix with %.
31090         * configure: Regenerated.
31091         * include/libc-symbols.h: Remove comment about
31092         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31093         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31094         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31095         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31096         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31097         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31098         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31099         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31100         * elf/tst-unique2mod1.c: Likewise.
31101         * elf/tst-unique1mod2.c: Likewise.
31102         * elf/tst-unique1mod1.c: Likewise.
31103         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31104         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31105         Replace ASM_TYPE_DIRECTIVE with .type.
31106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31107         * sysdeps/i386/sysdep.h: Likewise.
31108         * sysdeps/x86_64/sysdep.h: Likewise.
31109         * sysdeps/sh/sysdep.h: Likewise.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31111         Do not define ASM_TYPE_DIRECTIVE.
31112         * sysdeps/powerpc/sysdep.h: Likewise.
31113         * sysdeps/powerpc/powerpc32/sysdep.h:
31114         Replace ASM_TYPE_DIRECTIVE with .type.
31115         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31116         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31117         * sysdeps/i386/fpu/e_powf.S: Likewise.
31118         * sysdeps/i386/fpu/e_expl.S: Likewise.
31119         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31120         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31121         * sysdeps/i386/fpu/e_pow.S: Likewise.
31122         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31123         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31124         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31125         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31126         * sysdeps/i386/fpu/e_log2.S: Likewise.
31127         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31128         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31129         * sysdeps/i386/fpu/e_powl.S: Likewise.
31130         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31131         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31132         * sysdeps/i386/fpu/e_logl.S: Likewise.
31133         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31134         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31135         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31136         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31137         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31138         * sysdeps/i386/fpu/e_log.S: Likewise.
31139         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31140         * sysdeps/i386/fpu/e_logf.S: Likewise.
31141         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31142         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31143         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31144         * sysdeps/i386/fpu/e_log10.S: Likewise.
31145         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31146         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31147         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31148         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31149         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31150         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31151         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31152         * sysdeps/i386/i686/strtok.S: Likewise.
31153         * sysdeps/i386/i386-mcount.S: Likewise.
31154         * sysdeps/i386/strtok.S: Likewise.
31155         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31156         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31157         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31158         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31159         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31160         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31161         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31162         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31163         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31164         * sysdeps/x86_64/_mcount.S: Likewise.
31165         * sysdeps/x86_64/strtok.S: Likewise.
31166         * sysdeps/sh/_mcount.S: Likewise.
31168 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31170         * libio/iofopen.c: Include <fcntl.h>.
31171         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31172         (_IO_fopen64, fopen64): Define as aliases.
31173         * libio/iofopen64.c: Include <fcntl.h>.
31174         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31175         Conditionalize body on this.
31176         * sysdeps/wordsize-64/iofopen.c: File removed.
31177         * sysdeps/wordsize-64/iofopen64.c: File removed.
31179 2012-08-01  Marek Polacek  <polacek@redhat.com>
31181         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31182         Use dlfcn directly instead of a variable.
31183         (binfmt-subdir): Do not define.
31184         (dlfcn): Likewise.
31186 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31188         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31189         Remove all definitions.
31190         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31191         <kernel-features.h>.
31192         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31193         (miss_F_GETOWN_EX): Remove all definitions.
31194         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31195         macro definition.
31196         [!__ASSUME_FCNTL64]: Remove conditional code.
31197         [__ASSUME_FCNTL64]: Make code unconditional.
31198         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31199         <kernel-features.h>.
31200         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31201         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31202         (lockf64) [__NR_fcntl64]: Make code unconditional.
31203         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31205         * sysdeps/unix/sysv/linux/kernel-features.h
31206         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31207         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31208         Make code unconditional.
31209         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31210         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31212         [__NR_vfork]: Make code unconditional.
31213         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31214         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31216         [__NR_vfork]: Make code unconditional.
31217         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31218         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31220 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31222         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31223         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31225         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31226         Define mkstemp64 as an alias.
31227         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31228         Define mkstemps64 as an alias.
31229         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31230         Define mkostemp64 as an alias.
31231         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31232         Define mkostemps64 as an alias.
31233         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31234         Conditionalize body on this.
31235         * misc/mkostemp64.c: Likewise.
31236         * misc/mkostemps64.c: Likewise.
31237         * misc/mkstemps64.c: Likewise.
31238         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31239         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31240         * sysdeps/wordsize-64/mkostemp.c: File removed.
31241         * sysdeps/wordsize-64/mkstemp.c: File removed.
31242         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31243         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31244         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31245         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31247         [BZ #14138]
31248         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31249         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31250         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31251         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31253         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31254         compat_symbol macros from <shlib-compat.h> rather than the underlying
31255         default_symbol_version and symbol_version macros, so that DEFAULT
31256         lines in shlib-versions are respected.
31257         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31259 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31261         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31262         Declare with warn_unused_result.
31263         (setgid, setregid, setegid, setresgid): Likewise.
31264         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31265         Likewise.
31266         * WUR-REPORT: Remove set*id functions.
31268 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31270         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31272 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31274         [BZ #10191]
31275         * include/sys/socket.h (__libc_accept, __libc_accept4):
31276         Add attribute_hidden.
31277         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31279         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31280         use of PTR_MANGLE.
31281         * inet/getnetgrent_r.c (setup): Likewise.
31283         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31285 2012-07-31  David S. Miller  <davem@davemloft.net>
31287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31289 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31291         [BZ #13629]
31292         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31293         value between 1.0 and 2.0 and smaller part has absolute value less
31294         than 1.0.
31295         * math/s_clog10.c (__clog10): Likewise.
31296         * math/s_clog10f.c (__clog10f): Likewise.
31297         * math/s_clog10l.c (__clog10l): Likewise.
31298         * math/s_clogf.c (__clogf): Likewise.
31299         * math/s_clogl.c (__clogl): Likewise.
31300         * math/libm-test.inc (clog_test): Add more tests.
31301         (clog10_test): Likewise.
31302         * sysdeps/i386/fpu/libm-test-ulps: Update.
31303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31305 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31307         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31308         Exit with zero in case no suitable GID is found, and write a
31309         message to standard error.
31311 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31313         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31314         rather than to 1.
31315         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31316         (MAXPATHLEN): Removed.
31317         (NOGROUP, NODEV): New macros.
31318         (setbit, clrbit, isset, isclr): New macros.
31319         (howmany, roundup, powerof2): New macros.
31320         (DEV_BSIZE): New macro.
31322         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31323         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31325         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31326         definition on [!__NO_LONG_DOUBLE_MATH].
31328         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31329         PTR_MANGLE and PTR_DEMANGLE.
31331         * socket/accept4.c (accept4): Rename to __libc_accept4.
31332         Define accept4 as a weak alias.
31334         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31335         on [_DIRENT_HAVE_D_TYPE].
31336         * io/ftw.c (ftw_dir): Likewise.
31338         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31340         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31342         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31343         Use the BSD numbers rather than the arbitrary ones we had.
31344         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31345         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31346         (SIGXCPU, SIGXFSZ): New macros.
31347         (_NSIG): Now 32.
31349         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31350         initializer on [_LIBC_REENTRANT].
31352         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31353         definitions inside [_POSIX_MAPPED_FILES].
31355         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31357         * dirent/opendir.c: Include <fcntl.h>.
31359         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31360         (__libc_getspecific): Likewise.
31361         (__libc_key_create): Likewise.
31363         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31364         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31365         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31366         (tmpfile64): Define as alias.
31367         * sysdeps/wordsize-64/tmpfile.c: File removed.
31368         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31369         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31370         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31372         * stdio-common/vfscanf.c: Include <stdbool.h>.
31373         * nss/makedb.c: Likewise.
31374         * stdio-common/_i18n_number.h: Likewise.
31375         * argp/argp-help.c: Likewise.
31376         * posix/wordexp.c: Likewise.
31377         * sysdeps/posix/spawni.c: Likewise.
31378         * nss/nss_files/files-initgroups.c: Likewise.
31379         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31380         * nss/nss_files/files-initgroups.c: Likewise.
31381         * nss/nss_db/db-netgrp.c: Likewise.
31382         * nss/nss_db/db-initgroups.c: Likewise.
31383         * io/fchmodat.c: Include <sys/stat.h>.
31385         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31386         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31388         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31389         [HAVE_MMAP].
31391         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31392         Add multiple inclusion protection.
31394 2012-07-27  David S. Miller  <davem@davemloft.net>
31396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31398 2012-07-27  Gary Benson  <gbenson@redhat.com>
31400         [BZ #14298]
31401         * elf/rtld.c: Include <stap-probe.h>.
31402         (dl_main): Added static probes "init_start" and "init_complete".
31403         * elf/dl-load.c: Include <stap-probe.h>.
31404         (lose): Take new parameter "nsid".
31405         Added static probe "map_failed".
31406         (_dl_map_object_from_fd): Pass namespace id to lose.
31407         Added static probe "map_start".
31408         (open_verify): Pass namespace id to lose.
31409         * elf/dl-open.c: Include <stap-probe.h>.
31410         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31411         and "reloc_complete".
31412         * elf/dl-close.c: Include <stap-probe.h>.
31413         (_dl_close_worker): Added static probes "unmap_start" and
31414         "unmap_complete".
31415         * elf/rtld-debugger-interface.txt: New file documenting the above.
31417 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31419         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31420         rather than a string variable.
31421         * sunrpc/rpc_main.c (h_output): Likewise.
31422         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31424 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31426         * inet/check_native.c: New file.
31428 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31430         [BZ #13629]
31431         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31432         if larger part has absolute value 1.0.
31433         * math/s_clog10.c (__clog10): Likewise.
31434         * math/s_clog10f.c (__clog10f): Likewise.
31435         * math/s_clog10l.c (__clog10l): Likewise.
31436         * math/s_clogf.c (__clogf): Likewise.
31437         * math/s_clogl.c (__clogl): Likewise.
31438         * math/libm-test.inc (clog_test): Add more tests.
31439         (clog10_test): Likewise.
31440         * sysdeps/i386/fpu/libm-test-ulps: Update.
31441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31443         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31444         (pltexit): Likewise.
31445         (La_regs): Likewise.
31446         (La_retval): Likewise.
31447         (int_retval): Likewise.
31448         Update #error for removed macros to refer only to definitions in
31449         tst-audit.h.
31450         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31451         macro.
31452         (pltexit): Likewise.
31453         (La_regs): Likewise.
31454         (La_retval): Likewise.
31455         (int_retval): Likewise.
31456         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31457         macro.
31458         (pltexit): Likewise.
31459         (La_regs): Likewise.
31460         (La_retval): Likewise.
31461         (int_retval): Likewise.
31462         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31463         macro.
31464         (pltexit): Likewise.
31465         (La_regs): Likewise.
31466         (La_retval): Likewise.
31467         (int_retval): Likewise.
31468         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31469         macro.
31470         (pltexit): Likewise.
31471         (La_regs): Likewise.
31472         (La_retval): Likewise.
31473         (int_retval): Likewise.
31474         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31475         macro.
31476         (pltexit): Likewise.
31477         (La_regs): Likewise.
31478         (La_retval): Likewise.
31479         (int_retval): Likewise.
31480         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31481         macro.
31482         (pltexit): Likewise.
31483         (La_regs): Likewise.
31484         (La_retval): Likewise.
31485         (int_retval): Likewise.
31486         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31487         macro definitions in tst-audit.h.
31488         * sysdeps/i386/tst-audit.h: New file.
31489         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31490         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31491         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31492         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31493         * sysdeps/sh/tst-audit.h: Likewise.
31494         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31495         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31496         * sysdeps/x86_64/tst-audit.h: Likewise.
31498 2012-07-26  Andreas Jaeger  <aj@suse.de>
31500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31501         ptrace.
31503         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31504         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31505         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31506         PTRACE_O_MASK.
31507         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31508         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31509         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31511         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31512         value.
31514         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31515         _sigsys.
31516         (si_call_addr, si_syscall, si_arch): Define new macro.
31517         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31518         _sigsys.
31519         (si_call_addr, si_syscall, si_arch): Define new marcro.
31520         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31521         _sigsys.
31522         (si_call_addr, si_syscall, si_arch): Define new macro.
31523         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31524         _sigsys.
31525         (si_call_addr, si_syscall, si_arch): Define new macro.
31527 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #13717]
31530         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31531         Change to 2.4.21 where previously 2.4.1.
31532         * sysdeps/unix/sysv/linux/configure: Regenerated.
31533         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31534         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31535         Linux kernel version.
31536         (__ASSUME_STD_AUXV): Remove.
31537         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31538         kernel version.
31539         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31540         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31541         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31542         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31543         (__ASSUME_NETLINK_SUPPORT): Likewise.
31544         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31545         (__no_netlink_support): Remove conditional definition.
31546         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31547         Remove.
31548         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31549         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31550         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31551         (if_nameindex_ioctl): Remove.
31552         (if_nameindex_netlink): Do not handle __no_netlink_support.
31553         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31554         code.
31555         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31556         Remove conditional code.
31557         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31558         code.
31559         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31560         unconditional.
31561         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31562         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31563         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31564         Remove.
31565         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31566         [!__ASSUME_STD_AUXV]: Remove conditional code.
31567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31568         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31569         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31571         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31572         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31573         code.
31574         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31576         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31577         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31578         conditional code.
31579         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31581         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31582         code.
31583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31584         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31585         conditional code.
31586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31587         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31588         code unconditional.
31589         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31590         conditional code.
31591         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31592         unconditional.
31593         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31594         conditional code.
31595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31596         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31597         unconditional.
31598         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31599         conditional code.
31600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31601         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31602         code unconditional.
31603         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31604         conditional code.
31605         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31606         unconditional.
31607         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31608         conditional code.
31609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31610         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31611         code unconditional.
31612         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31613         conditional code.
31614         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31615         unconditional.
31616         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31617         conditional code.
31619 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31621         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31622         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31623         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31624         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31625         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31626         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31627         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31628         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31629         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31630         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31631         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31632         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31633         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31634         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31635         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31636         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31637         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31639         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31641         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31642         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31643         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31645 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31647         * Versions.def: Add GLIBC_2.17.
31648         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31649         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31650         Introduce __libc_secure_getenv.
31651         * stdlib/Versions (2.17): Add secure_getenv
31652         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31653         * stdlib/secure-getenv.c: Rename __secure_getenv to
31654         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31655         symbol __secure_getenv for GLIBC_2.0.
31656         * stdlib/tst-secure-getenv.c: New.
31657         * stdlib/Makefile (tests): Add testcase.
31658         * manual/startup.texi (Environment Access): Document
31659         secure_getenv.
31660         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31661         __libc_secure_getenv.
31662         * inet/ruserpass.c (ruserpass): Likewise.
31663         * malloc/mtrace.c (mtrace): Likewise.
31664         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31665         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31666         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31667         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31668         HAVE_SECURE_GETENV.
31669         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31670         __secure_getenv to __libc_secure_getenv.
31671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31673         Likewise.
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31675         Likewise.
31676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31684 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31686         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31687         (struct La_i86_retval): Likewise.
31688         (struct La_x86_64_regs): Likewise.
31689         (struct La_x86_64_retval): Likewise.
31690         (struct La_x32_regs): Likewise.
31691         (struct La_x32_retval): Likewise.
31692         (struct La_ppc32_regs): Likewise.
31693         (struct La_ppc32_retval): Likewise.
31694         (struct La_ppc64_regs): Likewise.
31695         (struct La_ppc64_retval): Likewise.
31696         (struct La_sh_regs): Likewise.
31697         (struct La_sh_retval): Likewise.
31698         (struct La_s390_32_regs): Likewise.
31699         (struct La_s390_32_retval): Likewise.
31700         (struct La_s390_64_regs): Likewise.
31701         (struct La_s390_64_retval): Likewise.
31702         (struct La_sparc32_regs): Likewise.
31703         (struct La_sparc32_retval): Likewise.
31704         (struct La_sparc64_regs): Likewise.
31705         (struct La_sparc64_retval): Likewise.
31706         (struct audit_ifaces): Remove architecture-specific pltenter and
31707         pltexit members.
31708         * sysdeps/i386/ldsodefs.h: New file.
31709         * sysdeps/powerpc/ldsodefs.h: Likewise.
31710         * sysdeps/s390/ldsodefs.h: Likewise.
31711         * sysdeps/sh/ldsodefs.h: Likewise.
31712         * sysdeps/sparc/ldsodefs.h: Likewise.
31713         * sysdeps/x86_64/ldsodefs.h: Likewise.
31715 2012-07-25  Marek Polacek  <polacek@redhat.com>
31717         [BZ #6808]
31718         * math/libm-test.inc (yn_test): Add another test.
31719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31720         to ERANGE when the result is +-Inf.
31721         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31722         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31723         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31724         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31726 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31728         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31729         equal to 0.
31730         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31731         clock_t.
31732         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31734 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31736         * configure.in <sysdeps resolving>: Correct printing
31737         Implies_before.
31738         * configure: Regenerate.
31740 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31742         * math/w_ilogb.c: Include <limits.h>.
31743         * math/w_ilogbl.c: Likewise.
31745 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31747         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31748         va_copy.  Document allowing for unavailable va_copy only as
31749         pre-C99 compatibility.
31750         * manual/string.texi (Copying and Concatenation): Use va_copy
31751         instead of __va_copy in concat example.
31753 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31755         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31756         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31757         it if not null.
31759         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31760         with O_NOLINK passed to __file_name_lookup.
31762         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31763         with O_NOLINK passed to __file_name_lookup.
31765         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31766         negative N or less than NGIDS.
31768         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31769         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31770         enough.  Use memcpy instead of strncpy.
31772 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31774         * elf/Makefile (check-data): Remove.
31775         (localplt.data): New vpath directive.
31776         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31777         instead of $(check-data).
31778         * scripts/data/localplt-generic.data: Move to ...
31779         * sysdeps/generic/localplt.data: ... here.
31780         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31781         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31782         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31784         ... here.
31785         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31787         ... here.
31788         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31790         ... here.
31791         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31793         ... here.
31794         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31796         ... here.
31797         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31799         ... here.
31801 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31803         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31804         PPC32 and PPC64 files.
31805         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31806         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31808 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31810         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31811         __makecontext_ret to ...
31812         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31813         ... here and call exit if uc_link is NULL.  New file.
31814         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31815         __makecontext_ret.S.
31816         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31817         __makecontext_ret to ...
31818         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31819         ... here and call exit if uc_link is NULL.  New file.
31820         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31821         __makecontext_ret.S.
31823 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31825         * elf/elf.h (R_390_IRELATIVE): New definition.
31826         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31827         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31828         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31829         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31830         (elf_machine_lazy_rel): Likewise.
31831         * sysdeps/s390/dl-irel.h: New file.
31832         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31833         * sysdeps/s390/s390-64/memset.S: New asm code.
31834         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31835         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31836         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31837         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31838         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31839         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31840         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31841         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31842         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31843         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31844         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31845         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31846         * sysdeps/s390/s390-32/memset.S: New asm code.
31847         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31849 2012-07-17  Marek Polacek  <polacek@redhat.com>
31851         [BZ #14349]
31852         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31853         * sysdeps/s390/s390-64/configure.in: Likewise.
31854         * sysdeps/sparc/configure.in: Likewise.
31855         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31856         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31857         * sysdeps/i386/configure.in: Likewise.
31858         * sysdeps/x86_64/configure.in: Likewise.
31859         * sysdeps/sh/configure.in: Likewise.
31860         * sysdeps/s390/s390-32/configure: Regenerated.
31861         * sysdeps/s390/s390-64/configure: Likewise.
31862         * sysdeps/x86_64/configure: Likewise.
31863         * sysdeps/sh/configure: Likewise.
31864         * sysdeps/powerpc/powerpc64/configure: Likewise.
31865         * sysdeps/powerpc/powerpc32/configure: Likewise.
31866         * sysdeps/sparc/configure: Likwise.
31867         * sysdeps/i386/configure: Likewise.
31869         * elf/dl-open.c: Comment fixes.
31871 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31873         * Makefile [CXX] (check-data): Remove.
31874         [CXX] (c++-types.data): New vpath directive.
31875         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31876         vpath.  Do not allow for C++ type data being missing.
31877         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31878         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31879         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31880         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31881         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31882         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31883         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31885         ... here.
31886         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31888         ... here.
31889         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31891         ... here.
31892         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31894         ... here.
31895         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31897         ... here.
31898         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31900         ... here.
31901         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31903         ... here.
31904         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31907         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31908         definitions to architecture-specific files.
31909         (TLS_IE): Likewise.
31910         (TLS_LD): Likewise.
31911         (TLS_GD): Likewise.
31912         * sysdeps/i386/tls-macros.h: New file.
31913         * sysdeps/powerpc/tls-macros.h: Likewise.
31914         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31915         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31916         * sysdeps/sh/tls-macros.h: Likewise.
31917         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31918         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31919         * sysdeps/x86_64/tls-macros.h: Likewise.
31921 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31923         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31924         zero value for regular exit case.
31926         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31927         (__start_context): Preserve zero value for regular exit case.
31929 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31930             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31932         * manual/setjmp.texi (setcontext): Clarify normal process
31933         termination when uc_link is the null pointer.
31934         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31935         exit call.
31937 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31939         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31940         preprocessor.  Test for each exception mask separately.
31942 2012-07-16  Andreas Jaeger  <aj@suse.de>
31944         * po/ru.po: Update from translation team.
31946 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31948         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31949         equal to 0.
31950         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31951         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31952         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31953         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31954         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31956 2012-07-13  Andreas Jaeger  <aj@suse.de>
31958         * po/fr.po: Update from translation team.
31960 2012-07-12  Marek Polacek  <polacek@redhat.com>
31962         [BZ #14173]
31963         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31964         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31965         loop condition.
31967 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31969         [BZ #13717]
31970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31971         Change to 2.4.1 where previously 2.4.0.
31972         * sysdeps/unix/sysv/linux/configure: Regenerated.
31973         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31974         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31975         version.
31976         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31977         (__ASSUME_AT_CLKTCK): Remove.
31978         (__ASSUME_AT_PAGESIZE): Likewise.
31979         (__ASSUME_AT_XID): Likewise.
31980         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31981         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31982         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31983         unconditionally.
31984         (HAVE_AUX_PAGESIZE): Likewise.
31985         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31986         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31987         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31989 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31991         [BZ #14307]
31992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31993         the temporary buffer used to invoke __gethostbyname2_r,
31994         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31995         host_data / struct gaih_addrtuple.
31996         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31997         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31998         header file nss/nsswitch.h.
31999         * nss/nsswitch.h (global scope): Add definition of implementation
32000         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32001         resolv/nss_dns/dns-host.c).
32003 2012-07-11  Andreas Jaeger  <aj@suse.de>
32005         * po/fr.po: Update from translation team.
32007         * po/sv.po: Update from translation team
32008         * po/fr.po: Another update from translation team.
32010 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32012         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32013         for subnormals or multiply small sinh result by itself.
32014         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32017 2012-07-11  David S. Miller  <davem@davemloft.net>
32019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32021 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32023         [BZ #14347]
32024         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32025         (INTERNAL_MARK): Shift it here.
32027 2012-07-10  Marek Polacek  <polacek@redhat.com>
32029         [BZ #14151]
32030         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32031         libc_cv_asm_global_directive with .globl.
32032         * configure: Regenerated.
32033         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32034         with .globl.
32035         * sysdeps/i386/configure: Regenerated.
32036         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32037         with .globl.
32038         * sysdeps/x86_64/configure: Regenerated.
32039         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32040         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32041         * elf/tst-unique2mod2.c: Likewise.
32042         * elf/tst-unique2mod1.c: Likewise.
32043         * elf/tst-unique1mod2.c: Likewise.
32044         * elf/tst-unique1mod1.c: Likewise.
32045         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32046         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32047         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32048         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32049         * sysdeps/mach/sysdep.h: Likewise.
32050         * sysdeps/i386/sysdep.h: Likewise.
32051         * sysdeps/i386/i386-mcount.S: Likewise.
32052         * sysdeps/x86_64/_mcount.S: Likewise.
32053         * sysdeps/x86_64/sysdep.h: Likewise.
32054         * sysdeps/sh/_mcount.S: Likewise.
32055         * sysdeps/sh/sysdep.h: Likewise.
32056         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32057         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32058         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32059         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32060         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32061         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32062         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32063         * locale/localeinfo.h: Likewise.
32064         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32065         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32067 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32069         [BZ #14336]
32070         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32071         system".
32072         * manual/message.texi (The Uniforum approach): Likewise.
32073         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32074         (glibc iconv Implementation): Likewise.
32076 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32078         [BZ #14337]
32079         * math/s_clog.c (__clog): Avoid scaling a value down where that
32080         could result in underflow.
32081         * math/s_clog10.c (__clog10): Likewise.
32082         * math/s_clog10f.c (__clog10f): Likewise.
32083         * math/s_clog10l.c (__clog10l): Likewise.
32084         * math/s_clogf.c (__clogf): Likewise.
32085         * math/s_clogl.c (__clogl): Likewise.
32086         * math/libm-test.inc (clog_test): Add more tests.
32087         (clog10_test): Likewise.
32088         * sysdeps/i386/fpu/libm-test-ulps: Update.
32089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32091 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32093         [BZ #14283]
32094         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32095         by 7 not 8 to examine high bit of fractional part.
32097         [BZ #14042]
32098         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32099         for call to __mcount_internal.
32100         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32101         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32102         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32104 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32106         [BZ #14154]
32107         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32108         approximation for values within 0x1p-13f of an odd multiple of
32109         pi/4.
32110         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32111         exception.  Add more tests.
32112         * sysdeps/i386/fpu/libm-test-ulps: Update.
32114         [BZ #6778]
32115         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32116         inputs and return -1 for them.  Do not check for +Inf in case not
32117         reachable for +Inf.
32118         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32119         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32120         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32121         and return -1 for them.  Do not check for +Inf in case not
32122         reachable for +Inf.
32123         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32124         define.
32125         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32126         and return -1 for them.  Do not check for +Inf in case not
32127         reachable for +Inf.
32128         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32129         spurious underflow.
32130         * sysdeps/i386/fpu/libm-test-ulps: Update.
32131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32133 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32135         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32137 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32139         [BZ #14157]
32140         [BZ #14331]
32141         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32142         could result in spurious underflow.  Scale down values above
32143         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32144         * math/s_csqrtf.c (__csqrtf): Likewise.
32145         * math/s_csqrtl.c (__csqrtl): Likewise.
32146         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32147         spurious underflow.
32148         * sysdeps/i386/fpu/libm-test-ulps: Update.
32149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32151 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32153         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32154         xopen-msg.sed.
32155         * catgets/xopen-msg.awk: New file.
32156         * catgets/xopen-msg.sed: Removed.
32158         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32159         po2text.sed.
32160         * intl/po2test.awk: New file.
32161         * intl/po2test.sed: Removed.
32163 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32165         [BZ #14328]
32166         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32167         or multiply small sinh result by itself.
32168         * math/s_ctanf.c (__ctanf): Likewise.
32169         * math/s_ctanh.c (__ctanh): Likewise.
32170         * math/s_ctanhf.c (__ctanhf): Likewise.
32171         * math/s_ctanhl.c (__ctanhl): Likewise.
32172         * math/s_ctanl.c (__ctanl): Likewise.
32173         * math/libm-test.inc (ctan_test_tonearest): New function.
32174         (ctan_test_towardzero): Likewise.
32175         (ctan_test_downward): Likewise.
32176         (ctan_test_upward): Likewise.
32177         (ctanh_test_tonearest): Likewise.
32178         (ctanh_test_towardzero): Likewise.
32179         (ctanh_test_downward): Likewise.
32180         (ctanh_test_upward): Likewise.
32181         (main): Call these new functions.
32182         * sysdeps/i386/fpu/libm-test-ulps: Update.
32183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32185 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32187         * .gitignore: Delete /ports entry.
32189 2012-07-03  Andreas Jaeger  <aj@suse.de>
32191         * po/bg.po: Update from translation team.
32192         * po/cs.po: Likewise.
32193         * po/de.po: Likewise.
32194         * po/hr.po: Likewise.
32195         * po/nl.pl: Likewise.
32196         * po/pl.po: Likewise.
32197         * po/vi.po: Likewise.
32199 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32201         * Makeconfig [!+link] (+link-before-libc): New variable.
32202         [!+link] (+link-after-libc): Likewise.
32203         [!+link] (+link-tests): Likewise.
32204         [!+link] (+link): Define in terms of $(+link-before-libc) and
32205         $(+link-after-libc).
32206         [!+link-static] (+link-static-before-libc): New variable.
32207         [!+link-static] (+link-static-after-libc): Likewise.
32208         [!+link-static] (+link-static-tests): Likewise.
32209         [!+link-static] (+link-static): Define in terms of
32210         $(+link-static-before-libc) and $(+link-static-after-libc).
32211         [build-shared] (link-libc-before-gnulib): New variable.
32212         [build-shared] (link-libc-tests): Likewise.
32213         [build-shared] (link-libc): Define in terms of
32214         $(link-libc-before-gnulib).
32215         [!build-shared] (link-libc-tests): New variable.
32216         (link-libc-static-tests): New variable.
32217         [!gnulib] (gnulib-arch): New variable.
32218         [!gnulib] (gnulib-tests): Likewise.
32219         [!gnulib] (static-gnulib-arch): Likewise.
32220         [!gnulib] (static-gnulib-tests): Likewise.
32221         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32222         Define with "=" instead of ":=".
32223         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32224         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32225         * Rules (binaries-all-notests): New variable.
32226         (binaries-all-tests): Likewise.
32227         (binaries-static-notests): Likewise.
32228         (binaries-static-tests): Likewise.
32229         (binaries-all): Define using $(binaries-all-notests) and
32230         $(binaries-all-tests).
32231         (binaries-static): Define using $(binaries-static-notests) and
32232         $(binaries-static-tests).
32233         (binaries-shared-tests): New variable.
32234         (binaries-shared-notests): Likewise.
32235         (binaries-shared): Remove variable.
32236         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32237         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32238         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32239         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32240         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32241         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32242         * elf/Makefile (sln-modules): New variable.
32243         (extra-objs): Add $(sln-modules:=.o).
32244         (ldconfig-modules): Add static-stubs.
32245         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32246         * elf/static-stubs.c: New file.
32248         [BZ #14283]
32249         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32250         by 7 not 8 to examine high bit of fractional part.  Use volatile
32251         variables when splitting into final array of floats if
32252         __FLT_EVAL_METHOD__ != 0.
32253         * math/libm-test.inc (cos_test): Add another test.
32254         (sin_test): Likewise.
32255         * sysdeps/i386/fpu/libm-test-ulps: Update.
32257         [BZ #14273]
32258         * math/libm-test.inc (cosh_test): Add more tests.
32260         * version.h (RELEASE): Set to "development".
32261         (VERSION): Set to "2.16.90".
32263 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32265         * NEWS: Update copyright. Remove last-updated date.
32266         Mention math library bug fixes and timezone data changes.
32267         * README: Mention GNU/Hurd, x32, and HPPA support status.
32269 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32271         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32273 2012-06-27  Andreas Jaeger  <aj@suse.de>
32275         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32277 2012-06-25  Andreas Jaeger  <aj@suse.de>
32279         * sysdeps/s390/fpu/libm-test-ulps: Update.
32281 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32282             Thomas Schwinge  <thomas@codesourcery.com>
32284         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32285         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32287         fanotify_mark.
32289 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32291         * sysdeps/mach/start.c: Remove file.
32292         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32293         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32294         * sysdeps/sh/init-first.c: Likewise.
32296         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32297         registers for frame unwinding purposes, add CFI directives.
32298         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32299         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32300         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32301         Likewise.
32303         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32304         __fortify_fail returning.
32305         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32307         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32308         sysdeps/sh/____longjmp_chk.S.
32309         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32310         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32311         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32312         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32314         * sysdeps/sh/abort-instr.h: New file.
32315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32316         process in case exit returns.
32318         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32319         initialize the GOT register before use.
32321         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32322         calculation of ARGC > 4.
32324         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32325         meaningful names to some local labels.
32327 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32328             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32330         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32331         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32332         (__arch_compare_and_exchange_val_16_acq): Likewise.
32333         (__arch_compare_and_exchange_val_32_acq): Likewise.
32334         (atomic_exchange_and_add): Fix gUSA sequence.
32335         (atomic_add): Likewise.
32336         (atomic_add_negative): Likewise.
32337         (atomic_add_zero): Likewise.
32338         (atomic_bit_test_set): Likewise.
32340 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32342         [BZ #13579]
32343         * include/link.h (struct link_map): Add l_free_initfini.
32344         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32345         l_initfini.
32346         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32347         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32348         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32349         set.
32351 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32353         * configure.in: Use AC_LANG_SOURCE.
32354         * configure: Regenerate.
32356 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32358         * configure.in (libc_cv_localstatedir): New substituted variable.
32359         * configure: Regenerated.
32360         * config.make.in (localstatedir): New variable, substituted from
32361         libc_cv_localstatedir.
32362         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32363         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32364         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32365         * sysdeps/gnu/configure: Regenerated.
32367 2012-06-21  Jeff Law  <law@redhat.com>
32369         [BZ #14277]
32370         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32371         free.  Simplify list management for _LIBC case.
32373 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32375         [BZ #14273]
32376         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32377         Clear sign bit of 64-bit integer value before comparing against
32378         overflow value.
32380         * sysdeps/mach/configure: Regenerated.
32382 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32384         [BZ #14278]
32385         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32387 2012-06-21  Jeff Law  <law@redhat.com>
32389         [BZ #13882]
32390         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32391         uint16_t for elements in the "seen" array to avoid char overflows.
32392         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32393         * elf/dl-open.c (dl_open_worker): Likewise.
32395 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32397         * scripts/list-sources.sh: Scan PORTS for translations.
32398         * po/libc.pot: Regenerated.
32400 2012-06-21  Andreas Jaeger  <aj@suse.de>
32402         [BZ #12194]
32403         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32404         warning.
32405         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32406         * bits/byteswap-16.h (__bswap_16): Likewise.
32407         * bits/byteswap.h (__bswap_constant_16): Likewise.
32409 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32411         [BZ #14117]
32412         * sysdeps/i386/fpu_control.h: Removed.
32413         * sysdeps/x86_64/fpu_control.h: Moved to ...
32414         * sysdeps/x86/fpu_control.h: Here.
32416         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32417         (_FPU_SETCW): Likewise.
32419 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32421         [BZ #14117]
32422         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32423         * sysdeps/x86/fpu/bits/mathinline.h: This.
32424         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32426         [BZ #14050]
32427         [BZ #14117]
32428         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32429         functions if __x86_64__ is defined.
32431 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32433         * string/endian.h: Add !__ASSEMBLER__ condition for including
32434         conversion interfaces.
32436 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32438         [BZ #14241]
32439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32440         of ABS(x) in calculating zero to negative powers other than odd
32441         integers.
32442         * math/libm-test.inc (pow_test): Add more tests.
32444 2012-06-15  Andreas Jaeger  <aj@suse.de>
32446         * manual/contrib.texi (Contributors): Update entry of Liubov
32447         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32448         Machado Filho.
32450 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32452         * string/string.h: Add __wur to GNU version of strerror_r.
32454 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32456         [BZ #14229]
32457         * string/Makefile (tests): Add tst-strtok_r.
32458         * string/tst-strtok_r.c: New file.
32459         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32460         RAX_LP/RDX_LP on SAVE_PTR.
32462 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32464         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32466 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32468         * libm_test.inc (csqrt_test): Allow more spurious underflow
32469         exceptions.
32470         (j0_test): Likewise.
32471         (j1_test): Likewise.
32472         (y0_test): Likewise.
32473         (y1_test): Likewise.
32475 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32477         * po/Makefile (libc.pot): Use UTF-8 charset.
32479 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32481         [BZ #14210]
32482         Suppress sign-conversion warning from FD_SET.
32483         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32484         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32485         not unsigned long int.
32486         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32488 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32490         [BZ #14050]
32491         [BZ #14117]
32492         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32493         __extern_always_inline instead of __extern_inline.
32494         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32495         (__signbit): Likewise.
32496         (__signbitl): Support C++ namespace.
32497         (lrintf): New inline function.
32498         (lrint): Likewise.
32499         (llrintf): Likewise.
32500         (llrint): Likewise.
32501         (fmaxf): Likewise.
32502         (fmax): Likewise.
32503         (fminf): Likewise.
32504         (fmin): Likewise.
32505         (rint): Likewise.
32506         (rintf): Likewise.
32507         (ceil): Likewise.
32508         (ceilf): Likewise.
32509         (floor): Likewise.
32510         (floorf): Likewise.
32511         (nearbyint): Likewise.
32512         (nearbyintf): Likewise.
32514 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32517         non-default versions.
32519 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32521         [BZ #14218]
32522         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32524 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32526         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32527         (FE_UPWARD, FE_DOWNWARD): Don't define.
32528         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32529         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32531         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32532         reading it.
32533         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32534         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32536 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32538         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32539         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32540         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32541         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32543 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32545         [BZ #14117]
32546         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32547         * sysdeps/i386/fpu/Implies: New file.
32548         * sysdeps/x86_64/fpu/Implies: Likewise.
32549         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32550         * sysdeps/x86/fpu/bits/fenv.h: This.
32552         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32553         __SSE_MATH__.
32555 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32557         [BZ #14134]
32558         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32559         character 0xffff that matches the last element of the
32560         conversion table.
32562 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32565         fmodl commit.
32567 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32570         values higher than 25.6283.
32572 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32575         subnormal exponent extraction and add some __builtin_expect.
32576         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32577         Fix for subnormal mantissa calculation.
32579 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32581         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32582         cpu2 is -1 and errno is not ENOSYS.
32584 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32586         [BZ #14117]
32587         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32588         * sysdeps/x86/bits/string.h: This.
32589         * sysdeps/x86_64/bits/string.h: Removed.
32591         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32592         if not compiling for x86-64, but compiling for >= i486.
32594         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32595         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32597         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32598         New macro from Linux kernel 3.4.0.
32599         (FP_XSTATE_MAGIC2): Likewise.
32600         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32601         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32602         (struct _fpx_sw_bytes): New struct.
32603         (struct _xsave_hdr): Likewise.
32604         (struct _ymmh_state): Likewise.
32605         (struct _xstate): Likewise.
32607         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32608         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32609         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32610         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32611         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32612         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32614         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32615         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32616         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32617         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32618         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32619         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32621 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32623         [BZ #13743]
32624         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32625         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32626         (sysdep_headers): Include sys/platform/ppc.h.
32627         * sysdeps/powerpc/test-gettimebase.c: Test for
32628         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32629         * manual/Makefile (appendices): Include platform.texi.
32630         * manual/contrib.texi (Contributors): Update @node pointers.
32631         * manual/maint.texi (Maintenance): Likewise.
32632         (Platform): New node.
32633         * manual/platform.texi: New file.  Document the new features.
32635 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32636             Jakub Jelinek  <jakub@redhat.com>
32638         [BZ #14188]
32639         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32640         where __builtin_expect is unavailable.
32642 2012-06-03  David S. Miller  <davem@davemloft.net>
32644         * stdlib/longlong.h: Updated from GCC.
32646 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32648         [BZ #14042]
32649         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32650         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32651         __mcount_internal.
32652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32653         (GLIBC_2.16): Likewise.
32655 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32657         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32659 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32662         (default-abi): New variable.
32663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32664         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32665         variable.
32666         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32667         Likewise.
32668         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32669         Likewise.
32670         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32671         Likewise.
32673         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32674         definition.  Document in comment.
32676 2012-06-01  David S. Miller  <davem@davemloft.net>
32678         * stdlib/longlong.h: Updated from GCC.
32680 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32682         [BZ #14117]
32683         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32684         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32685         sys/debugreg.h sys/io.h here.
32686         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32687         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32688         sys/io.h.
32689         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32690         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32691         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32692         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32693         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32694         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32696         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32697         Define only if __x86_64__ is defined.
32699 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32701         [BZ #14048]
32702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32703         Use int64_t for variable i.
32704         * math/libm-test.inc (fmod_test): Add more tests.
32706         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32707         z computation is not scheduled after fetestexcept.
32708         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32709         Use math_force_eval instead of asm to ensure calculation scheduled
32710         before exception test.
32711         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32712         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32714 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32717         computation is not scheduled after fetestexcept.
32719 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32721         [BZ #14117]
32722         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32723         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32725 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32727         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32728         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32730 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32732         [BZ #14117]
32733         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32734         <bits/wordsize.h>.
32735         (__WCHAR_MIN): Support __WORDSIZE == 64.
32736         (__WCHAR_MAX): Likewise.
32738         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32739         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32741         [BZ #14183]
32742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32743         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32745         [BZ #14117]
32746         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32747         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32749         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32750         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32752         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32753         Defined to 1 if __x86_64__ isn't defined.
32754         (_STAT_VER_LINUX_OLD): New.
32755         (st_atime): Remove duplicate.
32756         (st_mtime): Likewise.
32757         (st_ctime): Likewise.
32759 2012-05-31  David S. Miller  <davem@davemloft.net>
32761         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32762         entries.
32764 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32766         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32767         gen-libm-test.pl.
32769         [BZ #14132]
32770         * elf/dl-reloc.c: Include <_itoa.h>.
32771         (_dl_reloc_bad_type): Remove use of INTUSE.
32772         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32773         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32774         * stdio-common/psiginfo.c (psiginfo): Likewise.
32775         * stdio-common/psignal.c (psignal): Likewise.
32776         * string/strsignal.c (strsignal): Likewise.
32777         * include/signal.h (_sys_siglist): Declare hidden proto.
32778         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32779         INTVARDEF with libc_hidden_data_def.
32780         * stdio-common/itoa-udigits.c: Likewise.
32781         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32782         (_itoa_lower_digits_internal): Remove declaration.
32783         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32784         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32785         (_sys_sigabbrev_internal): Remove aliases.
32786         (_sys_siglist): Define hidden alias.
32788 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32791         bits/sysctl.h.
32793 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32795         [BZ #14117]
32796         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32797         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32799         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32800         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32801         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32802         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32803         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32804         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32806         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32807         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32808         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32810         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32811         with __addr.
32812         (insw): Likewise.
32813         (insl): Likewise.
32814         (outsb): Likewise.
32815         (outsw): Likewise.
32816         (outsl): Likewise.
32818         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32820         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32822         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32823         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32824         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32825         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32826         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32827         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32829         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32830         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32832         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32833         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32835         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32837         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32839         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32840         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32841         to ...
32842         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32844         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32845         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32846         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32848         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32849         for x86-64.
32850         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32852 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32854         * math/math.h (M_El): Use two more decimal places.
32855         (M_LOG2El): Likewise.
32856         (M_LOG10El): Likewise.
32857         (M_LN2l): Likewise.
32858         (M_LN10l): Likewise.
32859         (M_PIl): Likewise.
32860         (M_PI_2l): Likewise.
32861         (M_PI_4l): Likewise.
32862         (M_1_PIl): Likewise.
32863         (M_2_PIl): Likewise.
32864         (M_2_SQRTPIl): Likewise.
32865         (M_SQRT2l): Likewise.
32866         (M_SQRT1_2l): Likewise.
32868 2012-05-31  David S. Miller  <davem@davemloft.net>
32870         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32871         values between float registers.
32872         * sysdeps/sparc/sparc64/memset.S: Likewise.
32873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32875 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32877         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32878         -D_FORTIFY_SOURCE=1.
32879         (CPPFLAGS-tst-longjmp_chk.c): Define.
32880         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32881         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32882         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32883         CFLAGS-tst-wchar-h.c.
32885 2012-05-31  Marek Polacek  <polacek@redhat.com>
32887         [BZ #14132]
32888         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32889         __endmntent_internal): Remove declaration.
32890         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32891         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32892         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32894 2012-05-30  David S. Miller  <davem@davemloft.net>
32896         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32897         (___Q_simulate_exceptions): Use real FP ops rather than writing
32898         into the %fsr.
32899         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32900         Likewise.
32902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32904         [BZ #14117]
32905         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32906         * sysdeps/x86/bits/xtitypes.h: This.
32908         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32909         * sysdeps/x86/bits/wordsize.h: This.
32911         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32912         * sysdeps/x86/bits/huge_vall.h: This.
32914         * sysdeps/i386/bits/select.h: Removed.
32915         * sysdeps/x86_64/bits/select.h: Renamed to ...
32916         * sysdeps/x86/bits/select.h: This.
32918         * sysdeps/i386/bits/setjmp.h: Removed.
32919         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32920         * sysdeps/x86/bits/setjmp.h: This.
32922         * sysdeps/i386/bits/mathdef.h: Removed.
32923         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32924         * sysdeps/x86/bits/mathdef.h: This.
32926 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32928         [BZ #14132]
32929         * include/sys/socket.h (__connect_internal)
32930         (__libc_sa_len_internal): Remove declaration.
32931         (__connect, __libc_sa_len): Declare hidden_proto.
32932         (SA_LEN): Remove use of INTUSE.
32933         * socket/connect.c: Add libc_hidden_def.
32934         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32935         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32936         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32937         alias.
32938         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32939         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32940         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32941         of adding _internal alias.
32943 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32945         [BZ #14117]
32946         * sysdeps/i386/bits/link.h: Removed.
32947         * sysdeps/i386/bits/linkmap.h: Likewise.
32948         * sysdeps/x86_64/bits/link.h: Renamed to ...
32949         * sysdeps/x86/bits/link.h: This.
32950         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32951         * sysdeps/x86/bits/linkmap.h: This.
32953         * sysdeps/i386/bits/endian.h: Removed.
32954         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32955         * sysdeps/x86/bits/endian.h: This.
32957         * sysdeps/i386/bits/byteswap.h: Removed.
32958         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32959         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32960         * sysdeps/x86/bits/byteswap.h: This.
32961         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32962         * sysdeps/x86/bits/byteswap-16.h: This.
32963         * sysdeps/i386/Implies: Add x86.
32964         * sysdeps/x86_64/Implies: Likewise.
32966 2012-05-30  David S. Miller  <davem@davemloft.net>
32968         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32969         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32971         (FP_TRAPPING_EXCEPTIONS): Define.
32972         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32973         (FP_TRAPPING_EXCEPTIONS): Define.
32974         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32975         subnormals only when inexact has been signalled or underflow
32976         exceptions are enabled.
32977         (_FP_PACK_CANONICAL): Likewise.
32979 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32981         [BZ #14183]
32982         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32983         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32985 2012-05-30  Richard Henderson  <rth@twiddle.net>
32987         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32988         with #ifndef NOT_IN_libc.
32990         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32991         marked to avoid plt entry.
32993 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32995         [BZ #14112]
32996         * Makeconfig (default-abi): New macro.
32997         (abi-includes): Likewise.
32998         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32999         $(abi-$(default-abi)-lib-soname) for soname if defined.
33000         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33001         abi-variants.
33002         * Makefile (installed-stubs): Likewise.
33003         * include/stubs-biarch.h: Removed.
33004         * scripts/lib-names.awk: Only handle one library at a time.
33005         * scripts/soversions.awk: Remove WORDSIZE support.
33006         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33007         entries.
33008         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33009         Removed.
33010         (syscall-list-default-condition): Likewise.
33011         (syscall-list-default-condition): Likewise.
33012         (syscall-list-includes): Likewise.
33013         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33014         syscall-list-* with abi-*.  Handle undefined abi-variants.
33015         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33016         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33017         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33018         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33019         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33020         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33021         Removed.
33022         (syscall-list-32-options): Likewise.
33023         (syscall-list-32-condition): Likewise.
33024         (syscall-list-64-options): Likewise.
33025         (syscall-list-64-condition): Likewise.
33026         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33027         macro.
33028         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33029         Renamed to ...
33030         (abi-*): This.
33031         (abi-64-ld-soname): New macro.
33032         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33033         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33034         Renamed to ...
33035         (abi-*): This.
33036         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33037         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33039 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33041         * sysdeps/unix/sysv/linux/kernel-features.h
33042         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33043         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33044         include <kernel-features.h>.
33045         [!__NR_ftruncate64]: Remove conditional code.
33046         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33047         [__NR_ftruncate64]: Make code unconditional.
33048         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33049         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33050         include <kernel-features.h>.
33051         [!__NR_ftruncate64]: Remove conditional code.
33052         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33053         [__NR_ftruncate64]: Make code unconditional.
33054         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33056         include <kernel-features.h>.
33057         [!__NR_ftruncate64]: Remove conditional code.
33058         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33059         [__NR_ftruncate64]: Make code unconditional.
33060         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33062         include <kernel-features.h>.
33063         [!__NR_ftruncate64]: Remove conditional code.
33064         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33065         [__NR_ftruncate64]: Make code unconditional.
33066         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33068         * configure.in (libc_cv_fpie): Weaken to a compile test using
33069         LIBC_TRY_CC_OPTION.
33070         * configure: Regenerated.
33072 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33078         Refreshed.
33079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33085         Refreshed.
33087 2012-05-27  David S. Miller  <davem@davemloft.net>
33089         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33090         (___Q_zero): New.
33091         (__Q_simulate_exceptions): Return void.  Change to simulate
33092         exceptions by writing into the %fsr.
33093         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33094         (__Qp_handle_exceptions): Likewise.
33095         (numbers): Delete.
33096         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33097         __Qp_handle_exceptions.
33098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33099         __Qp_handle_exceptions.
33100         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33101         as unused and give dummy FP_RND_NEAREST initializer.
33102         (FP_INHIBIT_RESULTS): Define.
33103         (___Q_simulate_exceptions): Update declaration.
33104         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33105         formatting.
33106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33107         as unused and give dummy FP_RND_NEAREST initializer.
33108         (__Qp_handle_exceptions): Update declaration.
33109         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33110         formatting.
33112 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33114         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33115         the temporary FPU control word.
33116         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33117         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33118         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33119         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33120         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33121         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33122         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33123         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33124         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33125         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33126         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33128 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33130         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33131         fields.
33133 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33135         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33136         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33137         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33138         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33139         Likewise.
33140         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33141         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33142         Likewise.
33144 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33146         * po/h.po: Update from translation team.
33148 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33150         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33152         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33153         handling of denormals.
33154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33155         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33156         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33157         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33158         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33161         Likewise.
33163 2012-05-26  Marek Polacek  <polacek@redhat.com>
33165         [BZ #14152]
33166         * math/libm-test.inc (fma_test): Don't always expect underflow
33167         exception.
33169 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33171         [BZ #12416]
33172         * elf/tst-execstack.c: Include stackinfo.h.
33173         (do_test): Adjust test case to ensure that pthread_getattr_np
33174         behaviour remains the same after marking stack executable.
33176 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33178         * sysdeps/unix/sysv/linux/kernel-features.h
33179         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33180         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33181         kernel-features.h.
33182         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33183         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33184         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33185         kernel-features.h.
33186         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33187         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33189 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33191         * configure.in: Define the default includes to being none.
33192         * configure: Regenerated.
33194 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33196         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33197         * sysdeps/x86_64/setjmp.S: Likewise.
33198         * sysdeps/i386/bsd-setjmp.S: Likewise.
33199         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33200         * sysdeps/i386/setjmp.S: Likewise.
33201         * sysdeps/i386/__longjmp.S: Likewise.
33202         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33203         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33205         * include/stap-probe.h: New file.
33206         * configure.in: Handle --enable-systemtap.
33207         * configure: Regenerated.
33208         * config.h.in (USE_STAP_PROBE): New #undef.
33209         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33210         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33211         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33213 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33215         [BZ #13717]
33216         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33217         to 2.4.0 where earlier.
33218         * sysdeps/unix/sysv/linux/configure: Regenerated.
33219         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33220         <kernel-features.h>.
33221         [__ASSUME_32BITUIDS]: Make code unconditional.
33222         [!__ASSUME_32BITUIDS]: Remove conditional code.
33223         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33224         <kernel-features.h>.
33225         [__ASSUME_32BITUIDS]: Make code unconditional.
33226         [!__ASSUME_32BITUIDS]: Remove conditional code.
33227         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33228         [__ASSUME_32BITUIDS]: Make code unconditional.
33229         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33230         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33231         <kernel-features.h>.
33232         [__ASSUME_32BITUIDS]: Make code unconditional.
33233         [!__ASSUME_32BITUIDS]: Remove conditional code.
33234         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33235         <kernel-features.h>.
33236         [__ASSUME_32BITUIDS]: Make code unconditional.
33237         [!__ASSUME_32BITUIDS]: Remove conditional code.
33238         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33239         <kernel-features.h>.
33240         [__ASSUME_32BITUIDS]: Make code unconditional.
33241         [!__ASSUME_32BITUIDS]: Remove conditional code.
33242         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33243         <kernel-features.h>.
33244         [__ASSUME_32BITUIDS]: Make code unconditional.
33245         [!__ASSUME_32BITUIDS]: Remove conditional code.
33246         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33247         <kernel-features.h>.
33248         [__ASSUME_32BITUIDS]: Make code unconditional.
33249         [!__ASSUME_32BITUIDS]: Remove conditional code.
33250         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33251         <kernel-features.h>.
33252         [__ASSUME_32BITUIDS]: Make code unconditional.
33253         [!__ASSUME_32BITUIDS]: Remove conditional code.
33254         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33255         <kernel-features.h>.
33256         [__ASSUME_32BITUIDS]: Make code unconditional.
33257         [!__ASSUME_32BITUIDS]: Remove conditional code.
33258         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33259         <kernel-features.h>.
33260         [__ASSUME_32BITUIDS]: Make code unconditional.
33261         [!__ASSUME_32BITUIDS]: Remove conditional code.
33262         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33263         <kernel-features.h>.
33264         [__ASSUME_32BITUIDS]: Make code unconditional.
33265         [!__ASSUME_32BITUIDS]: Remove conditional code.
33266         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33267         <kernel-features.h>.
33268         [__ASSUME_32BITUIDS]: Make code unconditional.
33269         [!__ASSUME_32BITUIDS]: Remove conditional code.
33270         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33271         <kernel-features.h>.
33272         [__NR_setresgid] (__setresgid): Do not declare.
33273         [__ASSUME_32BITUIDS]: Make code unconditional.
33274         [!__ASSUME_32BITUIDS]: Remove conditional code.
33275         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33276         <kernel-features.h>.
33277         [__NR_setresuid] (__setresuid): Do not declare.
33278         [__ASSUME_32BITUIDS]: Make code unconditional.
33279         [!__ASSUME_32BITUIDS]: Remove conditional code.
33280         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33281         <kernel-features.h>.
33282         [__ASSUME_32BITUIDS]: Make code unconditional.
33283         [!__ASSUME_32BITUIDS]: Remove conditional code.
33284         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33285         <kernel-features.h>.
33286         [__ASSUME_32BITUIDS]: Make code unconditional.
33287         [!__ASSUME_32BITUIDS]: Remove conditional code.
33288         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33289         <kernel-features.h>.
33290         [__ASSUME_32BITUIDS]: Make code unconditional.
33291         [!__ASSUME_32BITUIDS]: Remove conditional code.
33292         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33293         <kernel-features.h>.
33294         [__ASSUME_32BITUIDS]: Make code unconditional.
33295         [!__ASSUME_32BITUIDS]: Remove conditional code.
33296         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33297         <kernel-features.h>.
33298         [__ASSUME_32BITUIDS]: Make code unconditional.
33299         [!__ASSUME_32BITUIDS]: Remove conditional code.
33300         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33301         <kernel-features.h>.
33302         [__ASSUME_32BITUIDS]: Make code unconditional.
33303         [!__ASSUME_32BITUIDS]: Remove conditional code.
33304         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33305         <kernel-features.h>.
33306         [__ASSUME_32BITUIDS]: Make code unconditional.
33307         [!__ASSUME_32BITUIDS]: Remove conditional code.
33308         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33309         <kernel-features.h>.
33310         [__ASSUME_32BITUIDS]: Make code unconditional.
33311         [!__ASSUME_32BITUIDS]: Remove conditional code.
33312         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33313         <kernel-features.h>.
33314         [__ASSUME_32BITUIDS]: Make code unconditional.
33315         [!__ASSUME_32BITUIDS]: Remove conditional code.
33316         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33317         <kernel-features.h>.
33318         [__ASSUME_32BITUIDS]: Make code unconditional.
33319         [!__ASSUME_32BITUIDS]: Remove conditional code.
33320         * sysdeps/unix/sysv/linux/kernel-features.h
33321         (__ASSUME_SETRESUID_SYSCALL): Remove.
33322         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33323         (__ASSUME_32BITUIDS): Likewise.
33324         (__ASSUME_LDT_WORKS): Likewise.
33325         (__ASSUME_O_DIRECTORY): Likewise.
33326         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33327         architecture but not kernel version.
33328         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33329         (__ASSUME_MMAP2_SYSCALL): Likewise.
33330         (__ASSUME_STAT64_SYSCALL): Likewise.
33331         (__ASSUME_IPC64): Likewise.
33332         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33333         <kernel-features.h>.
33334         [__ASSUME_32BITUIDS]: Make code unconditional.
33335         [!__ASSUME_32BITUIDS]: Remove conditional code.
33336         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33337         <kernel-features.h>.
33338         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33339         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33340         132096]: Remove conditional code.
33341         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33342         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33343         <kernel-features.h>.
33344         [__ASSUME_32BITUIDS]: Make code unconditional.
33345         [!__ASSUME_32BITUIDS]: Remove conditional code.
33346         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33347         <kernel-features.h>.
33348         [__ASSUME_32BITUIDS]: Make code unconditional.
33349         [!__ASSUME_32BITUIDS]: Remove conditional code.
33350         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33351         <kernel-features.h>.
33352         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33353         unconditional.
33354         (__setresgid): Do not declare.
33355         [__ASSUME_32BITUIDS]: Make code unconditional.
33356         [!__ASSUME_32BITUIDS]: Remove conditional code.
33357         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33358         <kernel-features.h>.
33359         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33360         unconditional.
33361         (__setresuid): Do not declare.
33362         [__ASSUME_32BITUIDS]: Make code unconditional.
33363         [!__ASSUME_32BITUIDS]: Remove conditional code.
33364         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33365         <kernel-features.h>.
33366         [__ASSUME_32BITUIDS]: Make code unconditional.
33367         [!__ASSUME_32BITUIDS]: Remove conditional code.
33368         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33369         <kernel-features.h>.
33370         [__ASSUME_32BITUIDS]: Make code unconditional.
33371         [!__ASSUME_32BITUIDS]: Remove conditional code.
33373 2012-05-25  Richard Henderson  <rth@twiddle.net>
33375         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33376         dl_hwcap to ifunc resolver.
33377         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33378         elf_ifunc_invoke.
33379         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33380         dl_hwcap to ifunc resolver.
33381         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33383 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33385         [BZ #14153]
33386         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33387         for |x| <= 2**-26, not 2**-57.
33388         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33389         exception.
33391 2012-05-24  Jeff Law  <law@redhat.com>
33393         * stdio-common/Makefile (tests): Add bug25.
33394         * stdio-common/bug25.c: New test.
33396 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33398         [BZ #13576]
33399         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33400         multiple of MALLOC_ALIGNMENT in size.
33401         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33403 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33405         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33406         Require >= 256.
33407         (FILENAME_MAX): Use macro-int-constant.
33408         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33409         (_IOFBF): Use macro-int-constant.
33410         (_IOLBF): Likewise.
33411         (_IONBF): Likewise.
33412         (SEEK_CUR): Likewise.
33413         (SEEK_END): Likewise.
33414         (SEEK_SET): Likewise.
33415         (TMP_MAX): Likewise.
33416         (EOF): Use macro-int-constant.  Require < 0.
33417         (NULL): Use macro-constant.  Require == 0.
33418         (stdin): Require type to be FILE *.
33419         (stdout): Likewise.
33420         (stderr): Likewise.
33421         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33422         macro-int-constant.
33423         (EXIT_SUCCESS): Likewise.
33424         (NULL): Use macro-constant.  Require == 0.
33425         (RAND_MAX): Use macro-int-constant.
33426         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33427         [C99-based standards] (strtof): Require function.
33428         [C99-based standards] (strtold): Likewise.
33429         [C99-based standards] (strtoll): Likewise.
33430         [C99-based standards] (strtoull): Likewise.
33431         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33432         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33433         [ISO || ISO99 || ISO11] (math.h): Likewise.
33434         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33435         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33438 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33440         [BZ #14132]
33441         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33442         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33443         * intl/dgettext.c (DCGETTEXT): Likewise.
33444         * intl/gettext.c (DCGETTEXT): Likewise.
33445         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33446         * posix/regex_internal.h (gettext): Likewise.
33447         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33448         Remove declaration.
33449         * include/argz.h (__argz_count_internal)
33450         (__argz_stringify_internal): Remove declaration.
33451         (__argz_count, __argz_stringify): Declare hidden proto.
33452         * intl/dcgettext.c: Remove use of INTDEF.
33453         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33454         * string/argz-stringify.c: Likewise.
33455         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33456         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33457         Declare hidden proto.
33458         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33459         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33460         Declare hidden proto.
33461         * include/stdio.h (__asprintf_internal): Don't declare.
33462         (__asprintf): Don't define as macro.  Declare hidden proto.
33463         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33464         (__fsetlocking): Declare hidden proto.
33465         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33466         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33467         hidden proto.
33468         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33469         (_IO_setlinebuf): Remove use of INTUSE.
33470         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33471         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33472         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33473         Remove declaration.
33474         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33475         (_IO_do_flush): Remove use of INTUSE.
33476         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33477         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33478         (_IO_adjust_column, _IO_least_wmarker)
33479         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33480         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33481         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33482         (_IO_default_doallocate, _IO_wdefault_doallocate)
33483         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33484         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33485         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33486         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33487         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33488         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33489         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33490         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33491         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33492         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33493         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33494         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33495         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33496         proto.
33497         (_IO_flush_all_internal, _IO_adjust_column_internal)
33498         (_IO_default_uflow_internal, _IO_default_finish_internal)
33499         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33500         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33501         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33502         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33503         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33504         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33505         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33506         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33507         (_IO_file_close_internal, _IO_file_close_it_internal)
33508         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33509         (_IO_file_init_internal, _IO_file_attach_internal)
33510         (_IO_file_fopen_internal, _IO_file_read_internal)
33511         (_IO_file_sync_internal, _IO_file_seek_internal)
33512         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33513         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33514         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33515         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33516         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33517         (_IO_list_all_internal, _IO_link_in_internal)
33518         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33519         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33520         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33521         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33522         (_IO_do_write_internal, _IO_padn_internal)
33523         (_IO_getline_info_internal, _IO_getline_internal)
33524         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33525         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33526         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33527         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33528         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33529         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33530         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33531         with libc_hidden_ver, remove use of INTUSE.
33532         * libio/genops.c: Likewise.
33533         * libio/freopen.c: Likewise.
33534         * libio/freopen64.c: Likewise.
33535         * libio/iofclose.c: Likewise.
33536         * libio/iofdopen.c: Likewise.
33537         * libio/iofflush.c: Likewise.
33538         * libio/iofflush_u.c: Likewise.
33539         * libio/iofgets.c: Likewise.
33540         * libio/iofgets_u.c: Likewise.
33541         * libio/iofopen.c: Likewise.
33542         * libio/iofopncook.c: Likewise.
33543         * libio/iofread.c: Likewise.
33544         * libio/iofread_u.c: Likewise.
33545         * libio/ioftell.c: Likewise.
33546         * libio/iofwrite.c: Likewise.
33547         * libio/iogetline.c: Likewise.
33548         * libio/iogets.c: Likewise.
33549         * libio/iogetwline.c: Likewise.
33550         * libio/iopadn.c: Likewise.
33551         * libio/iopopen.c: Likewise.
33552         * libio/ioseekoff.c: Likewise.
33553         * libio/ioseekpos.c: Likewise.
33554         * libio/iosetbuffer.c: Likewise.
33555         * libio/iosetvbuf.c: Likewise.
33556         * libio/ioungetc.c: Likewise.
33557         * libio/ioungetwc.c: Likewise.
33558         * libio/iovdprintf.c: Likewise.
33559         * libio/iovsprintf.c: Likewise.
33560         * libio/iovsscanf.c: Likewise.
33561         * libio/memstream.c: Likewise.
33562         * libio/obprintf.c: Likewise.
33563         * libio/oldfileops.c: Likewise.
33564         * libio/oldiofclose.c: Likewise.
33565         * libio/oldiofdopen.c: Likewise.
33566         * libio/oldiofopen.c: Likewise.
33567         * libio/oldiopopen.c: Likewise.
33568         * libio/oldstdfiles.c: Likewise.
33569         * libio/putc.c: Likewise.
33570         * libio/setbuf.c: Likewise.
33571         * libio/setlinebuf.c: Likewise.
33572         * libio/stdfiles.c: Likewise.
33573         * libio/strops.c: Likewise.
33574         * libio/vasprintf.c: Likewise.
33575         * libio/vscanf.c: Likewise.
33576         * libio/vsnprintf.c: Likewise.
33577         * libio/vswprintf.c: Likewise.
33578         * libio/wfiledoalloc.c: Likewise.
33579         * libio/wfileops.c: Likewise.
33580         * libio/wgenops.c: Likewise.
33581         * libio/wmemstream.c: Likewise.
33582         * libio/wstrops.c: Likewise.
33583         * libio/__fpurge.c: Likewise.
33584         * libio/__fsetlocking.c: Likewise.
33585         * assert/assert.c: Likewise.
33586         * debug/fgets_chk.c: Likewise.
33587         * debug/fgets_u_chk.c: Likewise.
33588         * debug/fread_chk.c: Likewise.
33589         * debug/fread_u_chk.c: Likewise.
33590         * debug/gets_chk.c: Likewise.
33591         * debug/obprintf_chk.c: Likewise.
33592         * debug/vasprintf_chk.c: Likewise.
33593         * debug/vdprintf_chk.c: Likewise.
33594         * debug/vsnprintf_chk.c: Likewise.
33595         * debug/vsprintf_chk.c: Likewise.
33596         * malloc/mtrace.c: Likewise.
33597         * misc/error.c: Likewise.
33598         * misc/syslog.c: Likewise.
33599         * stdio-common/asprintf.c: Likewise.
33600         * stdio-common/fxprintf.c: Likewise.
33601         * stdio-common/getw.c: Likewise.
33602         * stdio-common/isoc99_fscanf.c: Likewise.
33603         * stdio-common/isoc99_scanf.c: Likewise.
33604         * stdio-common/isoc99_vfscanf.c: Likewise.
33605         * stdio-common/isoc99_vscanf.c: Likewise.
33606         * stdio-common/isoc99_vsscanf.c: Likewise.
33607         * stdio-common/printf-prs.c: Likewise.
33608         * stdio-common/printf_fp.c: Likewise.
33609         * stdio-common/printf_fphex.c: Likewise.
33610         * stdio-common/printf_size.c: Likewise.
33611         * stdio-common/putw.c: Likewise.
33612         * stdio-common/scanf.c: Likewise.
33613         * stdio-common/sprintf.c: Likewise.
33614         * stdio-common/tmpfile.c: Likewise.
33615         * stdio-common/vfprintf.c: Likewise.
33616         * stdio-common/vfscanf.c: Likewise.
33617         * stdlib/strfmon_l.c: Likewise.
33618         * sunrpc/openchild.c: Likewise.
33619         * sunrpc/xdr_stdio.c: Likewise.
33620         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33621         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33623 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33625         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33627         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33628         in the third column, to generate for the shared library an IFUNC
33629         that uses _dl_vdso_vsym.
33630         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33631         * Makeconfig (object-suffixes-noshared): New variable.
33633         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33634         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33635         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33636         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33638         [BZ #14132]
33639         * include/sys/time.h (__gettimeofday): Remove macro.
33640         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33641         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33642         Remove INTDEF.
33643         (__gettimeofday): Add libc_hidden_def.
33644         (gettimeofday): Add libc_hidden_weak.
33645         * sysdeps/mach/gettimeofday.c: Likewise.
33646         * sysdeps/posix/gettimeofday.c: Likewise.
33647         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33648         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33649         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33650         (__gettimeofday_internal): Remove strong_alias.
33651         (__gettimeofday): Add libc_hidden_def.
33652         (gettimeofday): Add libc_hidden_weak.
33653         * sysdeps/unix/syscalls.list (gettimeofday):
33654         Remove __gettimeofday_internal alias.
33656 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33657             H.J. Lu  <hongjiu.lu@intel.com>
33659         [BZ #12495]
33660         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33661         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33662         (largebin_index_32_big): New.
33663         (largebin_index): Use it for 16-byte alignment.
33664         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33665         correction with front_misalign.
33667 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33671         Likewise.
33672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33673         Likewise.
33674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33675         Likewise.
33676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33677         Likewise.
33678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33679         Likewise.
33680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33681         Likewise.
33682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33683         Likewise.
33684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33685         Likewise.
33686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33687         Likewise.
33688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33689         Likewise.
33690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33691         Likewise.
33692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33693         Likewise.
33695         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33696         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33698 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33700         [BZ #10846]
33701         [BZ #14036]
33702         * math/libm-test.inc (exp_test): Add test from bug 14036.
33703         (pow_test): Add test from bug 10846.
33705         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33706         and other flags.
33707         (special_function): Do not include flags in test name.
33708         (parse_args): Likewise.
33709         * sysdeps/i386/fpu/libm-test-ulps: Update.
33710         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33711         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33712         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33715         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33716         exceptions.
33717         * math/libm-test.inc ("Philosophy"): Update comment about
33718         exception testing.
33719         (UNDERFLOW_EXCEPTION): New macro.
33720         (UNDERFLOW_EXCEPTION_OK): Likewise.
33721         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33722         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33723         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33724         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33725         (INVALID_EXCEPTION_OK): Update value.
33726         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33727         (OVERFLOW_EXCEPTION_OK): Likewise.
33728         (IGNORE_ZERO_INF_SIGN): Likewise.
33729         (test_exceptions): Handle underflow exceptions.
33730         (acos_test): Update for underflow exception expectations.
33731         (cexp_test): Likewise.
33732         (clog_test): Likewise.
33733         (clog10_test): Likewise.
33734         (csqrt_test): Likewise.
33735         (ctan_test): Likewise.
33736         (ctanh_test): Likewise.
33737         (exp_test): Likewise.
33738         (exp10_test): Likewise.
33739         (exp2_test): Likewise.
33740         (expm1_test): Likewise.
33741         (fma_test): Likewise.
33742         (j0_test): Likewise.
33743         (jn_test): Likewise.
33744         (nexttoward_test): Likewise.
33745         (pow_test): Likewise.
33746         (scalbn_test): Likewise.
33747         (scalbln_test): Likewise.
33748         (tan_test): Likewise.
33749         (y1_test): Likewise.
33750         * sysdeps/i386/fpu/libm-test-ulps: Update.
33751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33753 2012-05-23  David S. Miller  <davem@davemloft.net>
33755         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33756         (__libc_sigaction): Remove unused local variables.
33758 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33760         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33762 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33764         mktime: avoid signed integer overflow
33765         * time/mktime.c (__mktime_internal): Do not mishandle the case
33766         where diff == INT_MIN.
33768         mktime: simplify computation of average
33769         * time/mktime.c (ranged_convert): Use new time_t_avg function
33770         instead of rolling our own (probably-slower) code.
33772         mktime: do not assume signed right shift propagates sign bit
33773         * time/mktime.c (isdst_differ): New static function.
33774         (__mktime_internal): No need to normalize tm_isdst now.
33775         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33776         tm_isdst values.
33778         mktime: merge another wrapv change from gnulib
33779         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33780         from some compilers.
33782         mktime: remove incorrect attempt at unusual arithmetics
33783         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33784         The code didn't really work on such machines anyway.
33785         (TYPE_MINIMUM): Assume two's complement.
33786         (twos_complement_arithmetic): Verify that long_int and time_t
33787         are two's complement (or unsigned, in the latter case).
33789         mktime: check signed shifts on long_int and time_t, too
33790         * time/mktime.c (SHR): Check that shifts work as desired
33791         on the types long_int and time_t too, as SHR is used on
33792         such types.
33794         mktime: do not assume 'long' is wide enough
33795         * time/mktime.c (verify): Move decl up.
33796         (long_int): New type.
33797         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33798         to remove assumption in the code that 'long' is wide enough to
33799         store year values.  This assumption is not true on x32 and on
33800         some non-glibc platforms.
33802         mktime: merge wrapv change from gnulib
33803         * time/mktime.c (WRAPV): New macro.
33804         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33805         (guess_time_tm, __mktime_internal): Do not assume that signed
33806         integer overflow wraps around; modern compilers generate code
33807         where this assumption is no longer valid.
33809 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33811         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33812         Replace "jmp L(pseudo_end)" with "ret".
33813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33814         Likewise.
33816 2012-05-23  Andreas Jaeger  <aj@suse.de>
33818         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33819         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33821 2012-05-23  Andreas Jaeger  <aj@suse.de>
33822             Maximilian Attems  <max@stro.at>
33824         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33825         New macros.
33827 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33830         code so that pseudo_end is just ret and the stack pointer is
33831         correct also for static library in error case.
33833 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33835         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33836         move to syscalls.list.
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33842         * manual/install.texi (Running make install): Do not mention Linux
33843         kernel version for which pt_chown is not needed.
33844         (Linux): Do not mention problems with nscd with 2.0 kernels.
33845         * INSTALL: Regenerated.
33847 2012-05-23  Andreas Jaeger  <aj@suse.de>
33849         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33850         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33851         macro.
33852         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33853         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33854         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33855         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33856         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33857         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33858         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33859         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33860         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33861         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33862         * sysdeps/unix/sysv/linux/bits/in.h
33863         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33865 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33867         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33868         (PREPARE_VERSION): Just use assert instead, it will be elided
33869         under [NDEBUG] anyway.
33871 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33873         * sysdeps/unix/sysv/linux/Makefile: Include
33874         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33875         (sysdep_routines): Remove sysctl.
33876         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33877         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33878         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33879         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33880         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33882 2012-05-22  Andreas Jaeger  <aj@suse.de>
33884         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33885         that pseudo_end is just ret and the stack pointer is correct also
33886         for static library in error case.
33888 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33890         [BZ #14122]
33891         * nss/nsswitch.c (defconfig_entries): New variable.
33892         (__nss_database_lookup): Don't leak defconfig entries.
33893         (nss_parse_service_list): Don't leak on error paths.
33894         (free_database_entries): New function.
33895         (free_defconfig): New function.
33896         (free_mem): Move common code to free_database_entries.
33898 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33900         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33901         Add arch_prctl.
33902         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33904         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33905         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33907         New macro.
33908         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33909         (INTERNAL_SYSCALL_TYPES): Likewise.
33910         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33911         (LOAD_REGS_TYPES_[1-6]): Likewise.
33912         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33913         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33915 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33917         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33918         copysignl for GLIBC_2_0.
33919         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33920         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33922         logbl for GLIBC_2_0.
33923         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33924         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33926 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33928         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33931         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33932         Use "neg %eax".
33934         * time/mktime.c: Update copyright years.
33936 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33938         mktime: merge comment-quoting-style change from gnulib
33939         * time/mktime.c: Quote 'like this' in comments.
33940         The GNU coding standards suggest that we no longer quote `like this',
33941         as "`" and "'" are typically rendered asymmetrically nowadays.
33942         The typical gnulib style is to quote 'like this' when quoting
33943         code, and "like this" when quoting English.
33945         * time/mktime.c (compile-command): Add "-I.".
33947         mktime: merge mktime-internal.h change from gnulib
33948         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33950         mktime: merge time_r change from gnulib
33951         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33953         mktime: merge DEBUG change from gnulib
33954         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33955         case system <time.h> has a #define.
33957         mktime: merge <sys/types.h> change from gnulib
33958         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33959         since <time.t> is now guaranteed to define time_t.
33961         mktime: merge HAVE_CONFIG_H change from gnulib
33962         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33964 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33967         Use "neg %eax".
33969         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33970         __rlim_t cast.
33971         (struct rusage): Use anonymous union to pad each field to
33972         __syscall_slong_t.
33974 2012-05-21  David S. Miller  <davem@davemloft.net>
33976         * Makefules (o-iterator): Remove .s cases.
33977         (compile-command.s): Delete.
33978         (COMPILE.s): Delete.
33979         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33981 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33983         * configure.in (libc_cv_predef_stack_protector): Only consider
33984         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33985         * configure: Regenerated.
33987 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33990         New macro.  Use R*LP on int and pointer.
33991         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33993         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33996         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33997         [__WORDSIZE_TIME64_COMPAT32] instead of
33998         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33999         (struct utmp): Likewise.
34000         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34001         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34002         Renamed to ...
34003         (__WORDSIZE_TIME64_COMPAT32): This.
34004         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34005         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34006         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34007         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34008         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34009         (__WORDSIZE_TIME64_COMPAT32): New macro.
34011 2012-05-21  Andreas Jaeger  <aj@suse.de>
34013         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34014         only if [SHARED]. Add prototype for __wcschr_ia32.
34016 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34018         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34019         of %rbp unmolested in the jmp_buf while mangling the low bits.
34020         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34021         unmolested high bits of %rbp while demangling the low bits.
34022         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34024 2012-05-21  Andreas Jaeger  <aj@suse.de>
34026         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34027         * sunrpc/svc_simple.c: Use it for registerrpc.
34028         * sunrpc/xcrypt.c: Use it for passwd2des.
34030         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34032 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34034         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34035         Don't define if [__SYSCALL_WORDSIZE != 32].
34036         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34037         New macro.
34039 2012-05-21  Bruno Haible  <bruno@clisp.org>
34040             Andreas Jaeger  <aj@suse.de>
34042         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34043         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34044         inptr and inend for must_buffer_ch.
34045         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34046         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34047         * stdio-common/Makefile (tests): Remove bug15.
34048         (bug15-ENV): Remove macro.
34049         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34050         anymore.
34052 2012-05-19  Andreas Jaeger  <aj@suse.de>
34053             Roland McGrath  <roland@hack.frob.com>
34055         * manual/contrib.texi: Completely rewritten. It contains now an
34056         alphabetical list of contributors and their contributions.
34058 2012-05-21  Richard Henderson  <rth@twiddle.net>
34060         * misc/getauxval.c (__getauxval): Use unsigned long int.
34061         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34062         (getauxval): Use unsigned long int.
34064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34066         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34068 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34070         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34071         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34072         __alignof__ (long double).
34074 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34078 2012-05-20  Richard Henderson  <rth@twiddle.net>
34080         * misc/getauxval.c: New file.
34081         * misc/sys/auxv.h: New file.
34082         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34083         (routines): Add getauxval.
34084         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34085         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34086         * elf/dl-sysdep.c (_dl_auxv): Remove.
34087         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34088         * elf/dl-support.c (_dl_auxv): New variable.
34089         (_dl_aux_init): Initialize it.
34090         * manual/startup.texi (Auxiliary Vector): New node.
34091         * sysdeps/generic/bits/hwcap.h: New file.
34092         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34093         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34094         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34095         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34096         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34097         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34099         Update.
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34103         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34109 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34113 2012-05-19  David S. Miller  <davem@davemloft.net>
34115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34117 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34119         [BZ #14123]
34120         * math/s_ccosh.c: Include <float.h>
34121         (__ccosh): Avoid internal overflow calculating sinh and cosh
34122         values before multiplying by sin and cos values.
34123         * math/s_ccoshf.c: Likewise.
34124         * math/s_ccoshl.c: Likewise.
34125         * math/s_csin.c: Likewise.
34126         * math/s_csinf.c: Likewise.
34127         * math/s_csinl.c: Likewise.
34128         * math/s_csinh.c: Likewise.
34129         * math/s_csinhf.c: Likewise.
34130         * math/s_csinhl.c: Likewise.
34131         * math/libm-test.inc (ccos_test): Add more tests.
34132         (ccosh_test): Likewise.
34133         (csin_test): Likewise.
34134         (csinh_test): Likewise.
34135         * sysdeps/i386/fpu/libm-test-ulps: Update.
34136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34138 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34140         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34141         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34143         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34145 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34147         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34148         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34149         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34150         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34151         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34152         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34153         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34154         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34155         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34156         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34157         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34158         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34159         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34160         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34161         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34162         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34163         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34164         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34165         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34166         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34167         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34168         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34169         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34170         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34171         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34172         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34173         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34174         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34175         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34176         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34177         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34179 2012-05-18  Andreas Jaeger  <aj@suse.de>
34181         * csu/.gitignore: Delete.
34183 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34185         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34186         (timex): Use __syscall_slong_t.
34188 2012-05-18  Andreas Jaeger  <aj@suse.de>
34189             Carlos O'Donell  <carlos_odonell@mentor.com>
34191         * manual/install.texi (Configuring and compiling): Update
34192         description about files modified in the source directory.
34193         * INSTALL: Regenerated.
34195 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34197         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34198         value.  Use "or" to set return value to -1.
34199         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34200         negate return value.
34202 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34204         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34205         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34206         failure if the compiler has Graphite support disabled.
34207         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34208         Likewise.
34209         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34210         (CFLAGS-memmove.c): Likewise.
34211         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34212         Likewise.
34214 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34216         * sysdeps/x86_64/x32/_itoa.h: New file.
34218         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34219         getdents system call only if kernel and user dirents have the
34220         same d_ino and d_off.
34222         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34223         LLONG_MAX != LONG_MAX.
34224         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34225         (_fitoa_word): Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34228         years.
34229         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34230         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34231         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34233         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34234         include <bits/wordsize.h>.  Check __x86_64__ instead of
34235         __WORDSIZE.
34236         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34237         if __x86_64__ is defined.  Use anonymous union on fpstate.
34239         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34240         anonymous union.
34242 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34244         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34245         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34246         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34247         Refer to _rtld_local_ro instead of _rtld_global_ro.
34248         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34249         Likewise.
34250         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34251         Likewise.
34252         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34253         Likewise.
34254         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34255         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34256         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34258         * sysdeps/powerpc/powerpc32/dl-machine.c
34259         (__elf_machine_runtime_setup) [PROF]: Don't reference
34260         _dl_prof_resolve.
34262 2012-05-18  Andreas Jaeger  <aj@suse.de>
34264         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34265         function only available for GCCs before 3.4 since GCC 3.4
34266         introduced a builtin.
34267         (lrint): Likewise.
34268         (llrintf): Likewise.
34269         (llrint): Likewise.
34270         (fmaxf): Likewise.
34271         (fmax): Likewise.
34272         (fminf): Likewise.
34273         (fmin): Likewise.
34274         (rint): Likewise.
34275         (rintf): Likewise.
34276         (nearbyint): Likewise.
34277         (nearbyintf): Likewise.
34278         (ceil): Likewise.
34279         (ceilf): Likewise.
34280         (floor): Likewise.
34281         (floorf): Likewise.
34283 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34285         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34286         on both fields and cast pointer to __syscall_ulong_t.
34288         * bits/types.h (__fsword_t): New type.
34289         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34290         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34292         (__FSWORD_T_TYPE): Likewise.
34293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34294         (__FSWORD_T_TYPE): Likewise.
34295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34296         (__FSWORD_T_TYPE): Likewise.
34297         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34298         (__FSWORD_T_TYPE): Likewise.
34299         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34300         __SWORD_TYPE with __fsword_t.
34301         (statfs64): Likewise.
34303 2012-05-17  David S. Miller  <davem@davemloft.net>
34305         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34307 2012-05-17  Andreas Jaeger  <aj@suse.de>
34309         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34310         warning.
34312 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34314         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34316 2012-05-17  Andreas Jaeger  <aj@suse.de>
34318         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34319         when it is used.
34321 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34323         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34325 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34327         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34328         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34330 2012-05-17  Andreas Jaeger  <aj@suse.de>
34331             Carlos O'Donell  <carlos_odonell@mentor.com>
34333         [BZ #14059]
34334         * sysdeps/x86_64/multiarch/init-arch.h
34335         (bit_YMM_Usable): Rename to...
34336         (bit_AVX_Usable): ... this.
34337         (bit_FMA4_Usable): New macro.
34338         (bit_XMM_state): New macro.
34339         (bit_YMM_state): New macro.
34340         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34341         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34342         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34343         (CPUID_OSXSAVE): New macro.
34344         (CPUID_AVX): New macro.
34345         (CPUID_FMA4): New macro.
34346         (index_YMM_Usable): Rename to...
34347         (index_AVX_Usable): ... this.
34348         (HAS_AVX): Use HAS_ARCH_FEATURE.
34349         (HAS_FMA4): Likewise.
34350         (HAS_YMM_USABLE): Remove.
34351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34352         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34353         are present.
34354         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34355         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34356         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34357         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34358         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34360 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34362         * math/libm-test.c: Support platforms without multiple rounding modes.
34363         * math/bug-nextafter.c: Support platforms without FP exceptions.
34364         * math/bug-nexttoward.c: Likewise.
34365         * math/test-fenv.c: Likewise.
34366         * math/test-misc.c: Likewise.
34367         * stdlib/bug-getcontext.c: Likewise.
34369 2012-05-17  Andreas Jaeger  <aj@suse.de>
34371         * manual/examples/search.c (critter_cmp): Change signature to
34372         avoid warnings.
34373         * manual/string.texi (Collation Functions): Likewise.
34375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34377         * bits/types.h: Fold copyright years.
34378         * bits/typesizes.h: Likewise.
34379         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34383         * time/time.h: Likewise.
34385 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34387         [BZ #208]
34388         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34389         in instead of returning them.  Return void.
34390         (__libc_mallinfo): Accumulate over all arenas.
34391         (__malloc_stats): Adjust for change in int_mallinfo interface.
34393 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34395         [BZ #10375]
34396         * configure.in (NM): Add AC_CHECK_TOOL for it.
34397         (libc_extra_cflags): New substituted variable.
34398         Check for -fstack-protector being used implicitly.
34399         * configure: Regenerated.
34400         * config.make.in (config-extra-cflags): New variable,
34401         gets @libc_extra_cflags@.
34402         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34404         [BZ #10375]
34405         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34406         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34407         * configure: Regenerated.
34408         * config.make.in (CPPUNDEFS): New substituted variable.
34409         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34410         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34411         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34415         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34416         (mq_attr): Use __syscall_slong_t.
34418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34421         Check __x86_64__ instead of __WORDSIZE.
34422         (_STAT_VER_LINUX): Likewise.
34423         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34424         __syscall_ulong_t and __syscall_slong_t.
34425         (stat64): Likewise.
34427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34433         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34435 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34437         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34438         __syscall_ulong_t.
34440         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34441         include <bits/wordsize.h>.  Check __x86_64__ instead of
34442         __WORDSIZE.
34443         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34444         defined.
34445         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34447         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34448         include <bits/wordsize.h>.  Check __x86_64__ instead of
34449         __WORDSIZE.
34450         (user_regs_struct): Use "__extension__ unsigned long long"
34451         instead of "unsigned long" if __x86_64__ is defined.
34452         (user): Likewise.  Pad after pointer field if __ILP32__ is
34453         defined.
34455 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34457         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34458         versions 5 to 9.
34459         * configure: Regenerated.
34460         * manual/install.texi (texinfo): Increase version requirement to
34461         4.5 or later.
34462         * INSTALL: Regenerated.
34464         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34466 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34468         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34470         * sysdeps/x86_64/x32/ffs.c: New file.
34472         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34473         __syscall_ulong_t.
34474         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34475         defined.  Use __syscall_ulong_t.
34476         (shminfo): Use __syscall_ulong_t.
34477         (shm_info): Likewise.
34479         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34480         __syscall_ulong_t.
34482         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34483         <bits/wordsize.h>.
34484         (msgqnum_t): Use __syscall_ulong_t.
34485         (msglen_t): Likewise.
34486         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34487         __syscall_ulong_t.
34489         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34490         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34492         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34494         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34495         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34497         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34498         __syscall_slong_t.
34500         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34501         include <bits/wordsize.h>.  Check __x86_64__ instead of
34502         __WORDSIZE.
34504         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34505         "unsigned long long int" if __x86_64__ is defined.
34506         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34508         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34509         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34510         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34512         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34513         <stdint.h>.
34514         (GET_PC): Cast to uintptr_t first.
34515         (GET_FRAME): Likewise.
34516         (GET_STACK): Likewise.
34518         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34519         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34520         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34522         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34524         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34525         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34526         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34527         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34528         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34531         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34532         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34534         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34536         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34537         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34538         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34539         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34540         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34541         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34542         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34543         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34544         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34545         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34546         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34548 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34550         * Makerules (+depfiles): Also collect depfiles from .oS in
34551         $(extra-objs).
34552         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34553         .oS, $(libnldbl-routines)).
34555         * Makerules (native-compile-mkdep-flags): Define.
34556         * sunrpc/Makefile (extra-objs): Add $(addprefix
34557         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34558         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34559         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34560         calling $(make-target-directory).
34562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34564         * bits/types.h (__snseconds_t): Removed.
34565         * time/time.h (struct timespec): Replace __snseconds_t with
34566         __syscall_slong_t.
34567         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34568         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34569         Likewise.
34570         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34571         (__SNSECONDS_T_TYPE): Likewise.
34572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34573         (__SNSECONDS_T_TYPE): Likewise.
34574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34575         (__SNSECONDS_T_TYPE): Likewise.
34577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34579         * sysdeps/mach/hurd/bits/typesizes.h
34580         (__SYSCALL_SLONG_TYPE): New macro.
34581         (__SYSCALL_ULONG_TYPE): Likewise.
34583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34585         * bits/types.h (__syscall_slong_t): New type.
34586         (__syscall_ulong_t): Likewise.
34588         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34589         (__SYSCALL_ULONG_TYPE): Likewise.
34590         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34591         (__SYSCALL_SLONG_TYPE): Likewise.
34592         (__SYSCALL_ULONG_TYPE): Likewise.
34593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34594         (__SYSCALL_SLONG_TYPE): Likewise.
34595         (__SYSCALL_ULONG_TYPE): Likewise.
34596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34597         (__SYSCALL_SLONG_TYPE): Likewise.
34598         (__SYSCALL_ULONG_TYPE): Likewise.
34600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34602         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34603         Add sigaltstack-offsets.sym.
34604         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34605         <sigaltstack-offsets.h>.
34606         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34607         longjmp_msg pointer.
34608         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34609         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34610         signal stack.
34611         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34613 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34615         * elf/stackguard-macros.h: Remove file.
34616         * sysdeps/generic/stackguard-macros.h: New file.
34617         * sysdeps/i386/stackguard-macros.h: Likewise.
34618         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34619         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34620         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34621         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34622         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34623         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34624         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34625         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34626         <elf/stackguard-macros.h>.
34628         [BZ #14109]
34629         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34630         __aligned__ in attribute.
34631         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34632         (gregset_t): Likewise.
34634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34636         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34637         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34638         * sysdeps/x86_64/x32/Implies-after: New file.
34640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34642         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34643         and access return value for _dl_profile_fixup.  Use R10_LP to
34644         load frame size.
34646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34648         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34652         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34653         * sysdeps/x86_64/x32/sysdep.h: New file.
34655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34657         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34658         * sysdeps/x86_64/setjmp.S: Likewise.
34660 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34662         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34663         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34664         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34665         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34666         remove unused global constant.
34668 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34670         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34671         include of <not-cancel.h>.
34673 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34675         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34677 2012-05-15  Jeff Law  <law@redhat.com>
34678             Andreas Jaeger  <aj@suse.de>
34680         [BZ #13594]
34681         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34682         out from...
34683         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34684         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34685         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34686         code changing __hst_map_handle.map.
34688 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34690         * configure.in (sysnames): Look for Implies-before and Implies-after
34691         files.
34692         * configure: Regenerated.
34694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34696         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34697         8-byte data alignment with LP_SIZE alignment.
34699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34701         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34702         into R10_LP.
34704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34706         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34710         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34711         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34713         Likewise.
34714         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34718         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34719         (stackinfo_sub_sp): Likewise.
34721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34723         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34724         RAX_LP.
34726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34728         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34729         into R*_LP.
34731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34734         sizes into R*_LP.
34736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34738         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34742         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34743         into R11_LP and load __x86_64_shared_cache_size_half into
34744         R8_LP.
34746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34749         R8_LP.
34751 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34754         logb for POWER7.
34755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34756         logbf for POWER7.
34757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34758         logbl for POWER7.
34759         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34760         powerpc32/power7/fpu/s_logb.c via #include.
34761         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34762         powerpc32/power7/fpu/s_logbf.c via #include.
34763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34764         powerpc32/power7/fpu/s_logbl.c via #include.
34766 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34768         * README.libm: Remove file.
34770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34772         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34773         count for x32.  Use R*_LP and omit operand-size suffix.
34775 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34777         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34778         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34779         * sysdeps/x86_64/x32/shlib-versions: New file.
34781 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34783         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34784         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34785         Use _dl_fatal_printf instead.
34787 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34789         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34790         set if not set by the user.  Do not allow for being unset.
34791         * sysdeps/unix/sysv/linux/configure: Regenerated.
34793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34795         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34796         the `q' suffix from lea and replace .quad with ASM_ADDR.
34798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34801         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34802         instead of $17.
34803         (PTR_DEMANGLE): Likewise.
34805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34807         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34808         (LP_OP): Likewise.
34809         (ASM_ADDR): Likewise.
34810         (RAX_LP): Likewise.
34811         (RBP_LP): Likewise.
34812         (RBX_LP): Likewise.
34813         (RCX_LP): Likewise.
34814         (RDI_LP): Likewise.
34815         (RSI_LP): Likewise.
34816         (RSP_LP): Likewise.
34817         (R8_LP): Likewise.
34818         (R9_LP): Likewise.
34819         (R10_LP): Likewise.
34820         (R10_LP): Likewise.
34821         (R11_LP): Likewise.
34822         (R12_LP): Likewise.
34823         (R13_LP): Likewise.
34824         (R14_LP): Likewise.
34825         (R15_LP): Likewise.
34827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34829         * sysdeps/x86_64/x32/dl-machine.h: New file.
34831 2012-05-14  Andreas Jaeger  <aj@suse.de>
34833         * manual/Makefile (subdir): Remove export of subdir.
34834         (all): Remove target.
34835         (.PHONY): Remove all from list.
34836         (mkinstalldirs): Remove.
34837         (.PHONY): Remove installdirs from list.
34838         ($(inst_infodir)/libc.info): Use make-target-directory.
34839         (installdirs): Remove.
34840         (subdir_%): Remove.
34841         (glibc-targets): Remove.
34842         (lib): Remove.
34843         (stubs): Remove.
34844         ($(objpfx)stubs ../po/manual.pot): Remove.
34845         ($(objpfx)stamp%): Remove.
34846         (make-target-directory): Remove.
34847         (subdir_install): Remove.
34848         (routines): Remove.
34849         (aux): Remove.
34850         (sources): Remove.
34851         (objects): Remove.
34852         (headers): Remove.
34854         [BZ #13750]
34855         * manual/.gitignore: Remove, it's not needed anymore.
34856         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34857         all files in it.
34858         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34859         directory.
34860         (texis): Renamed to $(objpfx)texis.
34861         (texis-path): New, contains path to generated files.
34862         (chapters.%): Use texis-path for complete path, add extra argument
34863         libc-texinfo.sh.
34864         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34865         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34866         (summary,texi, stamp-summary): Use complete path of
34867         files. Generate files in build dir.
34868         (dir-add.texi): Build in build dir.
34869         (libm-err.texi,stamp-libm-err): Likewise.
34870         (version.texi, stamp-version): Likewise.
34871         (.%c.texi): Likewise.
34872         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34873         (mostlyclean): Remove target.
34874         (realclean): Remove target.
34875         (generated): Add new variable with contents from mostlyclean and
34876         realclean, remove entries duplicated in common-mostlyclean, add
34877         stamp-libm-err and stamp-version.
34878         (generated-dirs): Add libc directory.
34879         ($(inst_infodir)/libc.info): Install files from build dir.
34881         * manual/install.texi (Configuring and compiling): Adjust since
34882         the info files are not part of the tar ball anymore.
34884 2012-05-14  Andreas Jaeger  <aj@suse.de>
34886         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34887         variable.
34889 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #13717]
34892         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34893         to 2.2.0 where earlier.
34894         * sysdeps/unix/sysv/linux/configure: Regenerated.
34895         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34896         Remove conditional code.
34897         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34898         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34899         Remove conditional code.
34900         [!__NR_lchown]: Likewise.
34901         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34902         [__NR_lchown]: Likewise.
34903         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34904         comment referencing __ASSUME_LCHOWN_SYSCALL.
34905         * sysdeps/unix/sysv/linux/i386/sigaction.c
34906         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34907         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34908         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34909         Remove conditional code.
34910         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34911         (__protocol_available): Remove #if 0 code.
34912         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34913         conditional code.
34914         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34915         * sysdeps/unix/sysv/linux/kernel-features.h
34916         (__ASSUME_GETCWD_SYSCALL): Don't define.
34917         (__ASSUME_REALTIME_SIGNALS): Likewise.
34918         (__ASSUME_PREAD_SYSCALL): Likewise.
34919         (__ASSUME_PWRITE_SYSCALL): Likewise.
34920         (__ASSUME_POLL_SYSCALL): Likewise.
34921         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34922         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34923         non-SPARC.
34924         (__ASSUME_SIOCGIFNAME): Don't define.
34925         (__ASSUME_MSG_NOSIGNAL): Likewise.
34926         (__ASSUME_SENDFILE): Define unconditionally.
34927         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34928         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34929         conditional code.
34930         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34931         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34932         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34933         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34934         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34935         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34936         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34938         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34950         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34953         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34956         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34959         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34961         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34962         Remove conditional code.
34963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34964         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34965         Remove conditional code.
34966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34967         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34968         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34969         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34970         Remove conditional code.
34971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34972         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34973         Remove conditional code.
34974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34975         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34976         Remove conditional code.
34977         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34978         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34979         Remove conditional code.
34980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34981         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34982         Remove conditional code.
34983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34984         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34985         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34987         * sysdeps/unix/sysv/linux/sigaction.c
34988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34990         * sysdeps/unix/sysv/linux/sigpending.c
34991         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34992         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34993         * sysdeps/unix/sysv/linux/sigprocmask.c
34994         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34995         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34996         * sysdeps/unix/sysv/linux/sigsuspend.c
34997         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34998         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34999         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35000         (__libc_missing_rt_sigs): Remove.
35001         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35002         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35003         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35004         Remove conditional code.
35005         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35006         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35007         return 1.
35008         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35009         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35010         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35011         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35013 2012-05-14  Andreas Jaeger  <aj@suse.de>
35015         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35016         it's not used in glibc.
35017         (__coshm1): Likewise.
35018         (__acosh1p): Likewise.
35019         (__sgn): Likewise.
35021         * manual/string.texi (Copying and Concatenation): Add missing
35022         variable in concat example.
35023         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35027         [BZ #14103]
35028         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35029         __builtin_clzl with __builtin_clzll.
35031 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35033         [BZ #14104]
35034         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35035         libc_freeres_ptr.
35037 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35039         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35040         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35041         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35042         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35044 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35046         * NEWS: Update ia64 info.
35048 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35050         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35051         used as bcopy.
35053 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35055         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35056         * sysdeps/unix/syscalls.list (dup3): Likewise.
35057         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35058         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35060 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35062         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35063         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35065 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35067         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35068         thread pointer.
35069         (TLS_IE): Use mov/add instead of movq/addq to load thread
35070         pointer.
35071         (TLS_GD_PREFIX): New.
35072         (TLS_GD): Use it.
35074 2012-05-11  David S. Miller  <davem@davemloft.net>
35076         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35077         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35078         (_FPU_SETCW): Likewise.
35080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35082         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35083         is 32-byte aligned.
35085 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35087         [BZ #11837]
35088         * iconvdata/gb18030.c: Update tables.
35089         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35090         characters specially.
35091         (BODY for TO_LOOP): Add encoding of missing ranges.
35093 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35095         [BZ #13673]
35096         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35097         * sysdeps/mach/hurd/dup3.c: Likewise.
35098         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35099         * sysdeps/powerpc/memmove.c:: Likewise.
35101 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35104         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35106 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35108         * elf/elf.h (R_X86_64_RELATIVE64): New.
35109         (R_X86_64_NUM): Updated.
35110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35111         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35112         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35113         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35114         tst-quad1pie tst-quad2pie
35115         (modules-names): Add tst-quadmod1 tst-quadmod2.
35116         ($(objpfx)tst-quad1): New dependency.
35117         ($(objpfx)tst-quad2): Likewise.
35118         ($(objpfx)tst-quad1pie): Likewise.
35119         ($(objpfx)tst-quad2pie): Likewise.
35120         * sysdeps/x86_64/tst-quad1.c: New file.
35121         * sysdeps/x86_64/tst-quad1pie.c: New file.
35122         * sysdeps/x86_64/tst-quad2.c: Likewise.
35123         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35124         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35125         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35126         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35127         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35131         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35132         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35133         * streams/stropts.h (t_scalar_t): Define type.
35135         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35136         (_PATH_PRESERVE): Set to "/var/lib".
35137         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35139         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35140         instead of int.
35142         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35143         if __dir_mkfile succeeded.
35145         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35146         checking for _hurd_dtablesize.  Unlock it right after having
35147         finished _hurd_dtable allocation.
35149 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35151         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35152         * sysdeps/mach/hurd/configure: Regenerated.
35153         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35154         special-casing to...
35155         * sysdeps/gnu/configure.in: ... this new file.
35156         * sysdeps/unix/sysv/linux/configure: Regenerated.
35157         * sysdeps/gnu/configure: New generated file.
35159         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35160         for Linux: use nsec instead of usec, as well as:
35161         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35162         members of type struct timespec.
35163         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35164         New macros.
35165         (struct stat64): Likewise.
35166         (_STATBUF_ST_NSEC): New macro.
35167         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35169         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35170         __strtoul_internal rather than strtoul.
35172 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35174         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35175         and reject them.
35177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35179         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35180         which preserves existing values.
35181         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35183 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35185         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35186         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35187         greater than FD_SETSIZE.
35189 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35191         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35192         allocated, call __vm_protect to finish enabling the existing space, and
35193         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35194         allocate the remainder.
35196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35198         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35199         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35203         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35204         sysdeps/mach/hurd/readlink.c.
35206         * posix/tst-sysconf.c (posix_options): Only use
35207         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35208         _POSIX_SYNCHRONIZED_IO when they are defined
35209         * sysdeps/mach/hurd/bits/posix_opt.h:
35210         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35211         (_XOPEN_REALTIME): Undefine macro.
35212         (_XOPEN_REALTIME_THREADS): Undefine macro.
35213         (_XOPEN_SHM): Undefine macro.
35214         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35215         macro to -1.
35216         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35217         macro to -1.
35218         (_POSIX_ASYNC_IO): Undefine macro.
35219         (_POSIX_PRIORITIZED_IO): Undefine macro.
35220         (_POSIX_SPIN_LOCKS): Define macro to -1.
35222         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35223         SA_NODEFER, SA_RESETHAND.
35224         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35225         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35226         F_DUPFD_CLOEXEC.
35228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35230         * elf/Makefile (pldd-modules): Define unconditionally.
35232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35234         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35238         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35239         Return ENOENT when name is empty.
35240         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35244         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35246         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35250         Fix mlock in all cases except non-readable pages.
35251         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35252         instead of VM_PROT_ALL as parameter to __vm_wire function.
35254         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35255         (__mkdir): When path is `/', just fail with EEXIST.
35256         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35260         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35261         <sys/uio.h> (for writev).
35262         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35263         and <sys/param.h> (for MIN).
35265 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35267         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35268         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35269         if interrupted.
35271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35273         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35274         Depend on against $(link-rpcuserlibs).
35276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35278         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35279         (__libc_stack_end): Do not use attribute_relro.
35280         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35281         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35282         to libthread-provided value.
35283         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35284         attribute_relro.
35286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35288         [BZ #3748]
35289         * bits/libc-lock.h (__libc_once_get): New macro.
35290         * sysdeps/mach/bits/libc-lock.h: Likewise.
35291         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35292         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35293         instead of using implementation details.
35295         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35296         * libio/freopen.c: Likewise.
35297         * libio/freopen64.c: Likewise.
35298         * misc/syslog.c: Likewise.
35299         * nscd/connections.c: Likewise.
35300         * nscd/netgroupcache.c: Likewise.
35301         * sysdeps/posix/getcwd.c: Likewise.
35303 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35305         * math/w_ilogbf.c: Add #include <limits.h>.
35307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35309         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35310         path instead of returning without unlocking.
35312         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35313         immediate-write ioctls.
35314         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35316 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35318         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35319         __builtin_frame_address instead of making assumptions about the
35320         location of the return address relative to DATA.  Force early load of
35321         the return address.
35322         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35323         __builtin_frame_address.
35325         dup3 for GNU Hurd.
35326         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35327         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35328         implement dup3 and do some further code clean-ups.
35329         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35330         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35334         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35336         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35337         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35338         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35339         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35340         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35341         d->port.lock.
35343         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35344         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35345         when handler == SIG_ERR, not when handler != SIG_ERR.
35347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35349         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35350         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35351         definitions.
35353         accept4 for GNU Hurd.
35354         * include/sys/socket.h (__libc_accept4): New prototype.
35355         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35356         to implement __libc_accept4.
35357         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35358         __libc_accept4.
35359         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35361         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35362         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35363         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35364         signal-defines.sym.
35366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35368         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35372         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35373         assertion on O_CLOEXEC flag.
35374         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35375         * hurd/intern-fd.c: Likewise.
35376         * hurd/port2fd.c: Likewise.
35378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35380         [BZ #3906]
35381         * bits/in.h (IPV6_PKTINFO): Define new macro.
35382         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35384 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35386         [BZ #13954]
35387         [BZ #13955]
35388         [BZ #13956]
35389         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35390         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35391         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35392         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35394         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35395         * math/libm-test.inc (logb_test) : Additional logb tests.
35397 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35398             Andreas Jaeger  <aj@suse.de>
35400         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35401         * configure: Regenerated.
35402         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35403         * config.make.in (link-obsolete-rpc): New substituted variable.
35404         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35405         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35406         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35407         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35408         so that libc.a contains the symbols.
35409         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35410         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35411         * sunrpc/auth_none.c: Likewise.
35412         * sunrpc/auth_unix.c: Likewise.
35413         * sunrpc/authdes_prot.c: Likewise.
35414         * sunrpc/authuxprot.c: Likewise.
35415         * sunrpc/clnt_gen.c: Likewise.
35416         * sunrpc/clnt_perr.c: Likewise.
35417         * sunrpc/clnt_raw.c: Likewise.
35418         * sunrpc/clnt_simp.c: Likewise.
35419         * sunrpc/clnt_tcp.c: Likewise.
35420         * sunrpc/clnt_udp.c: Likewise.
35421         * sunrpc/clnt_unix.c: Likewise.
35422         * sunrpc/des_crypt.c: Likewise.
35423         * sunrpc/des_soft.c: Likewise.
35424         * sunrpc/get_myaddr.c: Likewise.
35425         * sunrpc/key_call.c: Likewise.
35426         * sunrpc/key_prot.c: Likewise.
35427         * sunrpc/netname.c: Likewise.
35428         * sunrpc/pm_getmaps.c: Likewise.
35429         * sunrpc/pm_getport.c: Likewise.
35430         * sunrpc/pmap_clnt.c: Likewise.
35431         * sunrpc/pmap_prot.c: Likewise.
35432         * sunrpc/pmap_prot2.c: Likewise.
35433         * sunrpc/pmap_rmt.c: Likewise.
35434         * sunrpc/publickey.c: Likewise.
35435         * sunrpc/rpc_cmsg.c: Likewise.
35436         * sunrpc/rpc_common.c: Likewise.
35437         * sunrpc/rpc_dtable.c: Likewise.
35438         * sunrpc/rpc_prot.c: Likewise.
35439         * sunrpc/rpc_thread.c: Likewise.
35440         * sunrpc/rtime.c: Likewise.
35441         * sunrpc/svc.c: Likewise.
35442         * sunrpc/svc_auth.c: Likewise.
35443         * sunrpc/svc_raw.c: Likewise.
35444         * sunrpc/svc_run.c: Likewise.
35445         * sunrpc/svc_tcp.c: Likewise.
35446         * sunrpc/svc_udp.c: Likewise.
35447         * sunrpc/svc_unix.c: Likewise.
35448         * sunrpc/svcauth_des.c: Likewise.
35449         * sunrpc/xcrypt.c: Likewise.
35450         * sunrpc/xdr.c: Likewise.
35451         * sunrpc/xdr_array.c: Likewise.
35452         * sunrpc/xdr_float.c: Likewise.
35453         * sunrpc/xdr_intXX_t.c: Likewise.
35454         * sunrpc/xdr_mem.c: Likewise.
35455         * sunrpc/xdr_rec.c: Likewise.
35456         * sunrpc/xdr_ref.c: Likewise.
35457         * sunrpc/xdr_sizeof.c: Likewise.
35458         * sunrpc/xdr_stdio.c: Likewise.
35460 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35463         change.  Update copyright years.
35465 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35467         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35469 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35470             Joseph Myers  <joseph@codesourcery.com>
35471             Paul Pluzhnikov  <ppluzhnikov@google.com>
35473         [BZ #14012]
35474         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35475         requiring rpcgen.
35476         [cross-compiling] (extra-libs): Likewise.
35477         [cross-compiling] (extra-libs-others): Likewise.
35478         [cross-compiling] (librpcsvc-routines): Likewise.
35479         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35480         [cross-compiling] (omit-deps): Likewise.
35481         (sunrpc-CPPFLAGS): New variable.
35482         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35483         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35484         (cross-rpcgen-objs): New variable.
35485         (extra-objs): Append $(cross-rpcgen-objs).
35486         ($(cross-rpcgen-objs)): New rule.
35487         ($(objpfx)cross-rpcgen): Likewise.
35488         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35489         comment.
35490         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35491         ($(objpfx)x%.stmp): Likewise.
35492         * sunrpc/proto.h [IS_IN_build] (_): Define.
35493         [IS_IN_build] (_libc_intl_domainname): Likewise.
35495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35498         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35499         and R_X86_64_TPOFF64.
35501 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35503         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35504         sysdeps/unix/sysv/syscalls.list.
35505         (stime): Likewise.
35506         (utime): Likewise.
35507         * sysdeps/unix/sysv/syscalls.list: Remove file.
35509 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35511         [BZ #3440]
35512         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35513         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35514         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35515         (__LC_IDENTIFICATION): Make these macros useful in #if
35516         expressions, as required by C99.
35518 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35520         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35521         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35522         after this.
35524 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35526         * stdlib/longlong.h: Updated from GCC.
35528 2012-05-09  Andreas Jaeger  <aj@suse.de>
35530         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35531         default is first entry.
35532         (run_mode): Set type.
35533         (main): Remove informal message about syslog.
35534         (options): Fix typo.
35536         [BZ #14053]
35537         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35538         to asm.
35539         (lrint): Likewise.
35540         (llrintf): Likewise.
35541         (llrint): Likewise.
35542         (rint): Likewise.
35543         (rintf): Likewise.
35544         (nearbyint): Likewise.
35545         (nearbyintf): Likewise.
35547 2012-05-09  Andreas Jaeger  <aj@suse.de>
35548             Pedro Alves  <palves@redhat.com>
35550         * nscd/nscd.c (run_mode): Use enum.
35551         (main): Cleanup coding style issue.
35553 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35554             Andreas Jaeger  <aj@suse.de>
35556         * nscd/nscd.c (go_background): Replaced with...
35557         (run_mode): ... this.
35558         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35559         (options): Add -F --foreground.
35560         (main): Implement it.
35561         (parse_opt): Parse it.
35563 2012-05-09  Andreas Jaeger  <aj@suse.de>
35565         [BZ #14083]
35566         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35567         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35568         -Wconversion warning.
35569         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35570         Likewise.
35572 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35574         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35575         == 0.
35576         (LC_ALL): Use macro-int-constant.
35577         (LC_COLLATE): Likewise.
35578         (LC_CTYPE): Likewise.
35579         (LC_MESSAGES): Likewise.
35580         (LC_MONETARY): Likewise.
35581         (LC_NUMERIC): Likewise.
35582         (LC_TIME): Likewise.
35583         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35584         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35585         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35586         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35587         Specify type.
35588         [C99-based standards] (float_t): Expect type.
35589         [C99-based standards] (double_t): Expect type.
35590         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35591         type.
35592         [C99-based standards] (HUGE_VALL): Likewise.
35593         [C99-based standards] (INFINITY): Likewise.
35594         [C99-based standards] (NAN): Likewise.
35595         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35596         [C99-based standards] (FP_NAN): Likewise.
35597         [C99-based standards] (FP_NORMAL): Likewise.
35598         [C99-based standards] (FP_SUBNORMAL): Likewise.
35599         [C99-based standards] (FP_ZERO): Likewise.
35600         [C99-based standards] (FP_FAST_FMA): Use
35601         optional-macro-int-constant.  Specify type.  Require == 1.
35602         [C99-based standards] (FP_FAST_FMAF): Likewise.
35603         [C99-based standards] (FP_FAST_FMAL): Likewise.
35604         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35605         [C99-based standards] (FP_ILOGBNAN): Likewise.
35606         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35607         Specify type.
35608         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35609         [C99-based standards] (math_errhandling): Specify type.
35610         [ISO99 || ISO11] (signgam): Do not allow.
35611         [non-C99-based standards] (copysignf): Do not allow.
35612         [non-C99-based standards] (exp2f): Likewise.
35613         [non-C99-based standards] (log2f): Likewise.
35614         [non-C99-based standards] (modff): Allow.
35615         [non-C99-based standards] (erff): Do not allow.
35616         [non-C99-based standards] (erfcf): Likewise.
35617         [non-C99-based standards] (gammaf): Likewise.
35618         [non-C99-based standards] (hypotf): Likewise.
35619         [non-C99-based standards] (j0f): Likewise.
35620         [non-C99-based standards] (j1f): Likewise.
35621         [non-C99-based standards] (jnf): Likewise.
35622         [non-C99-based standards] (lgammaf): Likewise.
35623         [non-C99-based standards] (tgammaf): Likewise.
35624         [non-C99-based standards] (y0f): Likewise.
35625         [non-C99-based standards] (y1f): Likewise.
35626         [non-C99-based standards] (ynf): Likewise.
35627         [non-C99-based standards] (isnanf): Likewise.
35628         [non-C99-based standards] (acoshf): Likewise.
35629         [non-C99-based standards] (asinhf): Likewise.
35630         [non-C99-based standards] (atanhf): Likewise.
35631         [non-C99-based standards] (cbrtf): Likewise.
35632         [non-C99-based standards] (expm1f): Likewise.
35633         [non-C99-based standards] (ilogbf): Likewise.
35634         [non-C99-based standards] (log1pf): Likewise.
35635         [non-C99-based standards] (logbf): Likewise.
35636         [non-C99-based standards] (nextafterf): Likewise.
35637         [non-C99-based standards] (remainderf): Likewise.
35638         [non-C99-based standards] (rintf): Likewise.
35639         [non-C99-based standards] (scalbf): Likewise.
35640         [non-C99-based standards] (copysignl): Likewise.
35641         [non-C99-based standards] (exp2l): Likewise.
35642         [non-C99-based standards] (log2l): Likewise.
35643         [non-C99-based standards] (modfl): Allow.
35644         [non-C99-based standards] (erfl): Do not allow.
35645         [non-C99-based standards] (erfcl): Likewise.
35646         [non-C99-based standards] (gammal): Likewise.
35647         [non-C99-based standards] (hypotl): Likewise.
35648         [non-C99-based standards] (j0l): Likewise.
35649         [non-C99-based standards] (j1l): Likewise.
35650         [non-C99-based standards] (jnl): Likewise.
35651         [non-C99-based standards] (lgammal): Likewise.
35652         [non-C99-based standards] (tgammal): Likewise.
35653         [non-C99-based standards] (y0l): Likewise.
35654         [non-C99-based standards] (y1l): Likewise.
35655         [non-C99-based standards] (ynl): Likewise.
35656         [non-C99-based standards] (isnanl): Likewise.
35657         [non-C99-based standards] (acoshl): Likewise.
35658         [non-C99-based standards] (asinhl): Likewise.
35659         [non-C99-based standards] (atanhl): Likewise.
35660         [non-C99-based standards] (cbrtl): Likewise.
35661         [non-C99-based standards] (expm1l): Likewise.
35662         [non-C99-based standards] (ilogbl): Likewise.
35663         [non-C99-based standards] (log1pl): Likewise.
35664         [non-C99-based standards] (logbl): Likewise.
35665         [non-C99-based standards] (nextafterl): Likewise.
35666         [non-C99-based standards] (remainderl): Likewise.
35667         [non-C99-based standards] (rintl): Likewise.
35668         [non-C99-based standards] (scalbl): Likewise.
35669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35670         [non-C99-based standards] (FP_*): Do not allow.
35671         [C99-based standards] (FP_*): Change to
35672         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35673         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35674         allow.
35675         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35676         (SIG_ERR): Likewise.
35677         [X/Open-based standards] (SIG_HOLD): Likewise.
35678         (SIG_IGN): Likewise.
35679         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35680         positive value.
35681         (SIGFPE): Likewise.
35682         (SIGILL): Likewise.
35683         (SIGINT): Likewise.
35684         (SIGSEGV): Likewise.
35685         (SIGTER): Likewise.
35686         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35687         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35688         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35689         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35690         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35691         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35692         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35693         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35694         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35695         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35696         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35697         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35698         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35699         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35700         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35701         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35702         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35703         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35704         [X/Open-based standards] (SIGTRAP): Likewise.
35705         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35706         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35707         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35708         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35709         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35710         allow.
35712 2012-05-08  Ian Wienand  <ianw@vmware.com>
35714         [BZ #14080]
35715         * time/tzset.c (__tzset_parse_tz): Update default rules for
35716         daylight time changes in the Energy Policy Act of 2005.
35718 2012-05-09  Andreas Jaeger  <aj@suse.de>
35720         [BZ #13983]
35721         * elf/ldconfig.c (parse_conf): Change string to make clear that
35722         ldconfig only issued a warning if ld.so.conf does not exist.
35724 2012-05-08  David S. Miller  <davem@davemloft.net>
35726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35727         movxtod instead of popping the value on the stack.
35729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35731 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35733         * config.h.in: Add HAVE_ARM_PCS_VFP.
35735 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35737         [BZ #13979]
35738         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35739         checking but the checks are disabled for any reason.
35741 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35743         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35744         and ELF64_R_TYPE with ELFW(R_TYPE).
35746 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35748         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35749         (ulimit): Likewise.
35751         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35752         (settimeofday): Likewise.
35754 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35756         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35757         a struct th_u2 inside the union, and move tu_block/tu_code into
35758         a new th_u3 union of tu_block/tu_code inside of that.  Move
35759         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35760         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35761         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35762         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35763         (th_stuff): Change to th_u1.tu_stuff.
35764         (th_data): Define.
35765         (th_msg): Change to th_u1.th_u2.tu_data.
35767 2012-05-07  David S. Miller  <davem@davemloft.net>
35769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35771         [BZ #14074]
35772         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35773         (SETUP_PIC_REG): Use it.
35774         (SETUP_PIC_REG_LEAF): Use it.
35776 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35778         [BZ #13885]
35779         [BZ #13923]
35780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35781         USE_AS_EXPM1L.
35782         (EXPL_FINITE): Likewise.
35783         (FLDLOG): Likewise.
35784         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35785         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35786         e_expl.S.
35787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35788         USE_AS_EXPM1L.
35789         (EXPL_FINITE): Likewise.
35790         (FLDLOG): Likewise.
35791         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35792         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35793         e_expl.S.
35794         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35795         test of -max_value argument for long double.
35796         * sysdeps/i386/fpu/libm-test-ulps: Update.
35797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35799 2012-05-06  David S. Miller  <davem@davemloft.net>
35801         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35802         quad soft-float symbols whose references which are compiler
35803         generated.
35804         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35806 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35808         [BZ #13884]
35809         [BZ #13914]
35810         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35811         USE_AS_EXP10L.
35812         (EXPL_FINITE): Likewise.
35813         (FLDLOG): Likewise.
35814         (c0): Likewise.
35815         (c1): Likewise.
35816         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35817         Adjust comments for base varying.
35818         (__expl_finite): Change alias to EXPL_FINITE.
35819         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35820         e_expl.S.
35821         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35822         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35823         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35824         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35826         USE_AS_EXP10L.
35827         (EXPL_FINITE): Likewise.
35828         (FLDLOG): Likewise.
35829         (c0): Likewise.
35830         (c1): Likewise.
35831         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35832         Adjust comments for base varying.
35833         (__expl_finite): Change alias to EXPL_FINITE.
35834         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35835         tests for bugs.
35836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35838         [BZ #14064]
35839         * math/libm-test.inc (check_float_internal): Correct ulp
35840         calculation for subnormal expected results.
35842 2012-05-06  Andreas Jaeger  <aj@suse.de>
35844         * Makeconfig (+math-flags): New, set to -frounding-math.
35845         (+cflags): Add +math-flags so that all of glibc gets compiled with
35846         it.
35848         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35850 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35852         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35853         Disable one test.
35855         [BZ #13787]
35856         [BZ #13922]
35857         [BZ #14036]
35858         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35859         (__ieee754_expl): Allow for and saturate large arguments.
35860         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35861         (u_threshold): Likewise.
35862         (__exp): Call __ieee754_exp before checking for overflow and
35863         underflow.
35864         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35865         (u_threshold): Likewise.
35866         (__expf): Call __ieee754_expf before checking for overflow and
35867         underflow.
35868         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35869         (u_threshold): Likewise.
35870         (__expl): Call __ieee754_expl before checking for overflow and
35871         underflow.
35872         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35873         (__ieee754_expl): Allow for and saturate large arguments.
35874         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35875         missing overflow exception on overflow.
35876         (expm1_test): Do not allow missing overflow exception on overflow.
35878         * sysdeps/i386/fpu/e_expl.c: Move to ...
35879         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35880         rather than using inline asm.
35881         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35882         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35883         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35885         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35886         (nice): Likewise.
35887         (poll): Likewise.
35888         (signal): Likewise.
35889         (time): Likewise.
35890         (times): Likewise.
35892 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35894         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35895         sysdeps/unix/common/syscalls.list.
35896         (fchmod): Likewise.
35897         (fchown): Likewise.
35898         (ftruncate): Likewise.
35899         (getrusage): Likewise.
35900         (gettimeofday): Likewise.
35901         (setpgid): Likewise.
35902         (setregid): Likewise.
35903         (setreuid): Likewise.
35904         (sigaction): Likewise.
35905         (truncate): Likewise.
35906         (vhangup): Likewise.
35907         * sysdeps/unix/common/syscalls.list: Remove file.
35908         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35909         * sysdeps/unix/sysv/linux/Implies: Likewise.
35911 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35913         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35915         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35916         Moved to ...
35917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35918         Here.
35919         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35920         to ...
35921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35922         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35923         to ...
35924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35925         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35926         to ...
35927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35928         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35929         to ...
35930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35931         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35932         to ...
35933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35934         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35935         to ...
35936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35937         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35938         to ...
35939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35940         Here.
35941         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35942         to ...
35943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35944         Here.
35945         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35946         to ...
35947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35948         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35949         Moved to ...
35950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35951         Here.
35952         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35953         to ...
35954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35956 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35958         * sysdeps/unix/common/bits/dirent.h: Remove file.
35959         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35961         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35962         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35963         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35964         * sysdeps/unix/bsd/isatty.c: Likewise.
35965         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35966         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35967         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35969 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35971         [BZ #13563]
35972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35973         long double comparison inaccuracies.
35974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35977 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35979         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35982 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35984         [BZ #14049]
35985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35986         nonzero digits before rounding a hex value.
35987         * stdlib/tst-strtod.c (tests): Add another test.
35989 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35991         * sysdeps/s390/fpu/libm-test-ulps: Update.
35993 2012-05-03  Andreas Jaeger  <aj@suse.de>
35995         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35996         does not get optimized out.
35997         (malloc_opt_barrier): New.
35999 2012-05-03  Andreas Jaeger  <aj@suse.de>
36000             Roland McGrath  <roland@hack.frob.com>
36002         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36003         intermediate file deletion.
36004         (generated): Add .symlist files.
36006 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36008         [BZ #13775]
36009         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36010         Redirect under this condition.
36011         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36012         [__USE_GNU] (__dprintf_chk): Not under this condition.
36013         [__USE_GNU] (__vdprintf_chk): Likewise.
36014         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36015         under this condition.
36016         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36017         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36018         [__USE_XOPEN2K8] (vdprintf): Likewise.
36019         [__USE_GNU] (__dprintf_chk): Not under this condition.
36020         [__USE_GNU] (__vdprintf_chk): Likewise.
36021         [__USE_GNU] (dprintf): Likewise.
36022         [__USE_GNU] (vdprintf): Likewise.
36024 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36026         * elf/Makefile (common-generated): Set this instead of generated for
36027         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36028         $(all-built-dso)-derived lists.
36030 2012-05-03  Andreas Jaeger  <aj@suse.de>
36032         * sysdeps/i386/fpu/libm-test-ulps: Update.
36034         * FAQ: Removed.
36035         * FAQ.in: Likewise.
36036         * scripts/gen-FAQ.pl: Likewise.
36037         * manual/install.texi (Installation): Point to online location of
36038         FAQ.
36039         * Makefile (files-for-dist): Remove FAQ.
36040         (FAQ): Remove.
36042 2012-05-02  Allan McRae  <allan@archlinux.org>
36044         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36045         (LDFLAGS-reldepmod5.so): Likewise.
36046         (LDFLAGS-reldep6mod1.so): Likewise.
36047         (LDFLAGS-reldep6mod4.so): Likewise.
36048         (LDFLAGS-reldep8mod3.so): Likewise.
36049         (LDFLAGS-unload4mod1.so): Likewise.
36050         (LDFLAGS-unload4mod2.so): Likewise.
36051         (LDFLAGS-tst-initorder): Likewise.
36052         (LDFLAGS-tst-initordera2.so): Likewise.
36053         (LDFLAGS-tst-initordera3.so): Likewise.
36054         (LDFLAGS-tst-initordera4.so): Likewise.
36055         (LDFLAGS-tst-initorderb2.so): Likewise.
36056         (LDFLAGS-noload): Likewise.
36057         (LDFLAGS-next): Likewise.
36058         (LDFLAGS-order2mod1.so): Likewise.
36059         (LDFLAGS-order2mod2.so): Likewise.
36060         (LDFLAGS-tst-initorder2): Likewise.
36061         (LDFLAGS-tst-initorder2a.so): Likewise.
36062         (LDFLAGS-tst-initorder2b.so): Likewise.
36063         (LDFLAGS-tst-initorder2c.so): Likewise.
36064         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36066 2012-05-02  David S. Miller  <davem@davemloft.net>
36068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36070 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36072         [BZ #14055]
36073         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36075 2012-05-02  Andreas Jaeger  <aj@suse.de>
36077         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36078         since we manipulate rounding mode.
36079         (CPPFLAGS-test-idouble.c): Likewise.
36080         (CPPFLAGS-test-ifloat.c): Likewise.
36081         (CFLAGS-test-ldouble.c): Likewise.
36082         (CFLAGS-test-double.c): Likewise.
36083         (CFLAGS-test-float.c): Likewise.
36084         (CFLAGS-test-misc.c): Likewise.
36085         (CFLAGS-test-test-fenv.c): Likewise.
36087 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36089         [BZ #2550]
36090         [BZ #2570]
36091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36092         comparisons to determine direction to adjust input.
36094 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36096         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36097         output to the target.
36099         * scripts/localplt.awk: New file.
36100         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36101         (check-localplt-CFLAGS): Variable removed.
36102         ($(all-built-dso:=.jmprel)): New static pattern rule.
36103         (generated): Add those targets.
36104         (localplt-built-dso): New variable.
36105         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36107         * elf/check-localplt.c: File removed.
36109         * scripts/check-execstack.awk: New file.
36110         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36111         (check-execstack-CFLAGS): Variable removed.
36112         ($(objpfx)check-execstack.h): Target removed.
36113         ($(objpfx)execstack-default): New target.
36114         (generated): Add that instead of check-execstack.h.
36115         ($(all-built-dso:=.phdr)): New static pattern rule.
36116         (generated): Add those targets.
36117         * elf/check-execstack.c: File removed.
36119         * scripts/check-textrel.awk: New file.
36120         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36121         (check-textrel-CFLAGS): Variable removed.
36122         (all-built-dso): Use := to define.o
36123         ($(all-built-dso:=.dyn)): New static pattern rule.
36124         (generated): Add those targets.
36125         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36126         * config.make.in (READELF): New substituted variable.
36127         * elf/check-textrel.c: File removed.
36129 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36131         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36132         allow.
36133         * conform/data/ctype.h-data [C99-based standards] (isblank):
36134         Expect function.
36135         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36136         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36138         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36139         Specify type.  Require positive value.
36140         (EILSEQ): Likewise.
36141         (ERANGE): Likewise.
36142         [ISO || POSIX] (EILSEQ): Do not expect.
36143         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36144         Specify type.  Require positive value.
36145         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36146         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36147         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36148         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36149         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36150         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36151         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36152         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36153         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36154         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36155         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36156         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36157         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36158         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36159         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36160         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36161         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36162         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36163         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36164         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36165         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36166         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36167         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36168         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36169         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36170         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36171         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36172         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36173         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36174         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36175         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36176         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36177         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36178         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36179         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36180         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36181         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36182         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36183         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36184         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36185         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36186         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36187         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36188         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36189         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36190         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36191         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36192         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36193         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36194         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36195         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36196         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36197         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36198         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36199         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36200         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36201         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36202         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36203         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36204         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36205         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36206         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36207         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36208         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36209         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36210         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36211         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36212         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36213         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36214         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36215         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36216         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36217         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36218         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36219         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36220         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36221         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36222         Require >= 2.
36223         (FLT_ROUNDS): Expect as macro, not constant.
36224         (FLT_MANT_DIG): Use macro-int-constant.
36225         (DBL_MANT_DIG): Likewise.
36226         (LDBL_MANT_DIG): Likewise.
36227         (FLT_DIG): Likewise.
36228         (DBL_DIG): Likewise.
36229         (LDBL_DIG): Likewise.
36230         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36231         (DBL_MIN_EXP): Likewise.
36232         (LDBL_MIN_EXP): Likewise.
36233         (FLT_MAX_EXP): Use macro-int-constant.
36234         (DBL_MAX_EXP): Likewise.
36235         (LDBL_MAX_EXP): Likewise.
36236         (FLT_MAX_10_EXP): Likewise.
36237         (DBL_MAX_10_EXP): Likewise.
36238         (LDBL_MAX_10_EXP): Likewise.
36239         (FLT_MAX): Use macro-constant.
36240         (DBL_MAX): Likewise.
36241         (LDBL_MAX): Likewise.
36242         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36243         (DBL_EPSILON): Likewise.
36244         (LDBL_EPSILON): Likewise.
36245         (FLT_MIN): Likewise.
36246         (DBL_MIN): Likewise.
36247         (LDBL_MIN): Likewise.
36248         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36249         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36250         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36251         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36252         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36253         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36254         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36255         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36256         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36257         [ISO11] (FLT_TRUE_MIN): Likewise.
36258         [ISO11] (LDBL_TRUE_MIN): Likewise.
36259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36260         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36261         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36262         (SCHAR_MAX): Likewise.
36263         (UCHAR_MAX): Likewise.
36264         (CHAR_MIN): Likewise.
36265         (CHAR_MAX): Likewise.
36266         (MB_LEN_MAX): Use macro-int-constant.
36267         (SHRT_MIN): Use macro-int-constant.  Specify type.
36268         (SHRT_MAX): Likewise.
36269         (USHRT_MAX): Likewise.
36270         (INT_MAX): Likewise.
36271         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36272         bound negative.
36273         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36274         bound with "U".
36275         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36276         bound with "L".
36277         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36278         bound negative.  Suffix upper bound with "L".
36279         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36280         bound with "UL".
36281         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36282         Specify type.
36283         [C99-based standards] (LLONG_MAX): Likewise.
36284         [C99-based standards] (ULLONG_MAX): Likewise.
36285         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36286         == 0.
36287         [ISO11] (max_align_t): Require type.
36288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36290         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36291         from $CFLAGS, without defining away __attribute__ calls.
36292         (checknamespace): Use $CFLAGS_namespace.
36294         * conform/conformtest.pl (@keywords): Only include C99 keywords
36295         for standards based on C99 or C11.
36297         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36298         Disable tests.
36299         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36300         UNIX98]: Likewise.
36302         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36303         usability of symbols in #if.
36305         * conform/conformtest.pl: If macro or constant types start
36306         "promoted:", expect the symbol to be of the following type
36307         promoted by the integer promotions.
36309         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36310         in one place.  Also handle "macro-constant".
36312         * conform/conformtest.pl: Only accept expected macro values with
36313         "==".  Parse all "macro" lines in one place.
36314         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36316         * conform/conformtest.pl: Handle braced types on "constant" lines
36317         instead of handling "typed-constant".
36318         * conform/data/signal.h-data: Use "constant" instead of
36319         "typed-constant".
36321         * conform/conformtest.pl: Handle "optional-" at start of lines in
36322         one place rather than duplicating several cases.  Handle each
36323         format of "macro" line with initial "optional-".
36325         * conform/conformtest.pl: Only accept expected constant or
36326         optional-constant values with "==".  Parse all "constant" lines in
36327         one place.  Parse all "optional-constant" lines in one place.
36328         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36329         * conform/data/fmtmsg.h-data: Likewise.
36330         * conform/data/netinet/in.h-data: Likewise.
36331         * conform/data/tar.h-data: Likewise.
36332         * conform/data/limits.h-data: Use "==" form on "constant" and
36333         "optional-constant" lines.
36335         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36336         Use -std=c99 for XOPEN2K.
36337         (@knownproblems): Remove.
36338         (newtoken): Don't check %isknown.
36340         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36341         Do not expect macro.
36342         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36343         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36344         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36345         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36346         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36347         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36348         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36349         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36350         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36351         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36352         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36353         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36354         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36355         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36356         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36357         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36358         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36359         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36360         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36361         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36362         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36363         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36364         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36365         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36366         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36367         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36368         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36369         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36370         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36371         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36372         [XPG3] (acosh): Likewise.
36373         [XPG3] (asinh): Likewise.
36374         [XPG3] (atanh): Likewise.
36375         [XPG3] (cbrt): Likewise.
36376         [XPG3] (expm1): Likewise.
36377         [XPG3] (ilogb): Likewise.
36378         [XPG3] (log1p): Likewise.
36379         [XPG3] (logb): Likewise.
36380         [XPG3] (nextafter): Likewise.
36381         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36382         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36383         [XPG3] (remainder): Likewise.
36384         [XPG3] (rint): Likewise.
36385         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36386         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36387         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36388         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36389         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36390         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36391         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36392         [UNIX98 || XOPEN2K] (scalb): Expect.
36393         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36394         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36395         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36396         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36397         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36398         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36399         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36400         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36401         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36402         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36403         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36404         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36405         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36406         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36407         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36408         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36409         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36410         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36411         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36412         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36413         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36414         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36415         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36416         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36417         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36418         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36419         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36420         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36421         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36422         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36423         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36424         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36425         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36426         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36427         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36428         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36429         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36430         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36431         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36432         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36433         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36434         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36435         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36436         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36437         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36438         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36439         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36440         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36441         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36442         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36443         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36444         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36445         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36446         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36447         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36448         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36449         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36450         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36451         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36452         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36453         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36454         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36455         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36456         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36457         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36458         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36459         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36460         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36461         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36462         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36463         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36464         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36465         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36466         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36467         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36468         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36469         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36470         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36471         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36472         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36473         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36474         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36475         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36476         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36477         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36478         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36479         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36480         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36481         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36482         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36483         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36484         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36485         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36486         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36487         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36488         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36489         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36490         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36491         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36492         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36493         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36494         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36495         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36496         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36497         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36498         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36499         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36500         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36501         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36502         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36503         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36504         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36505         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36506         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36507         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36508         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36509         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36510         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36511         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36512         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36513         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36514         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36515         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36516         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36517         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36518         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36519         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36520         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36521         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36522         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36523         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36524         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36525         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36526         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36527         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36528         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36529         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36531         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36532         _XOPEN_SOURCE_EXTENDED for XPG4.
36534         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36536         * Makeconfig (localtime): Remove variable.
36537         (inst_localtime-file): Likewise.
36539 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36542         Update.
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36544         Update.
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36546         Update.
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36548         Update.
36549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36550         Update.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36552         Update.
36553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36554         Update.
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36556         Update.
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36558         Update.
36560 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #2550]
36563         [BZ #2570]
36564         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36565         comparisons to determine direction to adjust input.
36566         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36567         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36568         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36569         Likewise.
36570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36571         Likewise.
36572         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36573         Likewise.
36574         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36575         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36576         Likewise.
36577         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36578         Likewise.
36579         * math/libm-test.inc (nexttoward_test): Add more tests.
36581 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36583         [BZ #14040]
36584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36585         in version GLIBC_2.1, not GLIBC_2.0.
36586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36587         Likewise.
36589 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36591         [BZ #13942]
36592         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36593         (1 - x) * (1 + x).
36594         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36595         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36596         * math/libm-test.inc (acos_test): Add more tests.
36597         (asin_test): Likewise.
36598         * sysdeps/i386/fpu/libm-test-ulps: Update.
36599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36601         [BZ #14034]
36602         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36603         of square root.
36604         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36605         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36606         * math/libm-test.inc (acos_test_tonearest): New function.
36607         (acos_test_towardzero): Likewise.
36608         (acos_test_downward): Likewise.
36609         (acos_test_upward): Likewise.
36610         (asin_test_tonearest): Likewise.
36611         (asin_test_towardzero): Likewise.
36612         (asin_test_downward): Likewise.
36613         (asin_test_upward): Likewise.
36614         (main): Call the new functions.
36615         * sysdeps/i386/fpu/libm-test-ulps: Update.
36616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36618         [BZ #13884]
36619         [BZ #13924]
36620         * math/e_exp10.c: Include <float.h>.
36621         (__ieee754_exp10): Handle underflow here rather than multiplying
36622         large negative argument by M_LN10.
36623         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36624         of __ieee754_expf.
36625         * math/e_exp10l.c: Include <float.h>.
36626         (__ieee754_exp10l): Handle underflow here rather than multiplying
36627         large negative argument by M_LN10l.
36628         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36629         spurious overflow exception on underflow.
36631 2012-04-29  Marek Polacek  <polacek@redhat.com>
36633         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36634         (__fortify_function): New macro.
36635         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36636         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36637         __extern_always_inline.
36638         * libio/bits/stdio2.h: Likewise.
36639         * libio/bits/stdio.h: Likewise.
36640         * string/string.h: Likewise.
36641         * string/bits/string3.h: Likewise.
36642         * include/stdio.h: Likewise.
36643         * stdlib/bits/stdlib.h: Likewise.
36644         * stdlib/stdlib.h: Likewise.
36645         * rt/bits/mqueue2.h: Likewise.
36646         * rt/mqueue.h: Likewise.
36647         * posix/bits/unistd.h: Likewise.
36648         * posix/unistd.h: Likewise.
36649         * io/bits/poll2.h: Likewise.
36650         * io/bits/fcntl2.h: Likewise.
36651         * io/fcntl.h: Likewise.
36652         * io/sys/poll.h: Likewise.
36653         * misc/bits/syslog.h: Likewise.
36654         * misc/bits/syslog-ldbl.h: Likewise.
36655         * misc/sys/syslog.h: Likewise.
36656         * socket/bits/socket2.h: Likewise.
36657         * socket/sys/socket.h: Likewise.
36658         * debug/tst-chk1.c: Likewise.
36659         * wcsmbs/bits/wchar2.h: Likewise.
36660         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36661         * wcsmbs/wchar.h: Likewise.
36663 2012-04-29  Andreas Jaeger  <aj@suse.de>
36665         * Makerules (tests): Remove enable-check-abi protection.
36666         (check-abi-warn): Remove.
36667         (check-abi-%): Remove check-abi-warn usage.
36669         * configure.in: Remove check-abi configure option.
36670         * configure: Regenerated.
36671         * config.make.in (enable-check-abi): Remove.
36673 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36675         [BZ #14033]
36676         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36677         double functions to double *_finite functions.
36679         [BZ #13941]
36680         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36681         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36682         LDBL_MIN_EXP.
36683         * stdio-common/Makefile (tests): Add tst-sprintf3.
36684         * stdio-common/tst-sprintf3.c: New file.
36686         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36687         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36689 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36691         * conform/conformtest.pl: Remove duplicate typed-constant
36692         handling.
36694 2012-04-28  David S. Miller  <davem@davemloft.net>
36696         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36697         (check-abi-%): Remove AWK script prerequisite and explicit
36698         abilist directory.
36699         (check-abi): Rewrite to just diff the symlist with the abilist.
36700         (config-tls, config-abi-config): Delete, no longer used.
36701         (update-abi-%): Remove AWK script and explicit abilist directory.
36702         (update-abi): Rewrite to simply compare and conditionally copy the
36703         symlist and the sysdep abilist file.  Remove update-abi-config
36704         checks.
36705         * abilist/ld.abilist: Remove.
36706         * abilist/libBrokenLocale.abilist: Remove.
36707         * abilist/libanl.abilist: Remove.
36708         * abilist/libcrypt.abilist: Remove.
36709         * abilist/libdl.abilist: Remove.
36710         * abilist/librt.abilist: Remove.
36711         * abilist/libthread_db.abilist: Remove.
36712         * abilist/libutil.abilist: Remove.
36713         * scripts/extract-abilist.awk: Remove.
36714         * scripts/merge-abilist.awk: Remove.
36715         * sysdeps/generic/libcidn.abilist: New file.
36716         * sysdeps/generic/libnss_compat.abilist: New file.
36717         * sysdeps/generic/libnss_db.abilist: New file.
36718         * sysdeps/generic/libnss_dns.abilist: New file.
36719         * sysdeps/generic/libnss_files.abilist: New file.
36720         * sysdeps/generic/libnss_hesiod.abilist: New file.
36721         * sysdeps/generic/libnss_nis.abilist: New file.
36722         * sysdeps/generic/libnss_nisplus.abilist: New file.
36723         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36724         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36725         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36726         file.
36727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36728         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36729         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36730         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36731         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36732         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36733         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36734         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36735         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36736         file.
36737         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36738         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36739         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36740         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36741         file.
36742         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36743         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36744         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36745         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36746         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36747         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36748         file.
36749         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36750         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36751         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36752         file.
36753         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36755         New file.
36756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36757         New file.
36758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36759         New file.
36760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36761         New file.
36762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36763         New file.
36764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36765         New file.
36766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36767         New file.
36768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36769         New file.
36770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36771         New file.
36772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36773         New file.
36774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36775         New file.
36776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36777         New file.
36778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36779         New file.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36781         file.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36783         New file.
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36785         New file.
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36787         file.
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36789         New file.
36790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36791         New file.
36792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36793         file.
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36795         New file.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36797         New file.
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36799         New file.
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36801         New file.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36803         New file.
36804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36805         New file.
36806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36808         file.
36809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36810         New file.
36811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36812         file.
36813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36814         file.
36815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36816         file.
36817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36818         file.
36819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36820         file.
36821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36822         New file.
36823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36824         file.
36825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36826         file.
36827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36828         New file.
36829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36830         file.
36831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36833         file.
36834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36835         New file.
36836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36837         file.
36838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36839         file.
36840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36841         file.
36842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36843         file.
36844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36845         file.
36846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36847         New file.
36848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36849         file.
36850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36851         file.
36852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36853         New file.
36854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36855         file.
36856         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36857         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36858         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36859         file.
36860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36861         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36862         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36863         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36864         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36865         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36866         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36867         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36868         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36869         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36872         file.
36873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36874         New file.
36875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36876         file.
36877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36878         file.
36879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36880         file.
36881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36882         file.
36883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36884         file.
36885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36886         New file.
36887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36888         New file.
36889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36890         file.
36891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36892         New file.
36893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36894         file.
36895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36897         file.
36898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36899         New file.
36900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36901         file.
36902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36903         file.
36904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36905         file.
36906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36907         file.
36908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36909         file.
36910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36911         New file.
36912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36913         New file.
36914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36915         file.
36916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36917         New file.
36918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36919         file.
36921 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36923         * conform/conformtest.pl: Fix typo in handling typed-constant from
36924         allow-header.
36926 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36928         * README: Cut down references to pre-2.6 Linux kernels and
36929         Linuxthreads.  Update lists of configurations in libc and ports
36930         and sort alphabetically.  Say "or newer" with Linux kernel version
36931         requirements.
36933         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36935 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36937         [BZ #887]
36938         * math/libm-test.inc (logb_test_downward): New test to expose
36939         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36940         rounding mode.
36942 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36944         [BZ #14027]
36945         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36946         to be done.
36947         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36948         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36950 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36952         * sysdeps/unix/i386/brk.S: Remove file.
36953         * sysdeps/unix/i386/dl-brk.S: Likewise.
36954         * sysdeps/unix/i386/pipe.S: Likewise.
36955         * sysdeps/unix/i386/sigreturn.S: Likewise.
36956         * sysdeps/unix/i386/syscall.S: Likewise.
36957         * sysdeps/unix/i386/vfork.S: Likewise.
36958         * sysdeps/unix/i386/wait.S: Likewise.
36960         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36961         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36963         * configure.in (arm*-none*): Do not allow without
36964         --enable-hacker-mode.
36965         (netbsd*): Remove case setting base_os.
36966         (386bsd*): Likewise.
36967         (freebsd*): Likewise.
36968         (bsdi*): Likewise.
36969         (osf*): Likewise.
36970         (sunos*): Likewise.
36971         (ultrix*): Likewise.
36972         (newsos*): Likewise.
36973         (dynix*): Likewise.
36974         (*bsd*): Likewise.
36975         (sysv*): Likewise.
36976         (isc*): Likewise.
36977         (esix*): Likewise.
36978         (sco*): Likewise.
36979         (minix*): Likewise.
36980         (irix4*): Likewise.
36981         (irix6*): Likewise.
36982         (solaris[2-9]*): Likewise.
36983         (none): Likewise.
36984         * configure: Regenerated.
36986 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36988         [BZ #11521]
36989         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36990         overflow or cancellation in calculating denominator.
36991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36993         down expression to avoid unexpected rounding in newer GCCs.
36994         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36996 2012-04-26  David S. Miller  <davem@davemloft.net>
36998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36999         long-double compat symbols.
37000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37014 2012-04-25  David S. Miller  <davem@davemloft.net>
37016         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37017         HWCAP_* values only after the memory barriers have been defined.
37018         (atomic_full_barrier): Define.
37019         (atomic_read_barrier): Define.
37020         (atomic_write_barrier): Define.
37022 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37024         * shlib-versions: Add libgcc_s version information.
37025         * sysdeps/generic/libgcc_s.h: Remove.
37026         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37027         libgcc_s.h.
37028         * sysdeps/gnu/unwind-resume.c: Likewise.
37029         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37031 2012-04-25  David S. Miller  <davem@davemloft.net>
37033         * sysdeps/unix/sparc/brk.S: Delete.
37034         * sysdeps/unix/sparc/dl-brk.S: Delete.
37035         * sysdeps/unix/sparc/pipe.S: Delete.
37036         * sysdeps/unix/sparc/sysdep.S: Delete.
37037         * sysdeps/unix/sparc/sysdep.h: Delete.
37038         * sysdeps/unix/sparc/vfork.S: Delete.
37039         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37040         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37041         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37042         (ret_ERRVAL, r0, r1, MOVE): Define.
37043         (JUMPTARGET): Remove.
37044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37045         sysdeps/unix/sparc/sysdep.h
37046         (ENTRY, END): Remove.
37047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37049 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37051         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37052         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37053         -DIS_IN_build.
37055         * timezone/README: Update upstream location and email address for
37056         tzcode and tzdata.
37057         * timezone/zdump.c: Update from tzcode 2012b.
37058         * timezone/zic.c: Likewise.
37060         * configure.in (libc_cv_as_needed): Remove test.
37061         * configure: Regenerated.
37062         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37063         conditional definition.
37064         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37065         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37066         * config.make.in (have-as-needed): Remove variable.
37068 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37069             Paul Pluzhnikov  <ppluzhnikov@google.com>
37071         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37072         strings correctly.
37074 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37076         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37077         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37078         * sysdeps/sh/strlen.S: Likewise.
37080 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37082         * sysdeps/unix/fork.S: Remove file.
37083         * sysdeps/unix/i386/fork.S: Likewise.
37084         * sysdeps/unix/sparc/fork.S: Likewise.
37086         * sysdeps/unix/system.c: Remove file.
37087         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37089         * sysdeps/unix/getegid.S: Remove file.
37090         * sysdeps/unix/geteuid.S: Likewise.
37092 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37094         * scripts/check-localplt.awk: New file.
37095         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37096         of diff.
37097         * scripts/data/localplt-generic.data: Add a comment.
37099         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37100         NODE when __dir_mkfile failed.
37101         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37102         Reported by Ludovic Courtès <ludo@gnu.org>.
37104 2012-04-24  Andreas Jaeger  <aj@suse.de>
37106         * Makerules (common-clean): Also remove gen-as-const-headers
37107         files.
37109 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37111         * Makerules (native-compile): Do not change working directory for
37112         build.  Use $(OUTPUT_OPTION) in command.
37113         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37115 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37117         [BZ #13886]
37118         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37119         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37120         * math/libm-test.inc (floor_test): Add more tests.
37121         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37123 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37125         * sysdeps/unix/getdents.c: Remove file.
37126         * sysdeps/unix/sysv/getdents.c: Likewise.
37127         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37129         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37130         sysdeps/unix/mman/syscalls.list.
37131         (mmap): Likewise.
37132         (mprotect): Likewise.
37133         (msync): Likewise.
37134         (munmap): Likewise.
37135         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37136         * sysdeps/unix/mman/syscalls.list: Remove.
37137         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37139         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37140         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37141         * configure: Regenerated.
37142         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37143         $(libgcc_s_suffix).
37144         * config.make.in (libgcc_s_suffix): Remove variable.
37146 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37148         * sysdeps/unix/sysv/gethostname.c: Move to ...
37149         * sysdeps/posix/gethostname.c: ... here.
37151         * sysdeps/unix/execve.S: Remove file.
37153         * sysdeps/unix/_exit.S: Remove file.
37155 2012-04-23  Andreas Jaeger  <aj@suse.de>
37157         [BZ #13739]
37158         * manual/Makefile: Remove make dist support, there's no
37159         need for a stand-alone documentation tar ball.
37160         (TEXI2DVI): Define always, it's not in Makeconfig.
37161         (dist): Removed.
37162         (tar-it): Removed.
37163         (edition): Removed.
37164         (glibc-doc-$(edition).tar): Removed
37165         (%.Z): Removed.
37166         (%.gz): Removed.
37167         (%.uu): Removed.
37168         (ETAGS): Remove, it's in Makeconfig.
37169         (move-if-change): Remove, it's in Makeconfig.
37171 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37173         [BZ #13970]
37174         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37175         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37176         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37177         (strtod_l, strtof_l, strtold_l): Remove __wur.
37178         It is not necessarily an error to ignore strtol's return value.
37179         One can reliably look at the stored endptr to decide whether
37180         the number had valid syntax.
37182 2012-04-21  Andreas Jaeger  <aj@suse.de>
37184         [BZ #13739]
37185         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37187 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37189         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37190         * sysdeps/unix/sysv/Versions: Remove file.
37192 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37194         [BZ #13927]
37195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37197 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37199         [BZ #7064]
37200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37201         version from __vm86.
37203 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37205         * sysdeps/unix/common/lxstat.c: Remove file.
37206         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37208         * sysdeps/unix/sysv/Makefile: Remove file.
37210         * sysdeps/unix/sysv/direct.h: Remove file.
37212         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37213         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37214         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37215         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37216         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37217         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37218         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37220         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37222         * sysdeps/unix/xmknod.c: Remove file.
37223         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37225         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37227         * sysdeps/unix/sysv/i386/time.S: Remove file.
37229         * sysdeps/unix/fxstat.c: Remove file.
37230         * sysdeps/unix/xstat.c: Likewise.
37231         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37233         * sysdeps/unix/sysv/sigaction.c: Remove file.
37235         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37236         (sysdep_headers): Remove variable.
37237         [termio.h not in sysdep_headers] (generated): Likewise.
37238         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37239         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37240         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37241         * sysdeps/unix/sysv/tcflow.c: Likewise.
37242         * sysdeps/unix/sysv/tcflush.c: Likewise.
37243         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37244         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37245         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37246         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37247         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37249         * sysdeps/unix/siglist.c: Remove file.
37251         * sysdeps/unix/getppid.S: Remove file.
37253         * sysdeps/unix/mkdir.c: Remove file.
37254         * sysdeps/unix/rmdir.c: Likewise.
37256 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37258         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37259         ERR_MAX value.
37260         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37261         errlist-compat value.
37263 2012-04-18  David S. Miller  <davem@davemloft.net>
37265         * sysdeps/generic/memcopy.h (reg_char): Delete.
37266         * debug/strcat_chk.c: Use char, not reg_char.
37267         * debug/strcpy_chk.c: Likewise.
37268         * debug/strncat_chk.c: Likewise.
37269         * debug/strncpy_chk.c: Likewise.
37270         * string/memchr.c: Likewise.
37271         * string/memrchr.c: Likewise.
37272         * string/rawmemchr.c: Likewise.
37273         * string/strcat.c: Likewise.
37274         * string/strchr.c: Likewise.
37275         * string/strchrnul.c: Likewise.
37276         * string/strcmp.c: Likewise.
37277         * string/strcpy.c: Likewise.
37278         * string/strncat.c: Likewise.
37279         * string/strncmp.c: Likewise.
37280         * string/strncpy.c: Likewise.
37282 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37284         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37285         __builtin_memcopy is called when src and dest ranges are known to not
37286         overlap.
37288 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37291         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37292         fwd_align_merge macro call.
37293         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37294         bwd_align_merge macro call.
37295         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37297 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37300         bwd_align_merge macros.
37301         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37302         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37305 2012-04-18  David S. Miller  <davem@davemloft.net>
37307         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37309 2012-04-18  Andreas Jaeger  <aj@suse.de>
37311         [BZ# 6794]
37312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37313         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37314         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37316         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37317         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37318         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37320         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37321         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37322         Adjust for changed ldbl-128 files.
37324         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37325         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37326         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37328 2012-04-17  David S. Miller  <davem@davemloft.net>
37330         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37332 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37334         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37335         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37336         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37337         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37338         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37339         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37341 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37343         [BZ #6794]
37344         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37345         * math/libm-test.inc: Add ilogb errno and exception tests.
37346         * math/w_ilogb.c: New file: ilogb wrapper.
37347         * math/w_ilogbf.c: New file: ilogbf wrapper.
37348         * math/w_ilogbl.c: New file: ilogbl wrapper.
37349         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37350         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37351         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37352         exception being thrown with 0.0 as argument.
37353         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37354         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37355         exception being thrown with 0.0 as argument.
37356         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37357         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37358         exception being thrown with 0.0 as argument.
37359         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37360         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37361         exception being thrown with 0.0 as argument.
37362         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37363         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37364         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37365         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37366         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37367         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37368         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37369         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37370         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37372 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37374         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37375         with altivec.
37377 2012-04-16  Marek Polacek  <polacek@redhat.com>
37379         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37381 2012-04-16  Marek Polacek  <polacek@redhat.com>
37383         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37384         operands of fdivp instruction.
37386 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37388         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37389         * elf/tst-auditmod3b.c: Likewise.
37390         * elf/tst-auditmod4b.c: Likewise.
37391         * elf/tst-auditmod5b.c: Likewise.
37392         * elf/tst-auditmod6b.c: Likewise.
37393         * elf/tst-auditmod6c.c: Likewise.
37394         * elf/tst-auditmod7b.c: Likewise.
37395         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37396         * sysdeps/x86_64/preconfigure.in: Likewise.
37397         * sysdeps/x86_64/preconfigure: Regenerated.
37399 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37401         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37402         __ILP32__.
37404 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37406         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37407         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37409 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37411         [BZ #13973]
37412         * locale/iso-639.def: Fix gl language name. Spotted by
37413         Yaron Shahrabani.
37415 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37417         [BZ #2074]
37418         * libio/libio.h (__io_write_fn): Update comment.
37420 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37422         [BZ #2074]
37423         * stdio.texi (Hook Functions): The user provided writer function
37424         is not allowed to return -1.
37426 2012-04-11  David S. Miller  <davem@davemloft.net>
37428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37430 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37432         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37433         Add a leading slash to rtkaio.
37435 2012-04-11  Jim Meyering  <meyering@redhat.com>
37437         [BZ #11959]
37438         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37439         It is not necessarily an error to ignore fwrite's return
37440         value.  One can reliably use ferror to test for errors after
37441         the fact.
37443 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37445         * bits/types.h (__snseconds_t): New type.
37446         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37448         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37450         (__SNSECONDS_T_TYPE): Likewise.
37451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37452         (__SNSECONDS_T_TYPE): Likewise.
37453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37454         (__SNSECONDS_T_TYPE): Likewise.
37456 2012-04-10  Andreas Jaeger  <aj@suse.de>
37458         [BZ #2636]
37459         * manual/time.texi (Processor Time): Return type of times is
37460         elapsed real time since an arbitrary point in the past.
37461         (CPU Time): Move CLK_TCK from here...
37462         (Processor Time): ...to here.  Correct description.
37463         * manual/conf.texi (Constants for Sysconf): Correct description of
37464         _SC_CLK_TCK.
37466 2012-04-10  David S. Miller  <davem@davemloft.net>
37468         [BZ #13967]
37469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37470         where the is a gap between DT_REL(A) and DT_JMPREL.
37472 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37474         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37475         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37476         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37478 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37480         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37481         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37482         (dl_main): Handle --inhibit-cache.
37483         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37484         _dl_inhibit_cache.
37485         * elf/dl-load.c (_dl_map_object): Use it.
37486         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37488 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37490         [BZ #13872]
37491         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37492         (__ieee754_powl): Saturate large exponents rather than testing for
37493         overflow of y*log2(x).
37494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37495         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37496         exceptions.
37498         [BZ #11521]
37499         * math/s_ctan.c: Include <float.h>.
37500         (__ctan): Avoid internal overflow or cancellation in calculating
37501         denominator.
37502         * math/s_ctanf.c: Likewise.
37503         * math/s_ctanl.c: Likewise.
37504         * math/s_ctanh.c: Likewise.
37505         * math/s_ctanhf.c: Likewise.
37506         * math/s_ctanhl.c: Likewise.
37507         * math/libm-test.inc (ctan_test): Add more tests.
37508         (ctanh_test): Likewise.
37509         * sysdeps/i386/fpu/libm-test-ulps: Update.
37510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37512 2012-04-09  Andreas Jaeger  <aj@suse.de>
37514         [BZ #6894]
37515         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37516         is an optional BSD extension.
37518         [BZ #10254]
37519         * manual/stdio.texi (Opening Streams): Document additional fopen
37520         parameters.
37522 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37524         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37525         %eax without telling the compiler.
37527 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37529         [BZ # 13963]
37530         * manual/install.texi: Use sourceware.org.
37532 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37534         [BZ #13873]
37535         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37536         (__ieee754_pow): Generate overflow and underflow using huge*huge
37537         and tiny*tiny rather than just returning constant infinity or zero
37538         for large exponents.
37539         * math/libm-test.inc (pow_test): Require overflow exceptions for
37540         applicable cases of large exponents.
37542         [BZ #706]
37543         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37544         (__ieee754_pow): Use iterative multiplication algorithm only for
37545         integer exponents with absolute value below 1024.  Check for odd
37546         integer exponents when using algorithm for real exponents.
37547         * math/libm-test.inc (pow_test): Add more tests.
37548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37550 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #13705]
37553         * math/libm-test.inc (exp_test): Do not allow overflow exception
37554         on underflow test.
37556 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37558         [BZ #13705]
37559         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37560         instead of __kernel_standard_f.
37562 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37564         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37565         * sysdeps/x86_64/memset_chk.S: Likewise.
37567 2012-04-08  Andreas Jaeger  <aj@suse.de>
37569         [BZ #10153]
37570         * manual/startup.texi (Environment Access): Describe return value
37571         for putenv and setenv.
37573         [BZ #6895]
37574         * manual/filesys.texi (Directory Entries): Add description for
37575         DT_LNK.
37577         [BZ #6890]
37578         * manual/filesys.texi (Directory Entries): Clarify that it's file
37579         system not operating system in the description of DT_UNKNOWN.
37581         [BZ #6578]
37582         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37584 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37586         [BZ #6649]
37587         * manual/llio.texi (Opening and Closing Files): Add cross
37588         reference to explain mode argument.
37590 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37592         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37593         * sysdeps/x86_64/memset_chk.S: Likewise.
37595 2012-04-07  David S. Miller  <davem@davemloft.net>
37597         * elf/elf.h (R_SPARC_WDISP10): Define.
37598         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37599         R_SPARC_SIZE32.
37600         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37601         R_SPARC_SIZE64 and R_SPARC_H34.
37603 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37605         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37606         conditions and remove no longer applicable assertion.
37608 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37610         * bits/byteswap.h: Include <features.h>.
37611         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37612         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37614 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37616         * bits/byteswap.h (__bswap_16): Removed.
37617         Include <bits/byteswap-16.h> to get __bswap_16.
37618         * sysdeps/i386/bits/byteswap.h: Likewise.
37619         * sysdeps/s390/bits/byteswap.h: Likewise.
37620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37621         * bits/byteswap-16.h: New file.
37622         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37623         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37624         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37625         * string/Makefile (headers): Add bits/byteswap-16.h.
37627 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37629         [BZ #13895]
37630         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37631         extra indirection.
37632         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37633         * nss/tst-nss-static.c: New.
37635 2012-04-06  Robert Millan  <rmh@gnu.org>
37637         [BZ #6486]
37638         * manual/llio.texi (File Position Primitive): lseek
37639         refers to WHENCE when it really means OFFSET.
37641 2012-04-06  Andreas Jaeger  <aj@suse.de>
37643         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37644         strncmp declarations.
37646         * abilist/libc.abilist: Add __poll and __ppoll.
37648 2012-04-05  David S. Miller  <davem@davemloft.net>
37650         * scripts/check-local-headers.sh: Accept a host triplet in the
37651         path matched by the exclude regexp.
37653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37654         definition.
37655         * sysdeps/powerpc/powerpc32/dl-machine.h
37656         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37657         * sysdeps/s390/s390-32/dl-machine.h
37658         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37659         * sysdeps/sparc/sparc32/dl-machine.h
37660         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37661         * sysdeps/sparc/sparc64/dl-machine.h
37662         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37664         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37665         lazy binding.
37666         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37667         undefined symbol errors.
37669         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37670         DT_NEEDED entries.
37672 2012-04-05  Michael Matz  <matz@suse.de>
37674         [BZ #13592]
37675         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37677 2012-04-05  Andreas Jaeger  <aj@suse.de>
37679         [BZ #13908]
37680         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37681         comment.
37683 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37685         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37686         which ROUND is no valid rounding mode.
37688 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37690         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37691         read again.
37692         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37694 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37696         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37697         an exception using FPU order intentionally.
37699 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37701         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37702         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37703         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37704         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37706 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37708         [BZ #12340]
37709         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37710         EINVAL when BUFLEN is too smal.
37712 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37714         [BZ #13553]
37715         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37716         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37718 2012-04-03  Andreas Jaeger  <aj@suse.de>
37720         [BZ #13938]
37721         * manual/setjmp.texi (System V contexts): Fix sentence.
37723         [BZ #13926]
37724         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37725         New macro for this case.
37726         [!__GNUC__] (__bswap_64): New inline function for this case.
37727         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37728         * bits/byteswap.h: Likewise.
37729         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37730         ull, guard with __GLIBC_HAVE_LONG_LONG.
37732         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37733         __GLIBC_HAVE_LONG_LONG.
37735         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37736         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37738 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37740         [BZ #13691]
37741         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37742         inptr and inend, rather than using last_ch.
37744 2012-04-02  David S. Miller  <davem@davemloft.net>
37746         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37747         * stdio-common/printf-parse.h (read_int): Change return type to
37748         'int', return -1 on INT_MAX overflow.
37749         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37750         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37751         overflows INT_MAX.  Check for overflow of in-format-string precision
37752         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37753         SIZE_MAX not INT_MAX for integer overflow test.
37754         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37755         skip the construct in the format string but do not record anything.
37756         * stdio-common/bug22.c: Adjust to test both width/prevision
37757         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37758         explicitly for proper errno values.
37760 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37762         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37763         CHAR_MAX.
37764         * string/test-strcmp.c [! WIDE]: Likewise.
37765         * time/tst-mktime2.c: Likewise for INT_MAX.
37766         * string/test-string.h: #include <sys/param.h> for MIN.
37768         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37769         * sysdeps/i386/init-first.c (init): Likewise.
37770         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37771         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37772         * sysdeps/sh/init-first.c (init): Likewise.
37774 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37776         * po/ru.po: Update from translation team.
37777         * po/vi.po: Likewise.
37779 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37781         * resolv/nss_dns/dns-host.c: Merge copyright years.
37783 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37786         Optimize memcpy with prefetch if
37787         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37788         src, dst pointers have unequal 16 byte alignments.
37790 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37792         [BZ #13928]
37793         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37794         from a CNAME entry and return the minimum ttl for the query.
37795         (gaih_getanswer_slice): Likewise.
37797 2012-03-30  Jeff Law  <law@redhat.com>
37799         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37800         due to long keys.
37801         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37802         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37804         * resolv/nss_dns/dns-host.c: Update copyright year.
37806 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37808         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37809         requests to save a system call.  Fix check that all bytes are sent.
37811         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37812         comments for sendmmsg.
37814 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37816         [BZ #13691]
37817         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37818         with only 1 character between 0x0041 and 0x01b0.
37819         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37820         * wcsmbs/tst-mbsnrtowcs.c: New file.
37822 2012-03-29  David S. Miller  <davem@davemloft.net>
37824         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37825         small copies by hand.
37827 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37829         [BZ #13761]
37830         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37831         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37832         group memberships.
37834 2012-03-28  David S. Miller  <davem@davemloft.net>
37836         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37837         that branches into memcpy.
37838         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37840         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37841         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37843         bits.
37844         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37845         implementation too.
37846         * sysdeps/sparc/mempcpy.S: New file.
37848         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37849         the IFUNC routine in the libc case.
37850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37852         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37853         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37854         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37855         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37856         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37857         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37858         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37859         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37861         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37862         loop to 256 bytes instead of 64 bytes and fix test signedness.
37864         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37865         * sysdeps/sparc/sparc32/Makefile: rather than here...
37866         * sysdeps/sparc/sparc64/Makefile: and here.
37868 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37870         * malloc/mallocbug.c: Avoid warnings about unused variables.
37872 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37874         [BZ #13760]
37875         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37876         in the right place. Discard and retry query if response is
37877         larger than input buffer size.
37879 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37881         [BZ #369]
37882         [BZ #2678]
37883         [BZ #3866]
37884         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37885         x for large integer exponent.
37886         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37887         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37888         sign of result as needed afterwards.
37889         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37890         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37891         result for underflowing pow the same as for overflow.
37892         (__kernel_standard_l): Handle powl overflow and underflow here
37893         rather than calling __kernel_standard.
37894         * math/libm-test.inc (pow_test): Add more tests.
37896         [BZ #3868]
37897         [BZ #13879]
37898         [BZ #13910]
37899         [BZ #13911]
37900         [BZ #13912]
37901         [BZ #13913]
37902         [BZ #13915]
37903         [BZ #13916]
37904         [BZ #13917]
37905         [BZ #13918]
37906         [BZ #13919]
37907         [BZ #13920]
37908         [BZ #13921]
37909         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37910         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37911         (__kernel_standard_l): New function.
37912         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37913         __kernel_standard.
37914         * math/w_acosl.c (__acosl): Likewise.
37915         * math/w_asinl.c (__asinl): Likewise.
37916         * math/w_atan2l.c (__atan2l): Likewise.
37917         * math/w_atanhl.c (__atanhl): Likewise.
37918         * math/w_coshl.c (__coshl): Likewise.
37919         * math/w_exp10l.c (__exp10l): Likewise.
37920         * math/w_exp2l.c (__exp2l): Likewise.
37921         * math/w_fmodl.c (__fmodl): Likewise.
37922         * math/w_hypotl.c (__hypotl): Likewise.
37923         * math/w_j0l.c (__j0l, __y0l): Likewise.
37924         * math/w_j1l.c (__j1l, __y1l): Likewise.
37925         * math/w_jnl.c (__jnl, __ynl): Likewise.
37926         * math/w_lgammal.c (__lgammal): Likewise.
37927         * math/w_log10l.c (__log10l): Likewise.
37928         * math/w_log2l.c (__log2l): Likewise.
37929         * math/w_logl.c (__logl): Likewise.
37930         * math/w_powl.c (__powl): Likewise.
37931         * math/w_remainderl.c (__remainderl): Likewise.
37932         * math/w_scalbl.c (sysv_scalbl): Likewise.
37933         * math/w_sinhl.c (__sinhl): Likewise.
37934         * math/w_sqrtl.c (__sqrtl): Likewise.
37935         * math/w_tgammal.c (__tgammal): Likewise.
37936         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37937         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37938         * math/libm-test.inc (acos_test): Add more tests.
37939         (acosh_test): Likewise.
37940         (asin_test): Likewise.
37941         (atanh_test): Likewise.
37942         (exp_test): Likewise.
37943         (exp10_test): Likewise.
37944         (exp2_test): Likewise.
37945         (expm1_test): Likewise.
37946         (lgamma_test): Likewise.
37947         (log_test): Likewise.
37948         (log10_test): Likewise.
37949         (log1p_test): Likewise.
37950         (log2_test): Likewise.
37951         (pow_test): Do not allow some spurious overflow exceptions.
37952         (sqrt_test): Add more tests.
37953         (tgamma_test): Likewise.
37954         (y0_test): Likewise.
37955         (y1_test): Likewise.
37956         (yn_test): Likewise.
37958 2012-03-27  Anton Blanchard  <anton@samba.org>
37960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37961         MAP_HUGETLB.
37962         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37963         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37964         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37966 2012-03-27  David S. Miller  <davem@davemloft.net>
37968         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37970         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37971         have-as-vis3 check.
37973 2012-03-27  Andreas Jaeger  <aj@suse.de>
37975         * sysdeps/x86_64/elf/configure.in: Moved to ...
37976         * sysdeps/x86_64/configure.in: ... here.
37977         * sysdeps/x86_64/elf/start.S: Moved to ...
37978         * sysdeps/x86_64/start.S: ... here.
37979         * sysdeps/x86_64/elf/configure: Delete.
37981         * sysdeps/x86_64/configure.in: Merge contents from
37982         sysdeps/i386/configure.in (without i686 check).
37984         * sysdeps/i386/elf/Versions: Merge into ...
37985         * sysdeps/i386/Versions: ... this.
37986         * sysdeps/i386/elf/Versions: Delete file.
37987         * sysdeps/i386/elf/start.S: Moved to ...
37988         * sysdeps/i386/start.S: ...here.
37989         * sysdeps/i386/elf/configure.in: Merge into...
37990         * sysdeps/i386/configure.in: ...here.
37991         * sysdeps/i386/elf/configure.in: Delete file.
37992         * sysdeps/i386/elf/configure: Delete file.
37994         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37995         * debug/backtracesyms.c: ... here.
37996         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37997         * debug/backtracesymsfd.c: ... here.
37998         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37999         * sysdeps/generic/ifunc-sel.h: ... here.
38001         * sysdeps/unix/i386/start.c: Delete file.
38002         * sysdeps/unix/sparc/start.c: Delete file.
38003         * sysdeps/unix/start.c: Delete file.
38005         * sysdeps/sh/elf/configure.in: Moved to ...
38006         * sysdeps/sh/configure.in: ... here.
38007         * sysdeps/sh/elf/start.S: Moved to ...
38008         * sysdeps/sh/start.S: ... here.
38009         * sysdeps/sh/elf/configure: Delete file.
38011         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38012         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38013         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38014         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38015         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38016         * sysdeps/powerpc/powerpc64/start.S: here.
38017         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38018         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38019         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38020         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38021         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38023         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38024         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38025         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38026         * sysdeps/powerpc/powerpc32/start.S: ... here.
38027         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38028         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38029         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38031         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38032         * sysdeps/powerpc/ifunc-sel.h: ... here.
38033         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38034         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38036         * sysdeps/sparc/elf/configure.in: Moved to ...
38037         * sysdeps/sparc/configure.in: ... here.
38038         * sysdeps/sparc/elf/configure: Delete file.
38039         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38040         * sysdeps/sparc/sparc32/start.S: ... here.
38041         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38042         * sysdeps/sparc/sparc64/start.S: ... here.
38043         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38044         * sysdeps/sparc/sparc32/Makefile: ... this.
38045         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38046         * sysdeps/sparc/sparc64/Makefile: ... this.
38048         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38049         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38050         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38051         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38052         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38053         * sysdeps/s390/s390-32/setjmp.S: ... here.
38054         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38055         * sysdeps/s390/s390-32/configure.in: ... here.
38056         * sysdeps/s390/s390-32/elf/configure: Delete file.
38057         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38058         * sysdeps/s390/s390-32/start.S: ... here.
38060         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38061         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38062         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38063         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38064         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38065         * sysdeps/s390/s390-64/setjmp.S: ... here.
38066         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38067         * sysdeps/s390/s390-64/configure.in: ... here
38068         * sysdeps/s390/s390-64/elf/configure: Delete file.
38069         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38070         * sysdeps/s390/s390-64/start.S: ... here.
38071         * sysdeps/s390/s390-64/elf/configure: Delete.
38073         * configure.in: Remove support for elf directories in sysdeps.
38075         * configure: Regenerated.
38076         * sysdeps/i386/configure: Regenerated.
38077         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38078         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38079         * sysdeps/s390/s390-32/configure: Regenerated.
38080         * sysdeps/s390/s390-64/configure: Regenerated.
38081         * sysdeps/sh/configure: Regenerated.
38082         * sysdeps/sparc/configure: Regenerated.
38083         * sysdeps/x86_64/configure: Regenerated.
38085 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38089         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38090         denormal result into account.
38092 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38094         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38095         Reported by Allan McRae <allan@archlinux.org>.
38097 2012-03-23  Jeff Law  <law@redhat.com>
38099         * nss/getnssent.c (__nss_getent): Fix typo.
38101 2012-03-23  David S. Miller  <davem@davemloft.net>
38103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38105 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38107         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38108         to pad to uint64_t for each field.
38109         (dl_tls_index): Replace unsigned long with uint64_t.
38111 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38112         Paul Pluzhnikov  <ppluzhnikov@google.com>
38114         [BZ #6528]
38115         * grp/Makefile (otherlibs): Don't set it.
38116         * inet/Makefile (otherlibs): Likewise.
38117         * login/Makefile (otherlibs): Likewise.
38118         * nscd/Makefile (otherlibs): Likewise.
38119         * posix/Makefile (otherlibs): Likewise.
38120         * pwd/Makefile (otherlibs): Likewise.
38121         * rt/Makefile (otherlibs): Likewise.
38122         * sunrpc/Makefile (otherlibs): Likewise.
38123         * nss/Makefile (otherlibs): Likewise.
38124         Add libnss_files to routines and static-only-routines.
38125         ($(objpfx)getent): Remove rule.
38126         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38127         static-only-routines.
38129 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38131         [BZ #13892]
38132         * math/s_cexp.c: Include <float.h>.
38133         (__cexp): Handle exp result overflowing not necessarily
38134         overflowing both real and imaginary parts of result.
38135         * math/s_cexpf.c: Likewise.
38136         * math/s_cexpl.c: Likewise.
38137         * math/libm-test.inc (cexp_test): Add more tests.
38138         * sysdeps/i386/fpu/libm-test-ulps: Update.
38139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38141 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38143         * include/link.h (ELFW): New macro.
38144         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38145         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38147 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38149         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38150         with uint64_t.
38152 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38154         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38155         declaration.
38156         (struct La_x32_retval): Likewise.
38158 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38160         * sysdeps/x86_64/preconfigure.in: New file.
38161         * sysdeps/x86_64/preconfigure: New generated file.
38163 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38165         [BZ #13824]
38166         * math/e_exp2l.c: Include <float.h>.
38167         (__ieee754_exp2l): Handle overflow and underflow cases
38168         separately.  Only pass fractional part of argument to
38169         __ieee754_expl.
38170         * math/libm-test.inc (exp2_test): Add more tests.
38172         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38173         negating x to take absolute value.
38174         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38175         Likewise.
38176         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38177         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38178         Likewise.
38179         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38180         computing low part if x was negated.
38181         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38183 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38185         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38186         la_x32_gnu_pltexit.
38187         (pltexit): Cast int_retval to ptrdiff_t.
38188         * elf/tst-auditmod3b.c: Likewise.
38189         * elf/tst-auditmod4b.c: Likewise.
38190         * elf/tst-auditmod5b.c: Likewise.
38191         * elf/tst-auditmod6b.c: Likewise.
38192         * elf/tst-auditmod6c.c: Likewise.
38193         * elf/tst-auditmod7b.c: Likewise.
38195         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38196         and x32_gnu_pltexit.
38198         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38199         __ELF_NATIVE_CLASS.
38200         (La_x32_regs): New macro.
38201         (La_x32_retval): Likewise.
38202         (la_x32_gnu_pltenter): New function prototype.
38203         (la_x32_gnu_pltexit): Likewise.
38205 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38208         exponent.
38210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38212         * configure.in (libc_cv_cc_nofma): Check for option to disable
38213         generation of FMA instructions.
38214         * configure: Regenerate.
38215         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38216         * sysdeps/ieee754/dbl-64/Makefile: New file.
38217         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38218         Remove brandred-fma4.
38219         (CFLAGS-brandred-fma4.c): Remove.
38220         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38221         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38222         define.
38223         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38224         define.
38226 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38228         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38229         LLONG_MAX != LONG_MAX.
38230         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38231         (_fitoa_word): Likewise.
38232         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38233         LLONG_MAX != LONG_MAX.
38234         * stdio-common/_itowa.h: Include <_itoa.h>.
38235         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38236         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38237         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38238         only if not defined.
38239         (_ITOA_WORD_TYPE): Likewise.
38240         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38241         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38243 2012-03-21  David S. Miller  <davem@davemloft.net>
38245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38247 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38249         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38250         of x86_64 when setting libc_cv_slibdir, libdir and
38251         libc_cv_localedir.
38252         * sysdeps/unix/sysv/linux/configure: Regenerated.
38254 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38256         * manual/lang.texi (Old Varargs): Remove section.
38257         (How Variadic): Update menu.
38258         (va_start): Do not mention varargs.h.
38260 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38261             Joseph Myers  <joseph@codesourcery.com>
38263         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38264         link test.
38265         * configure: Regenerated.
38267 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38269         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38270         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38271         conformtest.pl
38273 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38275         * NOTES: Remove.
38276         * Makefile (files-for-dist): Remove NOTES.
38277         (NOTES): Remove rule.
38278         * README: Don't refer to NOTES.
38279         * manual/creature.texi: Don't include macros.texi.
38280         * manual/intro.texi (creature.texi): Remove comment referring to
38281         NOTES.
38283         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38284         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38285         * configure: Regenerated.
38286         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38287         LIBC_TRY_CC_OPTION.
38288         (libc_cv_as_i686): Likewise.
38289         (libc_cv_cc_avx): Likewise.
38290         (libc_cv_cc_sse2avx): Likewise.
38291         (libc_cv_cc_fma4): Likewise.
38292         (libc_cv_cc_novzeroupper): Likewise.
38293         * sysdeps/i386/configure: Regenerated.
38295         [BZ #13883]
38296         * sysdeps/i386/fpu/s_cexp.S: Remove.
38297         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38298         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38299         * math/libm-test.inc (cexp_test): Add more tests.
38300         * sysdeps/i386/fpu/libm-test-ulps: Update.
38301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303 2012-03-21  Allan McRae  <allan@archlinux.org>
38305         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38307 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38309         [BZ #13871]
38310         * math/w_exp2.c: Do not include <float.h>.
38311         (o_threshold, u_threshold): Remove.
38312         (__exp2): Calculate result before checking finiteness and calling
38313         __kernel_standard.
38314         * math/w_exp2f.c: Likewise.
38315         * math/w_exp2l.c: Likewise.
38316         * math/libm-test.inc (exp2_test): Require overflow exception for
38317         1e6 input.
38319         [BZ #3866]
38320         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38321         range of signed 64-bit integers before using fistpll.  Remove
38322         checks for whether integers fit in mantissa bits.
38323         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38324         the range of signed 32-bit integers before using fistpl.  Remove
38325         checks for whether integers fit in mantissa bits.
38326         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38327         (__ieee754_powl): Test for y outside the range of signed 64-bit
38328         integers before using fistpll.  Reduce 64-bit values to 63-bit
38329         ones as needed.
38330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38331         divide-by-zero is raised for zero to large negative powers.
38332         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38333         (__ieee754_powl): Test for y outside the range of signed 64-bit
38334         integers before using fistpll.  Reduce 64-bit values to 63-bit
38335         ones as needed.
38336         * math/libm-test.inc (pow_test): Add more tests.
38338 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38340         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38341         <stdio-common/_itoa.h>.
38342         * debug/segfault.c: Likewise.
38343         * elf/dl-cache.c: Likewise.
38344         * elf/dl-minimal.c: Likewise.
38345         * elf/dl-misc.c: Likewise.
38346         * elf/dl-sysdep.c: Likewise.
38347         * elf/dl-version.c: Likewise.
38348         * elf/rtld.c: Likewise.
38349         * hurd/hurdsock.c: Likewise.
38350         * hurd/lookup-retry.c: Likewise.
38351         * malloc/malloc.c: Likewise.
38352         * malloc/mtrace.c: Likewise.
38353         * nscd/nscd_getgr_r.c: Likewise.
38354         * nscd/nscd_getpw_r.c: Likewise.
38355         * nscd/nscd_getserv_r.c: Likewise.
38356         * posix/getopt_init.c: Likewise.
38357         * posix/wordexp.c: Likewise.
38358         * stdio-common/_itoa.c: Likewise.
38359         * stdio-common/printf_fphex.c: Likewise.
38360         * stdio-common/vfprintf.c: Likewise.
38361         * string/_strerror.c: Likewise.
38362         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38363         * sysdeps/i386/i686/hp-timing.h: Likewise.
38364         * sysdeps/mach/_strerror.c: Likewise.
38365         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38366         * sysdeps/mach/hurd/sethostid.c: Likewise.
38367         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38368         * sysdeps/mach/xpg-strerror.c: Likewise.
38369         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38370         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38371         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38372         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38373         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38374         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38376         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38377         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38378         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38379         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38380         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38381         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38382         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38383         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38384         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38385         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38386         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38387         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38388         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38389         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38391         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38393         * stdio-common/_itoa.h: Moved to ...
38394         * sysdeps/generic/_itoa.h: Here.
38396         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38398         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38399         instead of "_itoa.h" and "_itowa.h".
38400         * stdio-common/vfprintf.: Likewise.
38402 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38404         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38405         <bits/wordsize.h>.
38406         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38407         (__signbit): Likwise.
38408         (llrintf): Likwise.
38409         (llrint): Likwise.
38411 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38413         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38414         __WORDSIZE != 64.
38416 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38418         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38419         OVERFLOW_EXCEPTION_OK.
38420         * math/libm-test.inc ("Philosophy"): Update comment about
38421         exception testing.
38422         (OVERFLOW_EXCEPTION): Define.
38423         (OVERFLOW_EXCEPTION_OK): Likewise.
38424         (INVALID_EXCEPTION_OK): Renumber.
38425         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38426         (IGNORE_ZERO_INF_SIGN): Likewise.
38427         (test_exceptions): Handle FE_OVERFLOW.
38428         (exp10_test): Expect overflow exceptions.
38429         (exp2_test): Likewise.
38430         (expm1_test): Likewise.
38431         (nextafter_test): Likewise.
38432         (pow_test): Likewise.
38433         (scalbn_test): Likewise.
38434         (scalbln_test): Likewise.
38436 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38438         * sysdeps/x86_64/bits/atomic.h
38439         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38440         64bit integer.
38441         (atomic_exchange_acq): Likewise.
38442         (__arch_exchange_and_add_body): Likewise.
38443         (__arch_add_body): Likewise.
38444         (atomic_add_negative): Likewise.
38445         (atomic_add_zero): Likewise.
38447 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38449         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38450         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38454         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38455         Check __x86_64__ instead of __WORDSIZE.
38457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38459         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38461 2012-03-19  David S. Miller  <davem@davemloft.net>
38463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38465         * sysdeps/sparc/fpu/fenv_private.h: New file.
38466         * sysdeps/sparc/fpu/math_private.h: Use it.
38467         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38468         Remove.
38469         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38470         (libc_feholdexcept_setroundl): Remove.
38471         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38472         Remove.
38473         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38474         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38478         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38479         int64_t instead of long int.
38480         (INSERT_WORDS64): Likwise.
38482 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38484         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38485         _Unwind_GetCFA return to _Unwind_Ptr first.
38487 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38489         [BZ #13629]
38490         * math/s_clog.c: Include <float.h>.
38491         (__clog): Scale large or subnormal inputs.
38492         * math/s_clogf.c: Likewise.
38493         * math/s_clogl.c: Likewise.
38494         * math/s_clog10.c: Include <float.h>.
38495         (M_LOG10_2): Define.
38496         (__clog10): Scale large or subnormal inputs.
38497         * math/s_clog10f.c: Likewise.
38498         * math/s_clog10l.c: Likewise.
38499         * math/libm-test.inc (clog_test): Add more tests.
38500         (clog10_test): Likewise.
38501         * sysdeps/i386/fpu/libm-test-ulps: Update.
38502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38504         [BZ #11451]
38505         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38506         x and y.
38507         * math/libm-test.inc (atan2_test): Add another test.
38509         * Makerules (common-objdir-compile): Remove.
38510         * sysdeps/unix/Makefile (config-generated): Do not add
38511         $(unix-generated) to variable.
38512         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38513         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38514         Remove rule.
38515         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38516         Likewise.
38517         [generic bits/local_lim.h] (before-compile): Do not append to
38518         variable.
38519         [generic bits/local_lim.h] (common-generated): Likewise.
38520         [generic sys/param.h] (before-compile): Do not append to variable.
38521         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38522         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38523         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38524         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38525         include.
38526         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38527         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38528         [generic sys/param.h] ($(addprefix
38529         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38530         [generic sys/param.h] (common-generated): Do not append to
38531         variable.
38532         [generic sys/param.h] (sysdep_headers): Likewise.
38533         [generic bits/errno.h] (before-compile): Do not append to
38534         variable.
38535         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38536         rule.
38537         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38538         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38539         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38540         [generic bits/errno.h] (common-generated): Do not append to
38541         variable.
38542         [generic bits/ioctls.h] (before-compile): Do not append to
38543         variable.
38544         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38545         rule.
38546         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38547         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38548         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38549         rule.
38550         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38551         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38552         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38553         [generic bits/ioctls.h] (common-generated): Do not append to
38554         variable.
38555         [generic sys/syscall.h] (syscall.h): Remove variable.
38556         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38557         rule.
38558         [generic sys/syscall.h] (before-compile): Do not append to
38559         variable.
38560         [generic sys/syscall.h] (common-generated): Likewise.
38561         * sysdeps/unix/errnos-tmpl.c: Remove file.
38562         * sysdeps/unix/errnos.awk: Likewise.
38563         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38564         * sysdeps/unix/ioctls.awk: Likewise.
38565         * sysdeps/unix/mk-local_lim.c: Likewise.
38566         * sysdeps/unix/snarf-ioctls: Likewise.
38568 2012-03-19  Richard Henderson  <rth@twiddle.net>
38570         * sysdeps/i386/fpu/fenv_private.h: New file.
38571         * sysdeps/i386/fpu/math_private.h: Use it.
38572         (math_opt_barrier, math_force_eval): Remove.
38573         (libc_feholdexcept_setround_53bit): Remove.
38574         (libc_feupdateenv_53bit): Remove.
38575         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38576         (math_opt_barrier, math_force_eval): Remove.
38577         (libc_feholdexcept): Remove.
38578         (libc_feholdexcept_setround): Remove.
38579         (libc_fetestexcept, libc_fesetenv): Remove.
38580         (libc_feupdateenv_test): Remove.
38581         (libc_feupdateenv, libc_feholdsetround): Remove.
38582         (libc_feresetround): Remove.
38584         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38585         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38587         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38588         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38589         (libc_feupdateenv_testl): New.
38590         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38591         (libc_feupdateenv_testf): New.
38592         (libc_feupdateenv): Use libc_feupdateenv_test.
38593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38594         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38596         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38597         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38598         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38599         (libc_feresetround_noex): New.
38600         (libc_feresetround_noexf): New.
38601         (libc_feresetround_noexl): New.
38602         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38603         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38604         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38605         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38606         SET_RESTORE_ROUND.
38607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38609         (__cos): Likewise.
38610         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38612         SET_RESTORE_ROUND_NOEX.
38613         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38614         SET_RESTORE_ROUND_NOEXF.
38615         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38616         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38617         (libc_feholdsetroundf): New.
38618         (libc_feresetround, libc_feresetroundf): New.
38620         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38621         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38622         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38624         * sysdeps/generic/math_private.h: Include <fenv.h>.
38625         (default_libc_feholdexcept): New.
38626         (default_libc_feholdexcept_setround): New.
38627         (default_libc_fesetenv, default_libc_feupdateenv): New.
38628         (libc_feholdexcept): Only define if undefined.
38629         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38630         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38631         (libc_feholdexcept_setroundl): Likewise.
38632         (libc_feholdexcept_setround_53bit): Likewise.
38633         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38634         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38635         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38636         (libc_feupdateenv_53bit): Likewise.
38637         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38638         (libc_feholdexcept): Convert from macro to inline function.
38639         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38640         (libc_fesetenv, libc_feupdateenv): Likewise.
38642         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38643         not previously defined.
38644         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38645         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38646         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38647         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38648         * sysdeps/ieee754/flt-32/math_private.h: New file.
38649         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38650         math_private.h below SET_FLOAT_WORD.
38651         (__isnan, __isinf_ns, __finite): Remove.
38652         (__isnanf, __isinf_nsf, __finitef): Remove.
38654 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38658 2012-03-17  David S. Miller  <davem@davemloft.net>
38660         [BZ #6471]
38661         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38662         for 2.16.
38664 2012-03-16  David S. Miller  <davem@davemloft.net>
38666         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38667         warnings.
38669         [BZ #6471]
38670         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38671         properly.
38672         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38673         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38674         sysdep_routines when subdir is sysvipc.
38675         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38676         __getshmlba helper.
38678         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38680 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38682         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38683         [__LP64__].
38685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38687         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38688         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38689         (__lround): Renamed to ...
38690         (__llround): This.  Replace long int with long long int.
38691         Define lround functions as aliases of llround functions.
38692         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38696         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38697         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38698         adresses to uintptr_t.  Replace "long int" and "unsigned long
38699         int" with "greg_t" on va_arg.
38701 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38703         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38704         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38706         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38707         Move e_machine check before EI_CLASS check.  Handle x32
38708         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38709         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38710         SKIP_EM_IA_64 and include
38711         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38713         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38714         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38715         (add_system_dir): New macro.
38717         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38718         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38720 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38722         [BZ #2551]
38723         [BZ #2552]
38724         [BZ #2553]
38725         [BZ #2554]
38726         [BZ #2562]
38727         [BZ #2563]
38728         [BZ #2565]
38729         [BZ #2566]
38730         [BZ #2576]
38731         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38732         (y0): Likewise.
38733         * math/w_j0f.c (j0f): Likewise.
38734         (y0f): Likewise.
38735         * math/w_j0l.c (__j0l): Likewise.
38736         (__y0l): Likewise.
38737         * math/w_j1.c (j1): Likewise.
38738         (y1): Likewise.
38739         * math/w_j1f.c (j1f): Likewise.
38740         (y1f): Likewise.
38741         * math/w_j1l.c (__j1l): Likewise.
38742         (__y1l): Likewise.
38743         * math/w_jn.c (jn): Likewise.
38744         (yn): Likewise.
38745         * math/w_jnf.c (jnf): Likewise.
38746         (ynf): Likewise.
38747         * math/w_jnl.c (__jnl): Likewise.
38748         (__ynl): Likewise.
38749         * math/libm-test.inc (j0_test): Add more tests.
38750         (j1_test): Likewise.
38751         (jn_test): Likewise.  Add trailing semicolon to existing test.
38752         (y0_test): Likewise.
38753         (y1_test): Likewise.
38754         * sysdeps/i386/fpu/libm-test-ulps: Update.
38755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38757         [BZ #13851]
38758         [BZ #13854]
38759         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38760         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38761         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38762         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38763         (__tanl): Set errno for infinite argument.
38764         * sysdeps/i386/fpu/mptan.c: Remove.
38765         * sysdeps/i386/fpu/s_tan.S: Likewise.
38766         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38767         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38768         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38769         * math/libm-test.inc (tan_test): Add more tests and enable more
38770         tests for double and long double.
38771         * sysdeps/i386/fpu/libm-test-ulps: Update.
38772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38774 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38776         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38777         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38779 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38781         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38782         * configure.in: Use it for both main tree and add-ons.
38783         * configure: Regenerated.
38785 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38787         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38789 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38791         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38792         in comment.
38794         [BZ #13851]
38795         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38796         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38798         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38800         infinite argument.
38801         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38802         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38803         != 0 for prec == 2.
38804         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38805         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38806         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38807         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38808         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38809         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38810         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38811         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38812         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38813         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38814         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38815         * math/libm-test.inc (cos_test): Add more tests and enable more
38816         tests for long double.
38817         (sin_test): Likewise.
38818         (sincos_test): Likewise.
38819         * sysdeps/i386/fpu/libm-test-ulps: Update.
38820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38822 2012-03-16  David S. Miller  <davem@davemloft.net>
38824         * sysdeps/sparc/fpu/math_private.h: New file.
38826 2012-03-15  David S. Miller  <davem@davemloft.net>
38828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38829         file.
38830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38832         file.
38833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38838         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38839         sysdep routines.
38840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38842         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38843         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38845         * sysdeps/sparc/sparc-ifunc.h: New file.
38846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38847         sparc-ifunc.h
38848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38850         Likewise.
38851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38852         Likewise.
38853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38857         Likewise.
38858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38863         Likewise.
38864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38865         Likewise.
38866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38873         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38886         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38889         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38891 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38893         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38894         scaling.
38895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38897 2012-03-15  Andreas Jaeger  <aj@suse.de>
38899         [BZ #13852]
38900         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38901         ieee754/flt-32 implementation for sin, cos and sincos.
38902         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38903         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38904         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38905         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38906         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38907         ieee754/flt-32 implementation for tan.
38909         * math/libm-test.inc (cos_test): Enable some large input tests for
38910         float as well
38911         (sin_test): Likewise.
38912         (sincos_test): Likewise.
38913         (tan_test): Add tests for large input.
38915         * sysdeps/i386/fpu/libm-test-ulps: Update.
38917 2012-03-15  Andreas Jaeger  <aj@suse.de>
38919         [BZ #13658]
38920         * math/libm-test.inc (cos_test): Add more test cases.
38921         (sin_test): Likewise.
38922         (sincos_test): Likewise.
38924 2012-03-15  Andreas Jaeger  <aj@suse.de>
38926         [BZ #13837]
38927         * math/libm-test.inc (cos_test): Add a test case for large input
38928         value.
38929         (sin_test): Likewise.
38930         (sincos_test): Likewise.
38932 2012-03-15  Andreas Jaeger  <aj@suse.de>
38933             Joseph Myers  <joseph@codesourcery.com>
38935         [BZ #13658]
38936         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38937         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38938         * sysdeps/i386/fpu/branred.c: Likewise.
38939         * sysdeps/i386/fpu/dosincos.c: Likewise.
38940         * sysdeps/i386/fpu/mpa.c: Likewise.
38941         * sysdeps/i386/fpu/s_cos.S: Likewise.
38942         * sysdeps/i386/fpu/s_sin.S: Likewise.
38943         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38944         * sysdeps/i386/fpu/sincos32.c: Likewise.
38946         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38947         Define.
38948         (libc_feupdateenv_53bit): Define.
38949         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38950         Define.
38951         (libc_feupdateenv_53bit): Define.
38953         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38954         53 bit (without extend i386 double precision).
38956         * math/libm-test.inc (sincos_test): Add tests for large input.
38957         (sin): Likewise.
38958         (cos): Likewise.
38960         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38962 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38966 2012-03-15  David S. Miller  <davem@davemloft.net>
38968         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38969         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38970         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38971         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38984         file.
38985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38987         file.
38988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38990         file.
38991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38993         file.
38994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38995         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38996         fmin/fmax sysdep routines.
38997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38999 2012-03-14  David S. Miller  <davem@davemloft.net>
39001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39012         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39022         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39024         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39026         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39027         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39028         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39029         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39030         routines.
39031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39032         file.
39033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39035         file.
39036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39038         file.
39039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39041         file.
39042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39044         file.
39045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39047         file.
39048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39049         file.
39050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39051         file.
39052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39053         file.
39054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39055         New file.
39056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39057         file.
39058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39059         file.
39060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39062         file.
39063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39065         file.
39066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39068         file.
39069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39071         VIS3 routines.
39073         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39074         New file.
39076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39078         * sysdeps/sparc/configure.in: New file.
39079         * sysdeps/sparc/configure: Generate.
39080         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39081         * configure: Regenerate.
39082         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39083         * config.make.in (have-as-vis3): New.
39084         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39085         available use -Av9d instead of -Av9a.
39086         * sysdeps/sparc/sparc64/Makefile: Likewise.
39087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39089         New file.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39091         file.
39092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39093         New file.
39094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39095         file.
39096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39097         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39098         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39100         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39102         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39103         fzeros/fnegs to load 0x80000000 into a float register instead of
39104         using the stack.
39105         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39107 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39110         bits/syscall.h.
39111         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39112         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39113         ($(inst_includedir)/bits/syscall.h): Remove rule.
39114         ($(objpfx)bits/syscall.d): Include instead of
39115         $(objpfx)syscall-list.d.
39116         (generated): Change syscall-list.h and syscall-list.d to
39117         bits/syscall.h and bits/syscall.d.
39119 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39121         [BZ #13846]
39122         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39124 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39126         [BZ #13841]
39127         * math/s_csqrt.c: Include <float.h>.
39128         (__csqrt): Scale large or subnormal inputs.
39129         * math/s_csqrtf.c: Likewise.
39130         * math/s_csqrtl.c: Likewise.
39131         * math/libm-test.inc (csqrt_test): Add more tests.
39132         * sysdeps/i386/fpu/libm-test-ulps: Update.
39133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39135         [BZ #13840]
39136         * math/libm-test.inc (hypot_test): Add more tests.
39138 2012-03-13  David S. Miller  <davem@davemloft.net>
39140         [BZ #13840]
39141         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39142         double-precision for the calculation instead of scaling.
39144 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39146         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39147         manipulate bits before adding and subtracting TWO52[sx].
39148         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39149         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39150         Likewise.
39151         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39153 2012-03-13  David S. Miller  <davem@davemloft.net>
39155         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39156         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39158         rtld-global-offsets.h
39159         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39161         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39162         large parameters.
39164         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39166         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39167         'err' in the ifdef scope in which it is actually used.
39169         * nss/nss_db/db-init.c: Include string.h
39171 2012-03-12  David S. Miller  <davem@davemloft.net>
39173         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39174         masking out of the most significant byte of random value used.
39175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39176         Fix coding style in previous change.
39178         * sysdeps/unix/sysv/linux/kernel-features.h
39179         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39180         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39181         expression.
39182         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39183         later.
39185 2012-03-11  David S. Miller  <davem@davemloft.net>
39187         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39188         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39189         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39190         for 'resultvar' otherwise things get truncated on 64-bit.
39192         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39193         Fix masking out of the most significant byte of random value used.
39195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39197 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39201 2012-03-09  David S. Miller  <davem@davemloft.net>
39203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39204         variables with appropriate CPP guards.
39205         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39206         from the frame pointer, not the stack pointer.  Correct layout
39207         comments.  Fix test on resulting framesize and the management of
39208         the outregs buffer for pltexit.  Preserve floating point return
39209         values across _dl_call_pltexit call.
39210         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39211         framesize and the management of the outregs buffer for pltexit.
39212         Preserve floating point return values across _dl_call_pltexit
39213         call.
39214         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39215         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39216         (la_sparc64_gnu_pltexit): New functions.
39217         (print_exit): Fix format string for return register value.
39219 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39221         * sunrpc/Makefile (others): Add rpcgen.
39222         ($(objpfx)rpcgen): Remove special build rule and dependency on
39223         libc.
39224         * sunrpc/rpcgen.c: New file.
39226 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39228         [BZ #13673]
39229         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39230         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39231         * sysdeps/i386/crti.S: Likewise.
39232         * sysdeps/i386/crtn.S: Likewise.
39233         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39234         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39235         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39236         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39237         * sysdeps/sh/crti.S: Likewise.
39238         * sysdeps/sh/crtn.S: Likewise.
39239         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39241         [BZ #13673]
39242         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39243         with URL.
39244         * locale/programs/locfile-kw.gperf: Likewise.
39245         * locale/programs/charmap-kw.h: Regenerated.
39246         * locale/programs/locfile-kw.h: Likewise.
39248         [BZ #13673]
39249         * intl/plural.y: Replace FSF snail mail address with URL.
39250         * intl/plural.c: Regenerated.
39252 2012-03-09  Richard Henderson  <rth@twiddle.net>
39254         * include/math_private.h: Remove file.
39255         * math/math_private.h: Move file ...
39256         * sysdeps/generic/math_private.h: ... here.
39258         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39259         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39260         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39262         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39263         and <math_private.h>.
39264         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39265         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39266         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39267         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39268         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39269         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39270         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39272         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39275         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39276         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39277         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39278         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39279         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39283         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39285         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39286         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39288         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39289         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39290         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39291         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39292         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39293         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39294         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39295         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39296         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39297         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39298         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39299         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39300         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39301         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39302         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39304         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39305         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39306         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39307         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39308         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39309         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39310         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39311         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39312         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39313         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39314         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39315         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39318         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39319         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39320         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39321         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39322         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39323         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39324         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39325         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39327         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39328         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39329         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39330         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39331         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39332         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39334         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39335         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39336         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39338         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39340         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39342         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39344         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39345         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39351         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39352         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39353         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39354         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39355         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39356         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39357         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39358         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39359         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39360         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39361         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39362         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39363         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39364         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39365         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39366         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39367         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39368         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39369         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39370         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39371         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39376         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39377         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39378         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39380         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39381         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39382         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39383         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39384         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39385         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39386         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39387         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39388         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39389         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39390         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39391         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39392         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39393         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39394         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39395         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39396         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39397         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39398         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39399         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39400         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39401         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39402         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39403         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39404         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39405         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39406         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39407         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39408         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39409         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39410         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39411         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39412         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39413         * sysdeps/ieee754/k_standard.c: Likewise.
39414         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39415         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39416         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39417         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39418         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39419         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39420         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39421         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39422         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39423         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39424         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39425         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39426         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39427         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39428         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39429         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39430         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39431         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39432         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39433         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39434         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39435         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39436         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39437         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39438         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39439         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39440         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39441         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39442         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39443         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39444         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39445         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39446         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39447         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39448         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39449         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39450         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39451         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39452         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39453         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39454         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39455         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39456         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39457         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39458         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39459         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39460         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39462         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39463         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39465         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39466         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39467         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39468         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39469         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39470         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39471         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39472         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39473         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39474         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39475         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39476         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39477         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39480         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39481         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39482         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39484         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39486         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39487         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39488         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39490         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39491         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39492         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39493         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39494         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39495         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39497         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39498         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39499         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39500         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39501         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39505         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39506         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39507         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39509         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39510         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39511         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39512         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39513         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39515         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39517         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39518         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39519         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39520         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39521         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39522         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39523         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39524         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39525         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39527         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39528         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39529         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39530         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39533         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39534         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39535         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39536         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39537         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39539         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39540         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39541         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39542         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39543         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39544         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39545         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39546         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39548         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39549         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39550         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39551         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39552         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39557         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39558         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39560         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39562         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39563         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39564         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39565         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39566         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39568         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39569         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39571         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39572         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39574         * sysdeps/ieee754/s_lib_version.c: Likewise.
39575         * sysdeps/ieee754/s_matherr.c: Likewise.
39576         * sysdeps/ieee754/s_signgam.c: Likewise.
39577         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39578         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39579         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39580         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39581         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39582         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39583         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39584         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39585         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39586         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39587         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39588         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39589         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39590         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39591         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39592         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39593         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39594         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39595         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39596         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39597         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39599 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39601         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39602         * sunrpc/rpc_main.c: Likewise.
39603         * sunrpc/rpc_svcout.c: Likewise.
39605 2012-03-09  David S. Miller  <davem@davemloft.net>
39607         * include/math_private.h: New file.
39609 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39611         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39612         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39613         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39614         from <bits/socket_type.h>.
39615         (enum __socket_type): Don't define here.
39616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39618         bits/socket_type.h.
39620         [BZ #13566]
39621         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39622         checking __USE_GNU.
39624         * Makerules ($(inst_includedir)/%.h): New rule.
39625         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39626         (install-others): Remove variable setting.
39627         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39629 2012-03-08  Richard Henderson  <rth@twiddle.net>
39631         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39632         from macro to inline function; merge with the
39633         !__LIBC_INTERNAL_MATH_INLINES version.
39634         (__ieee754_sqrtf): Likewise.
39636         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39637         to inline function.
39638         (__rintf, __floor, __floorf): Likewise.
39640         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39641         macro to inline function.
39642         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39644         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39645         not <math/math_private.h>.
39647 2012-03-08  David S. Miller  <davem@davemloft.net>
39649         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39650         copyright year.
39651         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39653 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39655         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39656         normalization.
39657         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39658         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39660 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39662         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39663         be defined individually, they must be defined as a block.  Define
39664         S for printing a string instead of hidint the different by using a
39665         macro for adding the 'l'.
39666         * stdio-common/tst-fphex-wide.c: Adjust.
39668 2012-03-07  Marek Polacek  <polacek@redhat.com>
39670         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39672 2012-03-08  Marek Polacek  <polacek@redhat.com>
39674         [BZ #13806]
39675         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39676         * stdio-common/tst-fphex.c: Define a few macros to make the
39677         test reusable.  Use them.
39678         * stdio-common/tst-fphex-wide.c: New file.
39680 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39682         [BZ #6911]
39683         * manual/macros.texi (gnusystems): New macro.
39684         (nongnusystems): Likewise.
39685         (gnulinuxhurdsystems): Likewise.
39686         (gnuhurdsystems): Likewise..
39687         (gnulinuxsystems): Likewise.
39688         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39689         variants of the GNU system, not "GNU system".
39690         * manual/conf.texi: Likewise.
39691         * manual/errno.texi: Likewise.  Update example of errno macro
39692         expansion.
39693         * manual/filesys.texi: Likewise.
39694         (getumask): Document as specific to GNU/Hurd.
39695         * manual/install.texi: Likewise.  Reword some references to
39696         GNU/Linux.
39697         * manual/intro.texi: Likewise.
39698         * manual/io.texi: Likewise.
39699         (File Name Portability): Detail which constraints are inapplicable
39700         to all GNU systems and which are only inapplicable to GNU/Hurd.
39701         * manual/job.texi: Likewise.
39702         * manual/llio.texi: Likewise.
39703         (O_NOCTTY): Document as present on GNU/Linux.
39704         * manual/maint.texi: Likewise.
39705         * manual/memory.texi: Likewise.
39706         * manual/pattern.texi: Likewise.
39707         * manual/pipe.texi: Likewise.
39708         * manual/process.texi: Likewise.
39709         * manual/resource.texi: Likewise.
39710         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39711         child on GNU/Hurd.
39712         * manual/setjmp.texi: Likewise.
39713         * manual/signal.texi: Likewise.
39714         * manual/startup.texi: Likewise.
39715         * manual/stdio.texi: Likewise.
39716         * manual/terminal.texi: Likewise.
39717         (ONLCR): Document as POSIX.
39718         (OXTABS): Document availability on GNU/Linux as XTABS.
39719         (ONOEOT): Document availability separately from other bits.
39720         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39721         * manual/time.texi: Likewise.
39722         * manual/users.texi: Likewise.
39723         * INSTALL: Regenerated.
39724         * sysdeps/gnu/errlist.c: Regenerated.
39726         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39727         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39728         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39729         puts.
39730         * configure: Regenerated.
39732 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39734         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39735         default includes instead of AC_HEADER_CHECK.
39736         * sysdeps/i386/configure: Regenerated.
39738         [BZ #10716]
39739         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39740         * math/s_cacoshf.c (__cacoshf): Likewise.
39741         * math/s_cacoshl.c (__cacoshl): Likewise.
39742         * math/s_casinh.c (__casinh): Set signs of result from argument.
39743         * math/s_casinhf.c (__casinhf): Likewise.
39744         * math/s_casinhl.c (__casinhl): Likewise.
39745         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39746         (casinh_test): Add more tests.
39747         * sysdeps/i386/fpu/libm-test-ulps: Update.
39748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39750 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39752         * po/zh_TW.po: Update from translation team.
39754         * login/Makefile (distribute): Remove variable.
39755         * catgets/Makefile: Likewise.
39756         * mach/Makefile: Likewise.
39757         * malloc/Makefile: Likewise.
39758         * misc/Makefile: Likewise.
39759         * iconv/Makefile: Likewise.
39760         * nscd/Makefile: Likewise.
39761         * hurd/Makefile: Likewise.
39762         * manual/Makefile: Likewise.
39763         * locale/Makefile: Likewise.
39764         * intl/Makefile: Likewise.
39765         * conform/Makefile: Likewise.
39766         * nss/Makefile: Likewise.
39767         * time/Makefile: Likewise.
39768         * soft-fp/Makefile: Likewise.
39769         * dirent/Makefile: Likewise.
39770         * gmon/Makefile: Likewise.
39771         * po/Makefile: Likewise.
39772         * rt/Makefile: Likewise.
39773         * socket/Makefile: Likewise.
39774         * math/Makefile: Likewise.
39775         * signal/Makefile: Likewise.
39776         * debug/Makefile: Likewise.
39777         * elf/Makefile: Likewise.
39778         * timezone/Makefile: Likewise.
39779         * stdlib/Makefile: Likewise.
39780         * iconvdata/Makefile: Likewise.
39781         * sunrpc/Makefile: Likewise.
39782         * io/Makefile: Likewise.
39783         * argp/Makefile: Likewise.
39784         * inet/Makefile: Likewise.
39785         * hesiod/Makefile: Likewise.
39786         * grp/Makefile: Likewise.
39787         * csu/Makefile: Likewise.
39788         * wctype/Makefile: Likewise.
39789         * crypt/Makefile: Likewise.
39790         * libio/Makefile: Likewise.
39791         * string/Makefile: Likewise.
39792         * nis/Makefile: Likewise.
39793         * resolv/Makefile: Likewise.
39794         * stdio-common/Makefile: Likewise.
39795         * wcsmbs/Makefile: Likewise.
39796         * dlfcn/Makefile: Likewise.
39797         * posix/Makefile: Likewise.
39799         [BZ #6959]
39800         * timezone/Makefile: Don't install timezone files, just the programs
39801         and scripts.
39803 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39805         * nss/databases.def: Add missing gshadow entry.
39807         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39809 2012-03-06  Marek Polacek  <polacek@redhat.com>
39811         [BZ #13726]
39812         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39813         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39814         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39815         * stdio-common/tst-long-dbl-fphex.c: New file.
39817 2012-03-06  David S. Miller  <davem@davemloft.net>
39819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39820         (set_obp_int): New function.
39821         (get_obp_int): New function.
39822         (__get_clockfreq_via_dev_openprom): Likewise.
39823         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39824         Avoid unused variable warnings on 'val' and use builtin_expect.
39825         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39826         __builtin_expect.
39827         (INLINE_CLONE_SYSCALL): Likewise.
39829 2012-03-05  David S. Miller  <davem@davemloft.net>
39831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39833 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39837         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39838         only for |x| >= 40.
39839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39841 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39844         Replace gettimeofday with __vdso_gettimeofday.
39846         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39847         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39848         __vdso_clock_gettime and __vdso_getcpu.
39850         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39851         time with __vdso_time.
39853 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39855         * manual/lang.texi (size_t): Note types to which size_t may be
39856         equivalent with the GNU C Library, but do not describe when
39857         differences between them are significant.
39859 2012-03-05  Andreas Jaeger  <aj@suse.de>
39861         * sysdeps/i386/fpu/libm-test-ulps: Update.
39863 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39865         [BZ #3976]
39866         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39867         (__ieee754_pow): Save and restore rounding mode and use
39868         round-to-nearest for main computations.
39869         * math/libm-test.inc (pow_test_tonearest): New function.
39870         (pow_test_towardzero): Likewise.
39871         (pow_test_downward): Likewise.
39872         (pow_test_upward): Likewise.
39873         (main): Call the new functions.
39874         * sysdeps/i386/fpu/libm-test-ulps: Update.
39875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39877         [BZ #3976]
39878         * math/libm-test.inc (cosh_test_tonearest): New function.
39879         (cosh_test_towardzero): Likewise.
39880         (cosh_test_downward): Likewise.
39881         (cosh_test_upward): Likewise.
39882         (sinh_test_tonearest): Likewise.
39883         (sinh_test_towardzero): Likewise.
39884         (sinh_test_downward): Likewise.
39885         (sinh_test_upward): Likewise.
39886         (main): Call the new functions.
39887         * sysdeps/i386/fpu/libm-test-ulps: Update.
39888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39890 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39892         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39893         default stack guard is set in last bytes.
39894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39896 2012-03-05  Kees Cook  <keescook@chromium.org>
39898         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39900         [BZ #13656]
39901         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39902         possibly allocate from heap instead of stack.
39903         * stdio-common/bug-vfprintf-nargs.c: New file.
39904         * stdio-common/Makefile (tests): Add nargs overflow test.
39906 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39910 2012-03-03  Marek Polacek  <polacek@redhat.com>
39912         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39913         * math/math_private.h: Likewise.
39914         * stdlib/tst-strtod.c: Likewise.
39915         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39916         * sysdeps/x86_64/bits/atomic.h: Likewise.
39918 2012-03-02  David S. Miller  <davem@davemloft.net>
39920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39924         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39925         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39926         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39927         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39929 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39931         [BZ #13792]
39932         * manual/examples/README: New file, says the example source files
39933         can be used under GPL>=2.
39934         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39935         line containing just "*/".
39936         * manual/examples/add.c: Add copyright header (GPL>=2).
39937         * manual/examples/argp-ex1.c: Likewise.
39938         * manual/examples/argp-ex2.c: Likewise.
39939         * manual/examples/argp-ex3.c: Likewise.
39940         * manual/examples/argp-ex4.c: Likewise.
39941         * manual/examples/atexit.c: Likewise.
39942         * manual/examples/db.c: Likewise.
39943         * manual/examples/dir.c: Likewise.
39944         * manual/examples/dir2.c: Likewise.
39945         * manual/examples/execinfo.c: Likewise.
39946         * manual/examples/filecli.c: Likewise.
39947         * manual/examples/filesrv.c: Likewise.
39948         * manual/examples/fmtmsgexpl.c: Likewise.
39949         * manual/examples/genpass.c: Likewise.
39950         * manual/examples/inetcli.c: Likewise.
39951         * manual/examples/inetsrv.c: Likewise.
39952         * manual/examples/isockad.c: Likewise.
39953         * manual/examples/longopt.c: Likewise.
39954         * manual/examples/memopen.c: Likewise.
39955         * manual/examples/memstrm.c: Likewise.
39956         * manual/examples/mkfsock.c: Likewise.
39957         * manual/examples/mkisock.c: Likewise.
39958         * manual/examples/mygetpass.c: Likewise.
39959         * manual/examples/pipe.c: Likewise.
39960         * manual/examples/popen.c: Likewise.
39961         * manual/examples/rprintf.c: Likewise.
39962         * manual/examples/search.c: Likewise.
39963         * manual/examples/select.c: Likewise.
39964         * manual/examples/setjmp.c: Likewise.
39965         * manual/examples/sigh1.c: Likewise.
39966         * manual/examples/sigusr.c: Likewise.
39967         * manual/examples/stpcpy.c: Likewise.
39968         * manual/examples/strdupa.c: Likewise.
39969         * manual/examples/strftim.c: Likewise.
39970         * manual/examples/strncat.c: Likewise.
39971         * manual/examples/subopt.c: Likewise.
39972         * manual/examples/swapcontext.c: Likewise.
39973         * manual/examples/termios.c: Likewise.
39974         * manual/examples/testopt.c: Likewise.
39975         * manual/examples/testpass.c: Likewise.
39976         * manual/examples/timeval_subtract.c: Likewise.
39978         [BZ #13792]
39979         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39980         function to ...
39981         * manual/timeval_subtract.c.texi: ... here, new file.
39983 2012-03-02  David S. Miller  <davem@davemloft.net>
39985         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39987 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39989         [BZ #3976]
39990         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39991         (__sin): Save and restore rounding mode and use round-to-nearest
39992         for all computations.
39993         (__cos): Save and restore rounding mode and use round-to-nearest
39994         for all computations.
39995         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39996         <fenv.h>.
39997         (tan): Save and restore rounding mode and use round-to-nearest for
39998         all computations.
39999         * math/libm-test.inc (cos_test_tonearest): New function.
40000         (cos_test_towardzero): Likewise.
40001         (cos_test_downward): Likewise.
40002         (cos_test_upward): Likewise.
40003         (sin_test_tonearest): Likewise.
40004         (sin_test_towardzero): Likewise.
40005         (sin_test_downward): Likewise.
40006         (sin_test_upward): Likewise.
40007         (tan_test_tonearest): Likewise.
40008         (tan_test_towardzero): Likewise.
40009         (tan_test_downward): Likewise.
40010         (tan_test_upward): Likewise.
40011         (main): Call the new functions.
40012         * sysdeps/i386/fpu/libm-test-ulps: Update.
40013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40015         [BZ #10135]
40016         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40017         small n, then large n, before computing and testing k+n.
40018         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40019         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40020         Likewise.
40021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40022         Likewise.
40023         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40024         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40025         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40026         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40027         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40028         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40029         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40030         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40031         * math/libm-test.inc (scalbn_test): Add more tests.
40032         (scalbln_test): Likewise.
40034         * manual/filesys.texi (mode_t): Describe constraints on size and
40035         signedness, not exact equivalence to a particular type.
40036         (ino_t): Likewise.
40037         (ino64_t): Likewise.
40038         (dev_t): Likewise.
40039         (nlink_t): Likewise.
40040         (blkcnt_t): Likewise.
40041         (blkcnt64_t): Likewise.
40042         * manual/llio.texi (off_t): Likewise.
40044         [BZ #3976]
40045         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40046         (__ieee754_exp): Save and restore rounding mode and use
40047         round-to-nearest for all computations.
40048         * math/libm-test.inc (exp_test_tonearest): New function.
40049         (exp_test_towardzero): Likewise.
40050         (exp_test_downward): Likewise.
40051         (exp_test_upward): Likewise.
40052         (main): Call the new functions.
40053         * sysdeps/i386/fpu/libm-test-ulps: Update.
40054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40056 2012-03-01  Chris Demetriou  <cgd@google.com>
40058         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40059         have predictable order.
40061 2012-03-01  David S. Miller  <davem@davemloft.net>
40063         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40065         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40066         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40067         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40068         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40070         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40071         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40072         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40074         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40075         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40076         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40077         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40078         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40083         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40084         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40086         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40087         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40088         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40089         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40090         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40091         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40092         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40093         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40094         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40095         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40096         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40097         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40099         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40100         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40102         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40103         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40104         * sysdeps/sparc/elf/configure: Regenerated.
40106 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40108         * configure.in (AS, LD): Require binutils 2.20 or later.
40109         * configure: Regenerated.
40110         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40111         as required minimum version.
40112         * INSTALL: Regenerated.
40114         [BZ #2541]
40115         [BZ #4108]
40116         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40117         before squaring exponent.
40118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40119         bottom long double and 27 bits of top long double before squaring
40120         exponent.
40121         * math/libm-test.inc (erfc_test): Add more tests.
40122         * sysdeps/i386/fpu/libm-test-ulps: Update.
40123         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40128         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40129         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40130         containing bit-fields.
40131         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40132         * soft-fp/single.h (_FP_UNION_S): Likewise.
40133         * soft-fp/double.h (_FP_UNION_D): Likewise.
40135 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40137         [BZ #13786]
40138         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40139         not include ../strcmp.S.
40140         [USE_AS_STRNCASECMP_L]: Likewise.
40141         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40142         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40143         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40144         (__strncasecmp_l_ia32): Define as alias to
40145         __strncasecmp_l_nonascii.
40147         [BZ #5794]
40148         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40149         * sysdeps/i386/fpu/libm-test-ulps: Update.
40150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40152         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40155 2012-02-29  Jeff Law  <law@redhat.com>
40157         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40158         out of bounds read.
40160 2012-02-29  Marek Polacek  <polacek@redhat.com>
40162         [BZ #13706]
40163         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40164         * elf/Makefile: Add rules to run tst-unused-dep.out.
40166 2012-02-28  David S. Miller  <davem@davemloft.net>
40168         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40169         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40170         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40171         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40172         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40173         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40175 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40177         * math/libm-test.inc (llround_test): Move one test from
40178         lround_test.  Use TEST_f_L in moved test.
40179         (lround_test): Move misplaced test to llround_test.  Add testcase
40180         from bug 2561.
40182 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40184         * sysdeps/x86_64/fpu/e_expf.S: New file.
40185         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40187 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40189         [BZ #13637]
40190         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40191         of remain_len that may cause incomplete multi-byte character and
40192         false match.
40193         * posix/bug-regex33.c: New file.
40194         * posix/Makefile (tests): Add bug-regex33.
40196 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40198         * manual/macros.texi: New file.
40199         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40200         * manual/libc.texinfo: Include macros.texi.
40201         * manual/creatute.texi: Likewise.
40202         * manual/install.texi: Likewise.
40203         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40204         @glibcadj{} in references to the GNU C Library.
40205         * manual/charset.texi: Likewise.
40206         * manual/conf.texi: Likewise.
40207         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40208         when not using those macros.
40209         * manual/creature.texi: Likewise.
40210         * manual/crypt.texi: Likewise.
40211         * manual/errno.texi: Likewise.
40212         * manual/filesys.texi: Likewise.
40213         * manual/header.texi: Likewise.
40214         * manual/install.texi: Likewise.
40215         * manual/intro.texi: Likewise.
40216         * manual/io.texi: Likewise.
40217         * manual/job.texi: Likewise.
40218         * manual/lang.texi: Likewise.
40219         * manual/libc.texiinfo: Likewise.
40220         * manual/llio.texi: Likewise.
40221         * manual/locale.texi: Likewise.
40222         * manual/maint.texi: Likewise.
40223         * manual/math.texi: Likewise.
40224         * manual/memory.texi: Likewise.
40225         * manual/message.texi: Likewise.
40226         * manual/nss.texi: Likewise.
40227         * manual/pattern.texi: Likewise.
40228         * manual/process.texi: Likewise.
40229         * manual/resource.texi: Likewise.
40230         * manual/search.texi: Likewise.
40231         * manual/setjmp.texi: Likewise.
40232         * manual/signal.texi: Likewise.
40233         * manual/socket.texi: Likewise.
40234         * manual/startup.texi: Likewise.
40235         * manual/stdio.texi: Likewise.
40236         * manual/string.texi: Likewise.
40237         * manual/sysinfo.texi: Likewise.
40238         * manual/syslog.texi: Likewise.
40239         * manual/terminal.texi: Likewise.
40240         * manual/time.texi: Likewise.
40241         * manual/users.texi: Likewise.
40242         * INSTALL: Regenerated.
40243         * NOTES: Regenerated.
40244         * sysdeps/gnu/errlist.c: Regenerated.
40246 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40248         * include/dirent.h: Include <dirstream.h> before
40249         <dirent/dirent.h>.
40251 2012-02-28  David S. Miller  <davem@davemloft.net>
40253         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40254         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40258 2012-02-27  David S. Miller  <davem@davemloft.net>
40260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40262         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40263         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40266         frame pointer instead of stack pointer relative arg slot.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40268         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40269         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40271 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40273         [BZ #3992]
40274         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40276 2012-02-27  David S. Miller  <davem@davemloft.net>
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40282         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40283         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40284         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40285         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40287 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40289         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40290         later.  Allow versions 5-9.
40291         * configure: Regenerated.
40292         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40293         required minimum version and 4.6 as recommended version.  Do not
40294         mention bugs in GCC 2.7 and 2.8.
40295         * INSTALL: Regenerated.
40297 2012-02-27  David S. Miller  <davem@davemloft.net>
40299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40303         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40304         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40305         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40306         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40309         manipulate bits before adding and subtracting TWO112[sx].
40310         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40312 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40314         [BZ #13775]
40315         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40316         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40317         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40318         being in POSIX, because they are in 1003.1-2008.
40320         * rt/tst-aio.c: Include <fcntl.h>.
40321         * rt/tst-aio7.c: Likewise.
40322         * rt/tst-aio64.c: Likewise.
40324         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40326 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40328         * manual/install.texi (--with-headers): Describe headers as
40329         interface headers, not private headers.
40330         (Specific advice for GNU/Linux systems): Describe use of headers
40331         from "make headers_install", not private headers from older
40332         kernels.
40333         * INSTALL: Regenerated.
40334         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40335         Change to 2.6.19.
40336         * sysdeps/unix/sysv/linux/configure: Regenerated.
40338         * manual/llio.texi (fclean): Remove documentation.
40340         * manual/Makefile (libc-texi-generated): New variable.  Include
40341         version.texi.
40342         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40343         $(libc-texi-generated), not duplicated list of files.
40344         (version.texi, stamp-version): New rules.
40345         (realclean): Remove $(libc-texi-generated), not individual files
40346         from that list.  Do not remove dir-add.texinfo.
40347         * manual/libc.texinfo: Comment out uses of edition numbers and
40348         references to printed manual.  Remove last-updated dates.
40349         (EDITION): Comment out.
40350         (ISBN): Likewise.
40351         (VERSION, UPDATED): Remove.
40352         (version.texi): Include.
40354 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40356         * sysdeps/posix/spawni.c: Include <signal.h>.
40357         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40358         * sysdeps/pthread/aio_fsync.c: Likewise.
40360 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40362         * conform/Makefile (tests): Run only when not cross-compiling and
40363         when fast-check is not defined.
40365         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40366         * conform/data/limits.h-data: Fixes for POSIX2008.
40367         * conform/run-conformtest.sh: Run all tests.
40368         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40369         headers.
40370         * include/bits/dlfcn.h: Likewise.
40371         * include/langinfo.h: Likewise.
40372         * include/monetary.h: Likewise.
40373         * include/sys/poll.h: Likewise.
40375         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40376         for __USE_GNU.
40377         * posix/spawn.h: Define __need_sigset_t.
40378         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40379         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40380         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40381         to get sigevent_t only.
40382         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40383         only for __USE_GNU.
40384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40385         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40386         process_vm_writev only for __USE_GNU.
40387         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40389         * conform/Makefile: For now ignore errors from run-conformtest.
40390         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40391         POSIX to avoid namespace pollution.  Don't prepend headers.
40392         * conform/data/aio.h-data: Fixes for POSIX testing.
40393         * conform/data/fcntl.h-data: Likewise.
40394         * conform/data/glob.h-data: Likewise.
40395         * conform/data/grp.h-data: Likewise.
40396         * conform/data/pthread.h-data: Likewise.
40397         * conform/data/pwd.h-data: Likewise.
40398         * conform/data/signal.h-data: Likewise.
40399         * conform/data/spawn.h-data: Likewise.
40400         * conform/data/stdio.h-data: Likewise.
40401         * conform/data/stdlib.h-data: Likewise.
40402         * conform/data/stropts.h-data: Likewise.
40403         * conform/data/sys/mman.h-data: Likewise.
40404         * conform/data/sys/stat.h-data: Likewise.
40405         * conform/data/sys/types.h-data: Likewise.
40406         * conform/data/sys/wait.h-data: Likewise.
40407         * conform/data/time.h-data: Likewise.
40408         * conform/data/unistd.h-data: Likewise.
40409         * conform/data/utime.h-data: Likewise.
40411         * io/sys/stat.h: fchmod was always in POSIX.
40412         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40413         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40414         * rt/aio.h: Define __need_timespec before including <time.h>.
40415         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40416         struct.  Add forward declaration of pthread_attr_t and use it in
40417         sigevent.
40418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40419         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40420         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40421         always remove CLK_TCK definition.
40423 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40425         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40427 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40429         * conform/run-conformtest.sh: New file.
40430         * conform/Makefile: Run run-conformtest for tests.
40431         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40432         support.
40434         * conform/data/uchar.h-data: New file.
40435         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40436         * conform/data/arpa/inet.h-data: Likewise.
40437         * conform/data/assert.h-data: Likewise.
40438         * conform/data/complex.h-data: Likewise.
40439         * conform/data/cpio.h-data: Likewise.
40440         * conform/data/ctype.h-data: Likewise.
40441         * conform/data/dirent.h-data: Likewise.
40442         * conform/data/dlfcn.h-data: Likewise.
40443         * conform/data/errno.h-data: Likewise.
40444         * conform/data/fcntl.h-data: Likewise.
40445         * conform/data/float.h-data: Likewise.
40446         * conform/data/fmtmsg.h-data: Likewise.
40447         * conform/data/fnmatch.h-data: Likewise.
40448         * conform/data/ftw.h-data: Likewise.
40449         * conform/data/glob.h-data: Likewise.
40450         * conform/data/grp.h-data: Likewise.
40451         * conform/data/iconv.h-data: Likewise.
40452         * conform/data/inttypes.h-data: Likewise.
40453         * conform/data/langinfo.h-data: Likewise.
40454         * conform/data/libgen.h-data: Likewise.
40455         * conform/data/limits.h-data: Likewise.
40456         * conform/data/locale.h-data: Likewise.
40457         * conform/data/math.h-data: Likewise.
40458         * conform/data/monetary.h-data: Likewise.
40459         * conform/data/mqueue.h-data: Likewise.
40460         * conform/data/ndbm.h-data: Likewise.
40461         * conform/data/net/if.h-data: Likewise.
40462         * conform/data/netdb.h-data: Likewise.
40463         * conform/data/netinet/in.h-data: Likewise.
40464         * conform/data/nl_types.h-data: Likewise.
40465         * conform/data/poll.h-data: Likewise.
40466         * conform/data/pthread.h-data: Likewise.
40467         * conform/data/pwd.h-data: Likewise.
40468         * conform/data/regex.h-data: Likewise.
40469         * conform/data/sched.h-data: Likewise.
40470         * conform/data/search.h-data: Likewise.
40471         * conform/data/semaphore.h-data: Likewise.
40472         * conform/data/setjmp.h-data: Likewise.
40473         * conform/data/signal.h-data: Likewise.
40474         * conform/data/spawn.h-data: Likewise.
40475         * conform/data/stdarg.h-data: Likewise.
40476         * conform/data/stdio.h-data: Likewise.
40477         * conform/data/stdlib.h-data: Likewise.
40478         * conform/data/string.h-data: Likewise.
40479         * conform/data/strings.h-data: Likewise.
40480         * conform/data/stropts.h-data: Likewise.
40481         * conform/data/sys/ipc.h-data: Likewise.
40482         * conform/data/sys/mman.h-data: Likewise.
40483         * conform/data/sys/msg.h-data: Likewise.
40484         * conform/data/sys/resource.h-data: Likewise.
40485         * conform/data/sys/select.h-data: Likewise.
40486         * conform/data/sys/sem.h-data: Likewise.
40487         * conform/data/sys/shm.h-data: Likewise.
40488         * conform/data/sys/socket.h-data: Likewise.
40489         * conform/data/sys/stat.h-data: Likewise.
40490         * conform/data/sys/statvfs.h-data: Likewise.
40491         * conform/data/sys/time.h-data: Likewise.
40492         * conform/data/sys/timeb.h-data: Likewise.
40493         * conform/data/sys/times.h-data: Likewise.
40494         * conform/data/sys/types.h-data: Likewise.
40495         * conform/data/sys/uio.h-data: Likewise.
40496         * conform/data/sys/un.h-data: Likewise.
40497         * conform/data/sys/utsname.h-data: Likewise.
40498         * conform/data/sys/wait.h-data: Likewise.
40499         * conform/data/syslog.h-data: Likewise.
40500         * conform/data/tar.h-data: Likewise.
40501         * conform/data/termios.h-data: Likewise.
40502         * conform/data/utime.h-data: Likewise.
40503         * conform/data/utmpx.h-data: Likewise.
40504         * conform/data/varargs.h-data: Likewise.
40505         * conform/data/wchar.h-data: Likewise.
40506         * conform/data/wctype.h-data: Likewise.
40507         * conform/data/wordexp.h-data: Likewise.
40509         * include/stropts.h: New file.
40510         * include/uchar.h: New file.
40511         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40512         * include/assert.h: Likewise.
40513         * include/ctype.h: Likewise.
40514         * include/dirent.h: Likewise.
40515         * include/dlfcn.h: Likewise.
40516         * include/fcntl.h: Likewise.
40517         * include/fnmatch.h: Likewise.
40518         * include/glob.h: Likewise.
40519         * include/grp.h: Likewise.
40520         * include/libio.h: Likewise.
40521         * include/locale.h: Likewise.
40522         * include/math.h: Likewise.
40523         * include/net/if.h: Likewise.
40524         * include/netdb.h: Likewise.
40525         * include/netinet/in.h: Likewise.
40526         * include/pthread.h: Likewise.
40527         * include/pwd.h: Likewise.
40528         * include/regex.h: Likewise.
40529         * include/sched.h: Likewise.
40530         * include/search.h: Likewise.
40531         * include/setjmp.h: Likewise.
40532         * include/signal.h: Likewise.
40533         * include/stdio.h: Likewise.
40534         * include/stdlib.h: Likewise.
40535         * include/string.h: Likewise.
40536         * include/sys/cdefs.h: Likewise.
40537         * include/sys/mman.h: Likewise.
40538         * include/sys/msg.h: Likewise.
40539         * include/sys/resource.h: Likewise.
40540         * include/sys/select.h: Likewise.
40541         * include/sys/socket.h: Likewise.
40542         * include/sys/stat.h: Likewise.
40543         * include/sys/statvfs.h: Likewise.
40544         * include/sys/time.h: Likewise.
40545         * include/sys/times.h: Likewise.
40546         * include/sys/uio.h: Likewise.
40547         * include/sys/utsname.h: Likewise.
40548         * include/sys/wait.h: Likewise.
40549         * include/termios.h: Likewise.
40550         * include/time.h: Likewise.
40551         * include/ulimit.h: Likewise.
40552         * include/unistd.h: Likewise.
40553         * include/utime.h: Likewise.
40554         * include/wchar.h: Likewise.
40555         * include/wctype.h: Likewise.
40556         * include/wordexp.h: Likewise.
40558         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40560         * time/time.h: TIME_UTC must be a macro.
40561         Make timespec_get available for ISO C11 only as well.
40563 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40565         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40566         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40568 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40570         * configure.in: Use -o not -a in test for unsupported multi-arch.
40572 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40574         * manual/texinfo.tex: Update to version 2012-01-19.16.
40576 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40578         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40580 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40582         [BZ #13738]
40583         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40584         * manual/fdl-1.3.texi: New file.
40585         * manual/fdl-1.1.texi: File removed.
40587         [BZ #13738]
40588         * manual/libc.texinfo (FDL_VERSION): New @set.
40589         Use it for mention of FDL in cover text.
40590         (Documentation License): Use it in @include file name.
40592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40593             Roland McGrath  <roland@hack.frob.com>
40595         [BZ #5461]
40596         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40597         (not LONG_LONG_MAX and LONG_LONG_MIN.
40598         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40599         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40600         name.
40601         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40603 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40605         [BZ #2547]
40606         [BZ #11365]
40607         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40608         manipulate bits before adding and subtracting TWO23[sx].
40609         * math/libm-test.inc (nearbyint_test): Add more tests.
40611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40613         [BZ #2548]
40614         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40615         bits before adding and subtracting TWO23[sx].
40616         * math/libm-test.inc (rint_test): Add more tests.
40617         (rint_test_tonearest): Likewise.
40618         (rint_test_towardzero): Likewise.
40619         (rint_test_downward): Likewise.
40620         (rint_test_upward: Likewise.
40622 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40624         [BZ #10110]
40625         * include/stdc-predef.h: New file.  Extracted from features.h.
40626         * include/features.h: Include stdc-predef.h.
40627         * Makefile (headers): Add stdc-predef.h.
40628         * CONFORMANCE (Compiler limitations): Update.
40630 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40632         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40634 2012-02-21  David S. Miller  <davem@davemloft.net>
40636         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40637         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40639 2012-02-20  David S. Miller  <davem@davemloft.net>
40641         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40642         using a normal save/restore sequence, rather than allocating a
40643         dummy stack frame just to store a frame pointer and restore.
40644         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40646 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40648         * manual/install.texi: Fix stray word in line-wrapped comment.
40650 2012-02-20  David S. Miller  <davem@davemloft.net>
40652         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40653         both binutils and gcc support GOTDATA.
40655         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40656         "rd %pc" in the PIC register setup sequences.
40658         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40659         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40660         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40661         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40662         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40664         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40665         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40667         (SYSCALL_ERROR_HANDLER): Likewise.
40668         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40669         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40670         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40671         (SYSCALL_ERROR_HANDLER): Likewise.
40673         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40674         (HAVE_GCC_GOTDATA): New.
40675         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40676         relocation support in both binutils and gcc.
40677         * sysdeps/sparc/elf/configure: Regenerate.
40679         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40680         * sysdeps/sparc/sparc32/elf/configure: Delete.
40681         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40682         * sysdeps/sparc/sparc64/elf/configure: Delete.
40683         * sysdeps/sparc/elf/configure.in: New file.
40684         * sysdeps/sparc/elf/configure: Generate.
40686         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40687         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40688         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40689         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40690         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40692 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40694         * manual/install.texi: Do not mention specific glibc version
40695         numbers.
40696         * manual/libc.texinfo (VERSION, UPDATED): Update.
40697         (@copying): Use @copyright{} and range of years.
40699 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #13695]
40702         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40703         [crti.S not in sysdirs] (generated): Do not append.
40704         [crti.S not in sysdirs] (omit-deps): Likewise.
40705         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40706         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40707         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40708         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40709         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40710         Likewise.
40711         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40712         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40713         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40714         * csu/defs.awk: Remove file.
40715         * sysdeps/generic/initfini.c: Likewise.
40716         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40717         variable.
40718         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40719         Likewise.
40721 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40723         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40724         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40725         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40726         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40727         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40728         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40729         <bits/epoll.h>.
40730         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40731         (__EPOLL_PACKED): Define to empty if not defined by
40732         <bits/epoll.h>.
40733         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40735         bits/epoll.h.
40737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40739         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40740         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40741         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40742         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40743         <bits/timerfd.h>.
40744         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40746         bits/timerfd.h.
40748 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40750         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40751         in C locale.
40752         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40753         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40757 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40759         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40760         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40762 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40764         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40765         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40766         defined.
40767         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40768         Likewise.
40769         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40770         entry for 2.16.
40772 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40774         * math/w_acos.c: Use non-signaling floating-point comparisons.
40775         * math/w_acosf.c: Likewise.
40776         * math/w_acosh.c: Likewise.
40777         * math/w_acoshf.c: Likewise.
40778         * math/w_acoshl.c: Likewise.
40779         * math/w_acosl.c: Likewise.
40780         * math/w_asin.c: Likewise.
40781         * math/w_asinf.c: Likewise.
40782         * math/w_asinl.c: Likewise.
40783         * math/w_atanh.c: Likewise.
40784         * math/w_atanhf.c: Likewise.
40785         * math/w_atanhl.c: Likewise.
40786         * math/w_exp2.c: Likewise.
40787         * math/w_exp2f.c: Likewise.
40788         * math/w_exp2l.c: Likewise.
40789         * math/w_j0.c: Likewise.
40790         * math/w_j0f.c: Likewise.
40791         * math/w_j0l.c: Likewise.
40792         * math/w_j1.c: Likewise.
40793         * math/w_j1f.c: Likewise.
40794         * math/w_j1l.c: Likewise.
40795         * math/w_jn.c: Likewise.
40796         * math/w_jnf.c: Likewise.
40797         * math/w_log.c: Likewise.
40798         * math/w_log10.c: Likewise.
40799         * math/w_log10f.c: Likewise.
40800         * math/w_log10l.c: Likewise.
40801         * math/w_log2.c: Likewise.
40802         * math/w_log2f.c: Likewise.
40803         * math/w_log2l.c: Likewise.
40804         * math/w_logf.c: Likewise.
40805         * math/w_logl.c: Likewise.
40806         * math/w_sqrt.c: Likewise.
40807         * math/w_sqrtf.c: Likewise.
40808         * math/w_sqrtl.c: Likewise.
40809         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40810         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40811         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40812         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40813         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40815 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40817         [BZ #9739]
40818         * manual/string.texi (strnlen): Use correct parameter name in
40819         equivalent expression.
40821 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40823         [BZ #11174]
40824         * manual/users.texi (seteuid): Consistently use neweuid for
40825         argument name.
40827 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40829         [BZ #13704]
40830         * manual/nss.texi (Services in the NSS configuration): Correct
40831         list of services in example configuration file.
40833 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40835         [BZ #11322]
40836         * manual/arith.texi: Remove statements about negative zero
40837         behaving identically to zero.
40839 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40841         [BZ #5993]
40842         * manual/install.texi: Do not document upgrading from libc5.
40844 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40846         [BZ #4596]
40847         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40849 2012-02-18  David S. Miller  <davem@davemloft.net>
40851         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40852         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40853         %o7 across the call.
40854         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40855         instead.
40856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40857         SETUP_PIC_REG_LEAF.
40858         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40859         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40860         * sysdeps/sparc/crtn.S: Likewise.
40862 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40864         * aout/Makefile: Remove.
40866 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40868         [BZ #13058]
40869         * manual/examples/argp-ex1.c (main): Format definition in GNU
40870         style.
40871         * manual/examples/argp-ex2.c (main): Likewise.
40872         * manual/examples/argp-ex3.c (main): Likewise.
40873         * manual/examples/argp-ex4.c (main): Likewise.
40874         * manual/examples/longopt.c (main): Use new-style prototype
40875         definition.
40876         * manual/examples/strncat.c (main): Specify return type and use
40877         (void) for arguments.
40878         * manual/examples/subopt.c (main): Use char **argv argument.
40880 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40882         [BZ #5077]
40883         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40884         rounding modes.
40886 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40888         [BZ #6907]
40889         * manual/string.texi (strchr): Change when strchrnul is
40890         recommended.
40892 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40894         [BZ #174]
40895         * manual/locale.texi (setlocale): Document LOCPATH.
40897 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40899         [BZ #10210]
40900         * manual/process.texi (execle): Move @dots{} before last argument.
40902 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40904         [BZ #12047]
40905         * manual/charset.texi (Generic Charset Conversion): Fix typo
40906         (LC_TYPE -> LC_CTYPE).
40908 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40910         [BZ #5805]
40911         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40912         (scalbnf): Likewise.
40913         (scalbnl): Likewise.
40914         (scalbln): Likewise.
40915         (scalblnf): Likewise.
40916         (scalblnl): Likewise.
40917         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40918         (vwarnx): Likewise.
40919         (verr): Likewise.
40920         (verrx): Likewise.
40921         * manual/filesys.texi (telldir): Use braces around return type.
40922         * manual/llio.texi (mmap): Add space after comma.
40923         (mmap64): Likewise.
40924         * manual/math.texi (jn): Use @var{} on parameter names.
40925         (jnf): Likewise.
40926         (jnl): Likewise.
40927         (yn): Likewise.
40928         (ynf): Likewise.
40929         (ynl): Likewise.
40930         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40931         line.
40932         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40933         "...".
40934         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40935         (sched_get_priority_max): Likewise.
40936         * manual/signal.texi (sigvec): Add space after comma.
40937         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40938         names.
40939         (if_indextoname): Likewise.
40940         (if_freenameindex): Likewise.
40941         (sendto): Use ',' instead of '.' in prototype.
40942         * manual/startup.texi (syscall): Use @dots{} instead of literal
40943         "...".
40944         * manual/stdio.texi (__fpending): Separate initial words of
40945         paragraph from @deftypefun line.
40946         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40947         "...".
40948         (vsyslog): Use @var{} on parameter names.
40949         * manual/terminal.texi (stty): Use @var{} on parameter names.
40950         * manual/users.texi (getutmp): Use @var{} on parameter names.
40951         (getutmpx): Likewise.
40953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40955         [BZ #6884]
40956         * manual/stdio.texi (fopen): Fix typos in description of
40957         ",ccs=STRING".
40959 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40961         [BZ #4026]
40962         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40963         get clock_id definition.
40965 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40967         [BZ #4822]
40968         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40969         (madvise): Cast every argument to void on its own.
40971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40973         [BZ #9902]
40974         * manual/startup.texi (Exit Status): Fix typo.
40976 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40978         [BZ #10140]
40979         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40980         * manual/examples/argp-ex2.c: Likewise.
40981         * manual/examples/argp-ex3.c: Likewise.
40983 2012-02-16  Richard Henderson  <rth@redhat.com>
40985         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40986         * sysdeps/s390/s390-32/initfini.c: Remove.
40987         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40988         * sysdeps/s390/s390-64/initfini.c: Remove.
40990 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40992         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40993         compiler output for sysdeps/generic/initfini.c.
40994         * sysdeps/sh/elf/initfini.c: Remove file.
40996 2012-02-16  David S. Miller  <davem@davemloft.net>
40998         [BZ #11494]
40999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41001         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41002         * sysdeps/sparc/crti.S: New file.
41003         * sysdeps/sparc/crtn.S: New file.
41004         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41005         * sysdeps/sparc/sparc64/Makefile: Likewise.
41007 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41009         [BZ #3335]
41010         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41012 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41014         [BZ #4822]
41015         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41017         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41018         (write, read, close): Likewise.
41019         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41021 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41023         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41024         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41025         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41026         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41027         <bits/signalfd.h>.
41028         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41030         bits/signalfd.h.
41032 2012-02-14  Marek Polacek  <polacek@redhat.com>
41034         * sysdeps/x86_64/crti.S: New file.
41035         * sysdeps/x86_64/crtn.S: New file.
41036         * sysdeps/x86_64/elf/initfini.c: Remove file.
41038 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41040         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41041         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41042         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41043         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41044         <bits/inotify.h>.
41045         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41047         bits/inotify.h.
41049 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41051         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41052         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41053         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41054         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41055         <bits/eventfd.h>.
41056         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41058         bits/eventfd.h.
41060 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41062         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41063         __feraiseexcept instead of feraiseexcept.
41065         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41066         nanosleep invocations.
41067         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41068         strings, and add error checking for a nanosleep invocations.
41070 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41072         Replace FSF snail mail address with URLs, as per GNU coding standards.
41073         Most of the snail mail addresses were wrong anyway, and omitting
41074         them makes the source code easier to maintain.  Almost all of the
41075         changes are to license notices and to locale LC_IDENTIFICATION
41076         addresses, except for this one:
41077         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41078         not its snail mail address.
41080 2012-02-09  Richard Henderson  <rth@twiddle.net>
41082         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41083         of kernel-features.h.
41085         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41087 2012-02-08  Marek Polacek  <polacek@redhat.com>
41089         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41090         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41091         * sysdeps/gnu/_G_config.h: Likewise.
41092         * sysdeps/generic/_G_config.h: Likewise.
41094 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41096         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41097         tests.
41098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41100         * sysdeps/powerpc/powerpc32/crti.S: New file.
41101         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41102         * sysdeps/powerpc/powerpc64/crti.S: New file.
41103         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41105         * Makeconfig (have-initfini): Don't set.
41106         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41107         * configure.in (nopic_initfini): Don't substitute.
41108         * config.h.in (HAVE_INITFINI): Don't #undef.
41109         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41110         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41112 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41114         Support crti.S and crtn.S provided directly by architectures.
41115         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41116         [crti.S in sysdirs] (omit-deps): Likewise.
41117         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41118         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41119         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41120         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41121         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41122         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41123         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41124         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41125         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41126         compiler output for sysdeps/generic/initfini.c.
41127         * sysdeps/i386/elf/Makefile: Remove file.
41128         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41130 2012-02-07  Marek Polacek  <polacek@redhat.com>
41132         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41133         * sysdeps/gnu/_G_config.h: Likewise.
41134         * sysdeps/mach/hurd/_G_config.h: Likewise.
41136 2012-02-07  Marek Polacek  <polacek@redhat.com>
41138         * math/Makefile (tests): Add tst-CMPLX2.
41139         * math/tst-CMPLX2.c: New file.
41141 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41143         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41145         * math/libm-test.inc (jn_test): Add missing L suffix.
41147 2012-02-06  Marek Polacek  <polacek@redhat.com>
41149         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41150         * sysdeps/i386/fpu/e_powf.S: Likewise.
41151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41152         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41153         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41154         * sysdeps/i386/fpu/e_pow.S: Likewise.
41155         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41156         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41157         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41158         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41159         * sysdeps/i386/fpu/e_log2.S: Likewise.
41160         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41161         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41162         * sysdeps/i386/fpu/e_powl.S: Likewise.
41163         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41164         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41165         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41166         * sysdeps/i386/fpu/e_logl.S: Likewise.
41167         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41168         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41169         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41170         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41171         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41172         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41173         * sysdeps/i386/fpu/e_log.S: Likewise.
41174         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41175         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41176         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41177         * sysdeps/i386/fpu/e_logf.S: Likewise.
41178         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41179         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41180         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41181         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41182         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41183         * sysdeps/i386/fpu/e_log10.S: Likewise.
41184         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41185         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41186         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41187         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41188         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41189         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41190         * sysdeps/i386/asm-syntax.h: Likewise.
41191         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41192         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41193         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41194         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41195         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41196         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41197         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41198         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41199         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41200         * sysdeps/powerpc/sysdep.h: Likewise.
41201         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41202         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41204 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #411]
41207         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41209 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41211         * sysdeps/i386/sysdep.h: Include <features.h>.
41212         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41213         version.
41215 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41217         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41218         Define.
41219         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41220         LOAD_PIC_REG_STR.
41222 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41224         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41225         (SETUP_PIC_REG): Use GET_PC_THUNK.
41226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41227         macro.
41229 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41231         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41232         for non-PIC compilation.
41233         (SETUP_PIC_REG): Add .p2align directive.
41234         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41235         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41236         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41237         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41238         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41239         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41240         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41241         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41242         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41243         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41244         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41245         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41246         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41247         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41248         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41249         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41250         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41251         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41252         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41253         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41254         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41255         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41256         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41257         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41260         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41261         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41262         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41263         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41264         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41267         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41268         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41269         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41270         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41271         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41272         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41273         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41274         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41276 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41278         * math/tst-CMPLX.c: Include <stdio.h>.
41280 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41282         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41283         float.
41284         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41285         * sysdeps/sparc/bits/mathdef.h: Likewise.
41287 2012-01-31  Marek Polacek  <polacek@redhat.com>
41289         * libio/libio.h: Don't define _PARAMS.
41290         * locale/programs/config.h: Don't define PARAMS.
41291         * stdlib/strtol_l.c: Likewise.
41292         (__strtol_l): Remove PARAMS from the prototype.
41294 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41296         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41297         names.  Just use the correct names.  Remove unnecessary wrapper
41298         functions.
41299         * malloc/arena.c: Likewise.
41300         * malloc/hooks.c: Likewise.
41302         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41303         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41304         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41306 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41308         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41309         into tail calls.
41310         (update_get_addr): New function.
41311         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41312         GET_ADDR_MODULE parameter.
41314 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41316         * crypt/cert.c: Remove __STDC__ conditionals.
41317         * crypt/crypt-entry.c: Likewise.
41318         * crypt/crypt_util.c: Likewise.
41319         * libio/filedoalloc.c: Likewise.
41320         * libio/fileops.c: Likewise.
41321         * libio/genops.c: Likewise.
41322         * libio/iofclose.c: Likewise.
41323         * libio/iofdopen.c: Likewise.
41324         * libio/iofopen.c: Likewise.
41325         * libio/iofopen64.c: Likewise.
41326         * libio/iogetdelim.c: Likewise.
41327         * libio/iopopen.c: Likewise.
41328         * libio/obprintf.c: Likewise.
41329         * libio/oldfileops.c: Likewise.
41330         * libio/oldiofclose.c: Likewise.
41331         * libio/oldiofdopen.c: Likewise.
41332         * libio/oldiofopen.c: Likewise.
41333         * libio/oldiopopen.c: Likewise.
41334         * libio/wfiledoalloc.c: Likewise.
41335         * libio/wgenops.c: Likewise.
41336         * locale/programs/xmalloc.c: Likewise.
41337         * misc/syslog.c: Likewise.
41338         * stdio-common/xbug.c: Likewise.
41339         * string/memchr.c: Likewise.
41340         * string/memcmp.c: Likewise.
41341         * string/memrchr.c: Likewise.
41342         * string/rawmemchr.c: Likewise.
41343         * sysdeps/posix/getcwd.c: Likewise.
41344         * time/strftime_l.c: Likewise.
41346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41348         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41349         * config.make.in (config-cflags-sse2avx): Define.
41350         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41351         Fix typo.
41353 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41355         * scripts/config.guess: Update from upstream config git repository.
41356         * scripts/config.sub: Likewise.
41358 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41360         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41361         (EM_NUM): Update.
41362         (R_TILEPRO_*, R_TILEGX_*): New macros.
41364         * scripts/firstversions.awk: Fix bug in version range handling.
41366         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41368         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41370         * include/sys/epoll.h: New file.
41371         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41372         libc_hidden_def.
41374 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41376         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41377         Avoid unnecessary __WORDSIZE == 64 test.
41378         (fmaxf): Use VEX format if possible.
41379         (fmax): Likewise.
41380         (fminf): Likewise.
41381         (fmin): Likewise.
41383         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41384         * math/math_private.h: Remove libc_fegetround* and
41385         libc_fesetround*.
41386         * sysdeps/i386/configure.in: Check for -msse2avx.
41387         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41388         also if SSE2AVX is defined.
41389         Remove libc_fegetround* and libc_fesetround*.
41390         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41391         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41392         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41393         of HAS_YMM_USABLE.
41394         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41395         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41396         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41397         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41398         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41400         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41402 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41404         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41405         size is not set.
41406         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41408 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41410         [BZ #13618]
41411         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41412         relocation.
41413         * Makeconfig (libm): Define.
41414         * elf/Makefile: Add rules to build and run tst-relsort1.
41415         * elf/tst-relsort1.c: New file.
41416         * elf/tst-relsort1mod1.c: New file.
41417         * elf/tst-relsort1mod2.c: New file.
41419 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41421         * math/s_ldexp.c: Remove __STDC__ conditionals.
41422         * math/s_ldexpf.c: Likewise.
41423         * math/s_ldexpl.c: Likewise.
41424         * math/s_nextafter.c: Likewise.
41425         * math/s_nexttowardf.c: Likewise.
41426         * math/s_significand.c: Likewise.
41427         * math/s_significandf.c: Likewise.
41428         * math/s_significandl.c: Likewise.
41429         * math/w_jnl.c: Likewise.
41430         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41431         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41432         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41433         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41434         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41435         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41436         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41437         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41438         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41439         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41440         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41441         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41442         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41443         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41445         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41446         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41447         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41451         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41452         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41453         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41454         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41455         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41456         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41457         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41458         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41461         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41462         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41463         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41464         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41465         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41466         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41467         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41468         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41469         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41470         * sysdeps/ieee754/k_standard.c: Likewise.
41471         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41472         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41473         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41474         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41475         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41476         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41478         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41479         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41480         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41483         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41484         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41485         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41486         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41487         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41488         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41489         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41490         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41493         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41494         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41495         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41496         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41497         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41498         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41500         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41501         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41502         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41503         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41504         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41506         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41507         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41508         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41509         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41510         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41511         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41513         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41514         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41515         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41516         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41520         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41521         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41522         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41523         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41524         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41525         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41526         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41527         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41528         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41529         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41530         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41531         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41532         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41533         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41535         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41536         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41537         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41538         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41539         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41540         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41541         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41542         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41543         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41544         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41545         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41546         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41547         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41548         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41549         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41550         * sysdeps/ieee754/s_matherr.c: Likewise.
41551         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41552         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41554         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41556 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41558         * crypt/md5.h: Remove __STDC__ conditionals.
41559         * libio/libioP.h: Likewise.
41560         * locale/programs/config.h: Likewise.
41561         * sysdeps/generic/sysdep.h: Likewise.
41562         * sysdeps/i386/asm-syntax.h: Likewise.
41563         * sysdeps/s390/asm-syntax.h: Likewise.
41564         * sysdeps/unix/sysdep.h: Likewise.
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41568 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41570         * libio/libio.h: Remove __STDC__ conditionals.
41571         * malloc/obstack.h: Likewise.
41572         * math/complex.h: Likewise.
41573         * math/math.h: Likewise.
41574         * sysdeps/generic/_G_config.h: Likewise.
41575         * sysdeps/gnu/_G_config.h: Likewise.
41576         * sysdeps/mach/hurd/_G_config.h: Likewise.
41577         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41578         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41579         * sysdeps/sparc/bits/mathdef.h: Likewise.
41581 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41583         [BZ #13583]
41584         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41585         Clean up HAS_* macros.
41586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41587         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41588         possible.
41589         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41590         HAS_AVX.
41591         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41592         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41593         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41594         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41595         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41597 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41599         * elf/tst-unique3.cc (gets): Remove declaration.
41600         * elf/tst-unique3lib.cc (gets): Likewise.
41601         * elf/tst-unique3lib2.cc (gets): Likewise.
41602         * elf/tst-unique4.cc (gets): Likewise.
41604 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41606         * include/stdio.h: Add C++ protection.  Add gets declarations and
41607         definitions.
41608         * debug/tst-chk1.c: Don't declare gets here.
41609         * stdio-common/tst-gets.c: Likewise.
41611 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41613         * posix/glob: Remove directory.
41615 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41617         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41619 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41621         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41622         of the non-standard EPFNOSUPPORT.
41624 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41626         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41627         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41628         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41630 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41632         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41634 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41636         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41637         transient errors.
41638         * nscd/grpcache.c (cache_addgr): Likewise.
41639         * nscd/hstcache.c (cache_addhst): Likewise.
41640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41641         * nscd/pwdcache.c (cache_addpw): Likewise.
41642         * nscd/servicescache.c (cache_addserv): Likewise.
41644 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41646         * malloc/malloc.c: Various cleanups.
41647         * malloc/hooks.c: Likewise.
41649         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41650         * stdlib/bug-fmtmsg1.c: New file.
41652         * stdlib/fmtmsg.c (init): Add missing unlock.
41653         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41655 2012-01-12  Marek Polacek  <polacek@redhat.com>
41657         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41658         and _GNU_SOURCE.
41660 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41662         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41663         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41664         macro to ensure uniqueness of label name.
41665         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41666         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41668 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41670         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41672         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41673         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41674         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41677 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41679         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41681         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41682         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41683         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41685         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41687         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41688         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41689         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41692         * math/bits/math-finite.h: Add ldexp support.
41694 2012-01-10  Marek Polacek  <polacek@redhat.com>
41696         * locale/programs/localedef.h (show_archive_content): Add noreturn
41697         attribute.
41699 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41701         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41703 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41705         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41707         * io/Makefile (headers): Add bits/poll2.h.
41709 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41712         typo #include statement.
41714 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41716         * include/sys/cdefs.h: Define __attribute_alloc_size.
41717         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41718         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41719         * elf/pldd.c: Likewise.
41720         * iconv/iconv_charmap.c: Likewise.
41721         * iconv/iconvconfig.c: Likewise.
41722         * iconv/strtab.c: Likewise.
41723         * locale/programs/locale.c: Likewise.
41724         * locale/programs/localedef.h: Likewise.
41725         * locale/programs/simple-hash.c: Likewise.
41726         * nscd/nscd.h: Likewise.
41727         * nss/makedb.c: Likewise.
41728         * sysdeps/generic/ldconfig.h: Likewise.
41729         * locale/programs/localedef.c: Remove xmalloc prototype.
41730         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41732 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41735         appropriate.
41737 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41739         * math/Makefile (tests): Add tst-CMPLX.
41740         * math/tst-CMPLX.c: New file.
41742         * math/complex.h (CMPLXL): Fix typo.
41744         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41745         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41746         GLIBC_2.16.
41747         * debug/tst-chk1.c: Add poll and ppoll tests.
41748         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41749         * include/sys/poll.h: Add hidden proto for ppoll.
41750         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41751         * sysdeps/mach/hurd/ppoll.c: Likewise.
41752         * io/ppoll.c: Likewise.
41753         * debug/poll_chk.c: New file.
41754         * debug/ppoll_chk.c: New file.
41755         * include/bits/poll2.h: New file.
41756         * io/bits/poll2.h: New file.
41758         [BZ #1350]
41759         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41761         * configure.in: static is always set to yes.  Remove.
41762         * config.make.in: Don't set build-static.
41763         * Makeconfig: Remove use of build-static.
41764         * dlfcn/Makefile: Likewise.
41765         * elf/Makefile: Likewise.
41766         * math/Makefile: Likewise.
41767         * misc/Makefile: Likewise.
41768         * nptl/Makefile: Likewise.
41769         * sysdeps/mach/hurd/Makefile: Likewise.
41771         * configure.in: PWD_P is not used anymore.
41772         * config.make.in: Remove PWD_P entry.
41774         * configure.in: Remove last remnants of RANLIB.
41775         No need to check for signed size_t anymore.
41776         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41777         and IA-64.
41778         Remove __builtin_expect test because we require at least gcc 3.4.
41779         * aclocal.m4: Likewise.
41781         * wcsmbs/mbrtoc16.c: Implement using towc function.
41782         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41783         * wcsmbs/wcsmbsload.c: Likewise.
41784         * iconv/gconv_simple.c: Likewise.
41785         * iconv/gconv_int.h: Likewise.
41786         * iconv/gconv_builtin.h: Likewise.
41787         * iconv/iconv_prog.c: Remove CHAR16 handling.
41789         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41791         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41793         * configure.in: Remove --with-elf and --enable-bounded options.
41794         Dont set base_machine for ia64.  More non-ELF conditions removed.
41795         Remove testing and setting of leading underscore information.
41796         * config.make.in (build-bounded): Set to no.
41797         * config.h.in: Remove NO_UNDERSCORES entry.
41798         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41799         them.
41800         * csu/start.c: Remove !NO_UNDERSCORE code.
41801         * locale/localeinfo.h: Likewise.
41802         * sysdeps/generic/machine-gmon.h: Likewise.
41803         * sysdeps/generic/sysdep.h: Likewise.
41804         * sysdeps/i386/sysdep.h: Likewise.
41805         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41806         * sysdeps/mach/sysdep.h: Likewise.
41807         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41808         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41809         * sysdeps/sh/sysdep.h: Likewise.
41810         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41811         * sysdeps/unix/i386/sysdep.S: Likewise.
41812         * sysdeps/unix/sparc/start.c: Likewise.
41813         * sysdeps/unix/sparc/sysdep.S: Likewise.
41814         * sysdeps/unix/sparc/sysdep.h: Likewise.
41815         * sysdeps/unix/start.c: Likewise.
41816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41817         * sysdeps/x86_64/sysdep.h: Likewise.
41819 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41821         [BZ #13553]
41822         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41823         for non-gcc.
41824         * argp/argp-fmtstream.h: Use const instead __const.
41825         * argp/argp.h: Likewise.
41826         * assert/assert.h: Likewise.
41827         * bits/fenv.h: Likewise.
41828         * bits/sched.h: Likewise.
41829         * bits/sigset.h: Likewise.
41830         * bits/sigthread.h: Likewise.
41831         * catgets/nl_types.h: Likewise.
41832         * conform/data/pthread.h-data: Likewise.
41833         * crypt/crypt-private.h: Likewise.
41834         * crypt/crypt.h: Likewise.
41835         * crypt/crypt_util.c: Likewise.
41836         * ctype/ctype.h: Likewise.
41837         * debug/execinfo.h: Likewise.
41838         * debug/mbsnrtowcs_chk.c: Likewise.
41839         * debug/mbsrtowcs_chk.c: Likewise.
41840         * debug/wcsnrtombs_chk.c: Likewise.
41841         * debug/wcsrtombs_chk.c: Likewise.
41842         * debug/wcstombs_chk.c: Likewise.
41843         * dirent/dirent.h: Likewise.
41844         * dlfcn/dlfcn.h: Likewise.
41845         * elf/neededtest4.c: Likewise.
41846         * grp/grp.h: Likewise.
41847         * gshadow/gshadow.h: Likewise.
41848         * iconv/gconv.h: Likewise.
41849         * iconv/gconv_int.h: Likewise.
41850         * iconv/gconv_simple.c: Likewise.
41851         * iconv/iconv.h: Likewise.
41852         * iconv/loop.c: Likewise.
41853         * iconv/skeleton.c: Likewise.
41854         * include/aio.h: Likewise.
41855         * include/aliases.h: Likewise.
41856         * include/argz.h: Likewise.
41857         * include/arpa/inet.h: Likewise.
41858         * include/assert.h: Likewise.
41859         * include/dirent.h: Likewise.
41860         * include/dlfcn.h: Likewise.
41861         * include/execinfo.h: Likewise.
41862         * include/fcntl.h: Likewise.
41863         * include/fenv.h: Likewise.
41864         * include/glob.h: Likewise.
41865         * include/grp.h: Likewise.
41866         * include/libintl.h: Likewise.
41867         * include/mntent.h: Likewise.
41868         * include/netdb.h: Likewise.
41869         * include/pwd.h: Likewise.
41870         * include/rpc/netdb.h: Likewise.
41871         * include/sched.h: Likewise.
41872         * include/search.h: Likewise.
41873         * include/shadow.h: Likewise.
41874         * include/signal.h: Likewise.
41875         * include/stdio.h: Likewise.
41876         * include/stdlib.h: Likewise.
41877         * include/string.h: Likewise.
41878         * include/sys/socket.h: Likewise.
41879         * include/sys/stat.h: Likewise.
41880         * include/sys/statfs.h: Likewise.
41881         * include/sys/statvfs.h: Likewise.
41882         * include/sys/syslog.h: Likewise.
41883         * include/sys/time.h: Likewise.
41884         * include/sys/uio.h: Likewise.
41885         * include/time.h: Likewise.
41886         * include/unistd.h: Likewise.
41887         * include/utmp.h: Likewise.
41888         * include/wchar.h: Likewise.
41889         * include/wctype.h: Likewise.
41890         * inet/aliases.h: Likewise.
41891         * inet/arpa/inet.h: Likewise.
41892         * inet/netinet/ether.h: Likewise.
41893         * inet/netinet/in.h: Likewise.
41894         * intl/libintl.h: Likewise.
41895         * io/bits/fcntl2.h: Likewise.
41896         * io/fcntl.h: Likewise.
41897         * io/ftw.h: Likewise.
41898         * io/sys/poll.h: Likewise.
41899         * io/sys/stat.h: Likewise.
41900         * io/sys/statfs.h: Likewise.
41901         * io/sys/statvfs.h: Likewise.
41902         * io/utime.h: Likewise.
41903         * libio/bits/stdio.h: Likewise.
41904         * libio/bits/stdio2.h: Likewise.
41905         * libio/libio.h: Likewise.
41906         * libio/libioP.h: Likewise.
41907         * libio/stdio.h: Likewise.
41908         * locale/lc-ctype.c: Likewise.
41909         * locale/locale.h: Likewise.
41910         * login/utmp.h: Likewise.
41911         * malloc/arena.c: Likewise.
41912         * malloc/malloc.c: Likewise.
41913         * malloc/malloc.h: Likewise.
41914         * malloc/mcheck.c: Likewise.
41915         * malloc/mtrace.c: Likewise.
41916         * math/bits/mathcalls.h: Likewise.
41917         * math/fenv.h: Likewise.
41918         * math/math_private.h: Likewise.
41919         * misc/bits/error.h: Likewise.
41920         * misc/bits/syslog.h: Likewise.
41921         * misc/err.h: Likewise.
41922         * misc/error.h: Likewise.
41923         * misc/fstab.h: Likewise.
41924         * misc/mntent.h: Likewise.
41925         * misc/regexp.h: Likewise.
41926         * misc/search.h: Likewise.
41927         * misc/sgtty.h: Likewise.
41928         * misc/sys/mman.h: Likewise.
41929         * misc/sys/syslog.h: Likewise.
41930         * misc/sys/uio.h: Likewise.
41931         * misc/sys/xattr.h: Likewise.
41932         * misc/ttyent.h: Likewise.
41933         * nis/rpcsvc/ypclnt.h: Likewise.
41934         * nss/nss.h: Likewise.
41935         * posix/bits/unistd.h: Likewise.
41936         * posix/fnmatch.h: Likewise.
41937         * posix/glob.h: Likewise.
41938         * posix/sched.h: Likewise.
41939         * posix/spawn.h: Likewise.
41940         * posix/sys/wait.h: Likewise.
41941         * posix/unistd.h: Likewise.
41942         * posix/wordexp.h: Likewise.
41943         * pwd/pwd.h: Likewise.
41944         * resolv/netdb.h: Likewise.
41945         * resource/sys/resource.h: Likewise.
41946         * rt/aio.h: Likewise.
41947         * rt/bits/mqueue2.h: Likewise.
41948         * rt/mqueue.h: Likewise.
41949         * shadow/shadow.h: Likewise.
41950         * signal/signal.h: Likewise.
41951         * socket/send.c: Likewise.
41952         * socket/sendto.c: Likewise.
41953         * socket/sys/socket.h: Likewise.
41954         * stdio-common/printf.h: Likewise.
41955         * stdlib/bits/stdlib.h: Likewise.
41956         * stdlib/fmtmsg.h: Likewise.
41957         * stdlib/monetary.h: Likewise.
41958         * stdlib/stdlib.h: Likewise.
41959         * stdlib/ucontext.h: Likewise.
41960         * streams/stropts.h: Likewise.
41961         * string/argz.h: Likewise.
41962         * string/bits/string2.h: Likewise.
41963         * string/string.h: Likewise.
41964         * string/strings.h: Likewise.
41965         * sunrpc/rpc/auth.h: Likewise.
41966         * sunrpc/rpc/auth_des.h: Likewise.
41967         * sunrpc/rpc/clnt.h: Likewise.
41968         * sunrpc/rpc/netdb.h: Likewise.
41969         * sunrpc/rpc/pmap_clnt.h: Likewise.
41970         * sunrpc/rpc/xdr.h: Likewise.
41971         * sysdeps/generic/inttypes.h: Likewise.
41972         * sysdeps/generic/net/if.h: Likewise.
41973         * sysdeps/generic/sys/swap.h: Likewise.
41974         * sysdeps/gnu/net/if.h: Likewise.
41975         * sysdeps/gnu/utmpx.h: Likewise.
41976         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41977         * sysdeps/i386/i486/bits/string.h: Likewise.
41978         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41979         * sysdeps/s390/bits/string.h: Likewise.
41980         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41981         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41982         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41983         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41984         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41985         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41986         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41987         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41988         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41989         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41990         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41991         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41992         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41993         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41994         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41995         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41996         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41998         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42000         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42001         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42002         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42003         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42004         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42005         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42008         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42009         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42010         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42011         * sysvipc/sys/ipc.h: Likewise.
42012         * sysvipc/sys/msg.h: Likewise.
42013         * sysvipc/sys/sem.h: Likewise.
42014         * sysvipc/sys/shm.h: Likewise.
42015         * termios/termios.h: Likewise.
42016         * time/sys/time.h: Likewise.
42017         * time/time.h: Likewise.
42018         * wcsmbs/bits/wchar2.h: Likewise.
42019         * wcsmbs/uchar.h: Likewise.
42020         * wcsmbs/wchar.h: Likewise.
42021         * wctype/wctype.h: Likewise.
42023         [BZ #13551]
42024         * Makeconfig: Remove all but ELF support including AIX support.
42025         * Makerules: Likewise.
42026         * config.h.in: Likewise.
42027         * config.make.in: Likewise.
42028         * configure: Likewise.
42029         * configure.in: Likewise.
42030         * csu/Makefile: Likewise.
42031         * csu/version.c: Likewise.
42032         * debug/Makefile: Likewise.
42033         * dlfcn/Makefile: Likewise.
42034         * elf/Makefile: Likewise.
42035         * extra-lib.mk: Likewise.
42036         * iconv/Makefile: Likewise.
42037         * include/libc-symbols.h: Likewise.
42038         * include/shlib-compat.h: Likewise.
42039         * resolv/Makefile: Likewise.
42040         * resolv/res_libc.c: Likewise.
42041         * rt/Makefile: Likewise.
42042         * sysdeps/i386/asm-syntax.h: Likewise.
42043         * sysdeps/i386/sysdep.h: Likewise.
42044         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42045         * sysdeps/mach/sysdep.h: Likewise.
42046         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42047         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42048         * sysdeps/s390/asm-syntax.h: Likewise.
42049         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42050         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42051         * sysdeps/sh/sysdep.h: Likewise.
42052         * sysdeps/unix/sparc/sysdep.h: Likewise.
42053         * sysdeps/wordsize-32/divdi3.c: Likewise.
42054         * sysdeps/x86_64/sysdep.h: Likewise.
42056         * argp/Versions: Remove _argp_unlock_xxx.
42058         [BZ #13559]
42059         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42060         * abilist/libBrokenLocale.abilist: Likewise.
42061         * abilist/libanl.abilist: Likewise.
42062         * abilist/libc.abilist: Likewise.
42063         * abilist/libcrypt.abilist: Likewise.
42064         * abilist/libdl.abilist: Likewise.
42065         * abilist/libm.abilist: Likewise.
42066         * abilist/libnsl.abilist: Likewise.
42067         * abilist/libpthread.abilist: Likewise.
42068         * abilist/libresolv.abilist: Likewise.
42069         * abilist/librt.abilist: Likewise.
42070         * abilist/libthread_db.abilist: Likewise.
42071         * abilist/libutil.abilist: Likewise.
42072         * abilist/libnss_db.abilist: New file.
42074         * scripts/abilist.awk: Add support for indirect functions.
42076         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42078         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42080         * shlib-versions: Remove entries for ports architectures.
42082         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42083         files in ports.
42084         * elf/stackguard-macros.h: Remove support for IA-64.
42085         * elf/tst-auditmod1.c: Likewise.
42086         * sysdeps/generic/ldsodefs.h: Likewise.
42088         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42089         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42090         configure files.
42092         [BZ #13552]
42093         * configure.in: Remove --enable-omitfp support.
42094         * FAQ.in: Adjust.
42095         * config.make.in: Likewise.
42096         * Makeconfig: Likewise.
42097         * manual/install.texi: Likewise.
42099         In case anyone cares, the IA-64 architecture could move to ports.
42100         * sysdeps/ia64/*: Removed.
42101         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42102         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42104         [BZ #13555]
42105         * configure.in: Remove entries for unsupported architectures.
42107         [BZ #13533]
42108         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42109         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42110         routines.
42111         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42112         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42113         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42114         fall back to using wcrtomb.
42115         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42116         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42117         renaming.
42118         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42119         * wcsmbs/tst-c16c32-1.c: New file.
42121         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42122         local variable.
42124         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42126         * elf/tst-unique3.cc: Add explicit declaration of gets.
42127         * elf/tst-unique3lib.cc: Likewise.
42128         * elf/tst-unique3lib2.cc: Likewise.
42129         * elf/tst-unique4.cc: Likewise.
42131         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42133 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42135         [BZ #13566]
42136         * assert/assert.h (static_assert): Don't define for C++.
42137         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42138         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42140 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42142         * iconv/loop.c (single loop): Fix assertion in storing of
42143         remaining bytes.
42145         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42147 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42149         * posix/getconf.c: Update copyright year.
42150         * nss/getent.c: Likewise.
42151         * nss/makedb.c: Likewise.
42152         * iconv/iconvconfig.c: Likewise.
42153         * iconv/iconv_prog.c: Likewise.
42154         * elf/ldconfig.c: Likewise.
42155         * elf/pldd.c: Likewise.
42156         * elf/sotruss.ksh: Likewise.
42157         * catgets/gencat.c: Likewise.
42158         * csu/version.c: Likewise.
42159         * elf/ldd.bash.in: Likewise.
42160         * elf/sprof.c (print_version): Likewise.
42161         * locale/programs/locale.c: Likewise.
42162         * locale/programs/localedef.c: Likewise.
42163         * login/programs/pt_chown.c: Likewise.
42164         * nscd/nscd.c (print_version): Likewise.
42165         * debug/xtrace.sh: Likewise.
42166         * malloc/memusage.sh: Likewise.
42167         * malloc/mtrace.pl: Likewise.
42168         * debug/catchsegv.sh: Likewise.
42170 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42172         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42173         pure attribute.
42175 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42177         [BZ #13533]
42178         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42179         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42180         transformations.
42181         * iconv/gconv_int.h: Likewise.
42182         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42183         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42184         from libc for GLIBC_2.16.
42185         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42186         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42187         * wcsmbs/uchar.h: Really define mbstate_t.
42188         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42189         * wcsmbs/c16rtomb.c: New file.
42190         * wcsmbs/mbrtoc16.c: New file.
42191         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42192         for C/POSIX locale.
42193         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42194         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42196         * wcsmbs/wchar.h: Add missing __restrict.
42198 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42200         [BZ #13532]
42201         * time/Makefile (routines): Add timespec_get.
42202         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42203         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42204         timespec for ISO C11.
42205         * time/timespec_get.c: New file.
42206         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42207         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42209         [BZ #13531]
42210         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42211         * stdlib/stdlib.h: Declare aligned_alloc.
42212         * Versions.def: Add GLIBC_2.16 for libc.
42213         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42215         [BZ 13527]
42216         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42217         ISO C11.
42219         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42220         code.
42222         [BZ #13528]
42223         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42225         [BZ #13529]
42226         * assert/assert.h (static_assert): Define.
42228         * version.h: Update for 2.16 development version.
42230         [BZ #13526]
42231         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42232         _ISOC11_SOURCE.
42234         * version.h (RELEASE): Bump for 2.15 release.
42235         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42237         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42238         Patch by Marek Polacek <mpolacek@redhat.com>.
42240         * bits/byteswap.h: Protect long long constants with __extension__.
42241         * sysdeps/i386/bits/byteswap.h: Likewise.
42242         * sysdeps/ia64/bits/byteswap.h: Likewise.
42243         * sysdeps/s390/bits/byteswap.h: Likewise.
42244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42246 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42248         [BZ #13540]
42249         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42250         destination buffer.
42251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42253 2011-12-23  Marek Polacek  <polacek@redhat.com>
42255         * elf/dl-addr.c (determine_info): Add inline keyword.
42256         * elf/tst-auditmod4b.c (check_avx): Likewise.
42257         * elf/tst-auditmod6b.c (check_avx): Likewise.
42258         * elf/tst-auditmod6c.c (check_avx): Likewise.
42259         * elf/tst-auditmod7b.c (check_avx): Likewise.
42261 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42263         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42264         !__SSE_MATH__.
42266 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42268         [BZ #13540]
42269         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42270         processing for last bytes.
42272 2011-08-06  Bruno Haible  <bruno@clisp.org>
42274         [BZ #13061]
42275         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42276         U+0385, not to U+1FEE.
42278         [BZ #13062]
42279         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42280         entry for U+00A5 U+0301.
42282 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42284         [BZ #13166]
42285         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42286         buffer for the output is too small.
42288         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42289         optimization.
42291         [BZ #13185]
42292         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42293         SSE flags if possible.
42295 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42297         [BZ #13540]
42298         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42299         processing for last bytes.
42301 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42303         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42304         (syscall-list-default-options, syscall-list-default-condition)
42305         (syscall-list-includes): Define.
42306         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42307         list of ABIs and options and #if conditions for each ABI.  Do not
42308         handle common syscalls between ABIs specially.
42309         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42310         Remove.
42311         (syscall-list-variants, syscall-list-32bit-options)
42312         (syscall-list-32bit-condition, syscall-list-64bit-options)
42313         (syscall-list-64bit-condition): Define.
42314         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42315         (syscall-list-variants, syscall-list-32bit-options)
42316         (syscall-list-32bit-condition, syscall-list-64bit-options)
42317         (syscall-list-64bit-condition): Define.
42318         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42319         Remove.
42320         (syscall-list-variants, syscall-list-32bit-options)
42321         (syscall-list-32bit-condition, syscall-list-64bit-options)
42322         (syscall-list-64bit-condition): Define.
42323         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42324         Remove.
42325         (syscall-list-variants, syscall-list-32bit-options)
42326         (syscall-list-32bit-condition, syscall-list-64bit-options)
42327         (syscall-list-64bit-condition): Define.
42329 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42331         * locale/iso-639.def: Add brx entry.
42333         [BZ #13328]
42334         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42335         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42337         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42338         __feraiseexcept_renamed.
42340 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42342         [BZ #13538]
42343         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42344         EPOLLET with unsigned values.
42345         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42346         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42348         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42349         to large cancellation.
42350         * math/s_cacoshf.c: Likewise.
42351         * math/s_cacoshl.c: Likewise.
42353 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42355         [BZ #13305]
42356         [BZ #12786]
42357         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42358         * math/s_cacoshf.c: Likewise.
42359         * math/s_cacoshl.c: Likewise.
42361 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42363         [BZ #13439]
42364         * iconv/gconv.h: Define __GCONV_SWAP.
42365         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42366         * iconvdata/utf-16.c: Likewise.
42367         * iconvdata/utf-32.c: Likewise.
42369 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42371         [BZ #13524]
42372         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42373         numerator after shifting it by one limb.
42375 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42377         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42378         under [__USE_EXTERN_INLINES].
42380 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42382         [BZ #13446]
42383         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42385 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42387         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42388         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42389         optimized code.
42390         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42391         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42392         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42393         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42394         for strncasecmp/strncasecmp_l compilation.
42395         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42396         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42398 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42400         [BZ #13484]
42401         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42402         of __asm__.
42404 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42406         [BZ #13506]
42407         * time/tzfile.c (__tzfile_read): Check values from file header.
42409 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42411         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42412         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42413         * powerpc/powerpc32/dl-start.S: Likewise.
42414         * powerpc/powerpc32/elf/start.S: Likewise.
42415         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42416         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42417         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42418         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42419         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42420         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42421         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42422         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42423         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42424         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42425         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42426         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42427         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42428         * powerpc/powerpc32/memset.S: Likewise.
42429         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42430         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42431         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42432         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42433         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42434         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42435         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42436         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42437         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42438         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42439         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42440         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42441         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42443 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42445         * math/libm-test.inc: Added more nearbyint tests.
42446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42447         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42449         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42451 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42453         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42454         FD_CLOEXEC.
42456 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42458         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42459         Add wcscpy-ssse3 wcscpy-c.
42460         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42461         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42462         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42463         * sysdeps/x86_64/wcschr.S: New file.
42464         * sysdeps/x86_64/wcsrchr.S: New file.
42465         * string/test-strcmp.c: Remove checking of wcscmp function for
42466         wrong alignments.
42467         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42468         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42469         wcsrchr-sse2 wcsrchr-c.
42470         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42471         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42472         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42473         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42474         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42475         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42476         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42477         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42478         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42479         * wcsmbc/wcschr.c (WCSCHR): New macro.
42481 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42483         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42484         * wcsmbs/test-wcsrchr.c: New file.
42485         * string/test-strrchr.c: Add wcsrchr support.
42486         (WIDE): New macro.
42487         * wcsmbs/test-wcscpy.c: New file.
42488         * string/test-strcpy.c: Add wcscpy support.
42489         (WIDE): New macro.
42491 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42493         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42494         the inner loop.
42496 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42498         [BZ #13472]
42499         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42501 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42503         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42504         Minor optimizations.
42506         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42507         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42508         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42510 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42512         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42513         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42514         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42515         for gcc to avoid warnings.
42516         * inet/Makefile (tests): Add tst-checks.
42517         * inet/tst-checks.c: New file.
42519         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42520         warning.
42522         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42523         __wmemcmp_sse2.
42525         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42526         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42528         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42530 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42532         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42533         problem.
42535         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42537 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42540         conditional on GCC version.
42541         (__arch_compare_and_exchange_val_8_acq)
42542         (__arch_compare_and_exchange_val_16_acq)
42543         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42544         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42545         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42547 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42549         * sysdeps/sh/backtrace.c: New file.
42551 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42553         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42554         parenthesis.
42556 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42558         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42559         falling back to utime.
42561 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42563         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42564         expectations for float.
42566 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42568         * locale/weight.h (findidx): Add parameter len.
42569         * locale/weightwc.h (findidx): Likewise.
42570         * posix/fnmatch_loop.c (FCT): Adjust caller.
42571         * posix/regcomp.c (build_equiv_class): Likewise.
42572         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42573         * posix/regexec.c (check_node_accept_bytes): Likewise.
42574         * string/strcoll_l.c (STRCOLL): Likewise.
42575         * string/strxfrm_l.c (STRXFRM): Likewise.
42577 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42579         * Makefile.in: Remove CVSOPT handling.
42580         * configure.in: Remove use of AC_REVISION.
42581         * iconvdata/Makefile (distribute): No need to filter out CVS.
42582         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42583         handling.
42585 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42587         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42588         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42589         [USE_AS_STRNCASECMP_L]: Likewise.
42590         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42591         NO_TLS_DIRECT_SEG_REFS.
42592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42593         Fix argument offsets for non-PIC.
42594         [USE_AS_STRNCASECMP_L]: Likewise.
42595         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42596         NO_TLS_DIRECT_SEG_REFS.
42598 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42600         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42601         O_CLOEXEC.
42602         * locale/loadlocale.c (_nl_load_locale): Likewise.
42604 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42606         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42607         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42608         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42609         (SYSCALL_GETTIME): Set errno on error.
42611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42612         count references to noai6ai_cached.
42614 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42616         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42618         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42619         FD_CLOEXEC for /proc/self/maps.
42621         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42622         FD_CLOEXEC for /proc/meminfo.
42624         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42625         gai.conf.
42627         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42628         FD_CLOEXEC for given file.
42630         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42632         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42633         FD_CLOEXEC for /etc/hosts.
42634         (_gethtent): Likewise.
42636         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42638         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42639         cancellation and set FD_CLOEXEC for /etc/netgroup.
42641         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42642         reading /etc/publickey.
42644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42645         allow cancellation when reading /etc/group.
42647         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42648         cancellation.
42649         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42651         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42652         when using data file.
42654         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42656         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42657         (write_nis_obj): Use "c" and "e" in fopen.
42659         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42661         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42663         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42665         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42667         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42668         locale.alias.
42670         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42672         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42674         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42676         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42677         file parsing and set FD_CLOEXEC.
42679 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42681         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42683 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42685         * malloc/arena.c (arena_get2): Don't call reused_arena when
42686         _int_new_arena failed.
42688 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42690         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42691         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42693         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42694         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42695         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42696         to compile strcasecmp and strncasecmp.
42697         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42698         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42700         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42702 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42704         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42705         locale-defines.sym to gen-as-const-headers.
42706         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42707         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42709         to compile strcasecmp and strncasecmp.
42710         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42711         strcasecmp_l and strncasecmp_l.
42712         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42713         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42714         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42715         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42716         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42717         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42718         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42719         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42720         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42721         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42722         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42724 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42726         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42727         result of SYSDEP_GETTIME_CPU to retval.
42728         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42729         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42731         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42732         variable.
42734         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42735         mantissa words.
42736         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42738         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42739         from unused variable.
42741         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42742         DWARF definitions.
42743         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42744         for assembling.
42746         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42747         over namespaces.
42749         * sunrpc/rpc_prot.c (rejected): Fix case value.
42751         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42752         unsigned long long int to avoid warnings in shift.
42754         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42755         of use of trans.
42756         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42757         variable tmp.
42759         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42760         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42761         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42763         * nis/nis_table.c (nis_list): Use variable of correct type for
42764         result of __follow_path call.
42766 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42768         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42769         of math functions ceil, trunc, floor, round, and sqrt, when
42770         avaliable on the platform.
42771         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42772         name clash.
42773         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42774         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42775         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42777 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42779         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42780         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42782 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42784         * include/unistd.h: Fix __readlink return type.
42785         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42787 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42789         * stdlib/ucontext.h: Undo last change for makecontext.
42791 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42793         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42795         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42796         * setjmp/setjmp.h: Mark functions as non-leaf.
42797         * setjmp/bits/setjmp2.h: Likewise.
42798         * stdlib/ucontext.h: Likewise.
42800 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42802         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42803         (reused_arena): Don't check arena limit.
42804         (arena_get2): Atomically check arena limit.
42806 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42808         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42809         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42812         instructions.
42814 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42816         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42817         handler when locking.
42819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42820         Fix size of allocated buffer.
42822 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42824         [BZ #10103]
42825         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42826         declarations for long double functions.
42827         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42829         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42831 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42833         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42834         installed.
42836         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42837         is disabled.
42839 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42841         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42843 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42845         * include/alloca.h (stackinfo_alloca_round): Define.
42846         (extend_alloca): Use it.
42847         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42848         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42849         here.
42851         * scripts/check-local-headers.sh: Ignore libaudit.h.
42853         * nscd/Makefile (extra-objs): Make recursively expanded.
42855 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42857         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42860         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42861         * posix/tst-rfc3484-2.c: Likewise.
42862         * posix/tst-rfc3484-3.c: Likewise.
42864         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42865         process_vm_writev.
42866         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42867         process_vm_writev.
42868         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42869         process_vm_writev from libc using GLIBC_2.15 version.
42871         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42873 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42875         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42876         stack usage.
42878 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42880         [BZ #13367]
42881         * nss/getent.c (initgroups_keys): Show error message in case no group
42882         names are given.
42884         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42885         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42886         __bump_nl_timestamp.
42887         * nscd/connections (nscd_init): When host database is served open
42888         netlink socket and request notification about configuration changes.
42889         (main_loop_poll): Track netlink file descriptor and bump timestamp
42890         in case data becomes available.
42891         (main_loop_epoll): Likewise.
42892         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42893         (database_pers_head): Add extra_data fileds.
42894         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42895         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42896         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42897         Adjust caller.
42898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42899         in6ai data, call __free_in6ai.
42900         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42901         Add -DHAVE_NETLINK.
42902         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42903         interface information.  Reuse previous data if netlink timestamp
42904         is not changed.
42905         (__bump_nl_timestamp): New function.
42906         (__free_in6ai): New function.
42908 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42910         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42911         close_not_cancel_no_status here.
42912         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42914 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42916         [BZ #13276]
42917         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42918         return value.
42920         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42921         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42922         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42924 2011-07-03  Andreas Jaeger  <aj@suse.de>
42926         [BZ #10709]
42927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42928         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42929         * math/libm-test.inc (sin_test): Add test case.
42931 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42933         [BZ #13337]
42934         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42935         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42937         * elf/chroot_canon.c (chroot_canon): Cleanups.
42939         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42941         [BZ #13335]
42942         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42943         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42945         * string/test-strchr.c: Make usable for strchrnul testing.
42946         * string/test-strchrnul.c: New file.
42947         * string/Makefile (strop-tests): Add strchrnul.
42949         * po/it.po: Update from translation team.
42950         * po/es.po: Likewise.
42952 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42954         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42955         the three constants needed as parameters.  Drop the others.
42956         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42957         __m128i_strloadu_tolower.
42958         Create and initialize variable zero and use it in all the places
42959         where _mm_setzero_si128 was used.
42961         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42962         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42963         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42964         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42965         anymore.
42966         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42967         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42968         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42969         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42970         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42971         __mpranred, __mptan.
42972         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42973         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42974         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42975         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42976         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42977         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42978         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42979         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42980         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42982 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42984         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42985         redefine if SHARED.
42986         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42989         wide char related routines to wcsmbs subdir.
42991 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42993         [BZ #13344]
42994         * misc/sys/cdefs.h (__THROWNL): Define.
42995         * posix/unistd.h: Use __THREADNL instead of __THREAD
42996         for memory synchronization functions.
42998 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43000         [BZ #13349]
43001         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43002         doesn't exist.
43003         * manual/stdio.texi (Obstack Streams): Node removed.
43005 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43007         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43008         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43009         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43011         * math/math_private.h (math_force_eval): Allow non-addressable
43012         arguments.
43013         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43015 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43017         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43018         file is not needed.
43020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43021         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43022         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43023         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43024         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43025         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43026         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43027         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43028         Add AVX variants.
43029         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43030         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43031         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43032         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43033         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43034         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43035         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43036         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43037         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43038         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43039         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43040         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43042         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43043         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43044         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43045         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43046         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43047         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43049         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43050         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43052         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43053         place.  Use VEX encoding when compiling for AVX.
43055 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43057         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43058         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43060         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43062 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43064         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43065         useless if() expression.
43066         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43067         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43068         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43069         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43070         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43071         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43072         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43074         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43076         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43077         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43078         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43079         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43080         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43081         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43082         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43084         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43086         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43088 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43090         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43091         condition.
43092         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43096         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43097         .text section.  Avoid duplicate constants.
43098         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43100         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43102         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43103         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43104         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43106         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43107         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43108         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43110         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43111         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43112         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43115         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43116         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43117         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43120         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43121         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43122         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43123         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43124         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43125         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43126         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43127         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43128         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43129         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43130         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43131         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43132         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43133         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43134         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43135         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43136         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43137         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43138         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43139         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43140         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43141         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43142         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43144 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43146         * sysdeps/x86_64/dla.h: Move to ...
43147         * sysdeps/x86_64/fpu/dla.h: ...here.
43148         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43149         situations.  Use __builtin_fma only for gcc 4.6 and up.
43151         * config.make.in: Add have-mfma4 entry.
43152         * configure.in: Substitute libc_cv_cc_fma4.
43153         * math/Makefile (dbl-only-routines): Add sincostab.
43154         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43155         Use __sincostab not sincos.
43156         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43157         name is a macro.
43158         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43161         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43162         using __copysign.
43163         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43164         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43165         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43166         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43167         and __inv.
43168         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43169         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43170         __copysign.
43171         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43172         define aliases when function name is a macro.
43173         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43174         sysdeps/ieee754/dbl-64/sincos.tbl.
43175         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43176         fma4-enabled routines.
43177         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43178         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43179         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43180         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43181         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43182         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43184         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43186         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43187         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43188         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43189         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43190         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43191         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43192         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43193         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43194         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43195         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43196         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43197         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43198         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43199         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43200         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43201         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43202         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43204         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43205         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43206         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43208         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43209         rename.
43210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43213         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43214         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43219 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43221         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43223 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43227         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43228         prediction.
43229         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43231         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43232         Remove unused variable magic_bits.
43233         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43235         * string/strnlen.c: Define and use STRNLEN macro.
43236         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43237         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43239         * wcsmbs/wcslen.c: Define and use WCSLEN.
43240         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43241         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43242         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43243         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43244         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43245         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43246         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43248 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43251         strnlen-sse2-no-bsf.
43252         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43254         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43255         Add strnlen support.
43256         (USE_AS_STRNLEN): New macro.
43257         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43259         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43260         * sysdeps/x86_64/wcslen.S: New file.
43262 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43265         XMM-moves are used for copying on small sizes.
43267 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43269         * wcsmbs/Makefile (strop-tests): Add wcschr.
43270         * wcsmbs/test-wcschr.c: New file.
43271         * string/test-strchr.c: Update.
43272         Add wcschr support.
43273         (WIDE): New macro.
43275 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43277         * wcsmbs/Makefile (strop-tests): Add wcslen.
43278         * wcsmbs/test-wcslen.c: New file.
43279         * string/test-strlen.c: Update.
43280         Add wcslen support.
43281         (WIDE): New macro.
43283 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43285         * po/it.po: Update from translation team.
43287 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43289         * sysdeps/x86_64/wcscmp.S: Update.
43290         Fix wrong comparison semantics.
43291         wcscmp shall use signed comparison not unsigned.
43292         Don't use substraction to avoid overflow bug.
43293         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43294         * wcsmbc/wcscmp.c: Likewise.
43295         * string/test-strcmp.c: Likewise.
43296         Add new tests to check cases with negative values.
43298 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43300         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43301         * sysdeps/x86_64/dla.h: ...here.  New file.
43302         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43304         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43305         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43306         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43307         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43310         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43312 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43314         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43315         __ynl_finite aliases.
43317 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43321         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43322         define DLA_FMA.
43323         [DLA_FMA] (EMULV): Use DLA_FMA.
43324         [DLA_FMA] (MUL12): Use EMULV.
43325         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43326         that are not needed.
43327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43335 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43337         * math/s_nan.c: Undef __nan.
43338         * math/s_nanf.c: Undef __nanf.
43339         * math/s_nanl.c: Undef __nanl.
43340         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43341         "math_private.h".
43343 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43345         * math/s_catan.c: Add branch predictions.
43346         * math/s_catanf.c: Likewise.
43347         * math/s_catanh.c: Likewise.
43348         * math/s_catanhf.c: Likewise.
43349         * math/s_catanhl.c: Likewise.
43350         * math/s_catanl.c: Likewise.
43351         * math/s_cexp.c: Likewise.
43352         * math/s_cexpf.c: Likewise.
43353         * math/s_cexpl.c: Likewise.
43354         * math/s_clog.c: Likewise.
43355         * math/s_clog10.c: Likewise.
43356         * math/s_clog10f.c: Likewise.
43357         * math/s_clog10l.c: Likewise.
43358         * math/s_clogf.c: Likewise.
43359         * math/s_clogl.c: Likewise.
43360         * math/s_csqrt.c: Likewise.
43361         * math/s_csqrtf.c: Likewise.
43362         * math/s_csqrtl.c: Likewise.
43363         * math/s_ctanf.c: Likewise.
43364         * math/s_ctanh.c: Likewise.
43365         * math/s_ctanhf.c: Likewise.
43366         * math/s_ctanhl.c: Likewise.
43367         * math/s_ctanl.c: Likewise.
43369         * math/math_private.h: Define __nan, __nanf, __nanl.
43370         * math/s_cacosh.c: Include <math_private.h>.
43371         * math/s_cacoshl.c: Likewise.
43372         * math/s_casinh.c: Likewise.
43373         * math/s_casinhf.c: Likewise.
43374         * math/s_casinhl.c: Likewise.
43375         * math/s_ccos.c: Rely entire on ccosh.
43376         * math/s_ccosf.c: Rely entire on ccoshf.
43377         * math/s_ccosl.c: Rely entirely on ccoshl.
43378         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43379         Remove tests for FE_INVALID.
43380         * math/s_ccoshf.c: Likewise.
43381         * math/s_ccoshl.c: Likewise.
43382         * math/s_csin.c: Likewise.
43383         * math/s_csinf.c: Likewise.
43384         * math/s_csinh.c Likewise.
43385         * math/s_csinhf.c: Likewise.
43386         * math/s_csinhl.c: Likewise.
43387         * math/s_csinl.c: Likewise.
43388         * math/s_ctan.c: Likewise.
43389         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43390         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43391         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43393 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43396         compilation problems.
43398         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43399         __builtin_expect.
43401 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43403         * sysdeps/i386/configure.in: Test for -mfma4 option.
43404         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43405         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43406         COMMON_CPUID_INDEX_80000001.
43407         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43408         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43409         use it if FMA3 is not supported.
43410         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43412         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43413         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43415 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43417         [BZ #12892]
43418         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43419         it would create a cycle with a link time dependency.
43421 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43423         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43424         instruction.
43425         * string/Makefile (strop-tests): Add rawmemchr.
43426         * string/test-rawmemchr.c: New file.
43428         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43429         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43430         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43431         when compiling str{,n}casecmp and when AVX is available.  Hook up
43432         new optimized code in initializers.
43434 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43436         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43437         __feraiseexcept instead of feraiseexcept.
43439 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43441         * math/math_private.h: Define defaults for libc_fetestexcept and
43442         libc_feupdateenv.
43443         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43444         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43445         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43446         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43447         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43448         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43449         libc_fetestexcept and libc_feupdateenv.
43451         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43452         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43453         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43454         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43455         libc_feholdexcept_setround.
43457         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43458         Add s_nearbyint-c and s_nearbyintf-c.
43459         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43460         nearbyintf inlines.
43461         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43462         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43463         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43464         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43466         * math/math_private.h: Define defaults for libc_fegetround,
43467         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43468         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43469         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43470         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43471         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43472         standard functions.
43473         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43474         Remove comments and hacks for old compiler versions.
43475         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43476         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43477         libc_feholdexceptl.
43479 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43481         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43482         (__feraiseexcept_renamed): Add __NTH.
43483         (feraiseexcept): Add __NTH.  Rename local variables to fix
43484         namespace violations.
43486 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43490         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43492         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43493         recently added interfaces.
43494         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43496         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43497         about macro parameter expansion.
43499         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43500         __NO_MATH_INLINES is defined.  Cleanups.
43502         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43503         and __floorf is target has SSE4.1.
43504         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43505         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43506         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43507         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43509         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43510         name.
43511         (floorf): Likewise.
43513         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43515 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43517         * misc/sys/cdefs.h: Fix last change.
43519         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43520         database lookup.
43522 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43524         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43526         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43527         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43531         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43532         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43533         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43534         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43535         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43536         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43537         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43538         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43539         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43540         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43541         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43542         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43543         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43544         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43545         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43546         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43547         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43549         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43550         ceil, ceilf, floor, floorf.
43552         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43553         Perform IRELATIVE relocations last.
43555         * elf/do-rel.h: Add another parameter nrelative, replacing the
43556         local variable with the same name.  Change name of the function
43557         to end in Rel or Rela (uppercase).
43558         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43559         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43560         elf_dynamic_do_##reloc function.
43562 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43564         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43565         is sufficient, at least on modern CPUs.
43567         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43569         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43570         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43572         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43573         __expl_finite.
43574         * math/bits/math-finite.h: Add entries for exp.
43575         * math/e_expl.c: Add __*_finite alias.
43576         * sysdeps/i386/fpu/e_exp.S: Likewise.
43577         * sysdeps/i386/fpu/e_expf.S: Likewise.
43578         * sysdeps/i386/fpu/e_expl.c: Likewise.
43579         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43580         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43581         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43582         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43583         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43585         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43587         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43588         is sufficient, at least on modern CPUs.
43590         * ctype/ctype-info.c (__ctype_init): Define.
43591         * include/ctype.h (__ctype_init): Declare.
43592         (__ctype_b_loc): The variable is always initialized.
43593         (__ctype_toupper_loc): Likewise.
43594         (__ctype_tolower_loc): Likewise.
43595         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43596         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43598 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43600         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43602         * configure.in: Also look in $cxxmachine/include for C++ system
43603         headers.
43605 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43607         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43608         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43609         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43610         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43611         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43612         (USE_AS_WMEMCMP): New macro.
43613         Fixing indents.
43614         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43615         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43616         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43617         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43619         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43620         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43621         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43622         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43623         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43624         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43625         (USE_AS_WMEMCMP): New macro.
43626         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43627         * sysdeps/string/test-memcmp.c: Update.
43628         Fix simple_wmemcmp.
43629         Add new tests.
43630         * wcsmbs/wmemcmp.c: Update.
43631         (WMEMCMP): New macro.
43632         Fix overflow bug.
43634 2011-10-12  Andreas Jaeger  <aj@suse.de>
43636         [BZ #13268]
43637         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43639 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43641         * libio/iofwide.c (do_length): Avoid warning.
43643         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43645 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43647         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43649         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43650         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43651         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43652         * sysdeps/i386/i686/fpu/e_log.S: New file.
43653         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43654         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43656         * ctype/ctype.h: Add support for inlined isXXX functions when
43657         compiling C++ code.
43659 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43661         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43663         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43665 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43667         [BZ #13291]
43668         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43670 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43672         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43673         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43674         feraiseexcept.
43676         * sysdeps/x86_64/memrchr.S: Check for zero size.
43678         * string/stratcliff.c: Add memrchr tests.
43680 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43683         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43684         rawmemchr-sse2 rawmemchr-sse2-bsf.
43685         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43686         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43687         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43688         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43689         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43690         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43691         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43692         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43693         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43694         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43695         * string/memrchr.c (MEMRCHR): New macro.
43697 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43699         Add integration with gcc's -ffinite-math-only and optimize wrapper
43700         functions in libm.
43701         * Versions.def: Define GLIBC_2.15 version for libm.
43702         * math/Makefile (headers): Add bits/math-finite.h.
43703         * math/bits/math-finite.h: New file.
43704         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43705         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43706         * math/e_acoshl.c: Add __*_finite alias.
43707         * math/e_acosl.c: Likewise.
43708         * math/e_asinl.c: Likewise.
43709         * math/e_atan2l.c: Likewise.
43710         * math/e_atanhl.c: Likewise.
43711         * math/e_coshl.c: Likewise.
43712         * math/e_exp10.c: Likewise.
43713         * math/e_exp10f.c: Likewise.
43714         * math/e_exp10l.c: Likewise.
43715         * math/e_exp2l.c: Likewise.
43716         * math/e_fmodl.c: Likewise.
43717         * math/e_gammal_r.c: Likewise.
43718         * math/e_hypotl.c: Likewise.
43719         * math/e_j0l.c: Likewise.
43720         * math/e_j1l.c: Likewise.
43721         * math/e_jnl.c: Likewise.
43722         * math/e_lgammal_r.c: Likewise.
43723         * math/e_log10l.c: Likewise.
43724         * math/e_log2l.c: Likewise.
43725         * math/e_logl.c: Likewise.
43726         * math/e_powl.c: Likewise.
43727         * math/e_sinhl.c: Likewise.
43728         * math/e_sqrtl.c: Likewise.
43729         * math/e_scalb.c: Completely rewritten and optimized.
43730         * math/e_scalbf.c: Likewise.
43731         * math/e_scalbl.c: Likewise.
43732         * math/w_acos.c: Likewise.
43733         * math/w_acosf.c: Likewise.
43734         * math/w_acosl.c: Likewise.
43735         * math/w_acosh.c: Likewise.
43736         * math/w_acoshf.c: Likewise.
43737         * math/w_acoshl.c: Likewise.
43738         * math/w_asin.c: Likewise.
43739         * math/w_asinf.c: Likewise.
43740         * math/w_asinl.c: Likewise.
43741         * math/w_atan2.c: Likewise.
43742         * math/w_atan2f.c: Likewise.
43743         * math/w_atan2l.c: Likewise.
43744         * math/w_atanh.c: Likewise.
43745         * math/w_atanhf.c: Likewise.
43746         * math/w_atanhl.c: Likewise.
43747         * math/w_exp10.c: Likewise.
43748         * math/w_exp10f.c: Likewise.
43749         * math/w_exp10l.c: Likewise.
43750         * math/w_fmod.c: Likewise.
43751         * math/w_fmodf.c: Likewise.
43752         * math/w_fmodl.c: Likewise.
43753         * math/w_j0.c: Likewise.
43754         * math/w_j0f.c: Likewise.
43755         * math/w_j0l.c: Likewise.
43756         * math/w_j1.c: Likewise.
43757         * math/w_j1f.c: Likewise.
43758         * math/w_j1l.c: Likewise.
43759         * math/w_jn.c: Likewise.
43760         * math/w_jnf.c: Likewise.
43761         * math/w_log.c: Likewise.
43762         * math/w_logf.c: Likewise.
43763         * math/w_logl.c: Likewise.
43764         * math/w_log10.c: Likewise.
43765         * math/w_log10f.c: Likewise.
43766         * math/w_log10l.c: Likewise.
43767         * math/w_log2.c: Likewise.
43768         * math/w_log2f.c: Likewise.
43769         * math/w_log2l.c: Likewise.
43770         * math/w_pow.c: Likewise.
43771         * math/w_powf.c: Likewise.
43772         * math/w_powl.c: Likewise.
43773         * math/w_remainder.c: Likewise.
43774         * math/w_remainderf.c: Likewise.
43775         * math/w_remainderl.c: Likewise.
43776         * math/w_scalb.c: Likewise.
43777         * math/w_scalbf.c: Likewise.
43778         * math/w_scalbl.c: Likewise.
43779         * math/w_sqrt.c: Likewise.
43780         * math/w_sqrtf.c: Likewise.
43781         * math/w_sqrtl.c: Likewise.
43782         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43783         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43784         used.
43785         * math/math_private.h: Declare __kernel_standard_f.
43786         * math/w_cosh.c: Remove cruft and optimize a bit.
43787         * math/w_coshf.c: Likewise.
43788         * math/w_coshl.c: Likewise.
43789         * math/w_exp2.c: Likewise.
43790         * math/w_exp2f.c: Likewise.
43791         * math/w_exp2l.c: Likewise.
43792         * math/w_hypot.c: Likewise.
43793         * math/w_hypotf.c: Likewise.
43794         * math/w_hypotl.c: Likewise.
43795         * math/w_lgamma.c: Likewise.
43796         * math/w_lgamma_r.c: Likewise.
43797         * math/w_lgammaf.c: Likewise.
43798         * math/w_lgammaf_r.c: Likewise.
43799         * math/w_lgammal.c: Likewise.
43800         * math/w_lgammal_r.c: Likewise.
43801         * math/w_sinh.c: Likewise.
43802         * math/w_sinhf.c: Likewise.
43803         * math/w_sinhl.c: Likewise.
43804         * math/w_tgamma.c: Likewise.
43805         * math/w_tgammaf.c: Likewise.
43806         * math/w_tgammal.c: Likewise.
43807         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43808         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43809         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43810         Minor optimizations.  Pretty printing.  Remove cruft.
43811         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43812         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43813         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43814         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43815         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43816         * sysdeps/i386/fpu/e_asin.S: Likewise.
43817         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43818         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43819         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43820         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43821         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43822         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43823         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43824         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43825         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43826         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43827         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43828         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43829         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43830         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43831         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43832         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43833         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43834         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43835         * sysdeps/i386/fpu/e_log.S: Likewise.
43836         * sysdeps/i386/fpu/e_log10.S: Likewise.
43837         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43839         * sysdeps/i386/fpu/e_log2.S: Likewise.
43840         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43841         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43842         * sysdeps/i386/fpu/e_logf.S: Likewise.
43843         * sysdeps/i386/fpu/e_logl.S: Likewise.
43844         * sysdeps/i386/fpu/e_pow.S: Likewise.
43845         * sysdeps/i386/fpu/e_powf.S: Likewise.
43846         * sysdeps/i386/fpu/e_powl.S: Likewise.
43847         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43848         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43849         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43850         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43851         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43852         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43853         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43854         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43855         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43856         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43857         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43859         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43860         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43861         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43862         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43863         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43864         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43865         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43866         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43867         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43868         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43869         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43870         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43873         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43876         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43877         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43878         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43879         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43880         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43881         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43882         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43883         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43884         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43885         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43886         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43887         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43888         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43889         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43890         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43891         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43892         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43893         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43894         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43895         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43896         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43897         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43898         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43902         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43906         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43908         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43909         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43911         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43912         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43913         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43914         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43915         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43916         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43917         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43918         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43920         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43922         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43923         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43924         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43925         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43926         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43929         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43932         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43933         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43934         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43935         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43936         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43937         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43938         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43940         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43941         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43942         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43943         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43944         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43945         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43946         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43947         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43948         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43949         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43950         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43951         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43952         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43953         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43954         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43955         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43956         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43957         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43958         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43959         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43960         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43961         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43962         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43963         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43964         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43965         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43966         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43967         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43968         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43969         (__isnanf): Likewise.
43970         (__isinf_ns): Likewise.
43971         (__isinf_nsf): Likewise.
43972         (__finite): Likewise.
43973         (__finitef): Likewise.
43974         (__ieee754_sqrt): Define as macro.
43975         (__ieee754_sqrtf): Define as macro.
43976         (__ieee754_sqrtl): Define as macro.
43977         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43978         inlined copy.
43979         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43980         __FINITE_MATH_ONLY__ consistent.
43981         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43983 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43985         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43986         of rawmemchr.
43988         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43990 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43992         * po/ja.po: Update from translation team.
43994 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43996         * locale/programs/locarchive.c (prepare_address_space): New function.
43997         (create_archive, enlarge_archive, open_archive): Use it.
43999         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44000         inside [SHARED], where it is used.
44002         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44004         * nss/getent.c (netgroup_keys): Remove unused variable.
44005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44007 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44009         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44010         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44012         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44013         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44014         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44015         * math/Makefile (libm-calls): Add s_isinf_ns.
44016         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44017         * math/multc3.c: Likewise.
44018         * math/s_casin.c: Likewise.
44019         * math/s_casinf.c: Likewise.
44020         * math/s_casinl.c: Likewise.
44021         * math/s_ccos.c: Likewise.
44022         * math/s_ccosf.c: Likewise.
44023         * math/s_ccosl.c: Likewise.
44024         * math/s_ctan.c: Likewise.
44025         * math/s_ctanf.c: Likewise.
44026         * math/s_ctanh.c: Likewise.
44027         * math/s_ctanhf.c: Likewise.
44028         * math/s_ctanhl.c: Likewise.
44029         * math/s_ctanl.c: Likewise.
44030         * math/w_fmod.c: Likewise.
44031         * math/w_fmodf.c: Likewise.
44032         * math/w_fmodl.c: Likewise.
44033         * math/w_remainder.c: Likewise.
44034         * math/w_remainderf.c: Likewise.
44035         * math/w_remainderl.c: Likewise.
44036         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44037         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44038         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44040         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44041         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44042         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44043         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44045         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44046         of the number.
44047         * stdio-common/printf_fphex.c: Likewise.
44048         * stdio-common/printf_size.c: Likewise.
44050         * math/e_exp10.c: Include math_private.h using <...> not "...".
44051         * math/e_exp10f.c: Likewise.
44052         * math/e_exp10l.c: Likewise.
44053         * math/e_exp2l.c: Likewise.
44054         * math/e_j0l.c: Likewise.
44055         * math/e_j1l.c: Likewise.
44056         * math/e_jnl.c: Likewise.
44057         * math/e_lgammal_r.c: Likewise.
44058         * math/e_rem_pio2l.c: Likewise.
44059         * math/e_scalb.c: Likewise.
44060         * math/e_scalbf.c: Likewise.
44061         * math/e_scalbl.c: Likewise.
44062         * math/k_cosl.c: Likewise.
44063         * math/k_sinl.c: Likewise.
44064         * math/k_tanl.c: Likewise.
44065         * math/s_cacoshf.c: Likewise.
44066         * math/s_catan.c: Likewise.
44067         * math/s_catanf.c: Likewise.
44068         * math/s_catanh.c: Likewise.
44069         * math/s_catanhf.c: Likewise.
44070         * math/s_catanhl.c: Likewise.
44071         * math/s_catanl.c: Likewise.
44072         * math/s_ccosh.c: Likewise.
44073         * math/s_ccoshf.c: Likewise.
44074         * math/s_ccoshl.c: Likewise.
44075         * math/s_cexp.c: Likewise.
44076         * math/s_cexpf.c: Likewise.
44077         * math/s_cexpl.c: Likewise.
44078         * math/s_clog.c: Likewise.
44079         * math/s_clog10.c: Likewise.
44080         * math/s_clog10f.c: Likewise.
44081         * math/s_clog10l.c: Likewise.
44082         * math/s_clogf.c: Likewise.
44083         * math/s_clogl.c: Likewise.
44084         * math/s_csin.c: Likewise.
44085         * math/s_csinf.c: Likewise.
44086         * math/s_csinh.c: Likewise.
44087         * math/s_csinhf.c: Likewise.
44088         * math/s_csinhl.c: Likewise.
44089         * math/s_csinl.c: Likewise.
44090         * math/s_csqrt.c: Likewise.
44091         * math/s_csqrtf.c: Likewise.
44092         * math/s_csqrtl.c: Likewise.
44093         * math/s_ctan.c: Likewise.
44094         * math/s_ctanf.c: Likewise.
44095         * math/s_ctanh.c: Likewise.
44096         * math/s_ctanhf.c: Likewise.
44097         * math/s_ctanhl.c: Likewise.
44098         * math/s_ctanl.c: Likewise.
44099         * math/s_ldexp.c: Likewise.
44100         * math/s_ldexpf.c: Likewise.
44101         * math/s_ldexpl.c: Likewise.
44102         * math/s_significand.c: Likewise.
44103         * math/s_significandf.c: Likewise.
44104         * math/s_significandl.c: Likewise.
44105         * math/w_acos.c: Likewise.
44106         * math/w_acosf.c: Likewise.
44107         * math/w_acosh.c: Likewise.
44108         * math/w_acoshf.c: Likewise.
44109         * math/w_acoshl.c: Likewise.
44110         * math/w_acosl.c: Likewise.
44111         * math/w_asin.c: Likewise.
44112         * math/w_asinf.c: Likewise.
44113         * math/w_asinl.c: Likewise.
44114         * math/w_atan2.c: Likewise.
44115         * math/w_atan2f.c: Likewise.
44116         * math/w_atan2l.c: Likewise.
44117         * math/w_atanh.c: Likewise.
44118         * math/w_atanhf.c: Likewise.
44119         * math/w_atanhl.c: Likewise.
44120         * math/w_cosh.c: Likewise.
44121         * math/w_coshf.c: Likewise.
44122         * math/w_coshl.c: Likewise.
44123         * math/w_dremf.c: Likewise.
44124         * math/w_exp10.c: Likewise.
44125         * math/w_exp10f.c: Likewise.
44126         * math/w_exp10l.c: Likewise.
44127         * math/w_exp2.c: Likewise.
44128         * math/w_exp2f.c: Likewise.
44129         * math/w_fmod.c: Likewise.
44130         * math/w_fmodf.c: Likewise.
44131         * math/w_fmodl.c: Likewise.
44132         * math/w_hypot.c: Likewise.
44133         * math/w_hypotf.c: Likewise.
44134         * math/w_hypotl.c: Likewise.
44135         * math/w_j0.c: Likewise.
44136         * math/w_j0f.c: Likewise.
44137         * math/w_j0l.c: Likewise.
44138         * math/w_j1.c: Likewise.
44139         * math/w_j1f.c: Likewise.
44140         * math/w_j1l.c: Likewise.
44141         * math/w_jn.c: Likewise.
44142         * math/w_jnf.c: Likewise.
44143         * math/w_jnl.c: Likewise.
44144         * math/w_lgamma.c: Likewise.
44145         * math/w_lgamma_r.c: Likewise.
44146         * math/w_lgammaf.c: Likewise.
44147         * math/w_lgammaf_r.c: Likewise.
44148         * math/w_lgammal.c: Likewise.
44149         * math/w_lgammal_r.c: Likewise.
44150         * math/w_log.c: Likewise.
44151         * math/w_log10.c: Likewise.
44152         * math/w_log10f.c: Likewise.
44153         * math/w_log10l.c: Likewise.
44154         * math/w_log2.c: Likewise.
44155         * math/w_log2f.c: Likewise.
44156         * math/w_log2l.c: Likewise.
44157         * math/w_logf.c: Likewise.
44158         * math/w_logl.c: Likewise.
44159         * math/w_pow.c: Likewise.
44160         * math/w_powf.c: Likewise.
44161         * math/w_powl.c: Likewise.
44162         * math/w_remainder.c: Likewise.
44163         * math/w_remainderf.c: Likewise.
44164         * math/w_remainderl.c: Likewise.
44165         * math/w_scalb.c: Likewise.
44166         * math/w_scalbf.c: Likewise.
44167         * math/w_scalbl.c: Likewise.
44168         * math/w_sinh.c: Likewise.
44169         * math/w_sinhf.c: Likewise.
44170         * math/w_sinhl.c: Likewise.
44171         * math/w_sqrt.c: Likewise.
44172         * math/w_sqrtf.c: Likewise.
44173         * math/w_sqrtl.c: Likewise.
44174         * math/w_tgamma.c: Likewise.
44175         * math/w_tgammaf.c: Likewise.
44176         * math/w_tgammal.c: Likewise.
44178         * po/ja.po: Update from translation team.
44180 2011-09-29  Andreas Jaeger  <aj@suse.de>
44182         [BZ #13179]
44183         * sunrpc/netname.c (netname2host): Fix logic.
44185         [BZ #6779]
44186         [BZ #6783]
44187         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44188         correctly.
44189         * math/w_remainder.c (__remainder): Likewise.
44190         * math/w_remainderf.c (__remainderf): Likewise.
44191         * math/libm-test.inc (remainder_test): Add test cases.
44193 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44195         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44196         sdiv_qrnnd.
44198 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44200         * string/test-memcmp.c: Avoid unncessary #defines.
44201         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44203 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44205         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44206         Use new sse2 version for core i3 - i7 as it's faster
44207         than sse42 version.
44208         (bit_Prefer_PMINUB_for_stringop): New.
44209         * sysdeps/x86_64/rawmemchr.S: Update.
44210         Replace with faster SSE2 version.
44211         * sysdeps/x86_64/memrchr.S: New file.
44212         * sysdeps/x86_64/memchr.S: Update.
44213         Replace with faster SSE2 version.
44215 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44217         * elf/dl-load.c (lose): Add cast to avoid warning.
44219 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44221         * po/ca.po: Update from translation team.
44223         * inet/getnetgrent_r.c: Hook up nscd.
44224         * nscd/Makefile (routines): Add nscd_netgroup.
44225         (nscd-modules): Add netgroupcache.
44226         (CFLAGS-netgroupcache.c): Define.
44227         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44228         (cache_search): Add const to second parameter.
44229         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44230         INNETGR.
44231         (dbs): Add netgrdb entry.
44232         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44233         (verify_persistent_db): Handle netgrdb.
44234         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44235         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44236         GETFDNETGR.
44237         (netgroup_response_header): Define.
44238         (innetgroup_response_header): Define.
44239         (datahead): Add netgroup_response_header and innetgroup_response_header
44240         elements.
44241         * nscd/nscd.conf: Add entries for netgroup cache.
44242         * nscd/nscd.h (dbtype): Add netgrdb.
44243         (_PATH_NSCD_NETGROUP_DB): Define.
44244         (netgroup_iov_disabled): Declare.
44245         (xmalloc, xcalloc, xrealloc): Move declarations here.
44246         (cache_search): Adjust prototype.
44247         Add netgroup-related prototypes.
44248         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44249         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44250         (__nscd_innetgr): Declare.
44251         * nscd/selinux.c (perms): Use access_vector_t as element type and
44252         add netgroup-related initializers.
44253         * nscd/netgroupcache.c: New file.
44254         * nscd/nscd_netgroup.c: New file.
44255         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44256         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44257         For four parameters use innetgr.
44258         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44259         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44260         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44261         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44263         * nscd/connections.c (register_traced_file): Don't register file
44264         for disabled databases.
44266 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44268         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44270         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44271         from tree and freeing node.
44273 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44275         * nss/nsswitch.c (__nss_database_lookup): Handle
44276         nss_parse_service_list out of memory case.
44278 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44280         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44281         out of memory case.
44283 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44285         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44286         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44287         pass it down.
44288         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44289         elf_machine_rela, elf_machine_lazy_rel.
44290         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44291         (ELF_DYNAMIC_DO_REL): Likewise.
44292         (ELF_DYNAMIC_DO_RELA): Likewise.
44293         (ELF_DYNAMIC_RELOCATE): Likewise.
44294         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44295         to ELF_DYNAMIC_DO_REL.
44296         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44297         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44298         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44299         elf_machine_rela.
44300         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44301         skip_ifunc, don't call ifunc function if non-zero.
44302         (elf_machine_rela): Likewise.
44303         (elf_machine_lazy_rel): Likewise.
44304         (elf_machine_lazy_rela): Likewise.
44305         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44306         (elf_machine_lazy_rel): Likewise.
44307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44308         Likewise.
44309         (elf_machine_lazy_rel): Likewise.
44310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44311         Likewise.
44312         (elf_machine_lazy_rel): Likewise.
44313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44314         (elf_machine_lazy_rel): Likewise.
44315         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44316         (elf_machine_lazy_rel): Likewise.
44317         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44318         (elf_machine_lazy_rel): Likewise.
44319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44320         (elf_machine_lazy_rel): Likewise.
44321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44322         (elf_machine_lazy_rel): Likewise.
44323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44324         (elf_machine_lazy_rel): Likewise.
44326 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44328         * nss/nss_files/files-init.c (_nss_files_init): Use static
44329         initialization for all the *_traced_file variables.
44331 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44333         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44335 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44337         [BZ #13226]
44338         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44340 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44342         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44343         Reread the line before reparsing it.
44345 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44347         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44349 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44350             Maxim Kuvyrkov  <maxim@codesourcery.com>
44351             Joseph Myers  <joseph@codesourcery.com>
44353         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44354         if needed for __stack_chk_guard.
44356 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44358         * sysdeps/posix/spawni.c (script_execute): Always define it.
44359         It will be optimized away if unused.
44360         (maybe_script_execute): New function.
44361         (__spawni): Call it.
44363         * Makerules: Don't include tls.make.
44364         (config-tls): Always set to thread.
44365         * tls.make.c: File removed.
44367 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44369         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44370         * config.make.in (CPPFLAGS-config): New substituted variable.
44372 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44374         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44376         [BZ #13192]
44377         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44378         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44380 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44382         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44383         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44385         (CALL_FAIL): Likewise.
44386         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44387         (CALL_FAIL): Macro removed.
44388         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44390 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44392         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44393         for __FINITE_MATH_ONLY__ == 1.
44395 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44397         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44398         __ieee754_sqrt instead of sqrt.
44399         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44400         __ieee754_sqrtf instead of sqrtf.
44401         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44402         __floorf instead of floorf.
44403         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44404         __floorf, __truncf instead of floorf, truncf.
44406 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44408         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44410         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44411         __extern_always_inline.
44412         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44413         32-bit.
44415 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44417         * elf/rtld.c (dl_main): Also relocate in dependency order when
44418         doing symbol dependency testing.
44420 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44423         Always define `refsym'.
44425 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44427         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44428         (__FD_ELT): Renamed from __FDELT.
44429         * misc/bits/select2.h (__FD_ELT): Likewise.
44430         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44431         __FD_MASK instead of __FDELT, __FDMASK.
44432         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44433         Likewise.
44434         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44435         Likewise.
44437         * elf/Makefile (gen-ldd): Fix pattern.
44439         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44440         (init_tls): Likewise.
44442 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44446 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44448         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44449         `struct cmsghdr *' instead of `void *'.
44450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44451         Likewise.
44453 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44455         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44456         if non-absolute.
44457         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44458         ldd_rewrite_script.
44460 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44462         * configure.in: Remove --with-tls option.
44463         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44464         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44465         out in case it is missing.
44466         * sysdeps/ia64/elf/configure.in: Likewise.
44467         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44468         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44469         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44470         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44471         * sysdeps/sh/elf/configure.in: Likewise.
44472         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44473         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44474         * sysdeps/x86_64/elf/configure.in: Likewise.
44475         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44476         * sysdeps/mach/hurd/tls.h: Likewise.
44478         [BZ #13067]
44479         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44481         [BZ #13090]
44482         * configure.in: Fix use of AC_INIT.
44484         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44486 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44488         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44489         __set_errno.
44490         * malloc/hooks.c: Likewise.
44492         [BZ #11929]
44493         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44494         variables statically.
44495         (narenas): Initialize.
44496         (list_lock): Initialize.
44497         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44498         initializtion of main_arena and list_lock.  Small cleanups.
44499         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44500         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44501         Add initializers to main_arena and mp_.
44502         (malloc_state): Remove pagesize member.  Change all users to use
44503         GLRO(dl_pagesize).
44505         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44506         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44507         is always initialized.
44509         * malloc/malloc.c: Removed unused configurations and dead code.
44510         * malloc/arena.c: Likewise.
44511         * malloc/hooks.c: Likewise.
44512         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44514         * include/tls.h: Removed.  USE___THREAD must always be defined.
44515         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44516         * elf/dl-libc.c: Likewise.
44517         * elf/dl-tsd.c: Likewise.
44518         * include/errno.h: Likewise.
44519         * include/netdb.h: Likewise.
44520         * include/resolv.h: Likewise.
44521         * inet/herrno-loc.c: Likewise.
44522         * inet/herrno.c: Likewise.
44523         * malloc/arena.c: Likewise.
44524         * malloc/hooks.c: Likewise.
44525         * malloc/malloc.c: Likewise.
44526         * resolv/res-state.c: Likewise.
44527         * resolv/res_libc.c: Likewise.
44528         * sysdeps/i386/dl-machine.h: Likewise.
44529         * sysdeps/ia64/dl-machine.h: Likewise.
44530         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44531         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44532         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44533         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44534         * sysdeps/sh/dl-machine.h: Likewise.
44535         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44536         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44537         * sysdeps/unix/i386/sysdep.S: Likewise.
44538         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44539         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44544         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44548         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44549         * sysdeps/x86_64/dl-machine.h: Likewise.
44550         * tls.make.c: Likewise.
44552         * configure.in: Remove --with-__thread option.  Make tests for
44553         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44554         tls_model attribute fail if no support is available.  Remove
44555         USE_IN_LIBIO.
44556         * Makeconfig: Adjust for dropped configure option.  All features are
44557         now mandatory.
44558         * Makerules: Likewise.
44559         * Versions.def: Likewise.
44560         * argp/argp-fmtstream.c: Likewise.
44561         * argp/argp-fmtstream.h: Likewise.
44562         * argp/argp-help.c: Likewise.
44563         * assert/assert.c: Likewise.
44564         * config.h.in: Likewise.
44565         * config.make.in: Likewise.
44566         * configure: Likewise.
44567         * configure.in: Likewise.
44568         * csu/Versions: Likewise.
44569         * csu/init.c: Likewise.
44570         * elf/tst-audit2.c: Likewise.
44571         * elf/tst-tls10.c: Likewise.
44572         * elf/tst-tls10.h: Likewise.
44573         * elf/tst-tls11.c: Likewise.
44574         * elf/tst-tls12.c: Likewise.
44575         * elf/tst-tls14.c: Likewise.
44576         * elf/tst-tlsmod11.c: Likewise.
44577         * elf/tst-tlsmod12.c: Likewise.
44578         * elf/tst-tlsmod13.c: Likewise.
44579         * elf/tst-tlsmod13a.c: Likewise.
44580         * elf/tst-tlsmod14a.c: Likewise.
44581         * elf/tst-tlsmod15b.c: Likewise.
44582         * elf/tst-tlsmod16a.c: Likewise.
44583         * elf/tst-tlsmod16b.c: Likewise.
44584         * elf/tst-tlsmod7.c: Likewise.
44585         * elf/tst-tlsmod8.c: Likewise.
44586         * elf/tst-tlsmod9.c: Likewise.
44587         * gmon/gmon.c: Likewise.
44588         * grp/fgetgrent_r.c: Likewise.
44589         * grp/putgrent.c: Likewise.
44590         * hurd/fopenport.c: Likewise.
44591         * include/libc-symbols.h: Likewise.
44592         * include/tls.h: Likewise.
44593         * intl/gettextP.h: Likewise.
44594         * intl/loadinfo.h: Likewise.
44595         * locale/global-locale.c: Likewise.
44596         * locale/localeinfo.h: Likewise.
44597         * mach/devstream.c: Likewise.
44598         * malloc/arena.c: Likewise.
44599         * malloc/set-freeres.c: Likewise.
44600         * misc/err.c: Likewise.
44601         * misc/getttyent.c: Likewise.
44602         * misc/mntent_r.c: Likewise.
44603         * posix/getopt.c: Likewise.
44604         * posix/wordexp.c: Likewise.
44605         * pwd/fgetpwent_r.c: Likewise.
44606         * resolv/Versions: Likewise.
44607         * resolv/res_hconf.c: Likewise.
44608         * shadow/fgetspent_r.c: Likewise.
44609         * shadow/putspent.c: Likewise.
44610         * stdio-common/printf_fphex.c: Likewise.
44611         * stdio-common/tmpfile.c: Likewise.
44612         * stdlib/abort.c: Likewise.
44613         * stdlib/fmtmsg.c: Likewise.
44614         * sunrpc/auth_unix.c: Likewise.
44615         * sunrpc/clnt_perr.c: Likewise.
44616         * sunrpc/clnt_tcp.c: Likewise.
44617         * sunrpc/clnt_udp.c: Likewise.
44618         * sunrpc/clnt_unix.c: Likewise.
44619         * sunrpc/openchild.c: Likewise.
44620         * sunrpc/svc_simple.c: Likewise.
44621         * sunrpc/svc_tcp.c: Likewise.
44622         * sunrpc/svc_udp.c: Likewise.
44623         * sunrpc/svc_unix.c: Likewise.
44624         * sunrpc/xdr.c: Likewise.
44625         * sunrpc/xdr_array.c: Likewise.
44626         * sunrpc/xdr_rec.c: Likewise.
44627         * sunrpc/xdr_ref.c: Likewise.
44628         * sunrpc/xdr_stdio.c: Likewise.
44630 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44632         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44634 2011-07-03  Andreas Jaeger  <aj@suse.de>
44636         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44637         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44638         regenerate with gen-libm-tests.pl.
44640 2010-05-12  Petr Baudis  <pasky@suse.cz>
44642         [BZ #11589]
44643         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44644         around j0() zero points by switching to j1().
44645         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44646         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44647         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44648         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44650 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44652         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44653         instead of 0.
44654         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44655         instead of 0.
44656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44657         Patch in part by Pavel Roskin <proski@gnu.org>.
44659         [BZ #13138]
44660         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44661         realloc.
44662         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44663         Free memory block if necessary.
44665         [BZ #12847]
44666         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44667         be NULL.  Don't lock in this case.
44669 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44671         * elf/elf.h (ELFOSABI_GNU): New macro.
44672         (ELFOSABI_LINUX): Define to that.
44674 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44676         * string/strncat.c (strncat): Undef the symbol in case it has been
44677         defined in bits/string.h.
44679 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44681         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44683         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44684         link map.
44686 2011-08-17  Andreas Jaeger  <aj@suse.de>
44688         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44690 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44691             Ian Lance Taylor  <iant@google.com>
44693         * math/libm-test.inc (lround_test): New testcase.
44694         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44696 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44698         * Makefile: Remove support for automatic cvs check-ins.
44699         * Makerules: Likewise.
44700         * config.make.in: Likewise.
44701         * configure.in: Likewise.
44702         * intl/Makefile: Likewise.
44703         * locale/Makefile: Likewise.
44704         * po/Makefile: Likewise.
44705         * posix/Makefile: Likewise.
44706         * sysdeps/gnu/Makefile: Likewise.
44707         * sysdeps/mach/hurd/Makefile: Likewise.
44708         * sysdeps/sparc/sparc32/Makefile: Likewise.
44710         [BZ #13118]
44711         * posix/Makefile (bug-regex32-ENV): Define.
44712         Patch by John Stanley <jpsinthemix@verizon.net>.
44714         * misc/Makefile (headers): Add bits/select2.h.
44715         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44716         * misc/bits/select2.h: New file.
44717         * include/bits/select2.h: New file.
44718         * debug/Makefile (routines): Add fdelt_chk.
44719         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44720         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44721         FD_ISSET.
44722         * debug/fdelt_chk.c: New file.
44724         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44725         * wcsmbs/test-wmemcmp.c: Likewise.
44726         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44727         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44729 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44731         * string/Makefile (strop-tests): Add memcmp.
44732         * string/test-wmemcmp.c: New file.
44733         * string/test-memcmp.c: Add wmemcmp support.
44735 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44737         [BZ #13153]
44738         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44739         2011-07-19 change.
44741         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44742         garbage value in a __mach_port_mod_refs call in the cases of the
44743         task-self and thread-self ports.
44745 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44747         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44749 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44751         * elf/dl-load.c (lose): Check for non-null L.
44753 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44755         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44757         * elf/dl-libc.c (dlerror_run): Pass back error code from
44758         dl_catch_error.
44760         [BZ #13123]
44761         * elf/dl-load.c (lose): Free l_origin if it is valid.
44763         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44764         names.
44765         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44766         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44767         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44768         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44769         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44770         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44772 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44774         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44775         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44776         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44777         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44778         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44779         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44780         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44781         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44782         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44783         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44785 2011-08-15  Alan Modra  <amodra@gmail.com>
44787         [BZ #13092]
44788         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44789         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44790         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44791         ppc_mcount to static-only-routines.
44792         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44793         __mcount_internal.
44794         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44795         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44797 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44800         for finite and infinity parameters.
44802 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44805         and add nop instructions for throughput optimization.
44806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44808 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44811         aligned copy for power7 with vector-scalar instructions.
44812         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44814 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44817         AVX check.
44819 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44821         [BZ #13144]
44822         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44823         last change.
44825 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44827         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44828         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44829         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44831         clock_gettime.
44833 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44835         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44836         Forgot to demangle the pointer.
44838         * sysdeps/i386/sysdep.h: Define atom_text_section.
44839         * sysdeps/x86_64/sysdep.h: Likewise.
44840         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44841         section with atom_text_section.
44842         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44843         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44844         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44845         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44846         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44848         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44849         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44850         already be defined.  Change to take two parameters and don't assign
44851         result to variable.  Adjust all users.
44852         Define INTERNAL_GETTIME if not already defined.
44853         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44854         call.
44855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44856         HAVE_CLOCK_GETTIME_VSYSCALL.
44857         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44860         gettimeofday vsyscall, just use time.
44862 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44865         <errno.h>.
44867 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44869         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44870         syscall on x86-64.
44871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44872         syscall.
44873         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44874         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44875         syscall if possible.
44877 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44879         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44880         e_ident.  Don't pass to find_mapsXX.
44881         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44883 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44886         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44887         * sysdeps/x86_64/multiarch/strchr.S: Update.
44888         Check bit_slow_BSF bit.
44889         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44890         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44891         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44895         [BZ #13134]
44896         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44897         before glibc 2.15.
44898         (tryshell): Define.
44899         (__spawni): Change last parameter to be flag.  Test
44900         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44901         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44902         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44903         * posix/spawni.c: Likewise.
44904         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44905         * posix/spawnp.c: Likewise.  Change normal version to use
44906         SPAWN_XFLAGS_USE_PATH.
44907         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44908         SPAWN_XFLAGS_TRY_SHELL.
44910         [BZ #13150]
44911         * posix/glob.h: Remove gcc 1.x support.
44913         [BZ #13068]
44914         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44916 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44919         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44920         strrchr-sse2-bsf
44921         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44922         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44923         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44924         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44925         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44926         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44928 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44930         * sysdeps/x86_64/wcscmp.S: New file.
44932         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44933         wcscmp-c wcscmp-sse2
44934         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44935         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44936         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44937         * wcsmbs/wcscmp.c: Allow renaming.
44939 2011-09-05  David S. Miller  <davem@davemloft.net>
44941         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44942         stack slot, rather than the struct return pointer slot.
44943         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44944         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44946         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44948 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44950         * po/ja.po: Update from translation team.
44952         [BZ #13144]
44953         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44954         kernel in 64-bit binaries.
44956 2011-09-01  David S. Miller  <davem@davemloft.net>
44958         * elf/elf.h (HWCAP_SPARC_*): Move to..
44959         * sysdeps/sparc/sysdep.h: this new file and add new values.
44960         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44961         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44962         _DL_HWCAP_COUNT to 24.
44963         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44964         entries.
44965         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44966         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44967         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44969         instead of magic constants.
44970         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44972 2011-08-31  David S. Miller  <davem@davemloft.net>
44974         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44976         Reimplement to do errno handling inline.
44977         (SYSCALL_ERROR_HANDLER): New macro.
44978         (__SYSCALL_STRING): Do not do errno handling in asm.
44979         (__CLONE_SYSCALL_STRING): Delete.
44980         (__INTERNAL_SYSCALL_STRING): Delete.
44981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44982         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44983         (PSEUDO): Reimplement to do errno handling inline.
44984         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44985         (SYSCALL_ERROR_HANDLER): New macro.
44986         (__SYSCALL_STRING): Do not do errno handling in asm.
44987         (__CLONE_SYSCALL_STRING): Delete.
44988         (__INTERNAL_SYSCALL_STRING): Delete.
44989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44990         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44991         i386.
44992         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44993         (inline_syscall*): Add 'err' argument.
44994         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44995         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44996         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44997         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44999         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45000         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45002 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45004         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45006 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45008         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45009         directive.
45011 2011-08-24  David S. Miller  <davem@davemloft.net>
45013         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45015 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45017         * elf/Makefile: Add rules to build and run unload8 test.
45018         * elf/unload8.c: New file.
45019         * elf/unload8mod1.c: New file.
45020         * elf/unload8mod1x.c: New file.
45021         * elf/unload8mod2.c: New file.
45022         * elf/unload8mod3.c: New file.
45024         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45025         it wasn't used.
45027 2011-08-23  David S. Miller  <davem@davemloft.net>
45029         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45030         subtract stack bias.
45031         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45032         %sp not %fp in calculations.
45033         (_JMPBUF_UNWINDS_ADJ): Likewise.
45035         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45036         (aio_suspend): Call it to force an exception region around the
45037         AIO_MISC_WAIT() invocation.
45039 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45041         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45042         backslash.
45044 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45046         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45047         protection macro.
45048         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45049         and <dl-machine.h>.
45050         (Elf64_FuncDesc): Remove.
45052 2011-08-22  David S. Miller  <davem@davemloft.net>
45054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45055         sigaltstack check, add missing cfi directives.
45056         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45057         missing cfi directives, and sigaltstack handling.
45059 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45061         [BZ #11724]
45062         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45063         object is seen twice.
45064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45066         * elf/Makefile (distribute): Add tst-initorder2.c.
45067         (tests): Add tst-initorder2.
45068         (modules-names): Add tst-initorder2a tst-initorder2b
45069         tst-initorder2c tst-initorder2d.  Add rules to build them.
45070         ($(objpfx)tst-initorder2.out): New rule.
45071         * elf/tst-initorder2.c: New file.
45072         * elf/tst-initorder2.exp: New file.
45074 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45076         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45078         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45079         dependencies back to end of function.
45081         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45082         $(elfobjdir)/ld.so.
45084 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45086         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45087         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45089         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45090         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45091         of __vdso_gettimeofday.
45092         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45093         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45094         attribute_hidden.
45095         (_libc_vdso_platform_setup): Remove initialization of
45096         __vdso_gettimeofday and __vdso_time.
45098 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45100         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45101         and fgetc_unlocked.
45102         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45103         getc_unlocked.
45105         * elf/dl-open.c (add_to_global): Report additions to the global scope
45106         for LD_DEBUG=scopes.
45107         (dl_open_worker): Also print scope of newly loaded dependencies.
45108         (_dl_show_scope): Indicate if there is no scope.
45110         [BZ #13114]
45111         * stdio-common/Makefile (tests): Add bug24.
45112         * stdio-common/bug24.c: New file.
45114 2011-08-19  Andreas Jaeger  <aj@suse.de>
45116         [BZ #13114]
45117         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45118         non-existant file when using close-on-exec mode.
45120 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45123         the very first instruction.
45125         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45126         the CFI state in the end.
45127         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45128         inclusion of dl-trampoline.h.
45129         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45131 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45133         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45134         expectations for long double.
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45137         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45139 2011-08-14  David S. Miller  <davem@davemloft.net>
45141         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45142         artificual limit depends upon the system page size.
45144 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45146         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45147         * resolv/Makefile: Define CFLAGS-libresolv.
45149 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45151         * nss/makedb.c (compute_tables): Make variables used in nested
45152         function static.
45154 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45156         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45157         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45158         if buffer was too small.
45160         * elf/pldd.c (main): Attach to all threads in the process.
45161         Rewrite /proc handling to use *at functions.
45163 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45165         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45166         specifies first scope to show.
45167         (dl_open_worker): Update callers.  Move printing scope of new
45168         object to before the relocation.
45169         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45170         * sysdeps/generic/ldsodefs.h: Update declaration.
45172         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45173         string for the scope number.
45175 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45177         * nscd/servicescache.c (cache_addserv): Make sure written is always
45178         initialized.
45180 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45182         * sysdeps/i386/i486/bits/atomic.h
45183         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45184         statement expression, so as to suppress "set but not used" warning.
45185         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45187         * string/strncat.c (STRNCAT): Use prototype definition.
45189         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45190         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45191         -Iprograms here.
45192         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45193         (localedef-modules): Add localedef.
45194         (locale-modules): Add locale.
45196         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45197         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45198         to avoid a warning.
45200 2011-08-14  David S. Miller  <davem@davemloft.net>
45202         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45203         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45205 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45207         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45208         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45209         * elf/rtld.c (dl_main): Set l_name of vDSO.
45210         Call _dl_show_scope when DL_DEBUG_SCOPES.
45211         (process_dl_debug): Recognize scopes flag and also set it for all.
45212         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45213         Declare _dl_show_scope.
45215         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45216         (do_dlopen): Pass caller_dlopen to dl_open.
45217         (__libc_dlopen_mode): Initialize caller_dlopen.
45219         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45220         of libc.  Make tolower call locale-independent.  Optimize a bit by
45221         using isdigit instead of isalnum.
45222         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45224 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45226         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45227         was a dependency or dynamically loaded.
45229 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45231         * intl/l10nflist.c: Allow architecture-specific pop function.
45232         * sysdeps/x86_64/l10nflist.c: New file.
45234         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45235         classification.
45237 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45239         * include/dirent.h: Add libc_hidden_proto for scandirat and
45240         scandirat64.  Don't declare __scandirat64.
45241         * dirent/scandirat.c: Add libc_hidden_def.
45242         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45243         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45245 2011-08-10  David S. Miller  <davem@davemloft.net>
45247         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45248         enum.
45249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45251         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45253 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45255         * Versions.def [libc]: Add GLIBC_2.15.
45256         * dirent/Makefile (routines): Add scandirat and scandirat64.
45257         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45258         GLIBC_2.15.
45259         * dirent/dirent.h: Declare scandirat and scandirat64.
45260         * dirent/scandirat.c: New file.
45261         * dirent/scandirat64.c: New file.
45262         * sysdeps/wordsize-64/scandirat.c: New file.
45263         * sysdeps/wordsize-64/scandirat64.c: New file.
45264         * dirent/opendir.c: Define opendirat.
45265         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45266         using scandirat.
45267         * dirent/scandir64.c: Adjust for scandir.c change.
45268         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45269         __scandirat64, and __scandir_cancel_handler.
45270         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45271         additional parameter and use openat instead of open (outside of ld.so).
45272         Add new __opendir as wrapper around __opendirat.
45273         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45274         here without requiring old scandirat implementation.
45276 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45278         * dirent/scandir.c (cancel_handler): Renamed to
45279         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45280         defined.  Adjust users.
45281         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45282         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45284 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45286         * string/test-string.h (IMPL): Use __STRING to expand name and then
45287         stringify it.
45289         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45290         of cleanups.
45292 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45294         * string/Makefile: Update.
45295         (strop-tests): Append strncat.
45296         * string/test-wcscmp.c: New file.
45297         New comprehensive test for wcscmp.
45298         * string/test-strcmp.c: Update.
45299         (WIDE): New define.
45301 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45303         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45304         line.
45306 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45309         encoding to ACE if AI_IDN.
45311 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45313         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45314         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45316 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45318         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45319         Fix overflow bug in strncat.
45320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45322         * string/test-strncat.c: Update.
45323         Add new tests for checking overflow bugs.
45325 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45327         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45328         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45329         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45330         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45331         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45332         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45333         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45334         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45335         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45337         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45338         (USE_AS_STRCAT): Define.
45339         Add strcat and strncat support.
45340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45342 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45344         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45345         __n bigger than INT_MAX+1.
45346         (__strncmp_g): Likewise.
45348 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45350         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45351         * libio/stido.h: Likewise.
45353         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45354         (AF_NFC): Define.
45355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45356         (AF_NFC): Define.
45358         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45361         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45362         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45364         [BZ #13021]
45365         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45366         installed.
45368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45369         typo.
45370         (_dl_x86_64_save_sse): Likewise.
45372 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45374         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45375         OSXSAVE.
45376         (_dl_x86_64_save_sse): Likewise.
45378         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45380         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45382 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45385         change.
45386         (_dl_x86_64_save_sse): Use correct AVX check.
45388 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45390         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45391         bug in strncpy/strncat.
45392         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45394 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45396         * string/tester.c (test_strcat): Add tests for different alignments
45397         of source and destination.
45398         (test_strncat): Likewise.
45400 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45402         [BZ #12852]
45403         * posix/glob.c (glob): Check passed in values before using them in
45404         expressions to avoid some overflows.
45405         (glob_in_dir): Likewise.
45407         [BZ #13007]
45408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45409         check for AVX enablement so that we don't crash with old kernels and
45410         new hardware.
45411         * elf/tst-audit4.c: Add same checks here.
45412         * elf/tst-audit6.c: Likewise.
45414         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45416 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45418         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45420 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45422         * po/cs.po: Update from translation team.
45423         * po/bg.po: Likewise.
45425 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45427         * misc/sys/cdefs.h: Add support for const attribute.
45428         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45429         to gnu_dev_{major,minor,makedev} functions.
45431 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45433         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45435 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45437         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45438         strlen results.
45440 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45443         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45444         register in order to avoid conflicts with the soft frame pointer
45445         being held in r11 when necessary.
45446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45447         (INTERNAL_VSYSCALL_NCS): Likewise.
45449 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45451         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45452         * elf/dl-fini.c (_dl_fini): Adjust caller.
45453         * elf/dl-close.c (_dl_close_worker): Likewise.
45454         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45456 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45458         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45459         "aux_cache->nlibs < 0".
45461         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45462         in the reload-count case.
45464 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45467         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45468         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45469         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45470         * sysdeps/x86_64/multiarch/strcat.S: New file.
45471         * sysdeps/x86_64/multiarch/strncat.S: New file.
45472         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45473         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45474         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45475         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45476         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45477         (USE_AS_STRCAT): Define.
45478         Add strcat and strncat support.
45479         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45480         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45481         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45482         * string/strncat.c: Update.
45483         (USE_AS_STRNCAT): Define.
45484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45485         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45486         and i7.
45487         * sysdeps/x86_64/multiarch/init-arch.h
45488         (bit_Prefer_PMINUB_for_stringop): New.
45489         (index_Prefer_PMINUB_for_stringop): Likewise.
45490         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45491         bit_Prefer_PMINUB_for_stringop.
45493 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45495         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45496         buffer64.
45497         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45498         of casting of buffer.
45499         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45500         buffer32 and buffer64.
45501         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45502         writes instead of casting of buffer.
45503         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45504         buffer32.
45505         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45506         casting of buffer.
45508 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45510         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45512 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45514         * nscd/nscd.c (termination_handler): Don't do anything for a database
45515         if it has not yet been initialized.
45517 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45519         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45521 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45523         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45525 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45527         * po/nl.po: Update from translation team.
45528         * po/sv.po: Likewise.
45530 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45532         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45533         now disallowed by GCC.
45535         * configure.in (use-default-link): Default to yes if a test -shared
45536         link meets our qualifications.
45537         * configure: Regenerated.
45539         * config.make.in (output-format): New variable.
45540         * configure.in: Check for ld --print-output-format support.
45541         * configure: Regenerated.
45542         * Makerules ($(common-objpfx)format.lds)
45543         [$(output-format) != unknown]: Just use $(output-format),
45544         instead of the linker-script munging.
45546 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45548         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45549         of $(common-objpfx)shlib.lds.
45550         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45552         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45553         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45555         * configure.in (-z relro check): Adjust test code to add a large
45556         writable data section after it.
45557         * configure: Regenerated.
45559 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45561         * configure.in (-z relro check): Fix test code to make the variable
45562         truly const.
45563         * configure: Regenerated.
45565 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45567         * nscd/nscd.h (struct traced_file): Define.
45568         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45569         elements.  Add traced_files.
45570         (inotify_fd): Declare.
45571         (register_traced_file): Declare.
45572         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45573         (inotify_fd): Export.
45574         (resolv_conf_descr): Remove.
45575         (nscd_init): Move inotify descriptor creation to main.
45576         Don't register files for notification here.
45577         (register_traced_file): New function.
45578         (invalidate_cache): Don't use reset_res to determine whether to call
45579         res_init, go through the list of registered files.
45580         (main_loop_poll): The inotify descriptors are now stored in the
45581         structures for the traced files.
45582         (main_loop_epoll): Likewise
45583         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45584         to __nss_disable_nscd.
45585         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45586         for a database anymore.  Check the records for all the registered
45587         files instead.
45588         * nss/Makefile (libnss_files-routines): Add files-init.
45589         (libnss_db-routines): Add db-init.
45590         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45591         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45592         * nss/nss_db/db-init.c: New file.
45593         * nss/nss_files/files-init.c: New file.
45594         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45595         __nss_lookup_function.
45596         (__nss_lookup_function): Call nss_load_library.
45597         (nss_load_all_libraries): New function.
45598         (__nss_disable_nscd): Take parameter with callback function for files
45599         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45600         used for the cached services.
45601         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45602         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45603         options for features to all the files in nscd.
45605         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45607 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45609         * csu/elf-init.c (__libc_csu_init): Comment typo.
45611 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45613         * po/pl.po: Update from translation team.
45614         * po/ja.po: Likewise.
45615         * po/ru.po: Likewise.
45616         * po/ko.po: Likewise.
45617         * po/fr.po: Likewise.
45619 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45621         * configure.in (.ctors/.dtors header and trailer check):
45622         Use an empirical test on a built program.
45623         * configure: Regenerated.
45625         * configure.in (-z relro check): Use an empirical test on a built DSO.
45626         Detect, but do not require, on ia64.
45627         * configure: Regenerated.
45629         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45630         Update tests that use readelf to use $READELF instead.
45631         * configure: Regenerated.
45633 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45635         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45636         if the result is not used.
45638 2011-07-05  Andreas Jaeger  <aj@suse.de>
45640         [BZ#9696]
45641         * stdlib/tst-strtod.c: Add testcase.
45643 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45645         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45646         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45647         The latter has a higher limit.  Take additional parameter to pass to
45648         the new function.
45649         (__pathconf): Pass file to __statfs_link_max.
45650         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45651         __statfs_link_max.
45652         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45653         __statfs_link_max.
45655         [BZ #12868]
45656         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45658         Handle Lustre.
45659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45660         (__statfs_filesize_max): Likewise.
45661         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45663 2011-07-05  Andreas Jaeger  <aj@suse.de>
45665         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45667 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45669         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45670         `status' variable.
45671         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45672         Likewise.
45674 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45676         * Makefile (strop-tests): Add strncat.
45677         * string/test-strncat.c: New file.
45679 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45681         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45683 2011-06-21  Andreas Jaeger  <aj@suse.de>
45685         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45686         Copy rule from iconvdata/Makefile.
45688 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45690         [BZ #12922]
45691         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45692         but no long options are defined, just return 'W'.
45694 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45696         [BZ #9696]
45697         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45699 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45701         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45702         netgroups to read.
45703         (innetgr): Likewise.
45705 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45707         * config.make.in (install_root): Default to $(DESTDIR).
45709 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45711         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45713 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45715         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45717         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45718         containing directory rather than embedding absolute directory names.
45720         * scripts/check-local-headers.sh: Rewritten using awk.
45721         Match by word, not by line.  Print error messages for matches.
45722         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45724         * Makerules [shlib-lds-flags empty]:
45725         ($(common-objpfx)libc_pic.opts): New target.
45726         ($(common-objpfx)libc_pic.os.clean): New target.
45727         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45729         * config.make.in (OBJCOPY): New variable.
45730         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45731         * configure: Regenerated.
45733         * config.make.in (use-default-link): New variable.
45734         * configure.in (use_default_link): Grok --with-default-link to set it.
45735         * configure: Regenerated.
45736         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45737         (shlib-lds, shlib-lds-flags): Define to empty.
45739         * Makerules (shlib-lds): New variable.
45740         (shlib-lds-flags): New variable.
45741         (build-shlib, build-moduile, build-module-asneeded): Use it.
45742         ($(common-objpfx)libc.so): Use $(shlib-lds).
45743         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45744         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45746         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45747         DT_FLAGS/DT_FLAGS_1 with zero flags.
45749         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45750         linker script munging.
45752 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45754         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45755         as 128-bit value.
45756         * crypt/sha512.c (sha512_process_block): Perform total addition using
45757         128-bit if possible.
45758         (__sha512_finish_ctx): Likewise.
45759         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45760         as 64-bit value.
45761         * crypt/sha256.c (SWAP64): Define.
45762         (sha256_process_block): Perform total addition using 64-bit if
45763         possible.
45764         (__sha256_finish_ctx): Likewise.
45766 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45768         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45770         * nscd/hstcache.c (cache_addhst): Likewise.
45771         * nscd/grpcache.c (cache_addgr): Likewise.
45772         * nscd/aicache.c (addhstaiX): Likewise
45773         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45775 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45777         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45778         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45779         * nscd/hstcache.c (cache_addhst): Likewise.
45780         * nscd/grpcache.c (cache_addgr): Likewise.
45781         * nscd/aicache.c (addhstaiX): Likewise
45783 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45785         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45786         domain only when needed.
45788 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45791         is always restored.
45793 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45795         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45796         are re-adding the entry.
45797         * nscd/servicescache.c (cache_addserv): Likewise.
45799 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45801         * sysdeps/generic/dl-irel.h: fix protection against multiple
45802         inclusions.
45803         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45805 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45807         [BZ #12935]
45808         * malloc/memusage.sh: Fix quoting in message.
45809         * debug/xtrace.sh: Likewise.
45811         * configure.in: Remove support for --experimental-malloc option, make
45812         it the default.
45813         * config.make.in: Likewise.
45814         * malloc/Makefile: Likewise.
45816 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45818         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45819         two-byte characters.
45821 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45823         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45824         AC_CACHE_CHECK invocation.
45825         * configure: Regenerated.
45827         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45829 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45831         [BZ #12350]
45832         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45833         bit from old_res_options.
45835         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45837         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45838         value type for setfct.
45840 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45843         __gettimeofday instead of gettimeofday.
45845 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45847         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45849 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45851         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45853         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45854         info.
45856 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45859         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45860         strcpy-sse2-unaligned strncpy-sse2-unaligned
45861         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45862         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45863         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45864         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45865         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45866         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45867         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45868         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45869         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45870         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45871         (STRCPY): Support SSE2 and SSSE3 versions.
45873 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45875         [BZ #12874]
45876         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45877         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45878         kernels which artificially limit size of requests.
45880 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45883         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45884         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45885         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45886         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45887         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45888         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45889         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45890         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45892         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45893         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45894         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45895         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45896         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45898         Enable unaligned load optimization for Intel Core i3, i5 and i7
45899         processors.
45900         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45901         Define.
45902         (index_Fast_Unaligned_Load): Define.
45903         (HAS_FAST_UNALIGNED_LOAD): Define.
45905 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45907         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45909 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45911         [BZ #12907]
45912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45913         until it is clear that the information is realy needed.
45914         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45916 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45920 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45922         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45923         /sys/devices/system/cpu/online if it is usable.
45925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45926         reading the information from the /proc filesystem to once a second.
45928 2011-06-21  Andreas Jaeger  <aj@suse.de>
45930         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45931         NULL after inclusion of kernel headers.
45933 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45935         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45936         calls to internal_setent.
45938         [BZ #12885]
45939         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45940         addresses using gethostbyname4_r ignore IPv4 addresses.
45942         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45943         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45945         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45947 2011-06-20  David S. Miller  <davem@davemloft.net>
45949         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45950         inclusions.
45951         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45953         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45954         (elf_irel): Use it.
45955         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45956         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45957         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45958         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45959         * sysdeps/x86_64/dl-irel.h: Likewise.
45961         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45962         * elf/dl-sym.c: Likewise.
45964 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45966         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45967         need to dereference resplen2.
45969 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45971         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45973 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45975         * Makeconfig: Define vardbdir and inst_vardbdir.
45976         * nss/Makefile: Add rules to install db-Makefile.
45978         * nss/nss_db/db-XXX.c: Cleanup.
45980         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45981         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45982         GLIBC_PRIVATE.
45983         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45984         * nss/makedb.c: Implement -g option to specify that value strings
45985         are generated and should not be added to table iterated over for
45986         get*ent calls.
45987         * nss/nss_db/db-initgroups.c: New file.
45989         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45990         interface.
45992         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45993         (internal_getgrouplist): Adjust to name change.
45994         Update use_initgroups_entry if this is not the first call.
45995         * nss/databases.def: Add initgroups entry.
45997         * nss/makedb.c (compute_tables): Check result of multiple hash table
45998         sizes to minimize maximum chain length.
46000 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46002         * Versions.def: Add entry for libnss_db.
46003         * shlib-versions: Likewise.
46004         * nss/Makefile: Add rules to build libnss_db.
46005         * nss/Versions: Add libnss_db information.  Organize libnss_files
46006         entries better.
46007         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46008         makedb progra.  Some minor improvements to generate smaller files.
46009         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46010         here from...
46011         * nss/makedb.c: ...here.
46012         Improve database format to be smaller and require less memory at
46013         runtime.
46014         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46015         db anymore.
46016         * nss/nss_db/db-netgrp.c: Likewise.
46017         * nss/nss_db/db-open.c: Likewise.
46018         * nss/nss_files/flies-XXX.x: Adjust comments.
46019         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46020         * nss/nss_files/files-grp.c: Likewise.
46021         * nss/nss_files/files-hosts.c: Likewise.
46022         * nss/nss_files/files-network.c: Likewise.
46023         * nss/nss_files/files-proto.c: Likewise.
46024         * nss/nss_files/files-pwd.c: Likewise.
46025         * nss/nss_files/files-rpc.c: Likewise.
46026         * nss/nss_files/files-service.c: Likewise.
46027         * nss/nss_files/files-sgrp.c: Likewise.
46028         * nss/nss_files/files-spwd.c: Likewise.
46029         * nss/nss_db/db-alias.c: Removed.
46030         * nss/nss_db/dummy-db.h: Removed.
46032 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46034         * nss/makedb.c: Rewritten to not use database library.
46035         * nss/Makefile: Update to build new makedb program.
46037 2011-06-14  Andreas Jaeger  <aj@suse.de>
46039         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46040         memset declaration.
46042 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46045         tmpbuf.
46047 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46049         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46050         * elf/Makefile ($(objpfx)ld.so): Likewise.
46052         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46053         Don't list ld.so twice in dependencies.
46055         * posix/bug-regex31.c: Include <stdlib.h>.
46057         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46059         * nis/nss_compat/compat-spwd.c
46060         (getspent_next_nss_netgr): Remove unused variable.
46061         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46063         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46064         nonmembers" output to use the right array.
46066         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46068         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46070         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46071         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46072         * catgets/gencat.c (read_input_file): Likewise.
46073         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46075         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46076         variable definition inside #if's controlling its use.
46078         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46082         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46084         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46085         unreachable code.
46087         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46089         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46090         * configure: Regenerated.
46092         * Makerules: Revert last change.
46093         * elf/Makefile: Likewise.
46095 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46097         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46098         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46099         (reloc-link): Likewise.
46101 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46103         * elf/Makefile: Add rules to build pldd.
46104         * elf/pldd.c: New file.
46105         * elf/pldd-xx.c: New file.
46107 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46109         * version.h: Update for 2.15 development version.
46111 2011-06-07  David S. Miller  <davem@davemloft.net>
46113         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46114         ifuncs.
46115         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46116         elf_machine_lazy_rel): Likewise.
46117         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46119         elf_machine_lazy_rel): Likewise.
46120         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46121         dl_hwcap via passed in argument.
46122         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46123         Likewise.
46125 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46127         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46129 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46131         [BZ #12849]
46132         * manual/fdl-1.1.texi: New file, verbatim from:
46133         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46134         * manual/lgpl-2.1.texi: New file, verbatim from:
46135         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46136         * manual/Makefile (licenses): New variable, list those new file names.
46137         (texis): Use it.
46138         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46140         * manual/fdl.texi: File removed.
46141         * manual/lesser.texi: File removed.
46142         * manual/libc.texinfo (Copying, Documentation License):
46143         Use new @include file names, put @appendix directive before @include.
46145 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46147         [BZ #12841]
46148         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46149         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46150         (mq_open): Add __NTH.
46152 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46155         Assume Intel Core i3/i5/i7 processor if AVX is available.
46157 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46160         typo.
46162 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46164         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46165         memory.  Use alloca_account.  Fix memory leak when retrying.
46167 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46169         * version.h (RELEASE): Bump for 2.14 release.
46170         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46172         * config.make.in (RANLIB): Remove entry.
46174 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46176         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46177         (libc.pot): Work around missing support for .ksh extension in xgettext.
46179         [BZ #12684]
46180         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46181         if both request failed.
46182         (send_dg): In case of server errors clear resplen or *resplen2.
46184         [BZ #12454]
46185         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46186         when there are multiple maps.
46187         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46188         (_dl_fini): Remove test here.
46190         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46192 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46194         [BZ #12350]
46195         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46196         bit from old_res_options.
46197         (gaih_inet): Likewise.
46199         [BZ #11099]
46200         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46201         as signed.
46203         * resolv/res_init.c (res_setoptions): Make the code more compact.
46205         [BZ #11558]
46206         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46207         set RES_USEVC.
46209         [BZ #11634]
46210         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46212         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46214         [BZ #11781]
46215         * malloc/malloc.h: Declare malloc hook variables as volatile.
46217         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46218         in last patch.
46220         [BZ #11799]
46221         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46222         raise in the comment.
46223         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46225         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46227 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46229         [BZ #12811]
46230         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46231         grow the buffers more if it already has to be sufficient.
46232         (build_wcs_upper_buffer): Likewise.
46233         * posix/regexec.c (check_matching): Likewise.
46234         (clean_state_log_if_needed): Likewise.
46235         (extend_buffers): Don't enlarge buffers beyond size of the input
46236         buffer.
46237         Patches mostly by Emil Wojak <emil@wojak.eu>.
46238         * posix/bug-regex32.c: New file.
46239         * posix/Makefile (tests): Add bug-regex32.
46241         * locale/findlocale.c (_nl_find_locale): Return right away if
46242         _nl_explode_name failed.
46243         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46245         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46247         * debug/xtrace.sh: Unify messages.
46248         * malloc/memusage.sh: Likewise.
46250         [BZ #12813]
46251         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46252         time symbol from vDSO.  Substitute with vsyscall if not available.
46253         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46254         __vdso_time.
46256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46257         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46258         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46259         Add sendmmsg and internal_sendmmsg.
46260         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46261         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46262         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46264         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46265         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46266         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46268 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46270         [BZ #12813]
46271         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46272         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46273         available.
46274         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46275         __vdso_getcpu.
46277         [BZ #12814]
46278         * iconvdata/Makefile (tests): Add bug-iconv9.
46279         * iconvdata/bug-iconv9.c: New file.
46281 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46283         [BZ #12814]
46284         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46286 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46288         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46289         (struct user_regs_struct): Change intcs field back to cs.
46291 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46293         * po/ja.po: Update from translation team.
46295 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46297         [BZ #12795]
46298         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46299         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46301 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46303         * stdlib/longlong.h: Update from GCC.
46305 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46307         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46308         parameter name.
46309         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46310         Add parameter name.
46311         (__sysconf): Pass it down.
46313 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46315         [BZ #12671]
46316         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46317         some situations.
46318         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46319         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46320         add in in __libc_use_alloca calls.  Adjust callers.
46321         (glob): Use malloc in some situations.
46323         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46324         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46325         pltexit.
46327 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46329         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46330         and CLOCK_BOOTTIME_ALARM.
46332         [BZ #12782]
46333         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46334         is returned.
46336         * string/_strerror.c (__strerror_r): Print negative errors as signed
46337         numbers.
46339         [BZ #12777]
46340         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46341         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46342         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46344         * configure.in: Fix typo in redirection and correct removal of test
46345         files in two cases.
46347         [BZ #12788]
46348         * locale/setlocale.c (new_composite_name): Fix test to check for
46349         identical name of all categories.
46351         [BZ #12792]
46352         * libio/filedoalloc.c (local_isatty): New function.
46353         (_IO_file_doallocate): Use local_isatty.
46354         * stdio-common/perror.c (perror): In case a new stream is used
46355         forward the stream error.
46356         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46357         error flag.
46359 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46361         [BZ #11869]
46362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46363         alloca.
46364         * include/alloca.h (extend_alloca_account): Define.
46366         [BZ #11857]
46367         * posix/regex.h: Fix comments with documentation of user-accessible
46368         fields after compilation and describe correct free'ing of pattern
46369         after re_compile_pattern.
46370         Patch by Reuben Thomas <rrt@sc3d.org>.
46372 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46374         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46375         and -mno-altivec to prevent the compiler from using Altivec and/or
46376         VSX instructions when the corresponding registers are not available.
46378 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46380         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46382 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46384         * libio/freopen.c (freopen): Use __dup2, not dup2.
46385         * libio/freopen64.c (freopen64): Likewise.
46387 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46389         [BZ #12775]
46390         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46391         * math/Makefile (tests): Add test-powl.
46392         (CFLAGS-test-powl.c): Define.
46393         * math/test-powl.c: New file.
46395 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46397         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46399 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46401         [BZ #11837]
46402         * iconvdata/gb18030.c: Update to GB18020-2005.
46404 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46406         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46407         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46408         Patch by Aharon Robbins <arnold@skeeve.com>.
46410         [BZ #11892]
46411         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46412         on the stack.
46414         [BZ #11895]
46415         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46416         through underflows.
46418         [BZ #12766]
46419         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46420         point to strings before performing equality test for error_one_per_line
46421         mode.
46423         [BZ #11697]
46424         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46426         [BZ #11820]
46427         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46428         (struct user_fpregs_struct): Avoid __uint*_t types.
46430         [BZ #6420]
46431         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46432         symbol info.  Use it instead of calling _dl_addr locally.
46433         (lock_and_info): New function.
46434         (tr_freehook): Call lock_and_info and pass symbol info as additional
46435         parameter to tr_where.
46436         (tr_mallochook): Likewise.
46437         (tr_reallochook): Likewise.
46438         (tr_memalignhook): Likewise.
46440         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46441         used and couldn't be at all thread-safe.
46443 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46445         * libio/freopen.c (freopen): Don't close old file descriptor
46446         before the new one is opened.  Instead dup the new file descriptor
46447         to the old one after the new stream is created.
46448         * libio/freopen64.c (freopen64): Likewise.
46449         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46450         * libio/fileops.c (_IO_new_file_close_it): Handle new
46451         _IO_FLAGS2_NOCLOSE flag.
46452         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46453         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46454         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46455         _IO_FLAGS2_NOCLOSE flag.
46456         * include/unistd.h: Add hidden_proto for dup3.
46457         Define __have_dup3.
46458         * io/dup3.c: Define hidden symbol.
46459         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46461         [BZ #7101]
46462         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46463         when an incomplete long option is used.
46464         * posix/tst-getopt_long1.c: New file.
46465         * posix/Makefile (tests): Add tst-getopt_long1.
46467         [BZ #10138]
46468         * scripts/config.guess: Update from autoconf-2.68.
46469         * scripts/config.sub: Likewise.
46471         [BZ #10157]
46472         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46473         tests into ...
46474         (has_cpuclock): ...this.  New function.
46475         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46476         macro here based on has_cpuclock code.
46478         [BZ #10149]
46479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46480         First byte (not low byte) is now always NUL.
46481         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46483         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46484         Use non-cancelable interfaces.
46486         [BZ #9809]
46487         * locale/iso-639.def: Add entry for Sorani.
46489         [BZ #11901]
46490         * include/stdlib.h: Move include protection to the right place.
46491         Define abort_msg_s.  Declare __abort_msg with it.
46492         * stdlib/abort.c (__abort_msg): Adjust type.
46493         * assert/assert.c (__assert_fail_base): New function.  Majority
46494         of code from __assert_fail.  Allocate memory for __abort_msg with
46495         mmap.
46496         (__assert_fail): Now call __assert_fail_base.
46497         * assert/assert-perr.c: Remove bulk of implementation.  Use
46498         __assert_fail_base.
46499         * include/assert.hL Declare __assert_fail_base.
46500         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46501         mmap.
46502         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46504 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46506         [BZ #11952]
46507         [BZ #12453]
46508         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46509         until all modules are registered in the DTV.
46510         * elf/Makefile: Add rules to build and run tst-tls19.
46511         * elf/tst-tls19.c: New file.
46512         * elf/tst-tls19mod1.c: New file.
46513         * elf/tst-tls19mod2.c: New file.
46514         * elf/tst-tls19mod3.c: New file.
46515         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46517         [BZ #12083]
46518         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46519         correctly.
46521         [BZ #12601]
46522         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46523         two-byte sequence errors.
46524         * iconvdata/Makefile (tests): Add bug-iconv8.
46525         * iconvdata/bug-iconv8.c: New file.
46527         [BZ #12626]
46528         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46529         buf2 definition.
46531         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46533         [BZ #12432]
46534         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46535         (dummy_getcfa): New function.
46536         (init): Get _Unwind_GetCFA address, use dummy if not found.
46537         (backtrace_helper): In recursion check, also check whether CFA changes.
46538         (__backtrace): Completely initialize arg.
46540         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46541         storing incomplete byte sequence in state object.  Avoid testing for
46542         guaranteed too small input if we know there is enough data available.
46544 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46546         * Makeconfig (+link-pie): Indent.
46547         * Rules (binaries-pie): Define if $(have-fpie) and
46548         $(build-shared).
46549         (binaries-shared): Also filter out $(binaries-pie).
46550         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46551         * nscd/Makefile (others-pie): Add nscd.
46552         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46553         ($(objpfx)nscd): Remove command override.
46554         * login/Makefile (others-pie): Add pt_chown.
46555         ($(objpfx)pt_chown): Remove command override.
46556         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46557         remove command overrides.
46559 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46561         * libio/tst_putwc.c: Fix error messages.
46563         [BZ #12724]
46564         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46565         currently writing and seek to current position when not.
46566         * libio/Makefile (tests): Add bug-fclose1.
46567         * libio/bug-fclose1.c: New file.
46569 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46571         [BZ #12511]
46572         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46573         don't set DF_1_NODELETE here.
46574         (do_lookup_x): When entering new entry test for copy relocation
46575         and if necessary set DF_1_NODELETE flag.
46576         * elf/tst-unique4.cc: New file.
46577         * elf/tst-unique4.h: New file.
46578         * elf/tst-unique4lib.cc: New file.
46579         * elf/Makefile: Add rules to build and run tst-unique4.
46580         Patch by Piotr Bury <pbury@goahead.com>.
46582 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46584         [BZ #12052]
46585         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46587         [BZ #12625]
46588         * misc/mntent_r.c (addmntent): Flush the stream after the output
46590         [BZ #12393]
46591         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46592         (is_trusted_path_normalize): Skip initial colon.  Append slash
46593         to empty buffer.  Duplicate is_trusted_path code but allow
46594         constructed patch to be prefix.
46595         (is_dst): Allow $ORIGIN followed by /.
46596         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46597         Correct testing of result of is_trusted_path_normalize
46598         (decompose_rpath): Fix warning.
46600 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46602         [BZ #11257]
46603         * grp/initgroups.c (internal_getgrouplist): When we found the service
46604         list through the initgroups entry in nsswitch.conf do not always
46605         continue on a successful lookup.  Don't always use the
46606         __nss_group_database value if it is set.
46607         * nss/nsswitch.conf (initgroups): Change action for successful db
46608         lookup to continue for compatibility.
46610 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46612         [BZ #11532]
46613         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46614         and CP774 modules.
46615         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46616         and CP774 modules.
46617         * iconvdata/tst-tables.sh: Likewise.
46618         * iconvdata/cp770.c: New file.
46619         * iconvdata/cp771.c: New file.
46620         * iconvdata/cp772.c: New file.
46621         * iconvdata/cp773.c: New file.
46622         * iconvdata/cp774.c: New file.
46623         * iconvdata/testdata/CP770: New file.
46624         * iconvdata/testdata/CP770..UTF8: New file.
46625         * iconvdata/testdata/CP771: New file.
46626         * iconvdata/testdata/CP771..UTF8: New file.
46627         * iconvdata/testdata/CP772: New file.
46628         * iconvdata/testdata/CP772..UTF8: New file.
46629         * iconvdata/testdata/CP773: New file.
46630         * iconvdata/testdata/CP773..UTF8: New file.
46631         * iconvdata/testdata/CP774: New file.
46632         * iconvdata/testdata/CP774..UTF8: New file.
46634         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46635         END CHARMAP line.
46636         * iconvdata/gen-8bit-gap.sh: Likewise.
46637         * iconvdata/gen-8bit.sh: Likewise.
46639         * locale/iso-639.def: Add ary entry.
46641         [BZ #11258]
46642         * locale/C-translit.h.in: Add U20A1 transliteration.
46644         [BZ #12178]
46645         * locale/iso-639.def: Add wae entry.
46646         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46648         [BZ #12545]
46649         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46650         for n.
46652         [BZ #12711]
46653         * locale/C-translit.h.in: Add entry for U20B9.
46654         Patch by pravin.d.s@gmail.com.
46656 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46658         [BZ #12713]
46659         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46660         ENAMETOOLONG use generic getcwd.
46661         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46662         in rtld.  Use *stat64.
46663         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46664         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46665         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46666         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46667         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46668         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46669         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46670         __fstatat64 macros.
46671         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46672         * dirent/rewinddir.c: Add libc_hidden_def.
46673         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46674         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46676         * include/dirent.h (__alloc_dir): Add flags parameter.
46677         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46678         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46679         __alloc_dir.
46680         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46681         from fdopendir if O_CLOEXEC is already set.
46683 2011-03-15  Alan Modra  <amodra@gmail.com>
46685         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46686         l_tls_firstbyte_offset non-zero.  Save padding offset in
46687         l_tls_firstbyte_offset for later use.
46688         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46689         freeing static tls block.
46691 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46693         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46694         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46695         being defined by the kernel headers.
46697 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46699         [BZ #12734]
46700         * resolv/resolv.h: Define RES_NOTLDQUERY.
46701         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46702         no-tld-query and set RES_NOTLDQUERY.
46703         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46704         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46705         modern BIND to search name as TLD unless forbidden.
46707 2011-05-07  Petr Baudis  <pasky@suse.cz>
46708             Ulrich Drepper  <drepper@gmail.com>
46710         [BZ #12393]
46711         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46712         (is_trusted_path): ...to here.
46713         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46714         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46715         using is_trusted_path_normalize() in setuid scripts.
46717 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46719         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46720         __BEGIN/__END_DECLS.
46722 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46725         NSS_STATUS_NOTFOUND if no record was found.
46727 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46729         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46730         (headers-not-in-tirpc): Remove rpc/netdb.h
46731         * resolv/netdb.h: Revert last change.
46733 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46735         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46736         circular dependency between libgcc.a and libc.a.
46738 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46740         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46741         * nis/Makefile: Don't install rpcsvc/*.
46742         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46743         instead of <rpc/types.h>.
46744         (MAXHOSTNAMELEN): Define.
46746 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46748         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46750 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46752         [BZ #12714]
46753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46754         gethostbyname4_r when IPv6 results are possible.
46756 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46758         [BZ #12723]
46759         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46760         _PC_PIPE_BUF handling.
46762 2011-04-30  Bruno Haible  <bruno@clisp.org>
46764         [BZ #12717]
46765         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46766         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46767         to 'int'.
46768         * inet/getnameinfo.c (getnameinfo): Likewise.
46770 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46772         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46773         to groups setting in database lookup.
46774         * nss/nsswitch.conf: Add initgroups entry.
46776 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46778         [BZ #12685]
46779         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46780         mode string.
46781         Patch by Eric Blake <eblake@redhat.com>.
46783 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46785         * sunrpc/Makefile (need-export-routines): Add svc_run.
46786         (routines): Remove svc_run.
46787         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46788         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46789         * sunrpc/svc_run.c (svc_run): Likewise.
46790         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46792 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46795         problem in reallocation in last patch.
46797 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46799         * sunrpc/Makefile: Move inclusion of Rules.
46801 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46803         * nss/nss_files/files-initgroups.c: New file.
46804         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46805         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46806         _nss_files_initgroups_dyn.
46808 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46810         * elf/elf.h (R_ARM_IRELATIVE): Define.
46812 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46814         * po/ru.po: Update from translation team.
46816 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46818         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46819         dependencies.
46821 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46823         [BZ #12653]
46824         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46825         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46828         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46830 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46832         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46833         differing bytes.
46834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46835         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46838 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46840         [BZ #12420]
46841         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46842         storing it.
46843         * stdlib/bug-getcontext.c: New file.
46844         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46846 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46848         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46849         instructions into .machine "z9-109".
46850         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46851         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46853 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46855         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46856         between environment variables and auxiliary vector.
46858 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46860         * Makefile: Add rules to build linkobj/libc.so.
46861         * include/libc-symbols.h: Define libc_hidden_nolink.
46862         * include/rpc/auth.h: Mark functions which are to be hidden.
46863         * include/rpc/auth_des.h: Likewise.
46864         * include/rpc/auth_unix.h: Likewise.
46865         * include/rpc/clnt.h: Likewise.
46866         * include/rpc/des_crypt.h: Likewise.
46867         * include/rpc/key_prot.h: Likewise.
46868         * include/rpc/pmap_clnt.h: Likewise.
46869         * include/rpc/pmap_prot.h: Likewise.
46870         * include/rpc/pmap_rmt.h: Likewise.
46871         * include/rpc/rpc_msg.h: Likewise.
46872         * include/rpc/svc.h: Likewise.
46873         * include/rpc/svc_auth.h: Likewise.
46874         * include/rpc/xdr.h: Likewise.
46875         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46876         * nss/Makefile: Likewise.
46877         * sunrpc/Makefile: Don't install headers.  Build library with normal
46878         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46879         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46880         for the compat linking library.  Remove use of INTDEF/INTUSE.
46881         * sunrpc/auth_none.c: Likewise.
46882         * sunrpc/auth_unix.c: Likewise.
46883         * sunrpc/authdes_prot.c: Likewise.
46884         * sunrpc/authuxprot.c: Likewise.
46885         * sunrpc/clnt_gen.c: Likewise.
46886         * sunrpc/clnt_perr.c: Likewise.
46887         * sunrpc/clnt_raw.c: Likewise.
46888         * sunrpc/clnt_simp.c: Likewise.
46889         * sunrpc/clnt_tcp.c: Likewise.
46890         * sunrpc/clnt_udp.c: Likewise.
46891         * sunrpc/clnt_unix.c: Likewise.
46892         * sunrpc/des_crypt.c: Likewise.
46893         * sunrpc/des_soft.c: Likewise.
46894         * sunrpc/get_myaddr.c: Likewise.
46895         * sunrpc/key_call.c: Likewise.
46896         * sunrpc/key_prot.c: Likewise.
46897         * sunrpc/netname.c: Likewise.
46898         * sunrpc/pm_getmaps.c: Likewise.
46899         * sunrpc/pm_getport.c: Likewise.
46900         * sunrpc/pmap_clnt.c: Likewise.
46901         * sunrpc/pmap_prot.c: Likewise.
46902         * sunrpc/pmap_prot2.c: Likewise.
46903         * sunrpc/pmap_rmt.c: Likewise.
46904         * sunrpc/publickey.c: Likewise.
46905         * sunrpc/rpc_cmsg.c: Likewise.
46906         * sunrpc/rpc_common.c: Likewise.
46907         * sunrpc/rpc_dtable.c: Likewise.
46908         * sunrpc/rpc_prot.c: Likewise.
46909         * sunrpc/rpc_thread.c: Likewise.
46910         * sunrpc/rtime.c: Likewise.
46911         * sunrpc/svc.c: Likewise.
46912         * sunrpc/svc_auth.c: Likewise.
46913         * sunrpc/svc_authux.c: Likewise.
46914         * sunrpc/svc_raw.c: Likewise.
46915         * sunrpc/svc_run.c: Likewise.
46916         * sunrpc/svc_simple.c: Likewise.
46917         * sunrpc/svc_tcp.c: Likewise.
46918         * sunrpc/svc_udp.c: Likewise.
46919         * sunrpc/svc_unix.c: Likewise.
46920         * sunrpc/svcauth_des.c: Likewise.
46921         * sunrpc/xcrypt.c: Likewise.
46922         * sunrpc/xdr.c: Likewise.
46923         * sunrpc/xdr_array.c: Likewise.
46924         * sunrpc/xdr_float.c: Likewise.
46925         * sunrpc/xdr_intXX_t.c: Likewise.
46926         * sunrpc/xdr_mem.c: Likewise.
46927         * sunrpc/xdr_rec.c: Likewise.
46928         * sunrpc/xdr_ref.c: Likewise.
46929         * sunrpc/xdr_sizeof.c: Likewise.
46930         * sunrpc/xdr_stdio.c: Likewise.
46932 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46934         [BZ #12650]
46935         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46936         * sysdeps/ia64/dl-tls.h: Likewise.
46937         * sysdeps/powerpc/dl-tls.h: Likewise.
46938         * sysdeps/s390/dl-tls.h: Likewise.
46939         * sysdeps/sh/dl-tls.h: Likewise.
46940         * sysdeps/sparc/dl-tls.h: Likewise.
46941         * sysdeps/x86_64/dl-tls.h: Likewise.
46942         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46944 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46946         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46947         rpath element also skip the following colon.
46948         (expand_dynamic_string_token): Add is_path parameter and pass
46949         down to DL_DST_REQUIRED and _dl_dst_substitute.
46950         (decompose_rpath): Call expand_dynamic_string_token with
46951         non-zero is_path.  Ignore empty rpaths.
46952         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46953         with zero is_path.
46955 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46958         Make cancelable.
46960 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46962         [BZ #12655]
46963         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46964         Patch by Filipe David Manana <fdmanana@apache.org>.
46966 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46969         Maintain aligned stack.
46970         (CHECK_RSP): Remove unused macro.
46972 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46974         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46977 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46979         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46981         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46983 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46985         [BZ #12518]
46986         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46987         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46988         * sysdeps/x86_64/memmove.c: New file.
46989         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46990         (memcpy): Renamed to ...
46991         (__new_memcpy): This.
46992         (memcpy): Provide GLIBC_2_14 memcpy.
46993         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46994         (memcpy): Provide GLIBC_2_2_5 memcpy.
46996 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46998         [BZ #12631]
46999         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47001 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47003         * misc/syncfs.c: New file.
47004         * misc/Makefile (routines): Add syncfs.
47005         * posix/unistd.h: Declare syncfs.
47006         * sysdeps/unix/syscalls.list: Add syncfs.
47008 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47010         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47011         open_by_handle_at.
47012         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47013         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47017         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47018         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47020 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47022         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47023         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47024         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47025         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47026         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47028         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47030         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47031         sync_file_range.c with -fexceptions.
47032         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47033         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47034         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47035         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47036         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47037         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47038         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47039         sync_file_range as cancellation point
47040         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47041         now a wrapper around __call_sync_file_range with cancellation handling.
47042         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47043         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47044         function name to __call_sync_file_range.
47045         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47046         Add call_sync_file_range.
47048 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47051         bits/timex.h.
47053 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47055         * iconv/iconv.h: Fix typo in comment.
47056         * io/fcntl.h: Likewise.
47057         * libio/stdio.h: Likewise.
47058         * posix/spawn.h: Likewise.
47059         * posix/unistd.h: Likewise.
47060         * stdlib/stdlib.h: Likewise.
47061         * time/time.h: Likewise.
47062         * wcsmbs/wchar.h: Likewise.
47064         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47065         open_by_handle): Add.
47066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47067         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47068         Augment a few comments.
47069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47073         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47074         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47075         open_by_handle.
47077         * io/fcntl.h (AT_EMPTY_PATH): Define.
47079 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47081         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47082         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47083         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47084         to...
47085         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47086         * Versions.def: Add GLIBC_2.14.
47087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47088         Export.
47090 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47092         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47093         round counter.
47094         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47096 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47098         [BZ #12597]
47099         * string/test-strncmp.c (do_page_test): New function.
47100         (check2): Likewise.
47101         (test_main): Call check2.
47102         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47104 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47106         [BZ #12587]
47107         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47108         Handle cache information in CPU leaf 4.
47109         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47111 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47113         [BZ #12583]
47114         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47115         character representation.
47116         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47118 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47120         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47121         END(__isnan) to END(__isnanf) to match function entry point/label
47122         EALIGN(__isnanf,...).
47124 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47126         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47128 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47130         [BZ #12510]
47131         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47132         copy from the symbol referenced in the relocation to initialize the
47133         used variable.
47134         Patch by Piotr Bury <pbury@goahead.com>.
47135         * elf/Makefile: Add rules to build and tst-unique3.
47136         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47137         * elf/tst-unique3.cc: New file.
47138         * elf/tst-unique3.h: New file.
47139         * elf/tst-unique3lib.cc: New file.
47140         * elf/tst-unique3lib2.cc: New file.
47142         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47144 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47146         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47147         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47148         to _start.
47150 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47152         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47153         to-be-loaded object along a path to loader is ld.so.
47155 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47156             Ulrich Drepper  <drepper@gmail.com>
47158         * sysdeps/x86_64/memset.S: After aligning destination, code
47159         branches to different locations depending on the value of
47160         misalignment, when multiarch is enabled. Fix this.
47162 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47164         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47165         Set _x86_64_preferred_memory_instruction for AMD processsors.
47166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47167         Set bit_Prefer_SSE_for_memop for AMD processors.
47169 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47171         * libio/fmemopen.c (fmemopen): Optimize a bit.
47173 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47175         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47177 2011-03-03  Roland McGrath  <roland@redhat.com>
47179         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47181 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47183         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47184         __bzero_ultra1 instead of __memset_ultra1.
47186 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47187             Ulrich Drepper  <drepper@gmail.com>
47189         [BZ #12509]
47190         * include/link.h (struct link_map): Add l_orig_initfini.
47191         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47192         returning unsuccessfully.
47193         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47194         close of a file loaded at startup, restore the original l_initfini
47195         list.
47196         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47197         list, store the pointer.
47198         * elf/Makefile ($(objpfx)noload-mem): New rule.
47199         (noload-ENV): Define.
47200         (tests): Add $(objpfx)noload-mem.
47201         * elf/noload.c: Include <memcheck.h>.
47202         (main): Call mtrace.  Close all opened handles.
47204 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47206         [BZ #12454]
47207         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47208         dependencies are missing.
47210 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47212         Fix __if_freereq crash: Unlike the generic version which uses free,
47213         Hurd needs munmap.
47214         * sysdeps/mach/hurd/ifreq.h: New file.
47216 2011-01-27  Petr Baudis  <pasky@suse.cz>
47217             Ulrich Drepper  <drepper@gmail.com>
47219         [BZ 12445]#
47220         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47221         to extend_alloca().
47222         * stdio-common/bug23.c: New file.
47223         * stdio-common/Makefile (tests): Add bug23.
47225 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47226             Ulrich Drepper  <drepper@gmail.com>
47228         [BZ #12489]
47229         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47230         before performing relro protection.  At old place add assertion
47231         to make sure nothing changed.
47233 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47234             Glauber de Oliveira Costa  <glommer@gmail.com>
47236         * elf/elf.h: Add new ARM TLS relocs.
47238 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47241         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47242         cast from r3.
47243         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47244         'tests' variable.
47245         * sysdeps/wordsize-64/tst-writev.c: New file.
47247 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47249         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47250         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47251         insns in _dl_start to prevent a TOC reference before relocs are
47252         resolved.
47254 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47256         [BZ #12469]
47257         * Makeconfig: Remove RANLIB definition.
47258         * Makerules: Don't use RANLIB.
47259         * aclocal.m4: Remove ranlib test.
47260         * configure.in: No need to check for ranlib.
47261         * elf/rtld-Rules: Don't use RANLIB.
47263 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47265         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47266         protection macro.
47267         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47268         inclusion protection macro.
47270         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47271         SIGRTMIN and SIGRTMAX and print information in that case only when
47272         SIGRTMIN is defined.
47274 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47276         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47277         arginfo fn returning -1.
47279         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47280         and thousands string is zero terminated.
47282 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47284         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47285         sysdeps/unix/sysv/linux/bits/socket.h.
47287 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47289         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47290         (__CPU_COUNT): Remove old macros.
47291         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47292         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47293         (__CPU_ALLOC, __CPU_FREE): Add macros.
47294         (__sched_cpualloc, __sched_cpufree): Add declarations.
47296 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47298         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47299         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47300         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47301         (readdhstai): Return value of addhstaiX call.
47302         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47303         (addgrbyX): Return value returned by cache_addgr.
47304         (readdgrbyname): Return value returned by addgrbyX.
47305         (readdgrbygid): Likewise.
47306         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47307         (addpwbyX): Return value returned by cache_addpw.
47308         (readdpwbyname): Return value returned by addhstbyX.
47309         (readdpwbyuid): Likewise.
47310         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47311         (addservbyX): Return value returned by cache_addserv.
47312         (readdservbyname): Return value returned by addservbyX:
47313         (readdservbyport): Likewise.
47314         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47315         (addhstbyX): Return value returned by cache_addhst.
47316         (readdhstbyname): Return value returned by addhstbyX.
47317         (readdhstbyaddr): Likewise.
47318         (readdhstbynamev6): Likewise.
47319         (readdhstbyaddrv6): Likewise.
47320         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47321         (readdinitgroups): Return value returned by addinitgroupsX.
47322         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47323         (prune_cache): Keep track of timeout value of re-added entries.
47324         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47325         * nscd/nscd.h: Adjust prototypes of readd* functions.
47327 2011-02-04  Roland McGrath  <roland@redhat.com>
47329         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47330         (nis_stats): Likewise.
47331         * nis/nis_modify.c (nis_modify): Likewise.
47332         * nis/nis_remove.c (nis_remove): Likewise.
47333         * nis/nis_add.c (nis_add): Likewise.
47335         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47337         * posix/fnmatch_loop.c: Add some consts.
47339         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47341 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47343         [BZ #12460]
47344         * config.make.in (config-cflags-novzeroupper): Define.
47345         * configure.in: Substitute libc_cv_cc_novzeroupper.
47346         * elf/Makefile (AVX-CFLAGS): Define.
47347         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47348         (CFLAGS-tst-auditmod4a.c): Likewise.
47349         (CFLAGS-tst-auditmod4b.c): Likewise.
47350         (CFLAGS-tst-auditmod6b.c): Likewise.
47351         (CFLAGS-tst-auditmod6c.c): Likewise.
47352         (CFLAGS-tst-auditmod7b.c): Likewise.
47353         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47355 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47357         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47358         function to the callback.
47359         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47361 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47363         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47364         of errno.
47366 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47368         [BZ #11724]
47369         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47370         of constructors.
47371         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47372         of destructors.
47373         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47375         [BZ #11724]
47376         * elf/Makefile: Add rules to build and run new test.
47377         * elf/tst-initorder.c: New file.
47378         * elf/tst-initorder.exp: New file.
47379         * elf/tst-initordera1.c: New file.
47380         * elf/tst-initordera2.c: New file.
47381         * elf/tst-initordera3.c: New file.
47382         * elf/tst-initordera4.c: New file.
47383         * elf/tst-initorderb1.c: New file.
47384         * elf/tst-initorderb2.c: New file.
47385         * elf/tst-order-a1.c: New file.
47386         * elf/tst-order-a2.c: New file.
47387         * elf/tst-order-a3.c: New file.
47388         * elf/tst-order-a4.c: New file.
47389         * elf/tst-order-b1.c: New file.
47390         * elf/tst-order-b2.c: New file.
47391         * elf/tst-order-main.c: New file.
47392         New test case by George Gensure <werkt0@gmail.com>.
47394 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47397         decoding ACE if AI_CANONIDN.
47399 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47401         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47403 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47405         * version.h (RELEASE): Bump for 2.13 release.
47406         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47408         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47410         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47411         MADV_NOHUGEPAGE.
47412         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47413         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47414         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47415         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47416         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47417         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47419         * posix/getconf.c: Update copyright year.
47420         * catgets/gencat.c: Likewise.
47421         * csu/version.c: Likewise.
47422         * debug/catchsegv.sh: Likewise.
47423         * debug/xtrace.sh: Likewise.
47424         * elf/ldconfig.c: Likewise.
47425         * elf/ldd.bash.in: Likewise.
47426         * elf/sprof.c (print_version): Likewise.
47427         * iconv/iconv_prog.c: Likewise.
47428         * iconv/iconvconfig.c: Likewise.
47429         * locale/programs/locale.c: Likewise.
47430         * locale/programs/localedef.c: Likewise.
47431         * malloc/memusage.sh: Likewise.
47432         * malloc/mtrace.pl: Likewise.
47433         * nscd/nscd.c (print_version): Likewise.
47434         * nss/getent.c: Likewise.
47436         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47437         PF_CAIF, and PF_ALG.
47438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47440 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47442         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47443         (modules-names): Use them.
47444         (ifunc-test-modules, ifunc-pie-tests): Define.
47445         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47446         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47447         (test-extras): Likewise.
47448         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47449         $(compile-command.c).
47450         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47451         (all-built-dso): Define.
47452         (check-textrel.out, check-execstack.out): Depend on it.
47454         * configure.in: Don't override --enable-multi-arch.
47456 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47458         [BZ #6812]
47459         * nscd/hstcache.c (tryagain): Define.
47460         (cache_addhst): Return tryagain not notfound for temporary errors.
47461         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47462         failed.
47464 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47466         [BZ #10563]
47467         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47468         to make the syscall.
47469         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47471         [BZ #12378]
47472         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47473         and fall back to matching as normal character if the string ends before
47474         the matching ']' is found.  This is what POSIX requires.
47475         * posix/testfnm.c: Adjust test result.
47476         * posix/globtest.sh: Adjust test result.  Add new test.
47477         * posix/tst-fnmatch.input: Likewise.
47478         * posix/tst-fnmatch2.c: Add new test.
47480 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47482         * elf/Makefile (check-execstack): Revert last change.  Depend on
47483         check-execstack.h.
47484         (check-execstack.h): New target.
47485         (generated): Add check-execstack.h.
47486         * elf/check-execstack.c: Include "check-execstack.h".
47487         (main): Revert last change.
47488         (handle_file): Return zero if GNU_STACK is absent and
47489         DEFAULT_STACK_PERMS doesn't include PF_X.
47491 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47493         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47494         in child fails because the descriptor is already closed.
47495         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47496         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47497         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47499         [BZ #12397]
47500         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47501         syscall.
47503         [BZ #10484]
47504         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47505         temporary buffer used to handle multi lookups locally.
47506         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47508 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47510         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47511         loader is ld.so.
47513 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47515         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47516         alignment for SSE2.
47518 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47520         [BZ #12394]
47521         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47522         characters.  When rounding increased number of integer digits recompute
47523         number of groups.
47524         * stdio-common/tst-grouping.c: New file.
47525         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47527 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47529         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47530         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47532         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47533         void.
47534         * bits/select.h: Likewise.
47536 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47538         * po/ja.po: Update from translation team.
47540 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47542         [BZ #11155]
47543         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47544         implementation just like for lxstat, fxstatat, et al.
47546 2010-12-27  Jim Meyering  <meyering@redhat.com>
47548         [BZ #12348]
47549         * posix/regexec.c (build_trtable): Return failure indication upon
47550         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47552 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47554         [BZ #12201]
47555         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47556         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47557         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47560         [BZ #12207]
47561         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47563         [BZ #12204]
47564         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47565         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47567 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47569         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47570         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47571         script has SORT_BY_INIT_PRIORITY.
47572         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47573         NO_CTORS_DTORS_SECTIONS is defined.
47574         * elf/soinit.c: Likewise.
47575         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47576         NO_CTORS_DTORS_SECTIONS is defined.
47577         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47578         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47579         * sysdeps/sh/init-first.c: Likewise.
47580         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47582 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47584         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47585         always use the slow path.
47587 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47589         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47590         similar rule which adds the sysdep directories to the header search in
47591         order to pick up the correct platform stackinfo.h.
47592         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47593         perform test if it is, otherwise return successfully without testing.
47594         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47595         DEFAULT_STACK_PERMS define in stackinfo.h.
47596         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47597         defined in stackinfo.h.
47598         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47599         DEFAULT_STACK_PERMS defined in stackinfo.h.
47600         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47601         * sysdeps/ia64/stackinfo.h: Likewise.
47602         * sysdeps/s390/stackinfo.h: Likewise.
47603         * sysdeps/sh/stackinfo.h: Likewise.
47604         * sysdeps/sparc/stackinfo.h: Likewise.
47605         * sysdeps/x86_64/stackinfo.h: Likewise.
47606         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47607         PF_X for powerpc64.  Retain PF_X for powerpc32.
47609 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47611         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47612         accurately.
47613         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47614         GETDENTS_64BIT_ALIGNED.
47616 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47618         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47620 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47622         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47623         _GNU_SOURCE.
47625         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47626         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47627         Remove __restrict.
47628         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47629         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47631 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47633         [BZ #11655]
47634         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47635         are initialized.
47637 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47639         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47641 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47643         * po/it.po: Update from translation team.
47645 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47648         unused codes.
47650 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47652         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47654 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47656         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47657         specially.
47658         (gaih_getanswer_slice): Likewise.
47660 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47664 2010-05-31  Petr Baudis  <pasky@suse.cz>
47666         [BZ #11149]
47667         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47668         silently even in the chroot mode.
47670 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47672         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47673         last patch a bit.  Pretty printing
47675 2010-05-31  Petr Baudis <pasky@suse.cz>
47677         [BZ #10085]
47678         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47679         initialization of skip_initgroups_dyn.
47681 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47683         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47684         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47686 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47688         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47690 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47692         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47693         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47694         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47695         ($(objpfx)tst-fnmatch-mem): New rule.
47696         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47697         * posix/tst-fnmatch.c (main): Call mtrace.
47699 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47702         Support Intel processor model 6 and model 0x2c.
47704 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47706         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47707           signed comparison.
47709 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47711         [BZ #12205]
47712         * string/test-strncasecmp.c (check_result): New function.
47713         (do_one_test): Use it.
47714         (check1): New function.
47715         (test_main): Use it.
47716         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47717         Support strcasecmp and strncasecmp.
47719 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47721         [BZ #12194]
47722         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47725 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47727         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47728         IFUNC support.
47729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47730         memset-x86-64.
47731         * sysdeps/x86_64/multiarch/bzero.S: New file.
47732         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47733         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47734         * sysdeps/x86_64/multiarch/memset.S: New file.
47735         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47737         Set bit_Prefer_SSE_for_memop for Intel processors.
47738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47739         Define.
47740         (index_Prefer_SSE_for_memop): Define.
47741         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47743 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47745         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47746         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47748 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47750         [BZ #12191]
47751         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47752         (__x86_64_raw_data_cache_size_half): Likewise.
47753         (__x86_64_raw_shared_cache_size): Likewise.
47754         (__x86_64_raw_shared_cache_size_half): Likewise.
47756         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47757         (__x86_64_raw_data_cache_size_half): Likewise.
47758         (__x86_64_raw_shared_cache_size): Likewise.
47759         (__x86_64_raw_shared_cache_size_half): Likewise.
47760         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47761         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47762         and __x86_64_raw_shared_cache_size_half.  Round
47763         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47764         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47765         to multiple of 256 bytes.
47767 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47769         [BZ #12167]
47770         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47771         of inacessible symlinks.  Verify result of symlink before returning it.
47772         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47773         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47775 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47777         * math/math.h (isinf): Fix typo in comment.
47779 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47781         * po/da.po: Update from translation team.
47783 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47785         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47786         is added to the list.
47788 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47789             Ulrich Drepper  <drepper@gmail.com>
47791         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47792         the global list here.  Move code to...
47793         (_dl_add_to_namespace_list): ...here.  New function.
47794         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47795         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47796         * elf/dl-load.c (lose): Don't remove the element from the list.
47797         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47798         (_dl_map_object): Likewise.
47800 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47802         [BZ #12159]
47803         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47804         into all bytes of SSE register.
47805         Patch by Richard Li <richardpku@gmail.com>.
47807 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47809         [BZ #12140]
47810         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47811         perturbing.
47813 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47815         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47816         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47817         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47818         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47820         submachine.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47823 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47825         * include/dlfcn.h (__RTLD_SECURE): Define.
47826         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47827         mode & __RTLD_SECURE instead.
47828         (open_path): Rename preloaded parameter to secure.
47829         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47830         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47831         * elf/dl-deps.c (openaux): Likewise.
47832         * elf/rtld.c (struct map_args): Remove is_preloaded.
47833         (map_doit): Don't use it.
47834         (dl_main): Likewise.
47835         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47836         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47838 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47840         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47841         (sysd-rules-targets): Remove duplicates.
47842         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47843         rtld-%.$o dependency.
47845 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47847         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47848         _dl_map_object do it.
47850 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47852         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47853         fast fma builtins, define the macros in the C99 standard.
47854         (FP_FAST_FMAF): Likewise.
47855         (FP_FAST_FMAL): Likewise.
47856         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47858         * bits/mathdef.h: Update copyright year.
47859         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47861 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47863         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47864         builtins, define the macros in the C99 standard.
47865         (FP_FAST_FMAF): Likewise.
47866         (FP_FAST_FMAL): Likewise.
47867         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47868         multiply/add.
47869         (FP_FAST_FMAF): Likewise.
47871 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47873         [BZ #3268]
47874         * math/libm-test.inc (fma_test): Some new testcases.
47875         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47877         y and infinite z.  Do multiplication by C already in long double.
47878         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47880         y and infinite z.  Do bitwise or of inexact bit into u.d.
47881         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47882         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47883         * sysdeps/i386/fpu/s_fma.S: Removed.
47884         * sysdeps/i386/fpu/s_fmal.S: Removed.
47886 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47888         [BZ #3268]
47889         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47891         computation is not scheduled after fetestexcept.  Fix value
47892         of minimum denormal long double.
47894 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47896         [BZ #3268]
47897         * math/libm-test.inc (fma_test): Add some more tests.
47898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47899         correctly.
47901 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47903         * scripts/data/localplt-s390-linux-gnu.data: New file.
47904         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47906 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47908         [BZ #3268]
47909         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47910         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47911         instead of dbl-64.
47912         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47913         inlines.
47914         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47916         if one of x and y is very large and the other is subnormal.
47917         * sysdeps/s390/fpu/s_fmaf.c: New file.
47918         * sysdeps/s390/fpu/s_fma.c: New file.
47919         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47920         * sysdeps/powerpc/fpu/s_fma.S: New file.
47921         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47922         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47923         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47925 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47927         [BZ #3268]
47928         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47929         fma tests.
47930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47931         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47932         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47933         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47934         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47935         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47936         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47938 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47940         [BZ #12078]
47941         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47942         * posix/bug-regex31.input: Add test case.
47944 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47946         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47947         * posix/bug-regex31.input: New file.
47949         [BZ #12078]
47950         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47951         (parse_sub_exp): Fix last change, use postorder.
47953         * posix/bug-regex31.c: New file.
47954         * posix/Makefile: Add rules to build and run bug-regex31.
47956         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47958         [BZ #12078]
47959         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47961         [BZ #12108]
47962         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47963         to have entries in sys_siglist.
47965         [BZ #12093]
47966         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47967         be NULL.
47969 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47971         [BZ #3268]
47972         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47973         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47974         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47975         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47976         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47977         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47978         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47979         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47980         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47981         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47982         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47983         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47984         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47985         * math/ftestexcept.c (fetestexcept): Likewise.
47986         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47987         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47988         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47989         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47990         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47991         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47992         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47994 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47996         [BZ #12107]
47997         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47998         newline.
48000 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48002         * string/bug-strstr1.c: New file.
48003         * string/Makefile: Add rules to build and run bug-strstr1.
48005 2010-10-05  Eric Blake  <eblake@redhat.com>
48007         [BZ #12092]
48008         * string/str-two-way.h (two_way_long_needle): Always clear memory
48009         when skipping input due to the shift table.
48011 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48013         [BZ #12005]
48014         * malloc/mcheck.c: Handle large requests.
48016         [BZ #12077]
48017         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48018         for strncmp and strncasecmp.
48019         * string/stratcliff.c: Add tests for strcmp and strncmp.
48020         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48022 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48024         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48025         __set_fpscr.
48027 2010-09-30  Andreas Jaeger  <aj@suse.de>
48029         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48030         (CGROUP_SUPER_MAGIC): Define.
48031         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48032         Handle btrfs and cgroup file systems.
48033         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48034         Likewise.
48036 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48038         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48039         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48041 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48043         [BZ #12067]
48044         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48045         trying to locate the ELF header.
48047 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48049         [BZ #11611]
48050         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48051         Mask out sign-bit copies when constructing f_fsid.
48053 2010-09-24  Petr Baudis <pasky@suse.cz>
48055         * debug/stack_chk_fail_local.c: Add missing licence exception.
48056         * debug/warning-nop.c: Likewise.
48058 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48060         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48061         implementing getdents64 using getdents syscall, set d_type if
48062         __ASSUME_GETDENTS32_D_TYPE.
48064 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48066         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48067         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48069 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48071         [BZ #12037]
48072         * posix/unistd.h: Undo change of feature selection for ftruncate from
48073         2010-01-11.
48075 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48077         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48078         detection.
48080 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48083         fanotify_mark.
48084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48086 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48088         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48089         variables after CHECK_SP call.
48090         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48092 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48093             Ulrich Drepper  <drepper@redhat.com>
48095         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48096         re-relocationg ld.so.
48097         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48098         _dl_init_paths call.
48099         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48100         here anymore.
48102 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48104         * resolv/res_init.c (__res_vinit): Count the default server we added.
48106 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48107             Ulrich Drepper  <drepper@redhat.com>
48109         [BZ #11968]
48110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48111         (____longjmp_chk): Use %ebx for saving value across system call.
48112         Add unwind info.
48114 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48116         * manual/Makefile: Don't mix pattern rules with normal rules.
48118 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48120         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48121         operation.
48122         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48123         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48124         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48125         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48127         Likewise.
48129 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48131         [BZ #11979]
48132         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48133         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48135 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48137         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48138         * sysdeps/x86_64/addmul_1.S: Likewise.
48139         * sysdeps/x86_64/lshift.S: Likewise.
48140         * sysdeps/x86_64/mul_1.S: Likewise.
48141         * sysdeps/x86_64/rshift.S: Likewise.
48142         * sysdeps/x86_64/sub_n.S: Likewise.
48143         * sysdeps/x86_64/submul_1.S: Likewise.
48145 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48147         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48148         Define __sched_param instead of SCHED_* and sched_param when
48149         <bits/sched.h> is included with __need_schedparam defined.
48150         * bits/sched.h [__need_schedparam]
48151         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48152         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48153         (__defined_schedparam): Define to 1.
48154         (__sched_param): New structure, identical to sched_param.
48155         (__need_schedparam): Undefine.
48157 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48159         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48160         (epoll_create1): Declare.
48162         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48164 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48166         [BZ #7066]
48167         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48168         shifting retval into place.
48170 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48172         * nis/rpcsvc/nis.h: Update copyright notice.
48173         * nis/rpcsvc/nis.x: Likewise.
48174         * nis/rpcsvc/nis_callback.h: Likewise.
48175         * nis/rpcsvc/nis_callback.x: Likewise.
48176         * nis/rpcsvc/nis_object.x: Likewise.
48177         * nis/rpcsvc/nis_tags.h: Likewise.
48178         * nis/rpcsvc/yp.h: Likewise.
48179         * nis/rpcsvc/yp.x: Likewise.
48180         * nis/rpcsvc/ypupd.h: Likewise.
48181         * nis/yp_xdr.c: Likewise.
48182         * nis/ypupdate_xdr.c: Likewise.
48184         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48185         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48186         (pmap_getport): Use __libc_rpc_getport.
48187         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48188         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48189         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48191 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48194         fanotify_mark.
48196 2010-08-27  Roland McGrath  <roland@redhat.com>
48198         * sysdeps/i386/i686/multiarch/Makefile
48199         (CFLAGS-varshift.c): New variable.
48201 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48203         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48204         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48206         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48208         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48210 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48212         * sysdeps/x86_64/strlen.S: Unroll the loop.
48213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48214         strlen-sse2 strlen-sse2-bsf.
48215         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48216         __strlen_no_bsf if bit_Slow_BSF is set.
48217         (__strlen_sse42): Removed.
48218         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48219         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48221 2010-08-25  Roland McGrath  <roland@redhat.com>
48223         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48224         * sysdeps/x86_64/multiarch/varshift.c: New file.
48225         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48226         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48227         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48228         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48230 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48232         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48233         strlen-sse2 strlen-sse2-bsf.
48234         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48235         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48236         (__strlen_sse2): Removed.
48237         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48240         bit_Slow_BSF for Atom.
48241         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48242         (index_Slow_BSF): Define.
48243         (HAS_SLOW_BSF): Define.
48245 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48247         [BZ #10851]
48248         * resolv/res_init.c (__res_vinit): When no server address at all
48249         is given default to loopback.
48251 2010-08-24  Roland McGrath  <roland@redhat.com>
48253         * configure.in: Remove config-name.h generation.
48254         * configure: Regenerated.
48255         * config-name.in: File removed.
48256         * scripts/config-uname.sh: New file.
48257         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48258         ($(objdir)config-name.h): New target.
48260         * sunrpc/rpc_parse.h: Avoid nested comment.
48262 2010-08-24  Richard Henderson  <rth@redhat.com>
48263             Ulrich Drepper  <drepper@redhat.com>
48264             H.J. Lu  <hongjiu.lu@intel.com>
48266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48268         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48269         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48270         _mm_alignr_epi8 with _mm_loadu_si128.
48271         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48272         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48273         (__m128i_shift_right): Removed.
48274         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48275         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48276         * sysdeps/x86_64/multiarch/varshift.h: New file.
48277         * sysdeps/x86_64/multiarch/varshift.S: New file.
48279 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48281         * configure.in: Move assembler checks to before sysdep dir checking.
48283 2010-08-20  Petr Baudis  <pasky@suse.cz>
48285         * LICENSES: Sync the sunrpc license.
48287 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48289         * sunrpc/auth_des.c: Update copyright notice once again.
48290         * sunrpc/auth_none.c: Likewise.
48291         * sunrpc/auth_unix.c: Likewise.
48292         * sunrpc/authdes_prot.c: Likewise.
48293         * sunrpc/authuxprot.c: Likewise.
48294         * sunrpc/bindrsvprt.c: Likewise.
48295         * sunrpc/clnt_gen.c: Likewise.
48296         * sunrpc/clnt_perr.c: Likewise.
48297         * sunrpc/clnt_raw.c: Likewise.
48298         * sunrpc/clnt_simp.c: Likewise.
48299         * sunrpc/clnt_tcp.c: Likewise.
48300         * sunrpc/clnt_udp.c: Likewise.
48301         * sunrpc/clnt_unix.c: Likewise.
48302         * sunrpc/des_crypt.c: Likewise.
48303         * sunrpc/des_soft.c: Likewise.
48304         * sunrpc/get_myaddr.c: Likewise.
48305         * sunrpc/getrpcport.c: Likewise.
48306         * sunrpc/key_call.c: Likewise.
48307         * sunrpc/key_prot.c: Likewise.
48308         * sunrpc/openchild.c: Likewise.
48309         * sunrpc/pm_getmaps.c: Likewise.
48310         * sunrpc/pm_getport.c: Likewise.
48311         * sunrpc/pmap_clnt.c: Likewise.
48312         * sunrpc/pmap_prot.c: Likewise.
48313         * sunrpc/pmap_prot2.c: Likewise.
48314         * sunrpc/pmap_rmt.c: Likewise.
48315         * sunrpc/rpc/auth.h: Likewise.
48316         * sunrpc/rpc/auth_unix.h: Likewise.
48317         * sunrpc/rpc/clnt.h: Likewise.
48318         * sunrpc/rpc/des_crypt.h: Likewise.
48319         * sunrpc/rpc/key_prot.h: Likewise.
48320         * sunrpc/rpc/netdb.h: Likewise.
48321         * sunrpc/rpc/pmap_clnt.h: Likewise.
48322         * sunrpc/rpc/pmap_prot.h: Likewise.
48323         * sunrpc/rpc/pmap_rmt.h: Likewise.
48324         * sunrpc/rpc/rpc.h: Likewise.
48325         * sunrpc/rpc/rpc_des.h: Likewise.
48326         * sunrpc/rpc/rpc_msg.h: Likewise.
48327         * sunrpc/rpc/svc.h: Likewise.
48328         * sunrpc/rpc/svc_auth.h: Likewise.
48329         * sunrpc/rpc/types.h: Likewise.
48330         * sunrpc/rpc/xdr.h: Likewise.
48331         * sunrpc/rpc_clntout.c: Likewise.
48332         * sunrpc/rpc_cmsg.c: Likewise.
48333         * sunrpc/rpc_common.c: Likewise.
48334         * sunrpc/rpc_cout.c: Likewise.
48335         * sunrpc/rpc_dtable.c: Likewise.
48336         * sunrpc/rpc_hout.c: Likewise.
48337         * sunrpc/rpc_main.c: Likewise.
48338         * sunrpc/rpc_parse.c: Likewise.
48339         * sunrpc/rpc_parse.h: Likewise.
48340         * sunrpc/rpc_prot.c: Likewise.
48341         * sunrpc/rpc_sample.c: Likewise.
48342         * sunrpc/rpc_scan.c: Likewise.
48343         * sunrpc/rpc_scan.h: Likewise.
48344         * sunrpc/rpc_svcout.c: Likewise.
48345         * sunrpc/rpc_tblout.c: Likewise.
48346         * sunrpc/rpc_util.c: Likewise.
48347         * sunrpc/rpc_util.h: Likewise.
48348         * sunrpc/rpcinfo.c: Likewise.
48349         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48350         * sunrpc/rpcsvc/key_prot.x: Likewise.
48351         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48352         * sunrpc/rpcsvc/mount.x: Likewise.
48353         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48354         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48355         * sunrpc/rpcsvc/rex.x: Likewise.
48356         * sunrpc/rpcsvc/rstat.x: Likewise.
48357         * sunrpc/rpcsvc/rusers.x: Likewise.
48358         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48359         * sunrpc/rpcsvc/spray.x: Likewise.
48360         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48361         * sunrpc/rtime.c: Likewise.
48362         * sunrpc/svc.c: Likewise.
48363         * sunrpc/svc_auth.c: Likewise.
48364         * sunrpc/svc_authux.c: Likewise.
48365         * sunrpc/svc_raw.c: Likewise.
48366         * sunrpc/svc_run.c: Likewise.
48367         * sunrpc/svc_simple.c: Likewise.
48368         * sunrpc/svc_tcp.c: Likewise.
48369         * sunrpc/svc_udp.c: Likewise.
48370         * sunrpc/svc_unix.c: Likewise.
48371         * sunrpc/svcauth_des.c: Likewise.
48372         * sunrpc/xcrypt.c: Likewise.
48373         * sunrpc/xdr.c: Likewise.
48374         * sunrpc/xdr_array.c: Likewise.
48375         * sunrpc/xdr_float.c: Likewise.
48376         * sunrpc/xdr_mem.c: Likewise.
48377         * sunrpc/xdr_rec.c: Likewise.
48378         * sunrpc/xdr_ref.c: Likewise.
48379         * sunrpc/xdr_sizeof.c: Likewise.
48380         * sunrpc/xdr_stdio.c: Likewise.
48382         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48383         handling.
48385 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48387         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48389 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48391         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48392         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48393         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48394         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48395         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48396         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48397         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48398         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48400         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48401         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48402         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48403         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48404         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48406 2010-07-26  Anton Blanchard  <anton@samba.org>
48408         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48409         * malloc/arena.c (heap_trim): Likewise.
48411 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48413         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48414         here.  Not...
48415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48416         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48418 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48420         * sysdeps/i386/elf/Makefile: New file.
48422 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48424         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48425         from fanotify_init.
48426         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48429 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48431         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48432         of strncasecmp_l.
48433         * sysdeps/multiarch/strcmp.S: Likewise.
48435 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48437         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48438         strncase_l-nonascii.
48439         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48440         Add strncase_l-ssse3.
48441         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48442         * sysdeps/x86_64/strcmp.S: Likewise.
48443         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48444         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48445         * sysdeps/x86_64/strncase.S: New file.
48446         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48447         * sysdeps/x86_64/strncase_l.S: New file.
48448         * string/Makefile (strop-tests): Add strncasecmp.
48449         * string/test-strncasecmp.c: New file.
48451         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48452         warning.
48454         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48455         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48457 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48459         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48461 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48463         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48464         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48465         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48467 2010-05-01  Alan Modra  <amodra@gmail.com>
48469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48470         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48471         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48472         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48473         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48474         tidying.  Don't tail-call __sigjmp_save for static lib.
48475         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48476         save location.
48477         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48478         (CALL_MCOUNT): Add eh info, and nop after bl.
48479         (TAIL_CALL_SYSCALL_ERROR): New macro.
48480         (PSEUDO_RET): Use it.
48481         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48482         Correct save location of integer regs and cr.
48483         (_dl_profile_resolve): Correct cr save location.  Delete nops
48484         after bl when SHARED.  Reduce cfi size a little by better
48485         placement of cfi directives.
48486         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48487         make a stack frame.  Instead use parm save area as a temp.
48488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48489         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48491         Don't make a stack frame for parent, use parm save area.
48492         Increase child stack frame to 112 bytes.  Don't save unused reg,
48493         and adjust reg usage.  Set up cfi on error recovery and
48494         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48496         (__makecontext): Add dummy nop after jump to exit.
48497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48498         Use correct parm save area and cr save, reduce stack frame.
48499         Correct cfi for possible PSEUDO_RET frame setup.
48500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48501         Branch to local label emitted by PSEUDO_RET rather than
48502         __syscall_error.
48504 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48506         [BZ #11904]
48507         * locale/programs/locale.c (print_assignment): New function.
48508         (show_locale_vars): Use it.
48510 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48512         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48513         field.
48514         (struct statfs64): Likewise.
48515         (_STATFS_F_FLAGS): Define.
48516         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48517         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48518         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48519         (ST_VALID): Define locally.
48520         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48521         __statvfs_getflags, use the provided value.
48522         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48523         __ASSUME_STATFS_F_FLAGS.
48525         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48527         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48528         Add sys/fanotify.h.
48529         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48530         fanotify_mask for GLIBC_2.13.
48531         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48532         fanotify_init and fanotify_mark.
48533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48534         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48536         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48537         Add prlimit.
48538         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48539         prlimit64 for GLIBC_2.13.
48540         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48541         prlimit64.
48542         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48543         syscall.
48544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48545         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48546         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48547         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48549         add prlimit alias.
48550         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48552         [BZ #11903]
48553         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48554         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48556         * nss/Makefile: Add rules to build and run tst-nss-test1.
48557         * shlib-versions: Add entry for libnss_test1.
48558         * nss/nss_test1.c: New file.
48559         * nss/tst-nss-test1.c: New file.
48561         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48562         (__nss_configure_lookup): Set appropriate entry in
48563         __nss_configure_lookup to true.
48564         * nss/nsswitch.h: Define enum with indeces of databases in
48565         databases and __nss_database_custom arrays.  Declare
48566         __nss_database_custom.
48567         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48568         to avoid using nscd when custom rules are installed.
48569         * nss/getXXbyYY_r.c: Likewise.
48570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48572         * nss/nss_files/files-parse.c: Whitespace fixes.
48574 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48576         [BZ #11883]
48577         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48578         * posix/fnmatch_loop.c: Likewise.
48580 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48582         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48583         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48584         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48585         * Versions.def [GLIBC_2.13]: Add.
48587 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48589         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48590         Also fail if tpwd after pwuid call is NULL.
48592 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48594         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48595         when converting to ms.
48597 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48599         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48600         EOPNOTSUPP errors with ENOTTY.
48601         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48602         EOPNOTSUPP errors with ENOTTY.
48604 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48606         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48607         Add strcasecmp_l-ssse3.
48608         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48609         strcasecmp.
48610         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48611         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48612         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48614 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48616         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48618         * string/Makefile (strop-tests): Add strcasecmp.
48619         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48620         strcasecmp_l-nonascii.
48621         (gen-as-const-headers): Add locale-defines.sym.
48622         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48623         * sysdeps/x86_64/strcasecmp.S: New file.
48624         * sysdeps/x86_64/strcasecmp_l.S: New file.
48625         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48626         * sysdeps/x86_64/locale-defines.sym: New file.
48627         * string/test-strcasecmp.c: New file.
48629         * string/test-strcasestr.c: Test both ends of the range of characters.
48630         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48632 2010-07-29  Roland McGrath  <roland@redhat.com>
48634         [BZ #11856]
48635         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48637 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48639         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48640         for ld.so.
48642 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48644         * manual/memory.texi (Malloc Tunable Parameters): Document
48645         M_PERTURB.
48647 2010-07-26  Roland McGrath  <roland@redhat.com>
48649         [BZ #11840]
48650         * configure.in (-fgnu89-inline check): Set and substitute
48651         gnu89_inline, not libc_cv_gnu89_inline.
48652         * configure: Regenerated.
48653         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48655 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48657         * string/test-strnlen.c: New file.
48658         * string/Makefile (strop-tests): Add strnlen.
48659         * string/tester.c (test_strnlen): Add a few more test cases.
48660         * string/tst-strlen.c: Better error reporting.
48662         * sysdeps/x86_64/strnlen.S: New file.
48664 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48666         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48667         lower-latency instructions.
48669 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48671         * string/test-strcasestr.c: New file.
48672         * string/test-strstr.c: New file.
48673         * string/Makefile (strop-tests): Add strstr and strcasestr.
48674         * string/str-two-way.h: Don't undefine MAX.
48675         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48677 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48680         strcasestr-nonascii.
48681         (CFLAGS-strcasestr-nonascii.c): Define.
48682         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48683         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48684         Remove unused attribute.
48686 2010-07-20  Roland McGrath  <roland@redhat.com>
48688         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48689         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48690         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48691         like LD_HWCAP_MASK can disable hwcaps.
48693 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48695         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48697 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48699         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48700         call in strcasestr.
48701         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48702         __strcasestr_sse42_nonascii.
48703         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48704         strcasestr-nonascii.c.
48705         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48707 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48709         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48710         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48711         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48712         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48714 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48717         fcntl.
48719 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48721         [BZ #11577]
48722         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48723         dl_signal_cerror.
48725 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48727         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48728         _PC_PIPE_BUF using F_GETPIPE_SZ.
48730 2010-07-05  Roland McGrath  <roland@redhat.com>
48732         * manual/arith.texi (Rounding Functions): Fix rint description
48733         implicit in round description.
48735 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48737         * elf/Makefile: Fix linking for a few tests to make recent linker
48738         happy.
48740 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48742         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48743         $(common-objpfx)libc_nonshared.a.
48745 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48747         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48748         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48749         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48750         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48751         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48752         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48753         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48754         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48769         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48770         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48771         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48772         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48773         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48774         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48775         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48776         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48777         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48778         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48779         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48780         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48796 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48798         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48799         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48800         * string/memmove.c (memmove): Renamed to ...
48801         (MEMMOVE): ...this.  Default to memmove.
48802         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48803         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48804         (END_CHK): Define.
48805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48806         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48807         mempcpy-ssse3-back memmove-ssse3-back.
48808         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48810         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48811         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48812         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48813         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48814         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48815         * sysdeps/x86_64/multiarch/memmove.c: New file.
48816         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48817         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48818         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48819         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48820         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48822         Define.
48823         (index_Fast_Copy_Backward): Define.
48824         (HAS_ARCH_FEATURE): Define.
48825         (HAS_FAST_REP_STRING): Define.
48826         (HAS_FAST_COPY_BACKWARD): Define.
48828 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48830         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48831         Restore proper fallback handling.
48833 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48835         [BZ #11701]
48836         * posix/group_member.c (__group_member): Correct checking loop.
48838         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48839         OOM in getpwuid_r correctly.  Return error number when the caller
48840         should return, otherwise -1.
48841         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48842         call returning > 0 value.
48843         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48845 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48847         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48848         libc_nonshared.a from targets in modules-names.
48850 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48852         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48853         requires it.
48855 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48858         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48860         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48862 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48864         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48866 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48868         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48869         and F_GETPIPE_SZ.
48870         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48871         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48874         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48875         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48877 2010-06-14  Roland McGrath  <roland@redhat.com>
48879         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48881 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48883         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48884         __REDIRECT followed by __THROW.
48885         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48886         * posix/getopt.h (getopt): Likewise.
48888 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48890         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48891         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48892         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48893         in AT_FLAGS.
48894         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48895         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48897 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48899         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48901 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48903         [BZ #11640]
48904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48905         Properly check family and model.
48907 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48909         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48911 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48913         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48915 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48917         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48918         symbol reference.
48920 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48922         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48923         symbol reference.
48925 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48927         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48928         and internal_recvmmsg.
48929         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48930         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48931         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48932         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48934         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48935         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48936         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48938 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48940         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48942 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48944         POWER7 optimizations.
48945         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48946         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48948 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48950         * version.h: Update for 2.13 development version.
48952 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48954         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48955         exceptions.  Return 0.
48957 2010-05-07  Roland McGrath  <roland@redhat.com>
48959         * elf/ldconfig.c (main): Add a const.
48961 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48963         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48964         (args_options): Add no-idn option.
48965         (ahosts_keys_int): Add idn_flags to ai_flags.
48966         (parse_option): Handle 'i' option to clear idn_flags.
48968         * malloc/malloc.c (_int_free): Possible race in the most recently
48969         added check.  Only act on the data if no current modification
48970         happened.
48972 See ChangeLog.17 for earlier changes.