Fix semaphore destruction (bug 12674).
[glibc.git] / ChangeLog
blob030491a270a2afc781a20a29b61811dfd5c98f0c
1 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2             Carlos O'Donell  <carlos@redhat.com>
4         [BZ #12674]
5         * nptl/sem_waitcommon.c: New file.
6         * nptl/sem_wait.c: Include sem_waitcommon.c.
7         (__sem_wait_cleanup, do_futex_wait): Remove.
8         (__new_sem_wait): Adapt.
9         (__new_sem_trywait): New function.
10         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
11         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13         (sem_timedwait): Adapt.
14         * nptl/sem_post.c (__new_sem_post): Adapt.
15         (futex_wake): New function.
16         (__old_sem_post): Add release MO fence.
17         * nptl/sem_open.c (sem_open): Adapt.
18         * nptl/sem_init.c (__new_sem_init): Adapt.
19         (futex_private_if_supported): New function.
20         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21         (__old_sem_getvalue): Add using previous code.
22         * sysdeps/nptl/internaltypes.h: Adapt.
23         * nptl/tst-sem13.c (do_test): Adapt.
24         * nptl/tst-sem11.c (main): Adapt.
25         * nptl/sem_trywait.c: Remove.
26         * nptl/DESIGN-sem.txt: Remove.
27         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
28         (gen-as-const-headers): Remove structsem.sym.
29         * nptl/structsem.sym: Remove.
30         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
35         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
41         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
42         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
43         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
44         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
45         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
46         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
47         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
48         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
49         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
50         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
51         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
53 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
55         * INSTALL: Regenerated.
57         * po/libc.pot: Regenerated.
59 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
60             Sandra Loosemore  <sandra@codesourcery.com>
61             Andrew Jenner  <andrew@codesourcery.com>
62             Joseph Myers  <joseph@codesourcery.com>
63             Nathan Sidwell  <nathan@codesourcery.com>
65         * NEWS: Mention new Nios II port.
66         * sysdeps/nios2/Implies: New file.
67         * sysdeps/nios2/Makefile: New file.
68         * sysdeps/nios2/Subdirs: New file.
69         * sysdeps/nios2/Versions: New file.
70         * sysdeps/nios2/__longjmp.S: New file.
71         * sysdeps/nios2/abort-instr.h: New file.
72         * sysdeps/nios2/backtrace.c: New file.
73         * sysdeps/nios2/bits/endian.h: New file.
74         * sysdeps/nios2/bits/fenv.h: New file.
75         * sysdeps/nios2/bits/link.h: New file.
76         * sysdeps/nios2/bits/setjmp.h: New file.
77         * sysdeps/nios2/bsd-_setjmp.S: New file.
78         * sysdeps/nios2/bsd-setjmp.S: New file.
79         * sysdeps/nios2/configure: New generated file.
80         * sysdeps/nios2/configure.ac: New file.
81         * sysdeps/nios2/crti.S: New file.
82         * sysdeps/nios2/crtn.S: New file.
83         * sysdeps/nios2/dl-init.c: New file.
84         * sysdeps/nios2/dl-machine.h: New file.
85         * sysdeps/nios2/dl-sysdep.h: New file.
86         * sysdeps/nios2/dl-tls.h: New file.
87         * sysdeps/nios2/dl-trampoline.S: New file.
88         * sysdeps/nios2/gccframe.h: New file.
89         * sysdeps/nios2/gmp-mparam.h: New file.
90         * sysdeps/nios2/jmpbuf-offsets.h: New file.
91         * sysdeps/nios2/jmpbuf-unwind.h: New file.
92         * sysdeps/nios2/ldsodefs.h: New file.
93         * sysdeps/nios2/libc-tls.c: New file.
94         * sysdeps/nios2/libm-test-ulps: New file.
95         * sysdeps/nios2/machine-gmon.h: New file.
96         * sysdeps/nios2/math-tests.h: New file.
97         * sysdeps/nios2/math_private.h: New file.
98         * sysdeps/nios2/memusage.h: New file.
99         * sysdeps/nios2/nptl/Makefile: New file.
100         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
101         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
102         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
103         * sysdeps/nios2/nptl/pthreaddef.h: New file.
104         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
105         * sysdeps/nios2/nptl/tls.h: New file.
106         * sysdeps/nios2/preconfigure: New file.
107         * sysdeps/nios2/s_fma.c: New file.
108         * sysdeps/nios2/s_fmaf.c: New file.
109         * sysdeps/nios2/setjmp.S: New file.
110         * sysdeps/nios2/sfp-machine.h: New file.
111         * sysdeps/nios2/sotruss-lib.c: New file.
112         * sysdeps/nios2/stackguard-macros.h: New file.
113         * sysdeps/nios2/stackinfo.h: New file.
114         * sysdeps/nios2/start.S: New file.
115         * sysdeps/nios2/sysdep.h: New file.
116         * sysdeps/nios2/tls-macros.h: New file.
117         * sysdeps/nios2/tst-audit.h: New file.
118         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
119         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
120         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
121         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
122         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
123         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
124         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
125         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
126         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
127         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
128         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
129         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
130         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
131         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
132         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
133         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
134         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
135         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
136         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
137         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
138         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
139         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
140         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
141         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
142         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
143         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
144         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
145         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
146         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
147         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
148         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
149         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
150         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
151         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
152         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
153         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
154         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
155         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
156         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
157         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
158         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
159         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
160         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
161         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
163 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
165         [BZ #17844]
166         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
167         (getutent): Use weak_alias in non SHARED case
168         and default_symbol_version in SHARED case.
169         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
170         (getutent_r, pututline): Likewise.
171         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
172         (getutid): Likewise.
173         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
174         (getutid_r): Likewise.
175         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
176         (getutline): Likewise.
177         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
178         (getutline_r): Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
180         (updwtmp): Likewise.
182 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
184         [BZ #17848]
185         * sysdeps/s390/s390-32/memcmp.S
186         (memcmp_g5): Rename to __memcmp_g5.
187         * sysdeps/s390/s390-32/memcpy.S
188         (memcpy_g5): Rename to __memcpy_g5.
189         Jump to __memcpy_mvcle instead of memcpy_mvcle.
190         (memcpy_mvcle) Rename to __memcpy_mvcle.
191         * sysdeps/s390/s390-32/memset.S
192         (memset_g5): Rename to __memset_g5.
193         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
194         (IFUNC_RESOLVE): Prefix ifunc-resolve function
195         and use prefixed functions.
196         * sysdeps/s390/s390-32/multiarch/memcmp.S
197         (memcmp_z196): Rename to __memcmp_z196.
198         (memcmp_z10): Rename to __memcmp_z10.
199         (memcmp): Set alias to __memcmp_g5.
200         (bcmp): Set alias to __memcmp_g5.
201         * sysdeps/s390/s390-32/multiarch/memcpy.S
202         (memcpy_z196): Rename to __memcpy_z196.
203         Jump to __memcpy_mvcle instead of memcpy_mvcle.
204         (memcpy_z10): Rename to __memcpy_z10.
205         Jump to __memcpy_mvcle instead of memcpy_mvcle.
206         (memcpy): Set alias to __memcpy_g5.
207         * sysdeps/s390/s390-32/multiarch/memset.S
208         (memset_z196): Rename to __memset_z196.
209         Jump to __memset_mvcle instead of memset_mvcle.
210         (memset_z10): Rename to __memset_z10.
211         Jump to __memset_mvcle instead of memset_mvcle.
212         (memset_mvcle) Rename to __memset_mvcle.
213         (memset): Set alias to __memset_g5.
214         * sysdeps/s390/s390-64/memcmp.S
215         (memcmp_z900): Rename to __memcmp_z900.
216         * sysdeps/s390/s390-64/memcpy.S
217         (memcpy_z900): Rename to __memcpy_z900.
218         Jump to __memcpy_mvcle instead of memcpy_mvcle.
219         (memcpy_mvcle) Rename to __memcpy_mvcle.
220         * sysdeps/s390/s390-64/memset.S
221         (memset_z900): Rename to __memset_z900.
222         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
223         (IFUNC_RESOLVE): Prefix ifunc-resolve function
224         and use prefixed functions.
225         * sysdeps/s390/s390-64/multiarch/memcmp.S
226         (memcmp_z196): Rename to __memcmp_z196.
227         (memcmp_z10): Rename to __memcmp_z10.
228         (memcmp): Set alias to __memcmp_z900.
229         (bcmp): Set alias to __memcmp_z900.
230         * sysdeps/s390/s390-64/multiarch/memcpy.S
231         (memcpy_z196): Rename to __memcpy_z196.
232         Jump to __memcpy_mvcle instead of memcpy_mvcle.
233         (memcpy_z10): Rename to __memcpy_z10.
234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
235         (memcpy): Set alias to __memcpy_z900.
236         * sysdeps/s390/s390-64/multiarch/memset.S
237         (memset_z196): Rename to __memset_z196.
238         Jump to __memset_mvcle instead of memset_mvcle.
239         (memset_z10): Rename to __memset_z10.
240         Jump to __memset_mvcle instead of memset_mvcle.
241         (memset_mvcle) Rename to __memset_mvcle.
242         (memset): Set alias to __memset_z900.
244 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
246         [BZ #17748]
247         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
248         __fesetenv instead of fesetenv.
250 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
252         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
253         macro.
255 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
258         regression on LE.
260         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
261         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
262         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
263         strncmp-power8 object.
264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
265         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
266         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
267         * NEWS: Update.
269 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
270             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
272         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
273         trailing byte check.
275 2015-01-13  David S. Miller  <davem@davemloft.net>
277         * include/signal.h (__sigreturn): Guard with __USE_MISC.
279 2015-01-13  Roland McGrath  <roland@hack.frob.com>
281         * login/logout.c (logout): Use memset rather than bzero.
282         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
283         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
284         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
285         (_gethtbyaddr): Likewise.
286         * locale/programs/simple-hash.c (bcopy): Macro removed.
288 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
290         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
291         Add strcmp-power8 object.
292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
293         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
294         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
295         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
296         __strcmp_power8 implementation.
297         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
298         * NEWS: Update.
300         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
301         Add strncpy-power8 and stpncpy-power8 objects.
302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
303         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
304         implementations.
305         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
306         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
307         __stpncpy_power8 implementation.
308         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
309         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
310         __strncpy_power8 implementation.
311         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
312         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
313         * NEWS: Update.
315         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
316         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
317         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
320         strncat-power8 object.
321         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
322         __strcat_power8 implementation.
323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
324         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
325         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
326         optimized strcat for power8.
328         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
329         strcpy-power8 and stpcpy-power8 objects.
330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
331         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
332         implementations.
333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
334         multiarch stpcpy implementation for POWER8.
335         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
336         multiarch strcpy implementation for POWER8.
337         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
338         __strcpy_power8 function.
339         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
340         stpcpy for POWER8.
341         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
342         strcpy for POWER8.
343         * NEWS: Update.
345 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
347         [BZ #16009]
348         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
349         weights and rules. Use do_xfrm_cached if data fits in cache,
350         do_xfrm otherwise.  Moved former main loop to...
351         * (do_xfrm_cached): New function.
352         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
353         find_idx, find_position and stack_push.
354         * (find_idx): New function.
355         * (find_position): Likewise.
356         * localedata/sort-test.sh: Added test run for do_xfrm.
357         * localedata/xfrm-test.c (main): Added command line option
358         -nocache to run the test with strings that are too large for
359         the STRXFRM cache.
361 2015-01-13  Torvald Riegel  <triegel@redhat.com>
363         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
364         variable to lll_futex_wake call, not the value itself.
366 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
368         [BZ #17803]
369         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
370         twom64.  Adjust value to 0x1p-64L.
371         (__scalblnl): Only return standard underflowing result for K <=
372         -64 not K <= -63; adjust exponent for underflowing result by 64
373         not 63.
374         * math/libm-test.inc (scalbn_test_data): Add more tests.
375         (scalbln_test_data): Likewise.
377         [BZ #17834]
378         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
379         0x1p63L.
380         (__scalblnl): Get new exponent of adjusted subnormal value from ES
381         not HX.
382         * math/libm-test.inc (scalbn_test_data): Add more tests.
383         (scalbln_test_data): Likewise.
385 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
386             Stefani Seibold  <stefani@seibold.net>
388         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
389         (sysdep_routines): Add dl-vdso here, ...
390         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
391         (sysdep_routines): ... not here.
392         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
393         fallback when vDSO is not presented.
394         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
395         Define with libc_hidden_proto/libc_hidden_data_def definitions.
396         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
397         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
398         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
399         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
400         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
401         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
402         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
403         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
404         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
405         fallback configurable symbol when vDSO is not available.
406         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
407         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
408         be able to redefine fallback symbol when vDSO is not available.
409         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
410         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
412 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
414         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
415         (TLS_INIT_TP): Add tm_capable initialization.
416         (TLS_DEFINE_INIT_TP): Likewise.
417         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
418         TCB.
419         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
420         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
421         calculation.
422         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
423         transactoion is lock elision is built and TCB tm_capable is set.
424         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
426         (INTERNAL_SYSCALL_NCS): Likewise.
427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
428         (INTERNAL_SYSCALL_NCS): Likewise.
429         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
431         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
432         for powerpc.
433         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
434         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
435         and remove it for 32 bits case.
436         [pthread_rwlock_t] (__rwelision): New field for lock elision.
437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
438         initialization.
439         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
440         Disable lock elision with rdlocks if elision is not available.
442         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
443         (sysdep_routines): Add lock elision objects.
444         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
445         [pthread_mutex_t] (__spins): Rework to add lock elision field.
446         [pthread_mutex_t] (__elision): Add field.
447         [__PTHREAD_SPINS]: Adjust to init lock elision field.
448         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
449         elision definitions for powerpc.
450         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
451         implementation of lock elision for powerpc.
452         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
453         implementation of timed lock elision for powerpc.
454         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
455         implementation of trylock with lock elision for powerpc.
456         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
457         implementaion of unlock for lock elision for powerpc.
458         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
459         automatic enable lock elision for mutexes.
460         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
461         transaction execution definitions for powerpc.
462         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
463         definitions.
464         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
465         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
466         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
467         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
468         * NEWS: Update.
470 2015-01-09  Roland McGrath  <roland@hack.frob.com>
472         * sysdeps/posix/shm-directory.c: Use <> rather than ""
473         for #include of <shm-directory.h>.
475 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
477         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
478         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
480 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
482         [BZ #17791]
483         * NEWS: Mention bug fix.
484         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
485         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
486         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
488 2015-01-09  Torvald Riegel <triegel@redhat.com>
490         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
492 2015-01-09  Torvald Riegel <triegel@redhat.com>
494         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
496 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
498         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
499         pointer and cast to uintptr_t.
501 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
503         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
504         removed.
505         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
507 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
509         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
510         of 0.
512 2015-01-08  Roland McGrath  <roland@hack.frob.com>
514         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
515         <nptl/pthreadP.h> instead.
516         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
518         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
519         already defined.
520         [__SIGRTMIN] (init): Function removed.
521         [__SIGRTMIN] (initialized): Variable removed.
522         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
523         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
524         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
525         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
526         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
527         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
528         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
529         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
530         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
531         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
532         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
533         * sysdeps/nptl/allocrtsig.c: New file.
534         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
535         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
536         * sysdeps/generic/testrtsig.h: File removed.
538         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
539         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
541         * nptl/nptl-init.c (pthread_functions): Conditionalize
542         .ptr__nptl_setxid initialization on [SIGSETXID].
544         * sysdeps/nptl/sys/procfs.h: New file.
545         * nptl_db/Makefile (headers): Add it.
546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
548         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
549         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
550         * nptl/pthread_attr_setaffinity.c: Include it.
551         * nptl/pthread_setattr_default_np.c: Likewise.
552         * nptl/check-cpuset.h: New file.
554 2015-01-08  Richard Henderson  <rth@redhat.com>
556         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
557         (CFLAGS-tst-execstack-prog.c): Likewise.
558         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
560 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
561             Sandra Loosemore  <sandra@codesourcery.com>
562             Andrew Jenner  <andrew@codesourcery.com>
563             Joseph Myers  <joseph@codesourcery.com>
564             Nathan Sidwell  <nathan@codesourcery.com>
566         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
567         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
568         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
569         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
570         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
571         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
572         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
573         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
574         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
575         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
576         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
577         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
578         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
579         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
580         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
581         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
582         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
584 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
586         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
587         timespec struct member in syscall macro.
588         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
589         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
590         first timeval struct member in syscall macro.
591         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
593 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
595         [BZ #17748]
596         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
597         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
598         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
599         __feupdateenv and define as weak alias of __feupdateenv.  Use
600         libm_hidden_weak.
601         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
602         libm_hidden_def.
603         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
604         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
605         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
607         libm_hidden_def.
608         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
609         __feupdateenv and define as weak alias of __feupdateenv.  Use
610         libm_hidden_weak.
611         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
612         libm_hidden_def.
613         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
614         __feupdateenv and define as weak alias of __feupdateenv.  Use
615         libm_hidden_weak.
616         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
617         libm_hidden_def.
618         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
619         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
620         (__feupdateenv): Likewise.
621         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
622         __feupdateenv and define as weak alias of __feupdateenv.  Use
623         libm_hidden_weak.
624         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
625         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
626         libm_hidden_def.
627         * sysdeps/tile/math_private.h (__feupdateenv): New inline
628         function.
629         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
630         libm_hidden_def.
631         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
632         __feupdateenv instead of feupdateenv.
633         (default_libc_feupdateenv_test): Likewise.
634         (libc_feresetround_ctx): Likewise.
636 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
638         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
639         prototype.
641 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
643         * posix/regcomp.c (parse_bracket_exp): Initialize type to
644         COLL_SYM in a couple of places to avoid uninitialized variable
645         wanings on tilegx gcc 4.8.2.
647 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
649         * sysdeps/aarch64/strcpy.S: New file.
650         * sysdeps/aarch64/stpcpy.S: New file.
651         * NEWS: Updated.
653 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
655         * sysdeps/aarch64/strrchr.S: New file.
656         * NEWS: Updated.
658 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
660         [BZ #17658]
661         * stdlib/setenv.c: Fix memory leak when setting large,
662         duplicate string.
664 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
666         [BZ #17273]
667         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
668         and tabs from buffer before parsing fstab entry.
669         * misc/tst-mntent.c (main): Add test for mount entry with
670         trailing spaces and tabs.
672 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
674         [BZ #17748]
675         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
676         * math/fesetround.c (fesetround): Rename to __fesetround and
677         define as weak alias of __fesetround.  Use libm_hidden_weak.
678         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
679         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
680         * sysdeps/arm/fesetround.c (fesetround): Likewise.
681         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
682         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
683         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
684         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
685         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
686         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
687         __fesetround_inline.
688         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
689         __fesetround_inline instead of __fesetround.
690         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
691         __fesetround and define as weak alias of __fesetround.  Use
692         libm_hidden_weak.  Call __fesetround_inline instead of
693         __fesetround.
694         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
695         __fesetround and define as weak alias of __fesetround.  Use
696         libm_hidden_weak.
697         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
698         Likewise.
699         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
700         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
701         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
702         * sysdeps/tile/math_private.h (__fesetround): New inline function.
703         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
704         __fesetround and define as weak alias of __fesetround.  Use
705         libm_hidden_weak.
706         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
707         __fesetround instead of fesetround.
708         (default_libc_feholdexcept_setround): Likewise.
709         (libc_feholdsetround_ctx): Likewise.
710         (libc_feholdsetround_noex_ctx): Likewise.
712         [BZ #17748]
713         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
714         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
715         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
716         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
717         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
718         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
719         define as weak alias of __fesetenv.  Use libm_hidden_weak.
720         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
721         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
722         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
723         define as weak alias of __fesetenv.  Use libm_hidden_weak.
724         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
725         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
726         define as weak alias of __fesetenv.  Use libm_hidden_weak.
727         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
728         libm_hidden_def.
729         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
730         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
731         Likewise.
732         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
733         define as weak alias of __fesetenv.  Use libm_hidden_weak.
734         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
735         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
736         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
737         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
738         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
739         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
740         __fesetenv instead of fesetenv.
741         (libc_feresetround_noex_ctx): Likewise.
742         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
743         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
744         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
745         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
746         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
747         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
748         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
749         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
750         (__feupdateenv): Likewise.
751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
752         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
753         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
754         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
756 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
758         [BZ #17806]
759         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
760         addresses have been freed.
762 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
764         * resolv/res_init.c (__res_vinit): Improve comments about nserv
765         and nservall.
767 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
769         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
770         Clean up check_pf allocation pattern. addresses
772 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
774         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
775         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
776         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
777         * nptl/pthread_exit.c (__pthread_exit): Likewise.
778         * nptl/pthread_join.c (pthread_join): Likewise.
779         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
780         * sysdeps/posix/waitid.c (__waitid): Likewise.
781         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
782         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
783         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
784         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
786         Likewise.
787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
788         (__libc_pread64): Likewise.
789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
790         (__libc_pwrite): Likewise.
791         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
792         (__libc_pwrite64): Likewsie.
793         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
794         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
795         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
796         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
797         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
798         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
799         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
801         Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
803         (__libc_pread64): Likewise.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
805         Likewise.
806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
807         (__libc_pwrite64): Likewise.
808         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
809         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
810         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
811         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
812         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
813         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
814         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
815         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
816         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
817         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
818         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
819         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
820         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
821         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
822         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
823         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
824         Likewise.
826 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
828         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
829         (CFLAGS-test-double.c): Likewise.
830         (CFLAGS-test-ldouble.c): Likewise.
831         (CPPFLAGS-test-ifloat.c): Likewise.
832         (CPPFLAGS-test-idouble.c): Likewise.
833         (CPPFLAGS-test-ildoubl.c): Likewise.
834         (CFLAGS-test-test-fenv.c): Remove variable.
835         (CFLAGS-test-misc.c): Likewise.
837 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
839         [BZ #17797]
840         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
841         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
842         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
843         CLOCKS_PER_SEC == 1000000.
844         * time/clocktest.c (main): Replace %ld with %jd and cast to
845         intmax_t.
847 2015-01-05  Roland McGrath  <roland@hack.frob.com>
849         * sysdeps/generic/unwind-resume.h: New file.
850         * sysdeps/gnu/unwind-resume.c: Include it.
851         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
852         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
853         argument list.
854         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
855         global rather than static.
856         (_Unwind_Resume): Update user.
857         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
858         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
859         rather than static.  Add __attribute__ ((cold)).
860         (_Unwind_Resume, __gcc_personality_v0): Update callers.
861         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
862         * sysdeps/arm/arm-unwind-resume.S: New file.
863         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
864         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
865         * sysdeps/arm/Makefile [$(subdir) = csu]
866         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
867         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
868         Add rt-arm-unwind-resume.
869         [$(subdir) = nptl]
870         (libpthread-sysdep_routines, libpthread-shared-only-routines):
871         Add pt-arm-unwind-resume.
872         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
873         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
875 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
877         [BZ #17748]
878         * include/fenv.h (__feholdexcept): Declare.  Use
879         libm_hidden_proto.
880         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
881         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
882         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
883         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
884         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
885         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
886         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
887         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
888         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
889         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
890         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
891         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
892         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
893         (feholdexcept): Likewise.
894         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
895         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
896         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
897         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
898         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
899         __feholdexcept instead of feholdexcept.
900         (default_libc_feholdexcept_setround): Likewise.
902 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
904         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
905         to avoid using stl/str to align destination.
907 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
909         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
911 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
913         [BZ #17796]
914         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
915         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
916         Define as weak alias not strong alias.
918 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
920         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
921         bltzal with addiupc.
922         (RTLD_START): Ditto.
924 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
926         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
927         for __vdso_* functions in declarations.
928         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
929         definitions.
930         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
931         INTERNAL_VSYSCALL): Use struct return types to check for error.
933         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
934         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
935         function with cast from llround().
936         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
937         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
938         Define.
940 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
942         [BZ #17793]
943         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
944         Define as weak alias not strong alias.
946         [BZ #17635]
947         * ctype/ctype-c99.c: New file.  isblank implementation moved from
948         ...
949         * ctype/ctype-extn.c: ... here.
950         (__isblank_l): Move to ...
951         * ctype/ctype-c99_l.c: ... here.  New file.
952         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
953         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
954         Remove variable.
955         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
956         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
957         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
958         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
959         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
961         [BZ #17777]
962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
963         (posix_fadvise64): Define as weak alias not strong alias.
964         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
965         (posix_fallocate64): Likewise.
966         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
967         Remove variable.
968         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
969         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
970         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
971         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
972         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
974 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
976         [BZ #16191]
977         * NEWS: Mention bug fix.
978         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
979         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
980         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
981         (HOST_STACK_END_ADDR): Likewise.
983 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
985         [BZ #17748]
986         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
987         * math/fegetround.c (fegetround): Rename to __fegetround and
988         define as weak alias of __fegetround.  Use libm_hidden_weak.
989         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
990         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
991         * sysdeps/arm/fegetround.c (fegetround): Likewise.
992         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
993         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
994         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
995         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
996         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
997         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
998         Undefine after rather than before function definition; use
999         parentheses around function name in definition.
1000         (__fegetround): Also undefine macro after function definition.
1001         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1002         __fegetround and define as weak alias of __fegetround.  Use
1003         libm_hidden_weak.  Do not undefine as macro.
1004         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1005         Likewise.
1006         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1007         __fegetround and define as weak alias of __fegetround.  Use
1008         libm_hidden_weak.
1009         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1010         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1011         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1012         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1013         __fegetround and define as weak alias of __fegetround.  Use
1014         libm_hidden_weak.
1015         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1016         __fegetround instead of fegetround.
1018         [BZ #17782]
1019         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1020         Condition macro definition on [__USE_MISC].
1022         [BZ #17781]
1023         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1024         (struct sigaction): Change type of sa_flags field to int.
1026         [BZ #17780]
1027         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1028         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1029         __glibc_reserved0.
1031         * nptl/version.c (banner): Use single year in copyright notice.
1033         * NEWS: Update copyright dates.
1034         * catgets/gencat.c (print_version): Likewise.
1035         * csu/version.c (banner): Likewise.
1036         * debug/catchsegv.sh: Likewise.
1037         * debug/pcprofiledump.c (print_version): Likewise.
1038         * debug/xtrace.sh (do_version): Likewise.
1039         * elf/ldconfig.c (print_version): Likewise.
1040         * elf/ldd.bash.in: Likewise.
1041         * elf/pldd.c (print_version): Likewise.
1042         * elf/sotruss.sh: Likewise.
1043         * elf/sprof.c (print_version): Likewise.
1044         * iconv/iconv_prog.c (print_version): Likewise.
1045         * iconv/iconvconfig.c (print_version): Likewise.
1046         * locale/programs/locale.c (print_version): Likewise.
1047         * locale/programs/localedef.c (print_version): Likewise.
1048         * login/programs/pt_chown.c (print_version): Likewise.
1049         * malloc/memusage.sh (do_version): Likewise.
1050         * malloc/memusagestat.c (print_version): Likewise.
1051         * malloc/mtrace.pl: Likewise.
1052         * manual/libc.texinfo: Likewise.
1053         * nptl/version.c (banner): Likewise.
1054         * nscd/nscd.c (print_version): Likewise.
1055         * nss/getent.c (print_version): Likewise.
1056         * nss/makedb.c (print_version): Likewise.
1057         * posix/getconf.c (main): Likewise.
1058         * scripts/test-installation.pl: Likewise.
1059         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1061 2015-01-02  Will Newton  <will.newton@linaro.org>
1063         * sysdeps/arm/armv7/configure: Removed.
1064         * sysdeps/arm/armv7/configure.ac: Likewise.
1066 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1068         * All files with FSF copyright notices: Update copyright dates
1069         using scripts/update-copyrights.
1070         * intl/plural.c: Regenerated.
1071         * locale/programs/charmap-kw.h: Likewise.
1072         * locale/programs/locfile-kw.h: Likewise.
1074 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1076         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1078 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1080         [BZ #17748]
1081         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1082         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1083         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1084         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1085         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1086         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1087         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1088         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1089         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1090         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1091         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1092         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1093         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1094         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1095         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1096         libm_hidden_def.
1097         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1098         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1099         Likewise.
1100         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1101         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1103         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1104         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1105         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1106         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1107         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1108         __fegetenv instead of fegetenv.
1109         (libc_feholdsetround_noex_ctx): Likewise.
1111 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1113         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1114         (Elf_MIPS_ABIFlags_v0): New structure.
1115         (EF_MIPS_FP64): Define.
1116         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1117         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1118         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1119         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1120         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1121         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1122         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1123         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1124         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1125         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1126         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1127         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1128         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1129         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1130         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1131         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1132         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1133         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1134         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1135         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1136         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1137         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1138         field.
1139         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1140         EF_MIPS_FP64.
1141         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1142         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1143         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1144         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1145         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1146         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1147         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1148         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1149         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1150         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1151         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1152         record the current FP ABI extension.
1153         (mips-mode-switch): Define to show if kernel headers support mode
1154         switching.
1155         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1156         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1157         supported SYSV ABI version to 3.
1158         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1159         feature.
1161 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1162             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1164         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1165         path.
1166         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1168 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1170         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1171         __fegetround and redefine to call __fegetround.  Remove condition
1172         on [!__NO_MATH_INLINES].
1173         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1174         function.
1175         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1176         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1177         Remove macro.
1178         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1179         instead of <fenv_libc.h>.
1180         (__llrintl): Call fegetround instead of __fegetround.
1181         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1182         instead of <fenv_libc.h>.
1183         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1184         (__lrintl): Call fegetround instead of __fegetround.
1185         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1186         instead of <fenv_libc.h>.
1187         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1188         (__rintl): Call fegetround instead of __fegetround.
1190 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1192         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1193         arrays.
1195 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1197         [BZ #17775]
1198         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1199         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1200         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1202 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1204         * sysdeps/i386/tls-macros.h: Include <features.h>.
1205         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1206         (TLS_IE): Likewise.
1207         (TLS_LD): Likewise.
1208         (TLS_GD): Likewise.
1209         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1210         define for GCC >= 5.0.
1212 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1214         * math/test-fenv.c (test_single_exception, set_single_exc,
1215         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1216         feexcp_mask_test, feenable_test, fe_single_test): Add
1217         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1218         case where they are not used.
1219         * math/libm-test.inc: Likewise.
1220         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1221         unused in the absence of FP rounding/exception support.
1222         * stdio-common/tst-printf-round.c: Likewise.
1223         * stdlib/tst-strtod-round.c: Likewise.
1224         * stdlib/tst-strtod-underflow.c: Likewise.
1226 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1228         [BZ #17723]
1229         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1230         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1231         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1232         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1233         libm_hidden_weak.
1234         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1235         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1236         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1237         libm_hidden_def.
1238         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1239         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1240         libm_hidden_weak.
1241         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1242         Likewise.
1243         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1244         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1245         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1246         libm_hidden_weak.
1247         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1248         libm_hidden_def.
1249         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1250         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1251         (__feraiseexcept): Likewise.
1252         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1253         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1254         libm_hidden_weak.
1255         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1256         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1257         libm_hidden_def.
1258         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1259         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1260         Use libm_hidden_def.
1261         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1262         libm_hidden_def.
1263         (feraiseexcept): Define as weak not strong alias.  Use
1264         libm_hidden_weak.
1265         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1266         New inline function.  Factored out of ...
1267         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1268         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1269         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1270         feraiseexcept.
1271         * math/w_acos.c (__acos): Likewise.
1272         * math/w_asin.c (__asin): Likewise.
1273         * math/w_ilogb.c (__ilogb): Likewise.
1274         * math/w_j0.c (y0): Likewise.
1275         * math/w_j1.c (y1): Likewise.
1276         * math/w_jn.c (yn): Likewise.
1277         * math/w_log.c (__log): Likewise.
1278         * math/w_log10.c (__log10): Likewise.
1279         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1280         * sysdeps/aarch64/fpu/math_private.h
1281         (libc_feupdateenv_test_aarch64): Likewise.
1282         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1283         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1284         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1285         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1286         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1287         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1288         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1289         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1290         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1291         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1293 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1295         [BZ #17732]
1296         * io/test-utime.c (main): Replace %ld with %jd and cast to
1297         intmax_t.
1298         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1299         * nptl/tst-mutex5.c: Include <stdint.h>.
1300         (do_test): Replace %ld with %jd and cast to intmax_t.
1301         * posix/tst-regex.c (run_test): Likewise.
1302         (run_test_backwards): Likewise.
1303         * rt/tst-clock.c: Include <stdint.h>.
1304         (clock_test): Replace %ld with %jd and cast to intmax_t.
1305         * rt/tst-cpuclock1.c: Include <stdint.h>.
1306         (do_test): Replace %lu with %ju and cast to uintmax_t.
1307         * rt/tst-cpuclock2.c: Include <stdint.h>.
1308         (do_test): Replace %lu with %ju and cast to uintmax_t.
1309         * rt/tst-mqueue1.c: Include <stdint.h>.
1310         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1311         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1312         intmax_t.
1313         * rt/tst-mqueue4.c (do_test): Likewise.
1314         * rt/tst-timer4.c: Include <stdint.h>.
1315         (check_ts): Replace %ld with %jd and cast to intmax_t.
1316         (do_test): Likewise.
1317         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1318         and cast to intmax_t.
1319         * sysdeps/pthread/tst-timer.c (main): Likewise.
1320         * time/clocktest.c (main): Likewise.
1321         * time/tst-posixtz.c (do_test): Likewise.
1322         * timezone/tst-timezone.c (main): Likewise.
1324 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1325             H.J. Lu  <hongjiu.lu@intel.com>
1327         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1328         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1329         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1330         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1331         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1332         version if bit_Fast_Unaligned_Load is set.
1333         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1334         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1335         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1336         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1337         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1338         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1340         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1341         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1342         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1343         to 4.
1344         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1345         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1346         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1347         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1349 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1351         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1352         instead of #if to avoid a Wundef warning.
1353         * stdlib/tst-limits.c (do_test): Likewise.
1355         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1356         parallel other exception macros.
1357         (fegetenv): Convert from macro to extern inline so that it applies
1358         retroactively to inline functions already seen by the compiler.
1359         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1361         * posix/Makefile (before-compile): Use $(objpfx) for
1362         posix-conf-vars-def.h.
1364 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1366         * posix/getconf.c (main): Use size_t for type of I.
1367         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1368         NSPEC.
1370         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1371         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1372         * posix/posix-envs.def: Likewise.
1373         * sysdeps/posix/sysconf.c: Likewise.
1374         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1375         (specs): Remove array.
1376         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1377         array.
1379         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1380         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1381         (__sysconf): Use CONF_IS_* macros.
1383         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1384         ($(objpfx)posix-conf-vars-def.h): New target.
1385         * posix/posix-conf-vars.list: New file.
1386         * posix/posix-conf-vars.h: New file.
1387         * posix/confstr.c: Include posix-conf-vars.h.
1388         (confstr): Use CONF_IS_* macros.
1389         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1390         CONF_IS_* macros.
1391         * scripts/gen-posix-conf-vars.awk: New file.
1393 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1395         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1396         fegetround): Add no-op macros to avoid linknamespace issues.
1398         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1399         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1401         * sysdeps/unix/sysv/linux/tile/sysdep.h
1402         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1403         assembly-specific section to avoid a redefinition warning.
1405         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1406         long before casting to pointer to avoid a cast warning.
1408 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1410         * sysdeps/tile/tilegx/Implies: New file.
1412 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1414         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1416 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1418         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1420 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1422         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1423         not define.
1424         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1425         <kernel-features.h>.
1426         (__utimes) [__NR_utimes]: Make code unconditional.
1427         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1428         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1429         (__ASSUME_UTIMES): Do not undefine.
1430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1431         (__ASSUME_UTIMES): Likewise.
1432         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1433         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1434         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1435         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1437 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1439         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1441 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1443         [BZ #17747]
1444         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1445         alias to weak alias for j0l, y0l.
1446         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1447         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1449         [BZ #17746]
1450         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1451         conversion.
1453 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1455         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1456         to zero if not already defined.
1458 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #17724]
1461         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1462         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1463         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1464         (char *) casts added.
1465         * sysdeps/ieee754/k_standardf.c: New file.
1466         * sysdeps/ieee754/k_standardl.c: Likewise.
1467         * math/Makefile (libm-support): Remove k_standard.
1468         (libm-calls): Add k_standard.
1470 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1472         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1473         Optimize to avoid an unnecessary FPCR read.
1475 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1477         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1478         Optimize to reduce FPCR/FPSR accesses.
1480 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1482         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1483         Call libc_fetestexcept_aarch64.
1485 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1487         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1488         Call libc_fesetround_aarch64.
1490 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1492         [BZ #17733]
1493         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1494         (__bind): Do not define as weak alias.
1495         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1496         define.
1497         (__getsockname): Do not define as weak alias.
1499 2014-12-22  Will Newton  <will.newton@linaro.org>
1501         * manual/install.texi: Document that we require bison 2.7
1502         or above.
1503         * INSTALL: Regenerate.
1504         * configure.ac: Use AC_CHECK_PROG_VER instead of
1505         AC_PATH_PROG when checking for bison and check for
1506         version 2.7 or above.
1507         * configure: Regenerate.
1509 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1511         [BZ #17745]
1512         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1513         * sysdeps/tile/ffsll.c (ffsll): To here.
1515         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1517 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1519         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1520         if not defined.
1521         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1522         definition.
1523         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1524         hidden ___tls_get_addr.
1525         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1526         hidden __tls_get_addr.
1527         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1528         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1529         Likewise.
1531 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1533         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1534         _dl_init call.
1536 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1538         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1539         from "call _dl_init@PLT".
1540         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1542 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1544         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1545         guarantees.
1547 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1549         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1551 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1553         [BZ #17744]
1554         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1555         strnlen.
1557 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1559         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1560         of multu on MIPSr6.
1561         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1562         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1563         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1564         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1565         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1567 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1569         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1570         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1571         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1572         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1573         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1574         mips32r6/mips64r6.
1575         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1577 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1579         * string/strncat.c (STRNCAT): Simplify implementation.
1581 2014-12-19  David S. Miller  <davem@davemloft.net>
1583         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1584         access the quad as both a long double and as a series of 4 words.
1586         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1587         link_map->l_info array access.
1589 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1591         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1593         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1594         * math/atest-exp2.c (TIMEOUT): Likewise.
1595         * math/atest-sincos.c (TIMEOUT): Likewise.
1597 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1599         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1600         -Wno-error with -fno-builtin-lround.
1602 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1604         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1605         Contains futex constants and functions moved over from ...
1606         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1607         <lowlevellock-futex.h>.
1608         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1609         (lll_timedwait_tid): Add comments and parentheses around macro
1610         arguments.
1612 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1615         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1616         (__lll_private_flag): Remove.
1617         (lll_futex_wait): Likewise.
1618         (lll_futex_timed_wait): Likewise.
1619         (lll_futex_wake): Likewise.
1620         (lll_futex_requeue): Likewise.
1621         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1622         (__lll_timedwait_tid): Spell out argument names.
1623         (lll_timedwait_tid): Add comments and parentheses around macro
1624         arguments.
1625         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1626         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1628 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1630         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1631         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1632         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1633         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1634         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1635         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1636         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1637         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1638         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1639         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1640         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1641         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1642         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1643         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1644         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1645         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1646         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1647         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1648         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1650 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1652         * sysdeps/x86_64/x32/Makefile: New file.
1654 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1656         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1657         1L with (mp_limb_t) 1.
1659 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1661         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1662         * nptl/libc_pthread_init.c: ... here.
1663         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1664         * nptl/register-atfork.c: ... here.
1666         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1667         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1668         Use assert_perror to check its return value.
1669         (__gai_create_helper_thread): Likewise.
1671         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1673         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1675 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1677         [BZ #17725]
1678         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1679         __profil_counter.
1680         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1681         Likewise.
1682         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1683         Likewise.
1684         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1685         Likewise.
1686         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1687         (profil_counter): Likewise.
1688         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1689         (profil_counter): Likewise.
1690         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1691         Likewise.
1692         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1693         Likewise.
1694         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1695         (profil_counter): Likewise.
1696         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1697         Likewise.
1698         [!__profil_counter] (profil_counter): Define as weak alias of
1699         __profil_counter.
1700         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1701         (profil_counter): Rename to __profil_counter.
1702         [!__profil_counter] (profil_counter): Define as weak alias of
1703         __profil_counter.
1704         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1705         (profil_counter): Rename to __profil_counter.
1706         [!__profil_counter] (profil_counter): Define as weak alias of
1707         __profil_counter.
1708         * sysdeps/posix/profil.c: Update comment referring to
1709         profil_counter.
1710         (__profil): Use __profil_counter instead of profil_counter.
1711         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1712         __profil_counter.  Use __profil_counter_ushort and
1713         __profil_counter_uint in definitions.
1714         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1715         instead of profil_counter_uint and profil_counter_ushort.
1717         [BZ #17722]
1718         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1719         define as weak alias of __inet_makeaddr.
1720         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1721         as weak alias of __inet_addr.
1722         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1723         as weak alias of __inet_pton.  Use libc_hidden_weak.
1724         * include/arpa/inet.h (__inet_pton): Declare.  Use
1725         libc_hidden_proto.
1726         (inet_makeaddr): Don't use libc_hidden_proto.
1727         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1728         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1729         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1730         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1731         Remove variable.
1732         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1733         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1735 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1737         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1739 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1741         * stdio-common/bug-vfprintf-nargs.c (do_test):
1742         Cast value to intptr_t to avoid format warning
1743         for usage with PRIdPTR printing macro.
1745 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1747         * libio/tst-widetext.c (do_test):
1748         Use format type %td instead of %Zd for ptrdiff_t
1749         in order to avoid format warning.
1751 2014-12-17  Andreas Schwab  <schwab@suse.de>
1753         * nscd/mem.c (gc): Add size_t cast to match printf format.
1755 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1757         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1758         (init): Apply PTR_MANGLE to pointers before storing them.
1759         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1760         before using them.
1762 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1764         [BZ #17719]
1765         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1766         define as weak alias of __memrchr.
1767         (__memrchr): Do not define as strong alias of memrchr.
1768         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1769         Remove variable.
1770         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1771         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1772         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1774         [BZ #17717]
1775         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1776         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1777         (if_indextoname): Rename to __if_indextoname and define as weak
1778         alias of __if_indextoname.  Use libc_hidden_weak.
1779         (if_freenameindex): Rename to __if_freenameindex and define as
1780         weak alias of __if_freenameindex.
1781         (if_nameindex): Rename to __if_nameindex and define as weak alias
1782         of __if_nameindex.
1783         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1784         __if_nametoindex and define as weak alias of __if_nametoindex.
1785         Use libc_hidden_weak.
1786         (if_freenameindex): Rename to __if_freenameindex and define as
1787         weak alias of __if_freenameindex.
1788         (if_nameindex): Rename to __if_nameindex and define as weak alias
1789         of __if_nameindex.
1790         (if_indextoname): Rename to __if_indextoname and define as weak
1791         alias of __if_indextoname.  Use libc_hidden_weak.
1792         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1793         __if_nametoindex and define as weak alias of __if_nametoindex.
1794         Use libc_hidden_weak.
1795         (if_freenameindex): Rename to __if_freenameindex and define as
1796         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1797         (if_nameindex_netlink): Use __if_freenameindex instead of
1798         if_freenameindex.
1799         (if_nameindex): Rename to __if_nameindex and define as weak alias
1800         of __if_nameindex.  Use libc_hidden_weak.
1801         (if_indextoname): Rename to __if_indextoname and define as weak
1802         alias of __if_indextoname.  Use libc_hidden_weak.
1803         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1804         libc_hidden_proto.
1805         [!_ISOMAC] (__if_freenameindex): Likewise.
1806         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1807         if_nametoindex.
1808         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1809         variable.
1810         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1811         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1812         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1813         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1814         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1815         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1816         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1818         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1819         Remove variable.
1820         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1821         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1823 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1825         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1826         subscript above bounds'
1828         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1829         bounds.
1831 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1833         * libio/tst-fopenloc.c: Use test-skeleton.c.
1835         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1836         (entry): Rename to ITEM.
1837         (do_test, comp): Adjust.
1839         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1841 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1843         * string/tester.c: Include <libc-internal.h>.
1844         (test_memset): Ignore -Wmemset-transposed-args.
1846 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1848         * misc/tst-mntent2.c (do_test): Fix warning.
1850 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1852         * elf/tst-unique4lib.cc(a): Mark as used.
1854 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1856         [BZ #17630]
1857         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1858         names.
1860 2014-12-16  Allan McRae  <allan@archlinux.org>
1862         * stdio-common/Makefile (tests): Re-add bug26.
1864 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1866         [BZ #17657]
1867         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1868         static array.
1870 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1872         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1873         (__lll_lock_wait): Likewise.
1874         (__lll_timedlock_wait): Likewise.
1875         (__lll_timedwait_tid): Likewise.
1876         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1877         (__lll_robust_timedlock_wait): Likewise.
1878         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1879         (lll_cond_trylock): Likewise.
1880         (__lll_lock): Likewise.
1881         (__lll_robust_lock): Likewise.
1882         (__lll_cond_lock): Likewise.
1883         (lll_robust_cond_lock): Likewise.
1884         (__lll_timedlock): Likewise.
1885         (__lll_robust_timedlock): Likewise.
1886         (__lll_unlock): Likewise.
1887         (__lll_robust_unlock): Likewise.
1888         (lll_wait_tid): Likewise.
1889         (lll_timedwait_tid): Likewise.
1891 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1893         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1895 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1897         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1899 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1901         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1902         * stdio-common/tst-sprintf.c: Likewise.
1904 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1906         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1908 2014-12-15  Jeff Law  <law@redhat.com>
1910         [BZ #16617]
1911         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1912         on the heap.  (CVE-2012-3406)
1913         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1914         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1915         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1917 2014-12-15  Will Newton  <will.newton@linaro.org>
1919         * manual/install.texi: Bump required version of texinfo
1920         to 4.7 from 4.5.
1921         * INSTALL: Regenerated.
1922         * configure.ac: Check for makeinfo version 4.7 and above.
1923         * configure: Regenerated.
1925 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1927         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1928         PREFIX, string constant to insert between directory and name.
1929         * sysdeps/posix/shm_open.c: Update caller.
1930         * sysdeps/posix/shm_unlink.c: Likewise.
1931         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1932         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1933         (SEM_SHM_PREFIX): New macro.
1934         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1935         [$(have-thread-library) = no].
1936         * nptl/Makefile (libpthread-routines): Add shm-directory.
1937         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1938         * sysdeps/nptl/shm-directory.h: New file.
1939         * sysdeps/posix/shm-directory.c
1940         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1941         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1942         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1943         INTERNAL_SYSCALL.
1944         (__where_is_shmfs): Function removed.
1945         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1946         Variables removed.
1947         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1948         Use SHM_GET_NAME.
1949         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1951         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1952         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1953         unconditional for use inside libpthread.
1954         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1956 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1958         * nptl/pthread_getaffinity.c: New file.
1959         * nptl/pthread_setaffinity.c: New file.
1960         * nptl/pthread_getname.c: New file.
1961         * nptl/pthread_setname.c: New file.
1963         * nptl/pthread_create.c (START_THREAD_DEFN)
1964         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1966 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969         * resolv/res_send.c (send_vc): Disable warning resplen may
1970         be used uninitialized.
1972 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1974         * nptl/tst-mutex6.c
1975         (ATTR_NULL): New define checks ATTR against NULL.
1976         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1977         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1979 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1981         [BZ #17581]
1982         * malloc/hooks.c
1983         (mem2mem_check): Revert my previous change.
1984         (malloc_check_get_size): Revert my previous change.
1985         (mem2chunk_check): Revert my previous change.
1987 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1989         * sysdeps/posix/shm-directory.c: New file.
1990         * sysdeps/posix/shm-directory.h: New file.
1991         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1992         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1993         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1994         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1995         Transmute EPERM to EACCES.
1996         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1997         from ...
1998         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1999         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2001 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2003         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2004         pointer and cast to uintptr_t.
2005         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2006         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2007         Add cast to avoid warning.
2008         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2010 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2012         * nptl/semaphore.h: Move to ...
2013         * sysdeps/pthread/semaphore.h: ... here.
2014         * Makefile (installed-headers): Change nptl/semaphore.h to
2015         sysdeps/pthread/semaphore.h.
2017 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2019         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2020         generated error format strings.
2022         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2023         -Wformat-extra-args warnings for scanf formats.
2024         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2025         test of zero-length format (duh).
2026         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2027         corner-case scanf format test.
2028         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2029         generated fprintf format string.
2030         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2031         corner-case sprintf format tests.
2032         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2033         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2034         -Wformat-extra-args warnings throughout.
2035         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2036         (CFLAGS-scanf4.c): Likewise.
2037         (CFLAGS-scanf7.c): Likewise.
2038         (CFLAGS-tst-sprintf.c): Likewise.
2039         (CFLAGS-tst-printf.c): Likewise.
2040         (CFLAGS-tst-printfsz.c): Likewise.
2042 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2044         * include/cpio.h: New file.
2045         * include/fmtmsg.h: Likewise.
2047         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2048         corresponding format argument to size_t.
2049         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2050         arguments.
2051         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2052         corresponding format argument to size_t.
2053         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2054         arguments.
2055         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2056         corresponding format argument to size_t.
2057         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2058         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2059         (CFLAGS-tst-mbswcs2.c): Likewise.
2060         (CFLAGS-tst-mbswcs3.c): Likewise.
2061         (CFLAGS-tst-mbswcs4.c): Likewise.
2062         (CFLAGS-tst-mbswcs5.c): Likewise.
2063         (CFLAGS-tst-trans.c): Likewise
2065 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2067         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2068         rather than assuming they won't contain any '%'s.
2070 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2072         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2073         inhibit_loop_to_libcall to avoid recursive calls.
2074         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2075         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2077 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2079         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2080         prototype.
2082 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2084         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2085         integer value instead of boolean.
2087 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2089         * malloc/malloc.c: Fix powerof2 check.
2091 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2093         * locale/programs/locfile.h (maybe_swap_uint32):
2094         Remove inline and add unused attribute.
2096 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2099         Truncating assembler expression to a .long expression.
2101 2014-12-11  Andreas Schwab  <schwab@suse.de>
2103         * elf/rtld.c (struct map_args): Constify str member.
2104         (do_preload): Constify fname argument.
2106 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2109         constants definition.
2111 2014-12-11  Andreas Schwab  <schwab@suse.de>
2113         [BZ #16657]
2114         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2115         FORCE_ELISION instead of DO_ELISION.
2116         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2117         Remove.
2118         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2119         Likewise.
2121         * iconvdata/gconv-modules: Remove duplicate entry.
2123 2014-12-11  Will Newton  <will.newton@linaro.org>
2125         Merge gettext 0.19.3 into intl/.
2127         This involves a number of cosmetic changes to comments
2128         and ANSI function definitions and prototypes throughout
2129         all the files. The gettext copyright header is used but
2130         with the date ranges taken from the glibc copy.
2132         * NEWS: Add gettext merge to 2.21.
2133         * intl/bindtextdom.c: Switch to gettext copyright.
2134         Use ANSI definitions and prototypes.
2135         Use gl_* locking primitives rather than __libc_* ones.
2136         Use __builtin_expect rather than __glibc_likely/unlikely.
2137         * intl/dcgettext.c: Switch to gettext copyright.
2138         Use ANSI definitions and prototypes.
2139         * intl/dcigettext.c: Switch to gettext copyright.
2140         Use ANSI definitions and prototypes.
2141         (INTDIV0_RAISES_SIGFPE): New define.
2142         Use gl_* locking primitives rather than __libc_* ones.
2143         Include eval-plural.h instead of plural-eval.c.
2144         Use __builtin_expect rather than __glibc_likely/unlikely.
2145         * intl/dcngettext.c: Switch to gettext copyright.
2146         Use ANSI definitions and prototypes.
2147         * intl/dgettext.c: Likewise.
2148         * intl/dngettext.c: Likewise.
2149         * intl/plural-eval.c: Renamed to...
2150         * intl/eval-plural.h: ...this.
2151         * intl/explodename.c: Switch to gettext copyright.
2152         Use ANSI definitions and prototypes.
2153         (_nl_explode_name): Use strchr instead of __rawmemchr.
2154         * intl/finddomain.c: Switch to gettext copyright.
2155         Use ANSI definitions and prototypes.
2156         Use gl_* locking primitives rather than __libc_* ones.
2157         (_nl_find_domain): Use malloc rather than alloca for
2158         allocation of temporary locale name.
2159         * intl/gettext.c: Switch to gettext copyright.
2160         Use ANSI definitions and prototypes.
2161         * intl/gettextP.h: Switch to gettext copyright.
2162         Use ANSI definitions and prototypes.
2163         Use gl_* locking primitives rather than __libc_* ones.
2164         * intl/gmo.h: Switch to gettext copyright.
2165         (struct sysdep_string): Move struct segment_pair outside of
2166         struct definition.
2167         * intl/hash-string.c: Use ANSI definitions and prototypes.
2168         * intl/hash-string.h: Switch to gettext copyright.
2169         Use ANSI definitions and prototypes.
2170         * intl/l10nflist.c: Switch to gettext copyright.
2171         Use ANSI definitions and prototypes.
2172         (_nl_normalize_codeset): Avoid integer overflow.
2173         * intl/loadinfo.h: Switch to gettext copyright.
2174         Use ANSI definitions and prototypes.
2175         (LIBINTL_DLL_EXPORTED): New define.
2176         (PATH_SEPARATOR): New define.
2177         * intl/loadmsgcat.c: Switch to gettext copyright.
2178         * intl/localealias.c: Switch to gettext copyright.
2179         Use ANSI definitions and prototypes.
2180         (_nl_expand_alias): Use PATH_SEPARATOR.
2181         * intl/ngettext.c: Switch to gettext copyright.
2182         Use ANSI definitions and prototypes.
2183         * intl/plural-exp.c: Likewise.
2184         * intl/plural-exp.h: Switch to gettext copyright.
2185         Use ANSI definitions and prototypes.
2186         (struct expression): Move definition of enum operator outside
2187         of struct definition.
2188         * intl/plural.c: Regenerate.
2189         * intl/plural.y: Switch to gettext copyright.
2190         Use ANSI definitions and prototypes.
2191         Port to bison 3.0.
2192         * intl/textdomain.c: Switch to gettext copyright.
2193         Use ANSI definitions and prototypes.
2194         Use gl_* locking primitives rather than __libc_* ones.
2196 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2198         * debug/warning-nop.c: Add used atrribute.
2200 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2202         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2204         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2205         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2206         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2208 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         [BZ #17634]
2212         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2213         Undefine after defining function.  Define as weak alias of
2214         __wcschr.  Use libc_hidden_weak.
2215         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2216         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2217         (libc_hidden_def): Also define __GI___wcschr alias.
2218         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2219         __wcschr and define as weak alias of __wcschr.
2220         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2221         __wcschr.
2222         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2223         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2224         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2225         libc_hidden_weak.  Do not use libc_hidden_def.
2226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2227         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2228         __GI___wcschr alias.
2229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2230         [IS_IN (libc)] (wcschr): Define as macro expanding to
2231         __redirect_wcschr.
2232         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2233         [IS_IN (libc)] (__wcschr_power6): Likewise.
2234         [IS_IN (libc)] (__wcschr_power7): Likewise.
2235         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2236         instead of wcschr.
2237         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2238         __libc_wcschr.
2239         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2240         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2241         __wcschr and define as weak alias of __wcschr.  Use
2242         libc_hidden_builtin_def.
2243         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2244         as weak alias of __wcschr.  Use libc_hidden_weak.
2245         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2246         wcschr.
2247         * time/era.c (_nl_init_era_entries): Likewise.
2248         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2249         variable.
2250         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2251         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2253 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2255         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2256         format for long int variable.
2258 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2260         [BZ #10672]
2261         * manual/search.texi: (Array Sort Function): Remove claim how to make
2262         qsort stable.
2264 2014-12-10  Andreas Schwab  <schwab@suse.de>
2266         [BZ #12847]
2267         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2268         user-controlled locks.
2270 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2272         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2273         register.
2275 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2277         * configure.ac (--disable-werror): New configure option.
2278         (enable_werror): New AC_SUBST.
2279         * configure: Regenerated.
2280         * config.make.in (enable-werror): New variable.
2281         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2282         -Wno-error=undef.
2283         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2284         * manual/install.texi (Configuring and compiling): Document
2285         --disable-werror.
2286         * INSTALL: Regenerated.
2287         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2288         (CFLAGS-tst-chk2.c): Likewise.
2289         (CFLAGS-tst-chk3.c): Likewise.
2290         (CFLAGS-tst-chk4.cc): Likewise.
2291         (CFLAGS-tst-chk5.cc): Likewise.
2292         (CFLAGS-tst-chk6.cc): Likewise.
2293         (CFLAGS-tst-lfschk1.c): Likewise.
2294         (CFLAGS-tst-lfschk2.c): Likewise.
2295         (CFLAGS-tst-lfschk3.c): Likewise.
2296         (CFLAGS-tst-lfschk4.cc): Likewise.
2297         (CFLAGS-tst-lfschk5.cc): Likewise.
2298         (CFLAGS-tst-lfschk6.cc): Likewise.
2300         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2301         (main): Disable -Wdeprecated-declarations around calls to
2302         register_printf_function.
2304         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2305         (do_test): Disable -Wdiv-by-zero around some calls to
2306         fwrite_unlocked and fread_unlocked.
2308         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2309         (DIAG_POP_NEEDS_COMMENT): Likewise.
2310         (_DIAG_STR1): Likewise.
2311         (_DIAG_STR): Likewise.
2312         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2313         * stdio-common/bug21.c: Include <libc-internal.h>.
2314         (do_test): Disable -Wformat around call to sscanf.
2315         * stdio-common/scanf14.c: Include <libc-internal.h>.
2316         (main): Disable -Wformat around some calls to scanf functions.
2318 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2320         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2322 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2324         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2325         stack variable alignment.
2327 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2329         [BZ #17682]
2330         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2331         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2332         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2333         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2334         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2335         __getrlimit instead of getrlimit.
2336         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2337         __gettimeofday instead of gettimeofday.
2338         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2339         Likewise.
2340         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2341         Likewise.
2342         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2343         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2344         Remove variable.
2345         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2346         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2348 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2350         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2351         for wide-character tests.
2353 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2355         * io/openat64.c: #include <libc-internal.h>
2356         (__openat64): Prototypify.  Use ignore_value on MODE.
2357         * io/openat.c: Likewise.
2358         * misc/reboot.c: #include <libc-internal.h>
2359         (reboot): Prototypify.  Use ignore_value on HOWTO.
2360         * misc/ptrace.c: #include <libc-internal.h>
2361         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2363 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2365         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2366         XPG4, UNIX98 and XOPEN2K.
2367         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2368         Remove variable.
2369         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2371 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2373         * libio/fileops.c: Use ISO C style for function definitions.
2374         * libio/iofopen.c: Likewise.
2375         * libio/wfileops.c: Likewise.
2377         [BZ #17653]
2378         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2379         offset on EOF.
2380         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2381         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2382         (fgets_func): Function pointer to fgets and fgetws.
2383         (do_ftell_test): Add test to verify ftell value after read
2384         EOF.
2385         (do_test): Set fgets_func.
2387         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2388         O_TRUNC flag for w and w+ modes.
2389         (do_rewind_test): Likewise.
2390         (do_ftell_test): Likewise.
2391         (do_write_test): Likewise.
2393         [BZ #17647]
2394         * libio/fileops.c (do_ftell): Seek only when there are
2395         unflushed writes.
2396         * libio/wfileops.c (do_ftell_wide): Likewise.
2397         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2398         test case.
2399         (do_one_test): Call it.
2401 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2403         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2404         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2405         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2406         Remove variable.
2407         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2408         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2409         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2411 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2413         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2414         Remove variable.
2415         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2417         [BZ #17668]
2418         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2419         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2420         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2421         __freeifaddrs.  Use libc_hidden_weak.
2422         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2423         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2424         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2425         __freeifaddrs.  Use libc_hidden_weak.
2426         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2427         __getifaddrs and define as weak alias of __getifaddrs.  Use
2428         libc_hidden_weak.
2429         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2430         __freeifaddrs.  Use libc_hidden_weak.
2431         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2432         Remove variable.
2433         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2434         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2436 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2438         [BZ #17601]
2439         * sysdeps/mips/start.S (__start): Use indirect jump to call
2440         __libc_start_main.
2442 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2444         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2446         * nptl/tst-mutex1.c: Include <stdbool.h>.
2447         [!ATTR] (ATTR_NULL): New macro.
2448         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2449         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2450         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2452         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2453         to char *.
2455         [BZ #17665]
2456         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2457         Change conditional to [__USE_MISC].
2459         [BZ #17664]
2460         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2461         fgets_unlocked.
2462         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2463         __fgets_unlocked.
2464         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2465         fgets_unlocked.
2466         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2467         Remove variable.
2468         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2469         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2470         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2471         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2472         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2473         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2474         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2475         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2476         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2478         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2480 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2483         Remove strpbrk objects.
2484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2485         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2486         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2487         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2488         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2489         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2492         Remove strcspn objects.
2493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2494         (__libc_ifunc_impl_list): Remove strcspn implementation.
2495         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2496         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2497         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2498         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2500         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2501         Remove strspn objetcs.
2502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2503         (__libc_ifunc_impl_list): Remove strspn implementation.
2504         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2505         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2506         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2507         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2509 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2511         [BZ #17581]
2512         * malloc/hooks.c
2513         (mem2mem_check): Add a terminator to the chain of checking blocks.
2514         (malloc_check_get_size): Use it here.
2515         (mem2chunk_check): Ditto.
2517 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2519         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2520         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2522 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2524         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2526         * nptl/nptl-init.c: Include libc-internal.h.
2527         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2529         * elf/ldconfig.c (search_dir): Expand comment.
2531 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2533         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2534         variable.
2535         (linknamespace-symlist-stdlibs-tests): Likewise.
2536         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2537         instead of $(objpfx)symlist-stdlibs.
2538         (linknamespace-libs-isoc): New variable.
2539         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2540         (linknamespace-libs-ISO): New variable.
2541         (linknamespace-libs-ISO99): Likewise.
2542         (linknamespace-libs-ISO11): Likewise.
2543         (linknamespace-libs-XPG3): Likewise.
2544         (linknamespace-libs-XPG4): Likewise.
2545         (linknamespace-libs-POSIX): Likewise.
2546         (linknamespace-libs-UNIX98): Likewise.
2547         (linknamespace-libs-XOPEN2K): Likewise.
2548         (linknamespace-libs-POSIX2008): Likewise.
2549         (linknamespace-libs-XOPEN2K8): Likewise.
2550         ($(objpfx)symlist-stdlibs): Replace by
2551         $(linknamespace-symlist-stdlibs-tests).  Use
2552         $(linknamespace-libs-$*) as set of libraries.
2553         ($(linknamespace-header-tests)): Update dependencies.  Use
2554         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2555         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2556         * conform/linknamespace.pl: Remove comment about considering
2557         definitions of symbols from irrelevant libraries.
2559 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2561         [BZ #13862]
2562         * elf/dl-tls.c: Include <atomic.h>.
2563         (oom): Remove #ifdef SHARED/#endif.
2564         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2565         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2566         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2567         big enough.
2568         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2569         * nptl/Makefile (tests): Add tst-stack4.
2570         (modules-names): Add tst-stack4mod.
2571         ($(objpfx)tst-stack4): New.
2572         (tst-stack4mod.sos): Likewise.
2573         ($(objpfx)tst-stack4.out): Likewise.
2574         ($(tst-stack4mod.sos)): Likewise.
2575         (clean): Likewise.
2576         * nptl/tst-stack4.c: New file.
2577         * nptl/tst-stack4mod.c: Likewise.
2579 2014-11-27  J. Brown  <jb999@gmx.de>
2581         * sysdeps/x86/bits/string.h: Add recent CPUs.
2583 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2585         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2586         sigblock.
2588         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2589         feof.
2591         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2592         variable.
2594 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2596         * nscd/connections.c: Include libc-internal.h because of macro
2597         usage ignore_value.
2599 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2601         * string/bits/string3.h (__warn_memset_zero_len): Don't
2602         declare for gcc newer than 5.0.
2603         (memset): Don't test for zero-length __LEN for gcc newer than
2604         5.0.
2606 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2608         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2609         size_t for %zu format.
2611         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2612         difference, not %ju.
2614 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2616         * include/libc-internal.h (ignore_value): New macro.
2617         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2618         with ignore_value.
2620         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2621         definition.
2623         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2624         pthread_cleanup_push to void *.
2626         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2627         Undefine.
2629         [BZ #16619]
2630         [BZ #16740]
2631         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2632         instead of 1L << 52.
2634         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2635         * libio/bug-rewind2.c (do_test): Likewise.
2637         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2638         * debug/test-strcpy_chk-ifunc.c: Likewise.
2639         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2640         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2641         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2642         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2643         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2644         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2645         * Rules [$(multi-arch) = no] (tests): Do not filter out
2646         $(tests-ifunc).
2647         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2648         * debug/Makefile (tests-ifunc): Remove variable.
2649         (tests): Do not add $(tests-ifunc).
2650         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2651         (tests): Do not add $(tests-ifunc).
2652         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2653         [TEST_IFUNC]: Remove conditionals.
2654         * string/test-string.h (TEST_IFUNC): Remove macro.
2655         [TEST_IFUNC]: Remove conditionals.
2657         * string/test-strchr.c [!WIDE] (L): New macro.
2658         [WIDE] (L): Likewise.
2659         (check1): Use CHAR instead of char.  Use L on string and character
2660         constants.
2662 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2664         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2665         tests.
2666         * sysdeps/powerpc/bits/atomic.h
2667         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2668         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2669         (atomic_exchange_and_add_acq): Likewise.
2670         (atomic_exchange_and_add_rel): Likewise.
2671         * sysdeps/powerpc/powerpc32/bits/atomic.h
2672         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2673         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2674         * sysdeps/powerpc/powerpc64/bits/atomic.h
2675         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2676         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2678 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2680         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2681         Change synchronization of __sched_fifo_min_prio and
2682         __sched_fifo_max_prio.
2683         * nptl/pthread_mutexattr_getprioceiling.c
2684         (pthread_mutexattr_getprioceiling): Likewise.
2685         * nptl/pthread_mutexattr_setprioceiling.c
2686         (pthread_mutexattr_setprioceiling): Likewise.
2687         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2688         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2689         Likewise.
2691 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2693         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2694         void.
2696 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2698         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2699         third argument const.
2701 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2703         fnmatch: work around GCC compiler warning bug with uninit var
2704         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2705         This works around a bug with x86-64 GCC 4.9.2 and earlier
2706         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2707         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2708         used uninitialized in this function [-Wmaybe-uninitialized]".
2710 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2712         * posix/bug-regex31.c (main): Return RES not 0.
2714 2014-11-25  Anton Blanchard <anton@samba.org>
2716         * sysdeps/powerpc/bits/atomic.h
2717         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2719 2014-11-24  Sterling Augustine  <saugustine@google.com>
2721         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2723 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2725         [BZ #17608]
2726         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2728 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2730         [BZ #17633]
2731         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2732         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2733         variable.
2734         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2735         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2737 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2739         * string/strncpy.c (strncpy): Improve performance by using memset.
2741 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2743         * string/strcpy.c (strcpy):
2744         Improve performance by using strlen and memcpy.
2746 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2748         * string/strcoll_l.c (get_next_seq): __always_inline.
2749         * string/strcoll_l.c (do_compare): __always_inline.
2751 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2754         defined.
2755         * include/mqueue.h: Likewise.
2756         * include/stdlib.h: Likewise.
2758         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2759         (get_null_defines): Adjust.
2760         * sunrpc/Makefile: Adjust comment.
2761         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2762         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2763         (CFLAGS-interp.c): Likewise.
2764         (CFLAGS-ldconfig.c): Likewise.
2765         (CPPFLAGS-.os): Likewise.
2766         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2767         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2768         * extra-modules.mk (extra-modules.mk): Likewise.
2769         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2770         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2771         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2772         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2773         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2774         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2775         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2776         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2777         * iconvdata/Makefile (CPPFLAGS): Likewise.
2778         (cpp-srcs-left): Add libof for all iconvdata routines.
2779         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2780         * include/assert.h: Likewise.
2781         * include/ctype.h: Likewise.
2782         * include/errno.h: Likewise.
2783         * include/libc-symbols.h: Likewise.
2784         * include/math.h: Likewise.
2785         * include/netdb.h: Likewise.
2786         * include/resolv.h: Likewise.
2787         * include/stdio.h: Likewise.
2788         * include/stdlib.h: Likewise.
2789         * include/string.h: Likewise.
2790         * include/sys/stat.h: Likewise.
2791         * include/wctype.h: Likewise.
2792         * intl/l10nflist.c: Likewise.
2793         * libidn/idn-stub.c: Likewise.
2794         * libio/libioP.h: Likewise.
2795         * nptl/libc_multiple_threads.c: Likewise.
2796         * nptl/pthreadP.h: Likewise.
2797         * posix/regex_internal.h: Likewise.
2798         * resolv/res_hconf.c: Likewise.
2799         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2800         * sysdeps/arm/memmove.S: Likewise.
2801         * sysdeps/arm/sysdep.h: Likewise.
2802         * sysdeps/generic/_itoa.h: Likewise.
2803         * sysdeps/generic/symbol-hacks.h: Likewise.
2804         * sysdeps/gnu/errlist.awk: Likewise.
2805         * sysdeps/gnu/errlist.c: Likewise.
2806         * sysdeps/i386/i586/memcpy.S: Likewise.
2807         * sysdeps/i386/i586/memset.S: Likewise.
2808         * sysdeps/i386/i686/memcpy.S: Likewise.
2809         * sysdeps/i386/i686/memmove.S: Likewise.
2810         * sysdeps/i386/i686/mempcpy.S: Likewise.
2811         * sysdeps/i386/i686/memset.S: Likewise.
2812         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2814         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2815         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2816         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2817         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2818         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2819         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2820         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2822         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2823         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2824         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2825         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2826         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2827         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2828         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2829         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2830         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2831         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2834         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2835         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2836         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2838         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2839         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2840         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2841         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2842         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2845         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2848         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2849         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2850         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2851         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2852         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2853         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2854         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2855         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2856         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2857         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2858         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2859         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2860         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2861         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2862         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2863         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2864         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2865         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2866         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2867         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2868         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2869         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2870         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2871         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2872         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2873         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2874         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2875         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2876         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2877         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2878         * sysdeps/posix/closedir.c: Likewise.
2879         * sysdeps/posix/opendir.c: Likewise.
2880         * sysdeps/posix/readdir.c: Likewise.
2881         * sysdeps/posix/rewinddir.c: Likewise.
2882         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2883         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2884         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2885         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2886         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2887         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2888         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2892         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2893         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2894         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2895         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2896         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2897         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2898         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2899         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2902         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2904         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2905         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2908         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2910         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2915         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2917         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2918         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2919         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2920         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2921         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2922         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2923         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2924         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2925         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2926         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2927         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2928         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2929         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2930         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2931         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2932         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2933         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2936         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2938         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2939         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2940         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2941         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2942         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2944         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2945         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2946         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2947         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2949         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2950         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2951         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2952         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2954         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2955         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2956         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2957         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2958         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2959         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2960         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2961         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2964         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2966         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2967         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2968         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2969         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2970         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2971         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2972         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2973         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2974         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2977         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2978         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2980         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2981         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2982         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2983         * sysdeps/unix/alpha/sysdep.S: Likewise.
2984         * sysdeps/unix/alpha/sysdep.h: Likewise.
2985         * sysdeps/unix/make-syscalls.sh: Likewise.
2986         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2988         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2989         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2990         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2991         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2992         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2993         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2994         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2995         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2996         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2997         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3000         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3001         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3002         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3003         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3004         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3005         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3006         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3008         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3009         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3010         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3011         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3015         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3016         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3020         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3022         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3024         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3025         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3026         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3027         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3028         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3029         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3030         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3033         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3034         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3036         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3037         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3038         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3039         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3040         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3041         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3042         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3044         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3045         * sysdeps/x86_64/memcpy.S: Likewise.
3046         * sysdeps/x86_64/memmove.c: Likewise.
3047         * sysdeps/x86_64/memset.S: Likewise.
3048         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3049         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3050         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3051         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3052         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3053         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3054         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3055         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3056         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3057         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3058         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3059         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3060         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3061         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3063         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3064         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3065         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3066         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3067         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3068         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3069         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3071         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3072         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3073         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3074         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3075         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3076         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3077         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3078         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3079         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3080         * sysdeps/x86_64/strcmp.S: Likewise.
3082         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3084         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3085         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3086         * elf/rtld-Rules: Likewise.
3087         * elf/setup-vdso.h: Likewise.
3088         * include/assert.h: Likewise.
3089         * include/bits/stdlib-float.h: Likewise.
3090         * include/errno.h: Likewise.
3091         * include/sys/stat.h: Likewise.
3092         * include/unistd.h: Likewise.
3093         * sysdeps/aarch64/setjmp.S: Likewise.
3094         * sysdeps/alpha/setjmp.S: Likewise.
3095         * sysdeps/arm/__longjmp.S: Likewise.
3096         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3097         * sysdeps/arm/setjmp.S: Likewise.
3098         * sysdeps/arm/sysdep.h: Likewise.
3099         * sysdeps/generic/_itoa.h: Likewise.
3100         * sysdeps/generic/dl-sysdep.h: Likewise.
3101         * sysdeps/generic/ldsodefs.h: Likewise.
3102         * sysdeps/i386/dl-tls.h: Likewise.
3103         * sysdeps/i386/setjmp.S: Likewise.
3104         * sysdeps/m68k/setjmp.c: Likewise.
3105         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3106         * sysdeps/mach/hurd/opendir.c: Likewise.
3107         * sysdeps/posix/getcwd.c: Likewise.
3108         * sysdeps/posix/opendir.c: Likewise.
3109         * sysdeps/posix/profil.c: Likewise.
3110         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3112         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3113         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3114         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3115         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3117         * sysdeps/s390/dl-tls.h: Likewise.
3118         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3119         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3120         * sysdeps/sh/sh3/setjmp.S: Likewise.
3121         * sysdeps/sh/sh4/setjmp.S: Likewise.
3122         * sysdeps/unix/alpha/sysdep.h: Likewise.
3123         * sysdeps/unix/arm/sysdep.S: Likewise.
3124         * sysdeps/unix/i386/sysdep.S: Likewise.
3125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3126         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3127         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3129         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3130         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3131         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3132         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3133         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3134         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3135         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3136         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3140         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3144         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3145         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3148         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3149         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3152         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3153         * sysdeps/x86_64/setjmp.S: Likewise.
3155         * include/math.h: Use IS_IN instead of IS_IN_libm.
3156         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3157         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3158         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3159         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3160         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3161         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3162         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3163         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3164         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3165         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3166         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3167         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3168         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3169         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3170         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3171         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3172         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3173         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3174         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3175         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3176         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3177         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3178         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3179         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3180         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3181         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3182         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3183         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3184         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3185         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3186         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3187         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3188         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3190         Likewise.
3191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3192         Likewise.
3193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3194         Likewise.
3195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3196         Likewise.
3197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3198         Likewise.
3199         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3200         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3201         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3202         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3203         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3204         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3210         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3211         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3212         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3213         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3214         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3215         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3216         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3217         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3218         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3221         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3223         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3225         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3227         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3228         * nptl/pthreadP.h: Likewise.
3229         * nptl_db/structs.def: Likewise.
3230         * sysdeps/arm/sysdep.h: Likewise.
3231         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3232         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3233         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3234         * sysdeps/unix/alpha/sysdep.h: Likewise.
3235         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3237         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3238         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3239         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3240         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3242         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3243         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3244         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3245         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3246         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3247         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3248         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3253         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3256         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3257         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3258         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3259         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3260         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3262         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3263         * nptl/pthreadP.h: Likewise.
3264         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3265         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3266         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3267         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3268         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3269         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3270         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3271         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3272         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3273         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3274         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3275         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3277         Likewise.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3279         Likewise.
3280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3282         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3285         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3286         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3287         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3289         * dlfcn/dladdr.c: Use IS_IN.
3290         * dlfcn/dladdr1.c: Likewise.
3291         * dlfcn/dlclose.c: Likewise.
3292         * dlfcn/dlerror.c: Likewise.
3293         * dlfcn/dlinfo.c: Likewise.
3294         * dlfcn/dlmopen.c: Likewise.
3295         * dlfcn/dlopen.c: Likewise.
3296         * dlfcn/dlsym.c: Likewise.
3297         * dlfcn/dlvsym.c: Likewise.
3299         * include/ifaddrs.h: Use IS_IN.
3300         * inet/check_pf.c: Likewise.
3301         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3302         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3304         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3305         IS_IN_ldconfig.
3306         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3307         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3309         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3310         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3311         IS_IN (libc).
3313         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3315         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3316         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3317         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3318         * include/libc-symbols.h (IS_IN_LIB): New macro.
3319         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3320         * include/netdb.h: Likewise.
3321         * include/stap-probe.h: Remove all uses of IN_LIB.
3323         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3324         instead of IN_MODULE.
3325         * include/libc-symbols.h (IN_MODULE): Define using
3326         MODULE_NAME.
3327         (PASTE_NAME, PASTE_NAME1): New macros.
3328         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3329         of IN_LIB.
3330         (STAP_PROBE_ASM): Likewise.
3332 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3334         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3335         __mach_init in dlopened libc.
3337 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3339         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3340         * sysdeps/arm/preconfigure: Regenerate.
3342 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3344         * nptl/pthread_create.c (__pthread_create_2_1): Set
3345         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3346         when copying values from IATTR into PD.
3348 2014-11-21  Will Newton  <will.newton@linaro.org>
3349             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3351         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3352         Refactor inline-asm.  Also add comment.
3354         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3355         ElfW macro instead of hardcoded Elf64 types.
3356         (la_aarch64_gnu_pltenter): Likewise.
3357         * sysdeps/aarch64/dl-machine.h
3358         (elf_machine_runtime_setup): Use ElfW(Addr).
3360         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3361         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3362         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3363         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3364         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3365         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3366         (R_AARCH64_TLS_DTPMOD): This.
3367         (R_AARCH64_TLS_DTPREL64): Rename to ...
3368         (R_AARCH64_TLS_DTPREL): This.
3369         (R_AARCH64_TLS_TPREL64): Rename to ...
3370         (R_AARCH64_TLS_TPREL): This.
3371         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3372         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3373         R_AARCH64_TLS_TPREL64.
3374         (elf_machine_rela): Likewise.
3376 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3378         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3379         by setting it to 0.  64b atomics are not supported currently.
3381 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3383         [BZ #16469]
3384         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3385         search domain names.
3387 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3389         [BZ #16469]
3390         * NEWS: Update.
3391         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3392         trailing dot.
3393         * posix/tst-getaddrinfo5.c: New.
3394         * posix/Makefile (tests): Add it.
3396 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3398         [BZ #14498]
3399         * NEWS: Fixed.
3400         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3401         after parsing line but before break_if_match.
3402         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3403         if there is a protocol mismatch.
3405 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3407         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3408         because the potential race is on the user-supplied stream.
3410 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3412         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3413         string literal if not passed a buffer.
3414         * manual/job.texi (ctermid): Update reasoning, note deviation
3415         from posix, suggest mtasurace when not passed a buffer, for
3416         future non-preliminary safety notes.
3418 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3420         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3421         of not passing it a buffer.
3422         Reported by Peng Haitao.
3424 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3426         * manual/Makefile ($(objpfx)stamp-summary): Require
3427         check-safety.sh to pass.
3428         * manual/check-safety.sh: Wish for verification that every
3429         @deftypefn and @deftypefun is followed by a @safety remark.
3431 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3433         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3435         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3436         PTHREAD_CANCEL_ASYNCHRONOUS.
3437         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3438         send SIGCANCEL.
3440         * nptl/default-sched.h: New file.
3441         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3442         * nptl/pthread_create.c: Include it.
3443         (__pthread_create_2_1): Use collect_default_sched instead of making
3444         Linux syscalls here directly.
3446 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3448         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3449         __pthread_once): Use C11 atomics.
3451 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3453         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3455 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3457         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3458         atomic_thread_fence_acquire, atomic_thread_fence_release,
3459         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3460         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3461         atomic_compare_exchange_weak_relaxed,
3462         atomic_compare_exchange_weak_acquire,
3463         atomic_compare_exchange_weak_release,
3464         atomic_exchange_acquire, atomic_exchange_release,
3465         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3466         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3467         atomic_fetch_and_acquire,
3468         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3470 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3472         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3473         USE_ATOMIC_COMPILER_BUILTINS): Define.
3474         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3476         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3478         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3480         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3482         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3484         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3486         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3488         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3490         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3492         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3494         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3496         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3498         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3500         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3502         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3504         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3506         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3508         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3509         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3510         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3512         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3515 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3517         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3518         the sched_priority value here.  It was already checked when the user
3519         called pthread_attr_setschedparam.
3521         * nptl/tst-bad-schedattr.c: New file.
3522         * nptl/Makefile (tests): Add it.
3524 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3525             Florian Weimer  <fweimer@redhat.com>
3526             Joseph Myers  <joseph@codesourcery.com>
3527             Adam Conrad  <adconrad@0c3.net>
3528             Andreas Schwab  <schwab@suse.de>
3529             Brooks  <bmoses@google.com>
3531         [BZ #17625]
3532         * wordexp-test.c (__dso_handle): Add prototype.
3533         (__register_atfork): Likewise.
3534         (__app_register_atfork): New function.
3535         (registered_forks): New global.
3536         (register_fork): New function.
3537         (test_case): Add 3 new tests for WRDE_CMDSUB.
3538         (main): Call __app_register_atfork.
3539         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3540         fork count is non-zero fail the test.
3541         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3542         is set.
3543         (parse_dollars): Remove check for WRDE_NOCMD.
3544         (parse_dquote): Likewise.
3546 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3548         * Makeconfig (built-modules): List non-library modules to be
3549         built.
3550         (module-cppflags): Include libc-modules.h for
3551         everything except shlib-versions.v.i.
3552         (CPPFLAGS): Use it.
3553         (before-compile): Add libc-modules.h.
3554         ($(common-objpfx)libc-modules.h,
3555         $(common-objpfx)libc-modules.stmp): New targets.
3556         (common-generated): Add libc-modules.h and libc-modules.stmp.
3557         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3558         * include/libc-symbols.h: Don't include libc-modules.h.
3559         * include/libc-modules.h: Remove file.
3560         * scripts/gen-libc-modules.awk: New script to generate
3561         libc-modules.h.
3562         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3563         Depend on libc-modules.stmp.
3565         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3567         * Makeconfig (in-module): Get value of libof set for the
3568         translation unit.
3569         (CPPFLAGS): Use $(in-module).
3570         * Makerules: Don't suffix routine names for nonlib.
3571         * include/libc-modules.h: New file.
3572         * include/libc-symbols.h: Include libc-modules.h
3573         (IS_IN): New macro to replace IS_IN_* macros.
3574         * elf/Makefile: Set libof-* for each routine.
3575         * elf/rtld-Rules: Likewise.
3576         * extra-modules.mk: Likewise.
3577         * iconv/Makefile: Likewise.
3578         * iconvdata/Makefile: Likewise.
3579         * locale/Makefile: Likewise.
3580         * malloc/Makefile: Likewise.
3581         * nss/Makefile: Likewise.
3582         * sysdeps/gnu/Makefile: Likewise.
3583         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3584         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3585         * sysdeps/s390/s390-64/Makefile: Likewise.
3586         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3587         CPPFLAGS for nscd instead of nonlib.
3589 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3591         * nptl/createthread.c: New file.
3593         * nptl/createthread.c: Moved ...
3594         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3596         * nptl/createthread.c: Add proper top-line comment.
3597         (do_clone): Folded into ...
3598         (create_thread): ... here.  Take new arguments STOPPED_START and
3599         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3600         increment __nptl_threads, do event-reporting logic, do
3601         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3602         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3603         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3604         just send SIGCANCEL.
3605         * nptl/pthread_create.c: Forward-declare create_thread before
3606         including createthread.c.
3607         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3608         declaration, and new macro START_THREAD_SELF to replace argument.
3609         Remove return statement.
3610         (report_thread_creation): New function.
3611         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3612         synchronization logic, and __nptl_nthreads increment here, around
3613         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3614         PD->parent_cancelhandling here, before create_thread.  When
3615         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3616         __deallocate_stack, and ENOMEM translation here.
3618 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #17616]
3621         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3622         (mptwo): Rename to __mptwo.
3623         (__inv): Use __mptwo instead of mptwo.
3624         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3625         (mptwo): Rename to __mptwo.
3626         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3627         of mpone and __mptwo instead of mptwo.
3628         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3629         instead of mpone.
3630         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3631         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3632         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3633         of mpone and __mptwo instead of mptwo.
3634         (__mpranred): Use __mpone instead of mpone.
3635         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3636         variable.
3637         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3638         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3639         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3640         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3641         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3642         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3643         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3644         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3645         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3646         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3647         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3648         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3649         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3650         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3651         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3652         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3653         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3654         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3655         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3657 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3659         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3660         replace BSD Handler xref with BSD Signal Handling.
3662 2014-11-17  Richard Henderson  <rth@redhat.com>
3664         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3665         (_FP_PACK_RAW_2): Remove.
3666         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3667         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3668         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3669         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3670         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3671         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3672         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3673         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3674         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3675         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3676         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3677         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3678         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3679         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3680         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3681         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3683 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3685         * signal/signal.h [__USE_MISC]
3686         (struct sigvec): Remove type.
3687         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3688         (sigvec): Remove declaration.
3689         * sysdeps/posix/sigvec.c: Moved ...
3690         * signal/sigvec.c: ... here, replacing old file.
3691         (struct sigvec): New type, copied from old signal.h definition.
3692         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3693         (__sigvec): Convert definition to prototype.
3694         (sigvec): Replace weak_alias with compat_symbol.
3695         * signal/Versions (libc: GLIBC_2.21): New version set.
3696         * include/signal.h: Remove __sigvec declaration.
3697         * sysdeps/unix/bsd/sigvec.c: Remove file.
3698         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3699         * manual/signal.texi (BSD Handler): Remove subsection.
3700         Move siginterrupt up to ...
3701         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3702         (Blocking in BSD): Fold subsection into its parent.
3703         * NEWS: Mention sigvec removal.
3705 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3707         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3708         (DLA_FMS): Make definition conditional only on [__FMA4__].
3709         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3710         definition.
3712         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3713         Make definition conditional only on [PROF].
3714         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3715         definition.
3716         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3717         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3719         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3720         !__GNUC__].
3721         * include/signal.h (__sigpause): Move declaration above call to
3722         libc_hidden_proto.
3723         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3724         variable.
3725         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3726         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3728 2014-11-14  David S. Miller  <davem@davemloft.net>
3730         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3731         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3733 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3735         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3736         * configure: Regenerated.
3737         * manual/install.texi (Tools for Compilation): Document a
3738         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3739         compiler verified to work.
3740         * INSTALL: Regenerated.
3742         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3743         redeclare with asm name.
3744         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3745         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3746         including <string.h>.
3747         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3748         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3749         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3750         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3751         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3753         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3755 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3757         * stdlib/strtol.c (__strtol): Use prototype definition.
3759         [BZ #17594]
3760         * stdlib/strtol.c (SYM__): New macro.
3761         (SYM__1): Likewise.
3762         (__strtol): Likewise.
3763         (strtol): Rename to __strtol and define as weak alias of
3764         __strtol.  Use libc_hidden_weak.
3766 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3768         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3769         Use numbered labels in inline assembly.
3771 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3773         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3774         Add setjmp LIBC_PROBE.
3775         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3776         Likewise.
3777         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3778         Add longjmp, longjmp_target LIBC_PROBE.
3779         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3780         Likewise.
3782 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3784         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3785         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3786         to get rid of unused variable warning.
3788 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3790         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3791         Check for unwind_backtrace ==  NULL only in SHARED case.
3792         (__backchain_backtrace): Compile only in SHARED case.
3793         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3794         Likewise.
3795         (__backchain_backtrace): Declare as static.
3797 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3799         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3800         (__libc_multiple_threads_ptr): Variable moved ...
3801         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3803 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3805         * conform/GlibcConform.pm: New file.
3806         * conform/conformtest.pl: Use GlibcConform module.
3807         * conform/linknamespace.pl: New file.
3808         * conform/list-header-symbols.pl: Likewise.
3809         * conform/Makefile (linknamespace-symlists-base): New variable.
3810         (linknamespace-symlists-tests): Likewise.
3811         (linknamespace-header-base): Likewise.
3812         (linknamespace-header-tests): Likewise.
3813         (tests-special): Add new tests.
3814         ($(linknamespace-symlists-tests)): New rule.
3815         (linknamespace-libs): New variable.
3816         ($(objpfx)symlist-stdlibs): New rule.
3817         ($(linknamespace-header-tests)): Likewise.
3818         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3819         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3820         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3821         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3822         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3823         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3824         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3825         (test-xfail-ISO/math.h/linknamespace): Likewise.
3826         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3827         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3828         (test-xfail-ISO/time.h/linknamespace): Likewise.
3829         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3830         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3831         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3832         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3833         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3834         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3835         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3836         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3837         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3838         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3839         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3840         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3841         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3842         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3843         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3844         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3845         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3846         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3847         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3848         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3849         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3850         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3851         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3852         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3853         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3854         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3855         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3856         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3857         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3858         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3859         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3860         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3861         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3862         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3863         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3864         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3865         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3866         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3867         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3868         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3869         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3870         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3871         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3872         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3873         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3874         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3875         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3876         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3877         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3878         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3879         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3880         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3881         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3882         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3883         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3884         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3885         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3886         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3887         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3888         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3889         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3890         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3891         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3892         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3893         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3894         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3895         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3896         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3897         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3898         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3899         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3900         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3901         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3902         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3903         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3904         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3905         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3906         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3907         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3908         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3909         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3910         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3911         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3912         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3913         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3914         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3915         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3916         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3917         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3918         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3919         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3920         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3921         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3922         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3923         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3924         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3925         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3926         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3927         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3928         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3929         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3930         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3931         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3932         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3933         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3934         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3935         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3936         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3937         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3938         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3939         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3940         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3941         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3942         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3943         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3944         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3945         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3946         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3947         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3948         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3949         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3950         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3951         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3952         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3953         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3954         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3955         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3956         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3957         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3958         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3959         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3960         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3961         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3962         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3963         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3964         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3965         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3966         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3967         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3968         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3969         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3970         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3971         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3972         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3973         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3974         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3975         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3976         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3977         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3978         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3980         [BZ #17589]
3981         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3982         of fgets_unlocked.
3984         [BZ #17585]
3985         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3986         (memmem): Rename to __memmem and define as weak alias of
3987         __memmem.  Use libc_hidden_weak.
3988         (__memmem): Use libc_hidden_def.
3989         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3990         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3991         memmem.
3993         [BZ #17582]
3994         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3995         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3996         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3997         and define as weak alias of __fgets_unlocked.  Use
3998         libc_hidden_weak.
3999         (__fgets_unlocked): Use libc_hidden_def.
4000         * include/stdio.h (__fgets_unlocked): Declare.  Use
4001         libc_hidden_proto.
4002         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4003         __fgets_unlocked instead of fgets_unlocked.
4004         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4005         (GET_NPROCS_CONF_PARSER): Likewise.
4006         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4007         (GET_NPROCS_CONF_PARSER): Likewise.
4009         [BZ #17574]
4010         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4011         weak alias of __wmemset.  Use libc_hidden_weak.
4012         (__wmemset): Use libc_hidden_def.
4013         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4014         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4015         of wmemset.
4017         [BZ #17573]
4018         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4019         with asm name __mempcpy.
4020         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4022         [BZ #17572]
4023         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4024         and define as weak alias of __rawmemchr.
4025         (__rawmemchr): Do not define as strong alias of rawmemchr.
4027         [BZ #17571]
4028         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4029         alias of __qsort_r.
4030         (qsort): Call __qsort_r instead of qsort_r.
4031         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4032         (__qsort_r): Declare.  Call libc_hidden_proto.
4033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4034         instead of qsort_r.
4035         * nscd/gai.c (__qsort_r): Define to qsort_r.
4036         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4037         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4038         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4040         [BZ #17570]
4041         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4042         define as weak alias of __malloc_info.
4044         [BZ #17584]
4045         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4046         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4047         (__rewinddir): Use libc_hidden_def.
4048         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4049         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4050         (__rewinddir): Use libc_hidden_def.
4051         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4052         weak alias of __rewinddir.  Don't use libc_hidden_def.
4053         (__rewinddir): Use libc_hidden_def.
4054         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4055         (__rewinddir): Use libc_hidden_proto.
4056         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4057         rewinddir.
4058         (__getcwd): Use __rewinddir instead of rewinddir.
4060         [BZ #17583]
4061         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4062         alias of __fileno.  Use libc_hidden_weak.
4063         (__fileno): Use libc_hidden_def.
4064         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4065         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4066         alias of __ftello.
4067         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4068         __ftello.
4069         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4070         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4071         libc_hidden_def.
4072         (fread_unlocked): Don't use libc_hidden_ver.
4073         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4074         and define as weak alias of __fread_unlocked.  Don't use
4075         libc_hidden_def.
4076         (__fread_unlocked): Use libc_hidden_def.
4077         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4078         (ftello): Don't use libc_hidden_proto.
4079         (__ftello): Declare.  Use libc_hidden_proto.
4080         (fread_unlocked): Don't use libc_hidden_proto.
4081         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4082         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4083         and __ftello instead of fileno, fread_unlocked and ftello.
4085 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4087         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4088         GOT12.
4089         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4090         Likewise.
4091         (_dl_start_user): Likewise.
4092         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4094 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4095             Siddhesh Poyarekar  <siddhesh@redhat.com>
4097         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4098         Move argv and envp down instead of moving argc up.
4099         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4101 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4103         [BZ #17506]
4104         * test-skeleton.c (main): Return successful if one of
4105         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4106         * string/tst-strcoll-overflow.c: Define expected status.
4108 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4110         [BZ #17475]
4111         * locale/iso-639.def: Define Bhili and Tulu language codes.
4113 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4115         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4117 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4119         [BZ #17555]
4120         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4122 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4124         * configure.ac: Updated check of minimal required version to
4125         2.22.
4126         * manual/install.texi (Tools for Compilation): Updated version
4127         number.
4128         * configure: Regenerated.
4129         * INSTALL: Likewise.
4131 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4133         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4134         __tls_get_addr.
4136 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4138         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4139         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4140         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4141         libc_hidden_weak.
4142         (waitpid): Define as alias of __waitpid.
4143         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4144         __waitpid.
4145         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4146         libc_hidden_weak.
4147         (waitpid): Define as alias of __waitpid.
4148         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4149         __libc_waitpid alias.
4150         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4151         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4152         Likewise.
4153         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4154         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4155         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4156         alias.
4157         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4158         __waitpid.
4159         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4160         libc_hidden_weak.
4161         (waitpid): Define as alias of __waitpid.
4163 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4165         * manual/llio.texi: Add comment that write safety has been
4166         fixed in Linux.
4168         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4169         (localplt-build-dso): Add elf/ld.so.
4170         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4171         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4172         and free for ld.so.
4173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4174         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4176         Likewise.
4177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4178         Likewise.
4179         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4180         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4181         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4182         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4183         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4184         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4185         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4186         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4187         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4188         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4189         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4191 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4193         [BZ #14132]
4194         * include/libc-symbols.h (INTUSE): Remove macro.
4195         (INTDEF): Likewise.
4196         (INTVARDEF): Likewise.
4197         (_INTVARDEF): Likewise.
4198         (INTDEF2): Likewise.
4199         (INTVARDEF2): Likewise.
4200         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4201         rtld_hidden_def instead of INTVARDEF.
4202         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4203         (_dl_starting_up_internal): Remove declaration.
4204         (_dl_starting_up): Use rtld_hidden_proto.
4205         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4206         declaration.
4207         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4208         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4209         _dl_starting_up.
4210         * elf/dl-writev.h (_dl_writev): Likewise.
4211         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4212         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4213         _dl_starting_up_internal.
4215 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4217         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4218         test-skeleton.c.
4220 2014-11-05  Will Newton  <will.newton@linaro.org>
4222         * benchtests/Makefile: (bench-malloc): Add malloc thread
4223         scalability benchmark.
4224         * benchtests/bench-malloc-threads.c: New file.
4226 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4228         * sysdeps/aarch64/strchrnul.S: New file.
4230 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4232         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4233         definition.
4234         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4235         Likwise.
4236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4237         Likewise.
4238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4239         Likewise.
4240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4241         Likewise.
4242         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4243         Likewise.
4245 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4247         * catgets/test-gencat.c: Use test-skeleton.c.
4248         * catgets/tst-catgets.c: Likewise.
4249         * csu/tst-empty.c: Likewise.
4250         * elf/tst-audit2.c: Likewise.
4251         * elf/tst-global1.c: Likewise.
4252         * elf/tst-pathopt.c: Likewise.
4253         * elf/tst-piemod1.c: Likewise.
4254         * elf/tst-tls10.c: Likewise.
4255         * elf/tst-tls11.c: Likewise.
4256         * elf/tst-tls12.c: Likewise.
4257         * gnulib/tst-gcc.c: Likewise.
4258         * iconvdata/tst-e2big.c: Likewise.
4259         * iconvdata/tst-loading.c: Likewise.
4260         * iconv/tst-iconv1.c: Likewise.
4261         * iconv/tst-iconv2.c: Likewise.
4262         * inet/test-inet6_opt.c: Likewise.
4263         * inet/tst-gethnm.c: Likewise.
4264         * inet/tst-network.c: Likewise.
4265         * inet/tst-ntoa.c: Likewise.
4266         * intl/tst-codeset.c: Likewise.
4267         * intl/tst-gettext2.c: Likewise.
4268         * intl/tst-gettext3.c: Likewise.
4269         * intl/tst-ngettext.c: Likewise.
4270         * intl/tst-translit.c: Likewise.
4271         * io/test-stat.c: Likewise.
4272         * libio/test-fmemopen.c: Likewise.
4273         * libio/tst-freopen.c: Likewise.
4274         * libio/tst-sscanf.c: Likewise.
4275         * libio/tst-ungetwc1.c: Likewise.
4276         * libio/tst-ungetwc2.c: Likewise.
4277         * libio/tst-widetext.c: Likewise.
4278         * localedata/tst-ctype.c: Likewise.
4279         * localedata/tst-digits.c: Likewise.
4280         * localedata/tst-leaks.c: Likewise.
4281         * localedata/tst-mbswcs1.c: Likewise.
4282         * localedata/tst-mbswcs2.c: Likewise.
4283         * localedata/tst-mbswcs3.c: Likewise.
4284         * localedata/tst-mbswcs4.c: Likewise.
4285         * localedata/tst-mbswcs5.c: Likewise.
4286         * localedata/tst-setlocale.c: Likewise.
4287         * localedata/tst-trans.c: Likewise.
4288         * localedata/tst-wctype.c: Likewise.
4289         * localedata/tst-xlocale1.c: Likewise.
4290         * login/tst-grantpt.c: Likewise.
4291         * malloc/tst-calloc.c: Likewise.
4292         * malloc/tst-malloc.c: Likewise.
4293         * malloc/tst-mallocstate.c: Likewise.
4294         * malloc/tst-mcheck.c: Likewise.
4295         * malloc/tst-mtrace.c: Likewise.
4296         * malloc/tst-obstack.c: Likewise.
4297         * math/atest-exp2.c: Likewise.
4298         * math/atest-exp.c: Likewise.
4299         * math/atest-sincos.c: Likewise.
4300         * math/test-matherr.c: Likewise.
4301         * math/test-misc.c: Likewise.
4302         * math/test-powl.c: Likewise.
4303         * math/tst-definitions.c: Likewise.
4304         * misc/tst-dirname.c: Likewise.
4305         * misc/tst-efgcvt.c: Likewise.
4306         * misc/tst-fdset.c: Likewise.
4307         * misc/tst-hsearch.c: Likewise.
4308         * misc/tst-mntent2.c: Likewise.
4309         * nptl/tst-sem7.c: Likewise.
4310         * nptl/tst-sem8.c: Likewise.
4311         * nptl/tst-sem9.c: Likewise.
4312         * nss/test-netdb.c: Likewise.
4313         * posix/tst-fnmatch.c: Likewise.
4314         * posix/tst-getlogin.c: Likewise.
4315         * posix/tst-gnuglob.c: Likewise.
4316         * posix/tst-mmap.c: Likewise.
4317         * pwd/tst-getpw.c: Likewise.
4318         * resolv/tst-inet_ntop.c: Likewise.
4319         * rt/tst-timer.c: Likewise.
4320         * stdio-common/test-fseek.c: Likewise.
4321         * stdio-common/test-popen.c: Likewise.
4322         * stdio-common/test-vfprintf.c: Likewise.
4323         * stdio-common/tst-cookie.c: Likewise.
4324         * stdio-common/tst-fileno.c: Likewise.
4325         * stdio-common/tst-gets.c: Likewise.
4326         * stdio-common/tst-obprintf.c: Likewise.
4327         * stdio-common/tst-perror.c: Likewise.
4328         * stdio-common/tst-sprintf2.c: Likewise.
4329         * stdio-common/tst-sprintf3.c: Likewise.
4330         * stdio-common/tst-sprintf.c: Likewise.
4331         * stdio-common/tst-swprintf.c: Likewise.
4332         * stdio-common/tst-tmpnam.c: Likewise.
4333         * stdio-common/tst-unbputc.c: Likewise.
4334         * stdio-common/tst-wc-printf.c: Likewise.
4335         * stdlib/tst-environ.c: Likewise.
4336         * stdlib/tst-fmtmsg.c: Likewise.
4337         * stdlib/tst-limits.c: Likewise.
4338         * stdlib/tst-rand48-2.c: Likewise.
4339         * stdlib/tst-rand48.c: Likewise.
4340         * stdlib/tst-random2.c: Likewise.
4341         * stdlib/tst-random.c: Likewise.
4342         * stdlib/tst-strtol.c: Likewise.
4343         * stdlib/tst-strtoll.c: Likewise.
4344         * stdlib/tst-tls-atexit.c: Likewise.
4345         * stdlib/tst-xpg-basename.c: Likewise.
4346         * string/test-ffs.c: Likewise.
4347         * string/tst-bswap.c: Likewise.
4348         * string/tst-inlcall.c: Likewise.
4349         * string/tst-strtok.c: Likewise.
4350         * string/tst-strxfrm.c: Likewise.
4351         * sysdeps/x86_64/tst-audit10.c: Likewise.
4352         * sysdeps/x86_64/tst-audit3.c: Likewise.
4353         * sysdeps/x86_64/tst-audit4.c: Likewise.
4354         * sysdeps/x86_64/tst-audit5.c: Likewise.
4355         * time/tst-ftime_l.c: Likewise.
4356         * time/tst-getdate.c: Likewise.
4357         * time/tst-mktime3.c: Likewise.
4358         * time/tst-mktime.c: Likewise.
4359         * time/tst-posixtz.c: Likewise.
4360         * time/tst-strptime2.c: Likewise.
4361         * time/tst-strptime3.c: Likewise.
4362         * wcsmbs/tst-btowc.c: Likewise.
4363         * wcsmbs/tst-mbrtowc.c: Likewise.
4364         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4365         * wcsmbs/tst-wchar-h.c: Likewise.
4366         * wcsmbs/tst-wcpncpy.c: Likewise.
4367         * wcsmbs/tst-wcrtomb.c: Likewise.
4368         * wcsmbs/tst-wcsnlen.c: Likewise.
4369         * wcsmbs/tst-wcstof.c: Likewise.
4371 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4373         [BZ #14132]
4374         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4375         INTDEF.
4376         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4377         declaration.
4378         (_dl_mcount): Use rtld_hidden_proto.
4379         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4380         _dl_mcount.
4381         * elf/rtld.c (_rtld_global_ro): Likewise.
4383         [BZ #14132]
4384         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4385         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4386         of _dl_init_internal.
4387         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4388         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4389         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4390         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4391         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4392         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4393         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4394         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4395         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4396         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4397         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4398         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4399         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4400         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4401         * sysdeps/tile/dl-start.S (_start): Likewise.
4402         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4403         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4405         [BZ #14132]
4406         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4407         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4408         (rtld_progname): Make macro definition unconditional.
4409         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4410         INTDEF.
4411         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4412         (dl_main): Likewise.
4413         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4414         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4415         instead of _dl_argv_internal.
4416         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4417         __GI__dl_argv instead of INTUSE(_dl_argv).
4418         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4419         __GI__dl_argv instead of _dl_argv_internal.
4421         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4422         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4423         macro.
4424         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4425         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4426         New macro.
4427         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4428         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4429         macro.
4430         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4431         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4433 2014-11-04  Andreas Schwab  <schwab@suse.de>
4435         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4437 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4439         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4440         mtvsrd instruction in binary form.
4442 2014-11-03  Andreas Schwab  <schwab@suse.de>
4444         [BZ #17522]
4445         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4446         for less than MB_LEN_MAX use a local buffer of that size.
4447         * libio/tst-fputws.c: New file.
4448         * libio/Makefile (tests): Add tst-fputws.
4450 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4452         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4453         the size of the fpu_fr.fpu_dregs[] array.
4455 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4457         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4458         (__nanosleep): Do not define as alias.
4459         (nanosleep): Define as alias of __nanosleep.
4460         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4461         __libc_nanosleep name.
4463 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4465         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4466         install.texi in comment.
4468 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4470         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4471         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4472         ... add here and use lwsync or sync ...
4473         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4474         ... and add here using lwsync.
4476 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4478         * elf/dl-machine-reject-phdr.h: New file.
4479         * elf/dl-load.c: #include that.
4480         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4481         if that returned true.
4483 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4485         [BZ #17496]
4486         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4487         gen-as-const-headers chunk.  Add a big scare comment after the last
4488         safe place to touch before-compile.
4490 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4492         * manual/install.texi (Tools for Compilation): Update autoconf
4493         version requirements.
4494         * INSTALL: Regenerated.
4496         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4497         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4498         (__libc_pselect): Likewise.
4500         [BZ #14138]
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4506 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4508         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4509         correct barrier instruction.
4510         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4511         Likewise.
4512         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4513         Likewise.
4515 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4517         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4518         after defining inlines.  Instead, just use parens to defeat macro
4519         expansion of __isctype in its declaration.
4521 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4523         * include/sys/uio.h (__libc_readv): Remove declaration.
4524         (__libc_writev): Likewise.
4525         * misc/readv.c (__libc_readv): Rename to __readv.
4526         (__readv): Do not define as alias.
4527         (readv): Define as alias of __readv.
4528         * misc/writev.c (__libc_writev): Rename to __writev.
4529         (__writev): Do not define as alias.
4530         (writev): Define as alias of __writev.
4531         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4532         (__readv): Do not define as alias.
4533         (readv): Define unconditionally as alias of __readv.
4534         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4535         (__writev): Do not define as alias.
4536         (writev): Define unconditionally as alias of __writev.
4537         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4538         name.
4539         (writev): Do not define __libc_writev name.
4541 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4543         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4544         (convert_charseq): New function, broken out of ...
4545         (use_from_charmap): ... here.  Call it.
4546         (use_to_charmap): Use convert_charseq and free instead of duplicating
4547         its code with a variable-length stack struct.
4549 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4551         * include/fcntl.h (__libc_creat): Remove declaration.
4552         * io/creat.c (__libc_creat): Rename to creat.
4553         (creat): Do not define as alias.
4554         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4555         of creat instead of __libc_creat.
4556         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4557         to creat.
4558         (creat): Do not define as alias.
4559         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4560         __libc_creat.
4561         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4562         __libc_creat name.
4563         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4564         Likewise.
4566 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4568         * manual/llio.texi: Add comments discussing why write() may be
4569         considered MT-unsafe on Linux.
4571 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4573         * dl-load.c (local_strdup): Remove.
4574         (expand_dynamic_string_token): Use __strdup.
4575         (decompose_rpath): Likewise.
4576         (_dl_map_object): Likewise.
4578 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4580         [BZ #14132]
4581         * sysdeps/generic/unwind-dw2-fde.c
4582         (__register_frame_info_bases_internal): Do not declare.
4583         (__register_frame_info_table_bases_internal): Likewise.
4584         (__deregister_frame_info_bases_internal): Likewise.
4585         (__register_frame_info_bases): Declare and use hidden_proto before
4586         definition.  Use hidden_def instead of INTDEF.
4587         (__register_frame_info_table_bases): Likewise.
4588         (__deregister_frame_info_bases): Likewise.
4589         (__register_frame_info): Do not use INTUSE.
4590         (__register_frame): Likewise.
4591         (__register_frame_info_table): Likewise.
4592         (__register_frame_table): Likewise.
4593         (__deregister_frame_info): Likewise.
4594         (__deregister_frame): Likewise.
4596 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4598         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4599         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4600         not undefine.
4601         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4602         Likewise.
4603         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4604         Likewise.
4606 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4608         [BZ #14138]
4609         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4610         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4611         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4612         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4613         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4614         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4615         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4616         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4617         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4618         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4619         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4620         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4621         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4622         syscall.
4623         (setfsuid): Likewise.
4624         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4625         (setfsuid): Likewise.
4626         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4627         (setfsuid): Likewise.
4628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4629         Likewise.
4630         (setfsuid): Likewise.
4631         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4632         (setfsuid): Likewise.
4633         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4634         Likewise.
4635         (setfsuid): Likewise.
4637 2014-10-27  Andreas Schwab  <schwab@suse.de>
4639         [BZ #17501]
4640         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4641         check for Slow_SSE4_2 feature bit.
4642         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4643         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4644         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4645         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4647 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4649         * configure.ac: Validate compiler version with a empirical test of
4650         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4651         $CC -v output.
4652         * configure: Regenerated.
4654         * inet/htons.c (htons): Prototypify.
4655         * inet/htonl.c (htonl): Likewise.
4657 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4659         * string/strncat.c (strncat): Improve performance by using strlen.
4661 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4663         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4665 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4667         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4668         Call libc_fetestexcept_aarch64.
4670 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4672         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4673         Call libc_feholdexcept_aarch64.
4675 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4677         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4678         Call get_rounding_mode.
4680 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4682         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4683         Simplify logic.
4685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4687         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4688         Simplify logic.
4690 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4692         [BZ #14138]
4693         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4694         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4695         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4696         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4697         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4698         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4699         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4700         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4701         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4702         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4703         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4704         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4705         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4706         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4707         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4708         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4709         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4710         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4711         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4712         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4713         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4714         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4717         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4718         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4719         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4720         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4721         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4722         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4723         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4724         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4725         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4726         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4727         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4728         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4729         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4730         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4731         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4732         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4733         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4734         syscall.
4735         (geteuid): Likewise.
4736         (getgid): Likewise.
4737         (getuid): Likewise.
4738         (getresgid): Likewise.
4739         (getresuid): Likewise.
4740         (getgroups): Likewise.
4741         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4742         (geteuid): Likewise.
4743         (getgid): Likewise.
4744         (getuid): Likewise.
4745         (getresgid): Likewise.
4746         (getresuid): Likewise.
4747         (getgroups): Likewise.
4748         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4749         (geteuid): Likewise.
4750         (getgid): Likewise.
4751         (getuid): Likewise.
4752         (getresgid): Likewise.
4753         (getresuid): Likewise.
4754         (getgroups): Likewise.
4755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4756         Likewise.
4757         (geteuid): Likewise.
4758         (getgid): Likewise.
4759         (getuid): Likewise.
4760         (getresgid): Likewise.
4761         (getresuid): Likewise.
4762         (getgroups): Likewise.
4763         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4764         (geteuid): Likewise.
4765         (getgid): Likewise.
4766         (getuid): Likewise.
4767         (getresgid): Likewise.
4768         (getresuid): Likewise.
4769         (getgroups): Likewise.
4770         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4771         Likewise.
4772         (geteuid): Likewise.
4773         (getgid): Likewise.
4774         (getuid): Likewise.
4775         (getgroups): Likewise.
4777         [BZ #14138]
4778         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4779         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4780         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4781         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4782         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4783         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4784         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4785         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4786         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4787         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4788         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4789         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4790         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4791         __chown.
4792         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4793         (lchown): Likewise.
4794         (fchown): Likewise.
4795         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4796         Likewise.
4797         (lchown): Likewise.
4798         (fchown): Likewise.
4799         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4800         (lchown): Likewise.
4801         (fchown): Likewise.
4802         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4803         Likewise.
4804         (lchown): Likewise.
4805         (fchown): Likewise.
4807 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4809         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4810         Simplify logic.
4812 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4814         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4815         Cleanup logic.
4817 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4819         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4820         Remove unused include.
4822 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4824         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4825         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4826         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4827         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4829 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4830             Helge Deller <deller@gmx.de>
4832         [BZ #17508]
4833         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4834         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4835         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4837 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4839         [BZ #14132]
4840         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4841         Remove macro definition.
4842         (__ashrdi3_v_glibc20): Likewise.
4843         (__lshrdi3_v_glibc20): Likewise.
4844         (__cmpdi2_v_glibc20): Likewise.
4845         (__ucmpdi2_v_glibc20): Likewise.
4846         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4847         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4848         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4849         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4850         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4851         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4853 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4855         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4856         old GNU extension [0] syntax.
4857         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4858         alloca rather than an array member with variable length.
4859         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4860         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4861         (parse_opt): ... here.  Likewise use alloca there.
4862         Validate the -i argument before checking for rootness.
4863         (send_shutdown): New function, broken out of ...
4864         (parse_opt): ... here.
4866 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4868         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4869         macro to get at the _rt_local_ro field.
4870         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4871         ([PIC] case) or _dl_hwcap ([!PIC] case).
4872         * sysdeps/arm/setjmp.S: Likewise.
4874         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4875         * sysdeps/arm/configure.ac: New check to define it.
4876         * sysdeps/arm/configure: Regenerated.
4877         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4878         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4879         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4880         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4881         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4882         Use move/movt pair instead of a load.
4883         (LDST_GLOBAL): Macro removed.
4884         (LDR_GLOBAL): New macro replaces it.
4885         (LDR_HIDDEN): New macro.
4886         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4887         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4889         * setjmp/tst-setjmp-static.c: New file.
4890         * setjmp/Makefile (tests): Add it.
4891         (tests-static): New variable.
4893 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4895         [BZ #17485]
4896         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4898 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4900         [BZ #14132]
4901         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4903 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4905         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4907 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4909         * io/fts.c (dirent_not_directory): New function.
4910         (fts_build): Call it.
4912 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4914         * nptl/version.c (__nptl_main): Use normal __write rather than
4915         INTERNAL_SYSCALL.
4916         (banner): Update copyright years.
4918         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4919         gettimeofday.
4920         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4921         * nptl/pthread_cond_timedwait.c: Likewise.
4922         * nptl/pthread_mutex_timedlock.c: Likewise.
4923         * nptl/sem_timedwait.c: Likewise.
4925         * sysdeps/nptl/bits/libc-lock.h
4926         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4927         (__libc_lock_init_recursive): Return void, not 0.
4928         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4929         (__libc_rwlock_init): Likewise.
4930         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4932 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4934         [BZ #15215]
4935         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4936         (__pthread_once_slow): ... here.
4937         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4938         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4940 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4942         [BZ #15215]
4943         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4944         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4945         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4946         * nptl/pthread_once.c (__pthread_once): Likewise.
4947         Update comments.
4949 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4951         [BZ #14138]
4952         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4953         name.
4954         (writev): Use __libc_writev as strong name.
4955         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4956         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4958 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4960         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4962         * sysdeps/i386/nptl/tls.h
4963         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4964         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4965         New macros.
4966         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4967         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4968         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4969         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4970         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4971         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4973         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4974         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4975         on [__NR_futex].
4976         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4977         broken out of ...
4978         (__pthread_mutex_init): ... here.  Call it.
4979         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4980         Conditionalize PI cases on [__NR_futex].
4981         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4982         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4983         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4985         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4986         conditional on [SIGSETXID].
4987         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4988         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4989         is defined.  Likewise for SIGSETXID.
4990         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4991         Conditionalize definitions on [SIGSETXID].
4992         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4993         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4994         unblocking on [SIGCANCEL].
4996         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4997         [__NR_set_robust_list].
4999 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5001         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5002         (do_compare): Likewise.
5004 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5006         [BZ #15884]
5007         * string/strcoll_l.c: Don't include stdio.h.
5008         (coll_seq): Remove members idxarr and rulearr.
5009         (get_next_seq_cached): Remove function.
5010         (get_next_seq): Likewise.
5011         (get_next_seq_nocache): Rename to get_next_seq.
5012         (do_compare): Remove function.
5013         (do_compare_nocache): Rename to do_compare.
5014         (STRCOLL): Remove weight and rules cache.
5016 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5018         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5019         * sysdeps/arm/sfp-machine.h: ... to here.
5020         * sysdeps/arm/Implies: Remove arm/soft-fp.
5022 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5024         * conform/data/sys/utsname.h-data (*_t): Allow.
5025         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5026         [POSIX] (WEXITED): Do not expect constant.
5027         [POSIX] (WSTOPPED): Likewise.
5028         [POSIX] (WNOHANG): Likewise.
5029         [POSIX] (WNOWAIT): Likewise.
5030         [POSIX] (siginfo_t): Do not expect type or elements.
5031         [POSIX] (pid_t): Do not expect type.
5032         [POSIX] (signal.h): Do not allow header.
5033         [POSIX] (sys/resource.h): Likewise.
5034         [POSIX] (si_*): Do not allow pattern.
5035         [POSIX] (W*): Likewise.
5036         [POSIX] (P_*): Likewise.
5037         [POSIX] (BUS_*): Likewise.
5038         [POSIX] (CLD_*): Likewise.
5039         [POSIX] (FPE_*): Likewise.
5040         [POSIX] (ILL_*): Likewise.
5041         [POSIX] (POLL_*): Likewise.
5042         [POSIX] (SEGV_*): Likewise.
5043         [POSIX] (SI_*): Likewise.
5044         [POSIX] (TRAP_*): Likewise.
5045         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5046         variable.
5048 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5050         [BZ #12926]
5051         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5052         infinite loop when __recvmsg returns 0.
5054 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5056         * CANCEL-FCT-WAIVE: Remove file.
5057         * CANCEL-FILE-WAIVE: Likewise.
5059         [BZ #14132]
5060         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5061         instead of INTVARDEF.
5062         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5063         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5064         rtld_hidden_data_def instead of INTVARDEF.
5065         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5066         * elf/dl-deps.c (expand_dst): Likewise.
5067         * elf/dl-load.c (_dl_dst_count): Likewise.
5068         (_dl_dst_substitute): Likewise.
5069         (decompose_rpath): Likewise.
5070         (_dl_init_paths): Likewise.
5071         (open_path): Likewise.
5072         (_dl_map_object): Likewise.
5073         * elf/rtld.c (dl_main): Likewise.
5074         (process_dl_audit): Likewise.
5075         (process_envvars): Likewise.
5076         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5077         Remove declaration.
5078         (__libc_enable_secure): Use rtld_hidden_proto.
5080 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5082         * elf/dl-load.c
5083         (add_path): New function broken out of _dl_rtld_di_serinfo.
5084         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5086 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5088         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5089         parentheses around macro arguments.
5090         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5093         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5095         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5096         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5099         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5100         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5101         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5102         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5103         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5104         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5105         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5106         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5108         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5111         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5112         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5113         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5115         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5117         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5118         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5119         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5120         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5121         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5122         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5123         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5124         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5125         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5126         Likewise.
5127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5134         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5138         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5139         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5148         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5150         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5151         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5153         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5154         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5155         (_FP_FRAC_SRS_1): Likewise.
5156         (_FP_FRAC_CLZ_1): Likewise.
5157         (_FP_MUL_MEAT_1_imm): Likewise.
5158         (_FP_MUL_MEAT_1_wide): Likewise.
5159         (_FP_MUL_MEAT_1_hard): Likewise.
5160         (_FP_SQRT_MEAT_1): Likewise.
5161         (_FP_FRAC_ASSEMBLE_1): Likewise.
5162         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5163         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5164         (__FP_CLZ_2): Likewise.
5165         (_FP_MUL_MEAT_2_wide): Likewise.
5166         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5167         (_FP_MUL_MEAT_2_gmp): Likewise.
5168         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5169         (_FP_SQRT_MEAT_2): Likewise.
5170         (_FP_FRAC_ASSEMBLE_2): Likewise.
5171         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5172         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5173         (_FP_FRAC_CLZ_4): Likewise.
5174         (_FP_MUL_MEAT_4_wide): Likewise.
5175         (_FP_MUL_MEAT_4_gmp): Likewise.
5176         (_FP_SQRT_MEAT_4): Likewise.
5177         (_FP_FRAC_ASSEMBLE_4): Likewise.
5178         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5179         * soft-fp/op-common.h (_FP_CMP): Likewise.
5180         (_FP_CMP_EQ): Likewise.
5181         (_FP_CMP_UNORD): Likewise.
5182         (_FP_TO_INT): Likewise.
5183         (_FP_FROM_INT): Likewise.
5184         [!__FP_CLZ] (__FP_CLZ): Likewise.
5185         (_FP_DIV_HELP_imm): Likewise.
5186         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5187         Likewise.
5188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5193         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5194         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5199         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5201         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5202         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5203         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5204         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5205         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5206         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5217         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5219         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5220         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5221         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5222         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5223         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5224         (FP_UNPACK_RAW_SP): Likewise.
5225         (FP_PACK_RAW_S): Likewise.
5226         (FP_PACK_RAW_SP): Likewise.
5227         (FP_UNPACK_S): Likewise.
5228         (FP_UNPACK_SP): Likewise.
5229         (FP_UNPACK_SEMIRAW_S): Likewise.
5230         (FP_UNPACK_SEMIRAW_SP): Likewise.
5231         (FP_PACK_S): Likewise.
5232         (FP_PACK_SP): Likewise.
5233         (FP_PACK_SEMIRAW_S): Likewise.
5234         (FP_PACK_SEMIRAW_SP): Likewise.
5235         (_FP_SQRT_MEAT_S): Likewise.
5236         (FP_CMP_S): Likewise.
5237         (FP_CMP_EQ_S): Likewise.
5238         (FP_CMP_UNORD_S): Likewise.
5239         (FP_TO_INT_S): Likewise.
5240         (FP_FROM_INT_S): Likewise.
5242         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5244         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5245         (FP_EX_INVALID_IMZ): Likewise.
5246         (FP_EX_INVALID_IMZ_FMA): Likewise.
5247         (FP_EX_INVALID_ISI): Likewise.
5248         (FP_EX_INVALID_ZDZ): Likewise.
5249         (FP_EX_INVALID_IDI): Likewise.
5250         (FP_EX_INVALID_SQRT): Likewise.
5251         (FP_EX_INVALID_CVI): Likewise.
5252         (FP_EX_INVALID_VC): Likewise.
5253         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5254         "invalid" exceptions.
5255         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5256         (_FP_ADD_INTERNAL): Likewise.
5257         (_FP_MUL): Likewise.
5258         (_FP_FMA): Likewise.
5259         (_FP_DIV): Likewise.
5260         (_FP_CMP_CHECK_NAN): Likewise.
5261         (_FP_SQRT): Likewise.
5262         (_FP_TO_INT): Likewise.
5263         (FP_EXTEND): Likewise.
5265 2014-10-09  Allan McRae  <allan@archlinux.org>
5267         * po/fr.po: Update French translation from translation project.
5269 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #14132]
5272         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5273         of INTDEF.
5274         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5275         (__cxa_atexit): Use libc_hidden_proto.
5276         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5278         [BZ #14132]
5279         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5280         declaration.
5281         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5282         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5283         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5284         [!_ISOMAC] (__iswctype_internal): Likewise.
5285         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5286         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5287         alias.
5288         (fcntl): Remove __fcntl_internal alias.
5289         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5290         __connect_internal alias.
5291         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5292         Likewise.
5294         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5296         FP_DENORM_ZERO.
5297         (_FP_CHECK_FLUSH_ZERO): New macro.
5298         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5299         (_FP_CMP): Likewise.
5300         (_FP_CMP_EQ): Likewise.
5301         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5302         FP_DENORM_ZERO.
5303         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5304         (FP_TRUNC): Likewise.
5306         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5307         treated as invalid conversion, not as normal exponent.
5309         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5310         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5311         (_FP_CMP_EQ): Likewise.
5312         (_FP_CMP_UNORD): Likewise.
5313         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5314         (FP_CMP_EQ_D): Likewise.
5315         (FP_CMP_UNORD_D): Likewise.
5316         * soft-fp/extended.h (FP_CMP_E): Likewise.
5317         (FP_CMP_EQ_E): Likewise.
5318         (FP_CMP_UNORD_E): Likewise.
5319         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5320         (FP_CMP_EQ_Q): Likewise.
5321         (FP_CMP_UNORD_Q): Likewise.
5322         * soft-fp/single.h (FP_CMP_S): Likewise.
5323         (FP_CMP_EQ_S): Likewise.
5324         (FP_CMP_UNORD_S): Likewise.
5325         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5326         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5327         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5328         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5329         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5330         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5331         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5332         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5333         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5334         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5335         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5336         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5337         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5338         to FP_CMP_Q.
5339         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5340         FP_CMP_Q.
5341         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5342         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5343         FP_CMP_EQ_Q.
5344         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5345         FP_CMP_Q.
5346         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5347         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5348         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5349         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5350         FP_CMP_EQ_Q.
5351         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5352         FP_CMP_Q.
5353         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5354         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5355         FP_CMP_EQ_Q.
5356         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5357         FP_CMP_Q.
5358         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5359         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5360         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5361         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5362         FP_CMP_EQ_Q.
5364         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5365         a subnormal result, set the underflow exception if trapping on
5366         underflow is enabled.
5367         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5368         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5369         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5370         redefine to 0.
5371         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5372         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5373         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5374         * soft-fp/extendxftf2.c (__extendxftf2): Use
5375         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5377         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5378         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5379         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5380         FP_HANDLE_EXCEPTIONS.
5381         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5382         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5383         FP_HANDLE_EXCEPTIONS.
5384         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5385         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5386         FP_HANDLE_EXCEPTIONS.
5387         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5388         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5389         FP_HANDLE_EXCEPTIONS.
5391 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5393         [BZ #14132]
5394         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5395         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5396         use INTUSE.
5397         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5398         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5399         Remove alias.
5400         (__adjtimex): Define using libc_hidden_ver.
5401         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5402         Remove declaration.
5403         (ntp_gettime): Call __adjtimex directly.
5404         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5405         Remove declaration.
5406         (ntp_gettimex): Call __adjtimex directly.
5407         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5408         __adjtimex_internal alias.
5410 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5412         [BZ #17460]
5413         * nscd/nscd.c (more_help): Rewrite list of tables collection
5414         using xstrdup and asprintf.
5416         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5418 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5419             Roland McGrath  <roland@hack.frob.com>
5421         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5422         (do_lookup_unique): ... local function 'enter' here; update callers.
5424 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5426         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5427         compat_symbol calls on [SHARED].
5428         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5429         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5430         Remove.
5431         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5432         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5433         (oldsetrlimit): Remove.
5434         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5436         (lchown): New syscall entry.
5437         (oldsetrlimit): Remove.
5438         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5440         (oldsetrlimit): Remove.
5441         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5443         [BZ #14138]
5444         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5445         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5446         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5447         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5448         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5449         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5450         (fchown): Likewise.
5451         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5452         (fchown): Likewise.
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5454         Likewise.
5456 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5459         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5460         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5461         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5462         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5463         Likewise.
5464         (__old_sem_post): Likewise.
5466 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5468         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5469         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5470         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5471         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5472         Use INLINE_VSYSCALL macro.
5473         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5474         __vdso_clock_gettime.
5475         * sysdeps/unix/sysv/linux/tile/init-first.c
5476         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5477         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5478         __vdso_clock_gettime.
5480         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5481         to set up frame more cleanly.
5483         * sysdeps/tile/memcmp.c: New file.
5485         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5487         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5488         * sysdeps/tile/tilegx/strcasestr.c: New file.
5489         * sysdeps/tile/tilegx/strnlen.c: New file.
5490         * sysdeps/tile/tilegx/strstr.c: New file.
5492         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5494 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5496         * nptl/tst-setuid3.c: Write errors to stdout.
5498 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5500         * elf/dl-deps.c
5501         (preload): New functions broken out of _dl_map_object_deps.
5502         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5504 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5506         [BZ #14138]
5507         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5508         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5510 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5512         * sysdeps/mips/strcmp.S: New.
5514 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5516         [BZ #14138]
5517         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5518         (linkat): Likewise.
5519         (mkdirat): Likewise.
5520         (readlinkat): Likewise.
5521         (renameat): Likewise.
5522         (symlinkat): Likewise.
5523         (unlinkat): Likewise.
5524         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5525         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5526         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5527         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5528         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5529         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5530         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5532 2014-09-30  Will Newton  <will.newton@linaro.org>
5534         * math/math.h: Define long double math functions if
5535         _LIBC_TEST is defined.
5536         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5538         * localedata/Makefile: Move assignment to tests-special
5539         into an ifdef testing run-built-tests.
5540         * timezone/Makefile: Likewise.
5542 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5544         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5545         with $(BASH) not $(SHELL).
5547 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5548             Matthew LeGendre  <legendre1@llnl.gov>
5550         [BZ #17411]
5551         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5552         l_reloc_result.
5554 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5556         * stdio-common/printf_fp.c
5557         (hack_digit): New function, broken out of ...
5558         (__printf_fp): ... local function here.  Update call sites.
5559         hack_digit now takes an additional parameter that is a pointer
5560         to a struct of the referenced locals.  Those locals moved inside
5561         the struct and references updated.
5563 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5565         * aclocal.m4: Require autoconf 2.69.
5566         * configure: Regenerated.
5567         * sysdeps/aarch64/configure: Likewise.
5568         * sysdeps/alpha/configure: Likewise.
5569         * sysdeps/arm/armv7/configure: Likewise.
5570         * sysdeps/arm/configure: Likewise.
5571         * sysdeps/ia64/configure: Likewise.
5572         * sysdeps/mach/configure: Likewise.
5573         * sysdeps/mips/configure: Likewise.
5574         * sysdeps/s390/configure: Likewise.
5575         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5578         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5579         file.
5580         * sysdeps/ia64/configure.ac: Likewise.
5582 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5585         specify symbol version for ld.so.  Do not include entry for
5586         libpthread.
5587         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5588         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5589         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5591         [BZ #14171]
5592         * Makeconfig [$(build-shared) = yes]
5593         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5594         makefiles.
5595         [$(build-shared) = yes && $(soversions.mk-done) = t]
5596         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5597         [$(build-shared) = yes && $(soversions.mk-done) = t]
5598         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5599         to Makerules.
5600         [$(build-shared) = yes && $(soversions.mk-done) = t]
5601         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5602         here.
5603         [$(build-shared) = yes && $(soversions.mk-done) = t]
5604         (common-generated): Don't append gnu/lib-names.h and
5605         gnu/lib-names.stmp here.
5606         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5607         (lib-names-h-abi): New variable.
5608         [$(build-shared) = yes && $(soversions.mk-done) = t]
5609         (lib-names-stmp-abi): Likewise.
5610         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5611         abi-variants] (before-compile): Append
5612         $(common-objpfx)$(lib-names-h-abi).
5613         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5614         abi-variants] (common-generated): Append gnu/lib-names.h.
5615         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5616         abi-variants] (install-others-nosubdir): Depend on
5617         $(inst_includedir)/$(lib-names-h-abi).
5618         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5619         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5620         [$(build-shared) = yes && $(soversions.mk-done) = t]
5621         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5622         [$(build-shared) = yes && $(soversions.mk-done) = t]
5623         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5624         [$(build-shared) = yes && $(soversions.mk-done) = t]
5625         (common-generated): Append $(lib-names-h-abi) and
5626         $(lib-names-stmp-abi).
5627         * scripts/lib-names.awk: Do not handle multi being set.
5628         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5629         Remove variable.
5630         (abi-lp64_be-ld-soname): Likewise.
5631         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5632         Likewise.
5633         (abi-hard-ld-soname): Likewise.
5634         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5635         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5636         Remove variable.
5637         (abi-o32_hard-ld-soname): Likewise.
5638         (abi-o32_soft_2008-ld-soname): Likewise.
5639         (abi-o32_hard_2008-ld-soname): Likewise.
5640         (abi-n32_soft-ld-soname): Likewise.
5641         (abi-n32_hard-ld-soname): Likewise.
5642         (abi-n32_soft_2008-ld-soname): Likewise.
5643         (abi-n32_hard_2008-ld-soname): Likewise.
5644         (abi-n64_soft-ld-soname): Likewise.
5645         (abi-n64_hard-ld-soname): Likewise.
5646         (abi-n64_soft_2008-ld-soname): Likewise.
5647         (abi-n64_hard_2008-ld-soname): Likewise.
5648         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5649         Likewise.
5650         (abi-64-v2-ld-soname): Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5652         ld.so entries.
5653         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5654         variable.
5655         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5656         entry.
5657         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5658         variable.
5659         (abi-64-ld-soname): Likewise.
5660         (abi-x32-ld-soname): Likewise.
5661         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5662         entry.
5663         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5665 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5667         [BZ #14138]
5668         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5669         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5670         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5671         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5672         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5673         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5674         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5675         syscall entry for GLIBC_2.2 symbol version.
5676         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5677         Likewise.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5679         (setrlimit): Likewise.
5680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5681         Likewise.
5683 2014-09-23  Will Newton  <will.newton@linaro.org>
5685         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5686         _LINUX_ARM_SYSDEP_H include guard too.
5687         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5688         define.
5690 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5692         * sysdeps/unix/sysv/linux/eventfd.c:
5693         Make first argument unsigned.
5694         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5695         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5697 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5699         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5700         * socket/sys/socket.h: Likewise
5701         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5703 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5705         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5707 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5709         * time/tst-ftime.c: New test.
5710         * time/Makefile (tests): Add tst-ftime.
5712 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5714         * soft-fp/extended.h: Fix comment formatting.
5715         * soft-fp/op-1.h: Likewise.
5716         * soft-fp/op-2.h: Likewise.
5717         * soft-fp/op-4.h: Likewise.
5718         * soft-fp/op-8.h: Likewise.
5719         * soft-fp/op-common.h: Likewise.
5720         * soft-fp/soft-fp.h: Likewise.
5722         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5724 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5726         [BZ #6652]
5727         * Makeconfig (soversions-default-setname): Remove variable.
5728         ($(common-objpfx)soversions.i): Don't pass default_setname to
5729         soversions.awk.
5730         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5731         oldest_abi to abi-versions.awk.
5732         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5733         * config.make.in (oldest-abi): Remove variable.
5734         * configure.ac (--enable-oldest-abi): Remove configure option.
5735         * configure: Regenerated.
5736         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5737         text.
5738         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5739         * scripts/soversions.awk: Do not handle default_setname variable.
5740         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5741         variable.
5742         * sysdeps/mach/hurd/configure: Regenerated.
5743         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5744         variable.
5745         * sysdeps/unix/sysv/linux/configure: Regenerated.
5747 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5749         * elf/Makefile (CFLAGS-interp.c): Remove.
5750         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5751         path string.
5752         * elf/interp.c: Include generated runtime-linker.h
5754         * Makerules (lib%.so): Don't include $(+interp) in
5755         prerequisites.
5756         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5757         * dlfcn/eval.c: Remove file.
5759         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5760         macros.
5762         [BZ #17266]
5763         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5764         4.2 and newer.
5766         [BZ #17370]
5767         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5769 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5770             Jakub Jelinek  <jakub@redhat.com>
5772         [BZ #17266]
5773         * libio/stdio.h: Check definition of __fortify_function
5774         instead of __extern_always_inline to include bits/stdio2.h.
5775         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5776         check if __extern_always_inline is defined.
5777         [__USE_MISC || __USE_XOPEN]: Likewise.
5778         [__USE_ISOC99] Likewise.
5779         * misc/sys/cdefs.h (__fortify_function): Define only if
5780         __extern_always_inline is defined.
5781         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5782         __extern_always_inline and __extern_inline only for g++-4.3
5783         and newer or a compatible gcc.
5785 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5787         [BZ #17371]
5788         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5789         last change to handle zero prefix length.
5791 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5793         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5794         _SC_REGEX_VERSION.
5796         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5797         _POSIX_RAW_SOCKETS.
5799 2014-09-13  Allan McRae  <allan@archlinux.org>
5801         * po/ru.po: Update Russian translation from translation project.
5803 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5805         * locale/programs/locale.c (show_locale_vars): Inline local function
5806         into its sole call site.  Clean up some style nits.
5807         (print_item): New function, broken out of ...
5808         (show_info): ... local function here.  Clean up style nits.
5810         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5811         out of ...
5812         (set_class_defaults): ... local function set_default here.
5813         Define set_default as a macro locally to pass constant parameters.
5814         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5815         rather than a shared local.
5817         * stdlib/rpmatch.c (try): New function, broken out of ...
5818         (rpmatch): ... local function here.  Also, prototypify definition.
5820 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5822         * scripts/soversions.awk: Do not handle configuration names.
5823         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5824         vendor and os variables to soversions.awk.
5825         * configure.ac: Do not modify gnu-* host_os.
5826         * configure: Regenerated
5827         * shlib-versions: Remove first column with configuration names.
5828         * nptl/shlib-versions: Likewise.
5829         * nptl_db/shlib-versions: Likewise.
5830         * sysdeps/hppa/shlib-versions: Likewise.
5831         * sysdeps/m68k/shlib-versions: Likewise.
5832         * sysdeps/mach/hurd/shlib-versions: Likewise.
5833         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5834         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5835         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5836         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5837         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5838         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5839         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5840         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5842         Likewise.
5843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5844         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5845         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5846         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5847         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5848         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5849         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5850         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5853         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5855         Regenerated.
5856         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5858         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5860         * shlib-versions: Remove OS-specific entries.  Moved to files in
5861         sysdeps.
5862         * sysdeps/mach/hurd/shlib-versions: New file.
5863         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5865         * nptl/shlib-versions: Remove architecture-specific entries.
5866         Moved to files in sysdeps.
5867         * shlib-versions: Likewise.
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5869         file.
5870         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5871         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5872         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5873         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5875         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5876         (UDP_NO_CHECK6_RX): Likewise.
5878 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5880         * sysdeps/posix/sysconf.c (__sysconf): Spell
5881         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5883 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5885         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5886         loading.
5887         * iconv/Versions (__gconv_transliterate): Export for use from
5888         gconv modules.
5889         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5890         (struct __gconv_trans_data, __gconv_trans_fct,
5891         __gconv_trans_context_fct, __gconv_trans_query_fct,
5892         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5893         definitions.
5894         (struct __gconv_step_data): Remove __trans member.
5895         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5896         longer hidden.  Remove unused trans_data argument.
5897         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5898         (__gconv_translit_find): Remove declaration.
5899         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5900         prototype.
5901         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5902         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5903         trans_data argument.  Add hidden definition.
5904         (__gconv_translit_find): Remove.
5905         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5906         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5907         * iconv/skeleton.c: Remove transliteration initialization.
5908         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5909         __gconv_step_data initialization.
5910         * libio/iofwide.c (__libio_translit_): Remove.
5911         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5912         * wcsmbs/btowc.c (__btowc): Likewise.
5913         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5914         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5915         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5916         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5917         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5918         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5919         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5920         * wcsmbs/wctob.c (wctob): Likewise.
5922 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5924         [BZ #16194]
5925         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5926         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5927         register usage.
5928         * sysdeps/x86/Makefile: Adjust.
5930 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5931             Roland McGrath  <roland@hack.frob.com>
5933         * locale/weight.h: Add include guard.
5934         (findidx): Make static rather than auto; take new parameters
5935         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5936         * locale/weightwc.h: Likewise.
5937         * posix/fnmatch_loop.c
5938         (FCT): Change type of EXTRA from int32_t to wint_t.
5939         Don't include either header inside the function.
5940         Call FINDIDX rather than findidx, and pass new arguments.
5941         #undef FINDIDX at the end of the file.
5942         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5943         FINDIDX before including fnmatch_loop.c for the non-wide version.
5944         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5945         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5946         for the wide version.
5947         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5948         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5949         Pass new arguments to findidx.
5950         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5951         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5952         Don't #include it inside the function.  Pass new arguments to findidx.
5953         * posix/regex_internal.h
5954         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5955         (re_string_elem_size_at): Don't #include it inside the function.
5956         Pass new arguments to findidx.
5957         * string/strcoll_l.c: #include WEIGHT_H at top level.
5958         (get_next_seq): Don't #include it inside the function.
5959         Pass new arguments to findidx.
5960         (get_next_seq_nocache): Likewise.
5961         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5962         (STRXFRM): Don't #include it inside the function.
5963         Pass new arguments to findidx.
5965 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5967         [BZ #17344]
5968         * malloc/malloc.c (unlink): Turn asserts into a call to
5969         malloc_printerr.
5971 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5973         [BZ #17370]
5974         * libio/wfileops (do_ftell_wide): Free OUT.
5976 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5978         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5980 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5982         [BZ #17363]
5983         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5984         group if the current group is empty.
5986 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5988         * benchtests/bench-memset.c (test_main): Add more test from size
5989         from 32 to 512 bytes.
5990         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5991         Add POWER8 memset object.
5992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5993         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5994         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5995         implementation.
5996         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5997         Likewise.
5998         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5999         multiarch POWER8 memset optimization.
6000         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6001         POWER8 memset optimization.
6003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6004         Remove bzero multiarch objects.
6005         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6006         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6007         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6008         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6009         Remove define.
6010         [__bzero]: Redefine to specific name.
6011         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6012         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6013         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6014         define.
6015         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6016         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6018 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6020         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6021         warnings into errors.
6023         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6024         __cxa_thread_atexit_impl prototype.
6026 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6028         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6029         Fix capitalization of error message.
6031 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6033         * sysdeps/mips/preconfigure: Modify ABI tests.
6035 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6037         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6039 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6040             Carlos O'Donell  <carlos@systemhalted.org>
6042         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6043         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6044         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6045         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6046         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6047         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6048         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6049         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6050         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6051         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6052         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6053         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6054         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6055         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6056         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6057         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6058         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6059         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6060         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6061         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6062         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6063         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6064         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6065         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6066         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6067         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6068         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6069         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6070         Deconditionalize the code that was previously under [RESET_PID].
6071         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6072         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6073         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6074         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6075         include sysdep.h.
6077 2014-09-08  Allan McRae  <allan@archlinux.org>
6079         * version.h (RELEASE): Set to "development".
6080         (VERSION): Set to "2.20.90"
6082 2014-09-07  Allan McRae  <allan@archlinux.org
6084         * version.h (RELEASE): Set to "stable".
6085         (VERSION): Set to "2.20"
6086         * include/features.h (__GLIBC_MINOR__): Set to 20.
6088         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6089         Liebler.
6091         * po/ko.po: Update Korean translation from translation project.
6093 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6095         [BZ #17354]
6096         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6097         macro for handling signed relocations.
6099 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6101         [BZ #17325]
6102         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6103         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6104         assert.
6105         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6106         * iconvdata/ibm935.c (BODY): Likewise.
6107         * iconvdata/ibm937.c (BODY): Likewise.
6108         * iconvdata/ibm939.c (BODY): Likewise.
6109         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6110         assert.
6111         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6112         script.
6113         * iconvdata/run-iconv-test.sh: New test loop for checking for
6114         decoder crashers.
6116 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6118         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6119         libm_hidden_ver.
6121 2014-09-01  Allan McRae  <allan@archlinux.org>
6123         * po/eo.po: Update Esperanto translation from translation project.
6125         * po/ca.po: Update Catalan translation from translation project.
6127 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6129         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6130         __proc_dostop call.
6132 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6134         [BZ #17319]
6135         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6136         to call set_thread_area instead of hand written asm.
6137         (__NR_set_thread_area): Removed define.
6138         (TLS_FLAG_WRITABLE): Likewise.
6139         (__ASSUME_SET_THREAD_AREA): Remove check.
6140         (TLS_EBX_ARG): Remove define.
6141         (TLS_LOAD_EBX): Likewise.
6143 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6145         Simplify atomicity of socket creation in bind.
6147         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6148         looking up the name after linking the file.
6150 2014-08-27  Allan McRae  <allan@archlinux.org>
6152         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6154 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6156         [BZ #17187]
6157         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6158         trans_compare, open_translit, __gconv_translit_find):
6159         Remove module loading code.
6161 2014-08-26  Allan McRae  <allan@archlinux.org>
6163         * po/vi.po: Update Vietnamese translation from translation project.
6165         * po/uk.po: Update Ukrainian translation from translation project.
6167         * po/fr.po: Update French translation from translation project.
6169         * po/ru.po: Update Russian translation from translation project.
6171         * po/pl.po: Update Polish translation from translation project.
6173         * po/cs.po: Update Czech translation from translation project.
6175         * po/de.po: Update German translation from translation project.
6177         * po/bg.po: Update Bulgarian translation from translation project.
6179         * po/sv.po: Update Sweedish translation from translation project.
6181         * po/nl.po: Update Dutch translation from translation project.
6183         * po/es.po: Update Spanish translation from translation project.
6185 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6187         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6189         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6190         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6191         (CPPFLAGS-iconvconfig): Likewise.
6192         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6194         * include/libc-symbols.h: Remove unnecessary check for
6195         NOT_IN_libc.
6196         * nptl/pthreadP.h: Likewise.
6197         * sysdeps/aarch64/setjmp.S: Likewise.
6198         * sysdeps/alpha/setjmp.S: Likewise.
6199         * sysdeps/arm/sysdep.h: Likewise.
6200         * sysdeps/i386/setjmp.S: Likewise.
6201         * sysdeps/m68k/setjmp.c: Likewise.
6202         * sysdeps/posix/getcwd.c: Likewise.
6203         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6204         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6205         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6206         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6207         * sysdeps/sh/sh3/setjmp.S: Likewise.
6208         * sysdeps/sh/sh4/setjmp.S: Likewise.
6209         * sysdeps/unix/alpha/sysdep.h: Likewise.
6210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6211         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6212         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6213         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6218         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6221         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6223         * sysdeps/x86_64/setjmp.S: Likewise.
6225 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6227         [BZ #17263]
6228         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6229         <stdint.h>.
6230         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6231         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6233 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6235         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6237         [BZ #17262]
6238         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6239         and __x86_64__ when disabling x87 inline functions.
6241 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6243         [BZ #17259]
6244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6245         asm statement with __cpuid_count.
6247 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6249         * configure.ac: Change __ehdr_start code to dereference the struct.
6250         Run readelf on the output to look for relocations.
6251         * configure: Regenerated.
6253 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6255         [BZ #17261]
6256         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6257         value to 0.
6258         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6260 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6262         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6264 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6266         [BZ #16892]
6267         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6268         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6270 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6272         * malloc/malloc.c: Fix typo in comment.
6274 2014-08-09  Allan McRae  <allan@archlinux.org>
6276         * Regenerate libc.po.
6278 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6280         * intl/tst-gettext2.sh: Check every lang file for creation.
6282 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6284         * sysdeps/aarch64/fpu/math_private.h
6285         (libc_feholdsetround_noex_aarch64_ctx): New function.
6287 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6289         * sysdeps/arm/armv6/strcpy.S (strcpy):
6290         Fix performance issue in misaligned cases.
6292 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6294         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6295         Move definition from termios.h.
6296         (struct termio): Likewise.
6297         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6298         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6299         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6300         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6301         Likewise.
6302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6303         Move definition to ioctl-types.h
6304         (struct termio): Likewise.
6305         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6306         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6307         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6308         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6309         Likewise.
6311 2014-08-05  Richard Henderson  <rth@redhat.com>
6313         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6314         exceptions.
6315         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6316         Add fraiseexcpt.
6317         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6318         Use __feraiseexcept.
6319         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6320         Protect libm symbols with IS_IN_libm.
6322         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6324 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6326         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6328 2014-08-04  Will Newton  <will.newton@linaro.org>
6330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6331         file.
6333 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6335         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6336         variants for each function.
6338 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6340         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6341         appended ...
6342         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6343         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6344         appended ...
6345         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6346         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6347         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6348         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6349         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6350         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6351         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6352         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6353         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6354         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6355         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6356         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6369         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6371         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6375         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6376         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6377         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6378         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6379         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6380         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6381         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6382         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6383         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6384         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6385         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6387         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6388         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6389         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6391         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6393         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6394         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6395         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6396         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6397         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6398         Update #include.
6399         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6400         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6402 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6405         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6407         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6408         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6409         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6413         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6414         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6415         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6416         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6418 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6420         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6421         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6422         (__libc_vfork): Define function under this name.
6423         (__vfork): Define as an alias.
6424         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6425         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6429         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6430         that was previously under [RESET_PID].
6431         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6433 2014-08-04  Andreas Schwab  <schwab@suse.de>
6435         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6437 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6439         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6440         (main): Likewise.
6442 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6444         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6446 2014-08-01  Richard Henderon  <rth@redhat.com>
6448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6449         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6450         typo in exact zero test.
6451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6452         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6455 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6457         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6458         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6459         * sysdeps/arm/sysdep.h: ... here.
6460         [!__ASSEMBLER__]: Include <stdint.h>.
6462 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6464         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6465         (HAVE_WCTYPE_H): Likewise.
6466         (HAVE_ISWCTYPE): Likewise.
6467         (ENABLE_NLS): Likewise.
6468         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6469         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6471         * posix/regex_internal.c: Check if DEBUG is defined and is
6472         set.
6474         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6475         (HAVE_MBSRTOWCS): Likewise.
6476         * posix/fnmatch.c: Include string.h unconditionally.
6478 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6480         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6481         reversal.
6483 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6485         * sysdeps/generic/safe-fatal.h: New file.
6486         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6487         * nptl/forward.c: Include it.
6488         (__pthread_unwind): Use __safe_fatal as default action, rather
6489         than a bogus use of INTERNAL_SYSCALL that could never work.
6491         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6492         * configure.ac (libc_cv_builtin_trap): New test.
6493         * configure: Regenerated.
6494         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6495         (ABORT_INSTRUCTION): Define using __builtin_trap.
6497         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6498         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6499         * sysdeps/nptl/nptl-signals.h: New file.
6500         * nptl/pthreadP.h: Include <nptl-signals.h>.
6502 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6504         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6505         (ONE_DIRECTION): Define.
6506         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6507         (ONE_DIRECTION): Define.
6508         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6509         (ONE_DIRECTION): Define.
6511 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6513         * sysdeps/s390/Makefile: Delete file.
6514         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6515         * sysdeps/s390/__longjmp.c: Delete file.
6516         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6517         Remove fields __flags and __reserved.
6518         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6519         and add versioning.
6520         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6521         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6522         * sysdeps/s390/rtld-setjmp.S: Likewise.
6523         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6524         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6525         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6526         * sysdeps/s390/s390-32/setjmp.S: ... here.
6527         Add versioning.
6528         (__sigsetjmp): Remove setting __flags field.
6529         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6530         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6531         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6532         * sysdeps/s390/s390-64/setjmp.S: ... here.
6533         Add versioning.
6534         (__sigsetjmp): Remove setting __flags field.
6535         * sysdeps/s390/setjmp.S: Delete file.
6536         * sysdeps/s390/sigjmp.c: Likewise.
6537         * sysdeps/s390/v1-longjmp.c: Likewise.
6538         * sysdeps/s390/v1-setjmp.h: Likewise.
6539         * sysdeps/s390/v1-sigjmp.c: Likewise.
6540         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6541         Remove v1-longjmp_chk.
6542         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6543         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6544         Include debug/longjmp_chk.c and add versioning.
6545         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6546         Include nptl/pt-longjmp.c and add versioning.
6547         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6548         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6549         Include __longjmp.c.
6550         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6551         Move to ...
6552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6553         (__getcontext): Remove setting __flags field.
6554         Add versioning.
6555         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6556         Don't restore upper high grps.
6557         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6558         Likewise.
6559         (__swapcontext): Remove setting uc_flags field.
6560         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6561         Delete file.
6562         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6563         Include __longjmp.c.
6564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6565         Move to ...
6566         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6567         (__getcontext): Remove setting __flags field.
6568         Add versioning.
6569         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6570         (__swapcontext): Remove setting uc_flags field.
6571         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6572         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6573         Remove fields uc_high_gprs and __reserved.
6574         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6575         New file with reverted content.
6576         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6577         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6578         Regenerated.
6579         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6580         Regenerated.
6582 2014-07-31  Andreas Schwab  <schwab@suse.de>
6584         * config.h.in (HAVE_IFUNC): Define to 0.
6585         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6586         definedness.
6588 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6591         memmove-avx-unaligned, memcpy-avx-unaligned and
6592         mempcpy-avx-unaligned.
6593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6594         Add tests for AVX memcpy functions.
6595         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6596         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6597         memcpy_chk.
6598         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6599         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6600         memmove_chk.
6601         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6602         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6603         mempcpy_chk.
6604         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6605         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6606         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6608 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6610         [BZ #17213]
6611         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6612         powerpc64le.
6614 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6616         [BZ #16839]
6617         * manual/llio.texi: Add section about open file description locks.
6618         * manual/examples/ofdlocks.c: Example of open file description
6619         lock usage.
6620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6621         F_OFD_SETLK, and F_OFD_SETLKW.
6623 2014-07-23  Allan McRae  <allan@archlinux.org>
6625         * po/es.po: Update Spanish translation from translation project.
6627 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6629         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6631 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6633         [BZ #17078]
6634         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6635         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6636         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6638 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6640         [BZ #17088]
6641         * math/fesetenv.c (__fesetenv)
6642         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6643         * math/feupdateenv.c (__feupdateenv)
6644         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6646         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6647         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6648         (__ASSUME_SOCKETCALL): Do not define.
6650         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6651         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6652         (__ASSUME_SOCKETCALL): Do not define.
6653         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6654         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6655         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6656         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6657         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6658         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6660         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6662         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6663         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6664         (__ASSUME_SOCKETCALL): Do not define.
6665         (__ASSUME_IPC64): Define unconditionally.
6666         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6667         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6668         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6670         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6672         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6673         Likewise.
6675         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6676         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6677         (__ASSUME_SOCKETCALL): Do not define.
6678         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6679         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6680         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6681         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6682         (__ASSUME_REQUEUE_PI): Define unconditionally.
6683         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6684         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6685         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6686         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6687         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6688         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6690         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6691         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6692         (__ASSUME_SOCKETCALL): Do not define.
6693         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6694         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6695         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6696         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6698         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6700         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6701         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6702         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6703         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6705         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6707         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6708         (__ASSUME_GETCPU_SYSCALL): Likewise.
6710         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6711         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6712         cases for individual architectures.
6713         * sysdeps/gnu/configure: Regenerated.
6714         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6715         LIBC_SLIBDIR_RTLDDIR.
6716         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6717         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6718         LIBC_SLIBDIR_RTLDDIR.
6719         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6721         LIBC_SLIBDIR_RTLDDIR.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6723         Regenerated.
6724         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6725         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6726         file.
6727         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6728         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6729         file.
6730         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6731         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6732         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6733         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6735         * sysdeps/aarch64/shlib-versions: Move to ...
6736         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6737         * sysdeps/alpha/shlib-versions: Move to ...
6738         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6739         * sysdeps/arm/shlib-versions: Move to ...
6740         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6741         * sysdeps/hppa/shlib-versions: Move all contents except for
6742         libgcc_s entry to ...
6743         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6744         entry from ...
6745         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6746         * sysdeps/ia64/shlib-versions: Move to ...
6747         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6748         entry from ...
6749         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6750         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6751         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6752         * sysdeps/microblaze/shlib-versions: Move to ...
6753         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6754         * sysdeps/mips/shlib-versions: Move to ...
6755         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6756         entry from ...
6757         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6758         * sysdeps/tile/shlib-versions: Move to ...
6759         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6760         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6761         from ...
6762         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6763         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6764         entry from ...
6765         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6767 2014-07-17  Will Newton  <will.newton@linaro.org>
6769         * sysdeps/arm/bits/atomic.h
6770         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6771         (__arch_compare_and_exchange_bool_16_int): Likewise.
6772         (__arch_compare_and_exchange_bool_64_int): Likewise.
6774         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6775         into an #else block.
6777 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6779         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6780         just Linux configurations.  Test empirically that the compiler sets
6781         __ARM_EABI__, rather than using the tuple to decide.
6782         * sysdeps/arm/preconfigure: Regenerated.
6783         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6784         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6785         contents appended ...
6786         * sysdeps/arm/configure.ac: ... here.
6787         * sysdeps/arm/configure: Regenerated.
6789 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6791         * nptl/pthread_kill.c: New file.
6792         * nptl/pthread_sigmask.c: New file.
6793         * nptl/pthread_sigqueue.c: New file.
6795         * sysdeps/nptl/lowlevellock.h: New file.
6796         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6797         * sysdeps/nptl/lowlevellock-futex.h: New file.
6799         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6800         Remove dead declarations.
6802 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6804         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6805         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6806         config-cflags-avx2.
6807         * sysdeps/x86_64/configure.ac: Likewise.
6808         * sysdeps/i386/configure: Regenerated.
6809         * sysdeps/x86_64/configure: Likewise.
6810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6811         memset-avx2 only if config-cflags-avx2 is yes.
6812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6813         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6814         defined.
6815         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6816         only if HAVE_AVX2_SUPPORT is defined.
6817         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6819 2014-07-14  Alan Modra  <amodra@gmail.com>
6821         [BZ #17153]
6822         * elf/elf.h (DT_PPC64_NUM): Correct value.
6823         * NEWS: Add to fixed bug list.
6825 2014-07-13  Jim Meyering  <meyering@fb.com>
6827         [BZ 17150]
6828         regex: don't deref NULL upon heap allocation failure
6829         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6830         failure in one more place.
6831         To trigger the segfault, configure grep -with-included-regex,
6832         build it, and run these commands:
6833         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6835 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6837         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6839 2014-07-11  Richard Henderson  <rth@redhat.com>
6841         * sysdeps/aarch64/libm-test-ulps: Update.
6843 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6845         [BZ #17135]
6846         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6847         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6848         (__nptl_setxid): Initialize error member.  Call
6849         __nptl_setxid_error.
6850         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6851         * nptl/descr.h (struct xid_command): Add error member.
6852         * nptl/tst-setuid3.c: New file.
6853         * nptl/Makefile (tests): Add it.
6855 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6857         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6858         New define.
6859         (__lll_trylock): Use __lll_base_trylock.
6860         (__lll_cond_trylock): Likewise.
6862 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6864         * nptl/pthread_create.c (start_thread): Use atomic_or and
6865         lll_futex_wake directly rather than lll_robust_dead.
6866         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6867         (lll_robust_dead): Macro removed.
6868         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6869         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6870         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6871         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6872         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6873         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6874         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6875         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6876         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6877         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6878         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6879         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6880         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6881         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6884         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6885         Use atomic_compare_and_exchange_val_acq directly rather than
6886         lll_robust_trylock.
6887         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6888         (__lll_robust_trylock, lll_robust_trylock): Removed.
6889         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6890         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6893         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6894         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6895         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6896         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6898         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6899         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6901         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6904 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6906         * manual/locale.texi (Locale Names): New section documenting
6907         locale name syntax.  Adjust menu and node chaining accordingly.
6908         (Choosing Locale): Reference Locale Names, Locale Categories.
6909         Mention setting LC_ALL=C.  Reflect that name syntax is now
6910         documented.
6911         (Locale Categories): New section title.  Reference Locale Names.
6912         LC_ALL is an environment variable, but not a category.
6913         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6914         description, now in Locale Name.  Reference that section.  Locale
6915         name syntax is now documented.
6917 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6919         [BZ #17137]
6920         * locale/findlocale.c (name_present, valid_locale_name): New
6921         functions.
6922         (_nl_find_locale): Use the loc_name variable to store name
6923         candidates.  Call name_present and valid_locale_name to check and
6924         validate locale names.  Return an error if the locale is invalid.
6926 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6928         * locale/setlocale.c (setlocale): Use strdup for allocating
6929         composite name copy.
6931 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6933         Sync up with gnulib.
6934         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6935         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6936         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6937         and _GL_ARG_NONNULL.
6938         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6939         [!_LIBC]: Include code for Windows and Cygwin.
6940         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6941         Include prototype for int strerror_r.
6942         [!_LIBC] (is_open): New function.
6943         (flush_stdout): New function.
6944         (print_errno_message): Use it.
6945         (error): Likewise.
6946         (error_at_line): Likewise.
6947         (error_tail) Add function attribute macros.  Use
6948         __builtin_expect.
6950         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6952         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6954         * io/ftw.c: Include sys/param.h unconditionally.
6956         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6958         [BZ #17125]
6959         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6960         libc_freeres_ptr.
6961         (freecache): New function to free CACHE on exit.
6963         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6964         initialization.
6966 2014-07-09  David S. Miller  <davem@davemloft.net>
6968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6970         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6971         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6972         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6973         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6974         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6975         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6976         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6977         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6978         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6979         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6980         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6981         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6982         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6984 2014-07-09  Andreas Schwab  <schwab@suse.de>
6986         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6987         output.
6988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6989         (do_test): Likewise.
6991         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6993 2014-07-09  Will Newton  <will.newton@linaro.org>
6995         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6996         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6997         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6998         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6999         * sysdeps/hppa/start.S (_start): Likewise.
7001 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7003         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7005         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7006         defined.
7008 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7010         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7011         after checking that it is non-NULL.
7013         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7015 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7017         * sysdeps/powerpc/memmove.c: Remove file.
7018         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7019         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7021         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7022         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7023         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7024         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7025         string memmove instead of removed powerpc one.
7027         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7028         [weak_alias]: Fix compiler warning due trailing data.
7029         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7030         [weak_alias]: Likewise.
7031         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7032         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7035         (__libc_ifunc_impl_list): Add memmove functions.
7037 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7039         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7040         Remove code.
7041         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7042         Likewise
7043         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7044         Likewise
7045         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7046         Likewise
7047         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7048         Likewise
7049         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7050         Likewise
7051         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7052         Likewise
7053         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7054         Likewise
7055         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7056         Likewise
7057         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7058         Likewise
7059         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7060         Likewise
7061         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7062         Likewise
7063         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7064         Likewise
7065         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7066         Likewise
7067         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7068         Likewise
7069         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7070         Likewise
7071         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7072         Likewise
7074 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7077         to avoid alignment traps in non-cacheable memory.
7078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7081         multiarch objects.
7082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7083         file: multiarch power7 memmove.
7084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7085         multiarch default memmove.
7086         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7087         multiarch memove for powerpc32/power4.
7089         * string/bcopy.c: Use full path to include memmove.c.
7090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7091         multiarch objects.
7092         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7093         bcopy for powerpc64.
7094         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7095         bcopy for powerpc64.
7096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7097         and memmove implementations.
7098         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7099         optimized multiarch memmove for POWER7/powerpc64.
7100         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7101         default multiarch memmove for powerpc64.
7102         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7103         multiarch for powerpc64.
7104         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7105         for POWER7/powerpc64.
7106         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7107         memmove for POWER7/powerpc64.
7109         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7110         glibc default one.
7112         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7113         __ELF_NATIVE_CLASS equal to 64.
7115 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7117         * sysdeps/nptl/lowlevellock.h: File removed.
7119         * NEWS: NPTL is no longer an add-on!
7120         * nptl/internaltypes.h: Moved ...
7121         * sysdeps/nptl/internaltypes.h: ... here.
7122         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7123         * sysdeps/nptl/fork.c: Likewise.
7124         * sysdeps/nptl/gai_misc.h: Likewise.
7125         * sysdeps/nptl/librt-cancellation.c: Likewise.
7126         * sysdeps/nptl/jmp-unwind.c: Likewise.
7127         * sysdeps/nptl/setxid.h: Likewise.
7128         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7129         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7130         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7131         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7132         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7133         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7134         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7135         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7136         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7137         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7138         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7139         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7140         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7141         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7142         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7143         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7144         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7145         * nptl/Makeconfig: Moved ...
7146         * sysdeps/nptl/Makeconfig: ... here.
7147         * nptl/configure: File removed.
7148         * nptl/ANNOUNCE: File removed.
7149         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7150         * sysdeps/unix/sysv/linux/configure: Regenerated.
7152         * nptl/Makefile (routines): Add libc_pthread_init,
7153         libc_multiple_threads, register-atfork and unregister-atfork.
7154         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7155         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7156         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7157         pthread-pi-defines.sym, structsem.sym.
7158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7159         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7160         [$(subdir) = nptl] (tests): Add tst-setgetname.
7161         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7162         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7163         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7164         [!LIBC_SIGACTION]: Remove aliases.
7165         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7166         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7167         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7168         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7169         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7170         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7173         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7174         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7175         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7176         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7177         __libc_allocate_rtsig_private.
7178         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7179         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7180         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7182         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7183         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7184         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7185         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7186         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7187         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7188         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7189         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7190         * nptl/internaltypes.h: ... here.
7191         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7192         * sysdeps/nptl/jmp-unwind.c: ... here.
7193         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7194         * nptl/libc-lowlevellock.c: ... here.
7195         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7196         * nptl/libc_multiple_threads.c: ... here.
7197         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7198         * nptl/libc_pthread_init.c: ... here.
7199         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7200         * nptl/lowlevelbarrier.sym: ... here.
7201         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7202         * nptl/lowlevelcond.sym: ... here.
7203         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7204         * nptl/lowlevellock.c: ... here.
7205         * nptl/lowlevellock.h: Moved ...
7206         * sysdeps/nptl/lowlevellock.h: ... here.
7207         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7208         * nptl/lowlevelrobustlock.c: ... here.
7209         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7210         * nptl/lowlevelrobustlock.sym: ... here.
7211         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7212         * nptl/lowlevelrwlock.sym: ... here.
7213         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7214         * nptl/pt-fork.c: ... here.
7215         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7216         * nptl/pthread-pi-defines.sym: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7218         * nptl/pthread_attr_getaffinity.c: ... here.
7219         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7220         * nptl/pthread_attr_setaffinity.c: ... here.
7221         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7222         * nptl/pthread_mutex_cond_lock.c: ... here.
7223         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7224         Update #include.
7225         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7226         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7227         * nptl/pthread_once.c: ... here, replacing old file.
7228         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7229         * nptl/pthread_yield.c: ... here.
7230         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7231         * nptl/register-atfork.c: ... here.
7232         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7233         * nptl/sem_post.c: ... here.
7234         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7235         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7236         * nptl/sem_timedwait.c: ... here.
7237         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7238         * nptl/sem_trywait.c: ... here.
7239         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7240         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7241         * nptl/sem_wait.c: ... here.
7242         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7243         * nptl/structsem.sym: ... here.
7244         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7245         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7246         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7247         * nptl/unregister-atfork.c: ... here.
7248         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7249         * nptl/unwindbuf.sym: ... here.
7250         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7251         * sysdeps/nptl/fork.c: ... here.
7252         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7253         * sysdeps/nptl/fork.h: ... here.
7254         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7255         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7256         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7257         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7258         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7259         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7260         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7261         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7262         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7263         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7264         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7265         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7266         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7267         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7268         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7269         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7270         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7271         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7272         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7273         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7274         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7275         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7276         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7277         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7278         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7279         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7280         * sysdeps/unix/sysv/linux/raise.c: ... here.
7281         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7282         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7283         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7284         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7285         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7286         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7287         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7288         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7289         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7290         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7291         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7292         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7293         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7294         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7295         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7297 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7299         * sysdeps/generic/memcopy.h: Add comment for
7300         MEMCPY_OK_FOR_FWD_MEMMOVE.
7302 2014-07-04  Will Newton  <will.newton@linaro.org>
7304         * string/memchr.c: Merge from gnulib.
7305         [_LIBC]: Remove conditionals.
7306         (__ptr_t): Remove define.
7307         (LONG_MAX_32_BITS): Likewise.
7308         (LONG_MAX): Likewise.
7309         (MEMCHR): Use ANSI prototype and optimize algorithm.
7311         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7313 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7315         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7316         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7318         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7319         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7320         in a bare environment with no <stdlib.h> installed.
7321         * sysdeps/nptl/configure: Regenerated.
7323         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7325         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7326         AC_EGREP_CPP for kernel header checks, so they only succeed if
7327         including <linux/version.h> actually works right.
7328         * sysdeps/unix/sysv/linux/configure: Regenerated.
7330         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7331         value so it's not diagnosed as unused.
7333         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7334         thing) with "ifeq ($(subdir),rt)".
7336 2014-07-03  Richard Henderson  <rth@redhat.com>
7338         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7339         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7340         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7342         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7343         (math_force_eval): New.
7345         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7346         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7348         * sysdeps/alpha/fpu/s_round.c: Remove file.
7349         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7351         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7352         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7353         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7354         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7355         (_dl_start, print_statistics): Likewise.
7356         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7357         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7359         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7360         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7361         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7362         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7363         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7364         (HP_SMALL_TIMING_AVAIL): Define.
7365         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7367         (HP_SMALL_TIMING_AVAIL): Define.
7368         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7369         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7371         * sysdeps/aarch64/hp-timing.h: New file.
7373         * sysdeps/generic/hp-timing.h: Remove dead comment.
7374         * sysdeps/generic/hp-timing-common.h: New file.
7375         * sysdeps/alpha/hp-timing.h: Include it.
7376         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7377         * sysdeps/i386/i686/hp-timing.h: Likewise.
7378         * sysdeps/ia64/hp-timing.h: Likewise.
7379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7380         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7381         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7382         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7383         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7384         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7385         (hp_timing_t): New.
7387         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7388         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7389         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7390         * elf/rtld.c (_dl_start_final): Likewise.
7391         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7392         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7393         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7394         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7395         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7396         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7397         (HP_TIMING_DIFF_INIT): Remove.
7398         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7400         (HP_TIMING_DIFF_INIT): Remove.
7401         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7402         * sysdeps/i386/i686/hp-timing.c: Remove file.
7403         * sysdeps/x86_64/hp-timing.c: Remove file.
7404         * sysdeps/ia64/hp-timing.c: Remove file.
7405         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7406         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7408         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7410         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7411         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7412         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7413         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7415         (HP_TIMING_ACCUM): Remove.
7416         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7417         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7418         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7420         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7421         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7422         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7423         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7425         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7427         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7429         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7431 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7433         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7435 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7437         Sync up with gettext.
7438         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7439         [_MSC_VER]: Include malloc.h
7440         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7441         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7442         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7443         TEMP_FAILURE_RETRY.  Cast return of alloca.
7444         [!_LIBC] Call gl_rwlock_init.
7445         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7447 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7449         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7450         before checking its value.
7452 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7454         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7456         * debug/memcpy_chk.c: Don't include pagecopy.h.
7457         * debug/mempcpy_chk.c: Likewise.
7458         * string/memcpy.c: Likewise.
7459         * string/memmove.c: Likewise.
7460         * sysdeps/powerpc/memmove.c: Likewise.
7461         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7462         definition of PAGE_COPY_FWD_MAYBE here...
7463         * sysdeps/generic/pagecopy.h: ... from here.
7464         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7466 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7467             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7469         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7471         optimizations.
7472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7473         (__libc_ifunc_impl_list): Likewise.
7474         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7475         multiarch strcat for PPC64.
7476         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7477         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7479 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7481         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7483 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7485         * intl/loadmsgcat.c: Remove declaration of
7486         get_sysdep_segment_value.
7487         (get_sysdep_segment_value): Use ISO C style.
7488         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7489         semicolon.  Fix typo and formatting in comment.
7490         (_nl_unload_domain): Use ISO C style.
7492         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7494 2014-07-02  Will Newton  <will.newton@linaro.org>
7496         * malloc/obstack.c: Merge from gnulib master.
7497         [HAVE_CONFIG_H]: Remove conditional code.
7498         [!_LIBC]: Include config.h.
7499         [!ELIDE_CODE]: Don't include inttypes.h, include
7500         stdint.h unconditionally.
7501         (print_and_abort): Mark as _Noreturn.
7502         (_obstack_allocated_p): Mark as __attribute_pure__.
7503         (obstack_free): Rename to __obstack_free.
7504         [!__attribute__]: Remove conditional code.
7505         * malloc/obstack.h: Merge from gnulib master.
7506         [__cplusplus]: Move conditional down.
7507         [!__attribute_pure__]: Define __attribute_pure__ here
7508         if it is not already defined.
7509         (_obstack_memory_used): Mark as __attribute_pure__.
7510         [!__obstack_free]: Define as obstack_free.
7511         [__GNUC__]: Remove check for ancient NeXT gcc.
7513 2014-07-02  Will Newton  <will.newton@linaro.org>
7514             Paul Eggert  <eggert@cs.ucla.edu>
7516         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7518 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7520         * resolv/gethnamaddr.c: Add comment warning that the file is
7521         not maintained.
7523 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7525         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7526         entries.
7528         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7529         entry for aio_cancel and aio_cancel64.
7530         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7531         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7532         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7533         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7534         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7535         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7537         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7538         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7539         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7540         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7541         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7542         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7544 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7546         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7547         * nptl/pthread_mutex_lock.c: Likewise.
7548         * nptl/pthread_mutex_timedlock.c: Likewise.
7549         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7551 2014-07-01  Richard henderson  <rth@redhat.com>
7553         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7554         (__isnan, __isnanl): Remove.
7555         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7557         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7559 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7561         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7563 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7565         * resolv/nss_dns/dns-host.c (getanswer_r)
7566         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7568 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7571         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7572         undefine.
7573         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7574         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7576 2014-07-01  Roland McGrath <roland@hack.frob.com>
7578         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7579         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7581         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7582         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7584         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7585         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7586         ... here.
7587         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7588         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7590         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7591         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7592         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7593         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7595         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7596         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7597         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7598         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7600         Moved ...
7601         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7602         ... here.
7603         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7604         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7606         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7608         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7609         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7610         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7611         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7612         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7613         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7614         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7616         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7618         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7620         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7621         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7622         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7623         ... here.
7624         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7625         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7627         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7629         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7630         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7631         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7633 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7635         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7636         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7637         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7638         Add sysdep.
7640 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7644 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7646         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7649         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7651         * sysdeps/arm/libm-test-ulps: Regenerated.
7653 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7654             Roland McGrath <roland@hack.frob.com>
7656         * test-skeleton.c (signal_handler): Kill the whole process group
7657         before killing the child individually.
7658         (main): Report any failure on `setpgid'.
7660 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7662         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7663         from _TLS_H to _ARM_NPTL_TLS_H.
7664         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7665         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7667 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7669         [BZ #16539]
7670         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7671         (__expm1l): Return argument unchanged when small but not
7672         subnormal.
7674         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7675         include macro name.
7676         (_FP_UNPACK_RAW_1_P): Likewise.
7677         (_FP_PACK_RAW_1): Likewise.
7678         (_FP_PACK_RAW_1_P): Likewise.
7679         (_FP_MUL_MEAT_1_wide): Likewise.
7680         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7681         (_FP_MUL_MEAT_1_hard): Likewise.
7682         (_FP_DIV_MEAT_1_imm): Likewise.
7683         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7684         (_FP_DIV_MEAT_1_udiv): Likewise.
7685         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7686         (_FP_UNPACK_RAW_2): Likewise.
7687         (_FP_UNPACK_RAW_2_P): Likewise.
7688         (_FP_PACK_RAW_2): Likewise.
7689         (_FP_PACK_RAW_2_P): Likewise.
7690         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7691         (_FP_MUL_MEAT_2_wide): Likewise.
7692         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7693         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7694         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7695         (_FP_MUL_MEAT_2_gmp): Likewise.
7696         (_FP_DIV_MEAT_2_udiv): Likewise.
7697         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7698         (_FP_FRAC_SRL_4): Likewise.
7699         (_FP_FRAC_SRST_4): Likewise.
7700         (_FP_FRAC_SRS_4): Likewise.
7701         (_FP_UNPACK_RAW_4): Likewise.
7702         (_FP_UNPACK_RAW_4_P): Likewise.
7703         (_FP_PACK_RAW_4): Likewise.
7704         (_FP_PACK_RAW_4_P): Likewise.
7705         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7706         (_FP_MUL_MEAT_4_wide): Likewise.
7707         (_FP_MUL_MEAT_4_gmp): Likewise.
7708         (umul_ppppmnnn): Likewise.
7709         (_FP_DIV_MEAT_4_udiv): Likewise.
7710         (__FP_FRAC_ADD_4): Likewise.
7711         (__FP_FRAC_SUB_3): Likewise.
7712         (__FP_FRAC_SUB_4): Likewise.
7713         (__FP_FRAC_DEC_3): Likewise.
7714         (__FP_FRAC_DEC_4): Likewise.
7715         (__FP_FRAC_ADDI_4): Likewise.
7716         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7717         (_FP_FRAC_SRL_8): Likewise.
7718         (_FP_FRAC_SRS_8): Likewise.
7720         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7721         include macro name.
7722         (FP_UNPACK_RAW_EP): Likewise.
7723         (FP_PACK_RAW_E): Likewise.
7724         (FP_PACK_RAW_EP): Likewise.
7725         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7726         (_FP_ISSIGNAN): Likewise.
7727         (_FP_ADD_INTERNAL): Likewise.
7728         (_FP_FMA): Likewise.
7729         (_FP_CMP): Likewise.
7730         (_FP_SQRT): Likewise.
7731         (_FP_TO_INT): Likewise.
7732         (_FP_FROM_INT): Likewise.
7733         (FP_EXTEND): Likewise.
7734         (_FP_DIV_MEAT_N_loop): Likewise.
7736 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7738         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7739         throughout.
7741 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #17097]
7744         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7745         result with correct sign in case of exponents that produce
7746         overflow except for X very close to 1.
7748 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7750         mktime: merge #if/#ifdef usage from glibc
7751         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7752         as that works with both Glibc's and Gnulib's style.
7753         See thread starting at Siddhesh Poyarekar's bug report at:
7754         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7756 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7758         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7759         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7760         * sysdeps/tile/tilegx/memmove.c: Remove file.
7762 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7764         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7765         abi-name definition.
7766         * scripts/soversions.awk: Do not handle or generate ABI lines.
7767         * shlib-versions: Remove ABI entries.
7768         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7769         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7771 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7774         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7776         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7778         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7780         Moved ...
7781         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7782         ... here.
7783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7784         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7786         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7788         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7790         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7792         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7794         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7796         Moved ...
7797         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7801         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7803         Moved ...
7804         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7806         Moved ...
7807         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7811         Moved ...
7812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7814         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7816         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7818         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7820         Moved ...
7821         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7823         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7824         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7825         Moved ...
7826         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7827         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7828         Moved ...
7829         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7830         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7831         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7833         Moved ...
7834         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7835         ... here.
7836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7837         Identical file removed.
7838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7839         Moved ...
7840         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7842         Identical file removed.
7843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7844         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7846         Moved ...
7847         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7849         Identical file removed.
7850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7851         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7853         Identical file removed.
7854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7855         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7857         Identical file removed.
7858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7859         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7861         Identical file removed.
7862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7863         Moved ...
7864         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7866         Identical file removed.
7867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7873         Identical file removed.
7874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7875         Moved ...
7876         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7877         ... here.
7878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7879         Identical file removed.
7880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7881         Moved ...
7882         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7884         Identical file removed.
7885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7886         Moved ...
7887         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7889         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7891         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7893         Moved ...
7894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7895         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7896         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7898         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7899         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7900         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7901         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7902         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7904 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7906         [BZ #17092]
7907         * nscd/nscd.c (monitor_child): Return exit status of child
7908         instead of return value from wait syscall.
7910 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7912         * configure.ac (libc_commonpagesize): Remove variable.
7913         (libc_relro_required): Likewise.
7914         (libc_cv_z_relro): Remove configure test.
7915         * configure: Regenerated.
7916         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7917         variable.
7918         (libc_relro_required): Likewise.
7919         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7920         (libc_relro_required): Likewise.
7921         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7922         (libc_relro_required): Likewise.
7923         * sysdeps/arm/preconfigure: Regenerated.
7924         * sysdeps/ia64/preconfigure: Remove file.
7925         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7926         variable.
7927         (libc_relro_required): Likewise.
7929         [BZ #16561]
7930         [BZ #16562]
7931         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7932         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7933         recompute overflowing results in original rounding mode.
7934         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7935         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7936         recompute overflowing results in original rounding mode.
7937         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7938         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7939         recompute overflowing results in original rounding mode.
7940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7941         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7942         recompute overflowing results in original rounding mode.
7943         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7944         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7945         recompute overflowing results in original rounding mode.
7946         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7947         (libc_feholdsetround_ctx): New macro.
7948         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7949         * sysdeps/i386/fpu/libm-test-ulps: Update.
7950         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7952 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7954         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7955         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7956         corresponding .cpsetup call.
7958 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7960         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7961         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7962         * sysdeps/arm/Makefile [$(subdir) = csu]
7963         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7964         (static-only-routines): Add aeabi_read_tp here.
7965         (shared-only-routines): Add libc-aeabi_read_tp here.
7966         (CFLAGS-libc-start.c): Add -fexceptions here.
7967         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7968         (sysdep_routines, static-only-routines, shared-only-routines):
7969         Don't add to these here.
7970         (CFLAGS-libc-start.c): Likewise.
7972         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7973         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7974         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7975         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7976         * sysdeps/arm/Makefile [$(subdir) = rt]
7977         (librt-sysdep_routines, librt-shared-only-routines):
7978         Append rt-aeabi_unwind_cpp_pr1 here.
7979         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7980         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7981         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7982         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7983         Append nptl-aeabi_unwind_cpp_pr1 here.
7984         (tests): Filter out tst-cleanupx4 here.
7985         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7986         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7987         Don't do those here.
7989 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7991         * scripts/list-sources.sh: Do not handle ports specially.
7993 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7995         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7996         * sysdeps/arm/feupdateenv.c: Likewise.
7998         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8000 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8002         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8003         trailing whitespace removed.
8004         * scripts/config.guess: Update to version 2014-03-23.
8005         * scripts/config.sub: Update to version 2014-05-01
8006         * scripts/install-sh: Update to version 2013-12-25.23.
8007         * scripts/move-if-change: Update from gnulib.
8009 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8011         * debug/memmove_chk.c: Remove pagecopy.h include.
8013 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8015         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8016         identical to gnulib mktime.
8018 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8020         * configure.ac: Do not test for machine being rs6000.  Do not test
8021         for powerpc*-*soft.
8022         * configure: Regenerated.
8024         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8025         test.
8026         * configure: Regenerated.
8027         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8028         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8029         Remove configure test.
8030         * sysdeps/arm/configure: Regenerated.
8031         * sysdeps/nptl/configure.ac: Do not check
8032         libc_cv_asm_cfi_directives.
8033         * sysdeps/nptl/configure: Regenerated.
8034         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8035         * sysdeps/x86_64/nptl/configure: Remove generated file.
8036         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8037         unconditional.
8038         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8040 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8042         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8043         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8044         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8045         it is defined.
8047         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8048         instead of whether it is defined.
8049         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8050         * sysdeps/hppa/dl-machine.h: Likewise.
8051         * sysdeps/ia64/dl-machine.h: Likewise.
8052         * sysdeps/m68k/dl-machine.h: Likewise.
8053         * sysdeps/microblaze/dl-machine.h: Likewise.
8054         * sysdeps/mips/dl-machine.: Likewise.
8055         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8057         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8058         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8059         * sysdeps/sh/dl-machine.h: Likewise.
8060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8061         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8062         * sysdeps/tile/dl-machine.h: Likewise.
8063         * sysdeps/x86_64/dl-machine.h: Likewise.
8065         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8066         code.
8067         (verify_persistent_db): Likewise.
8069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8072         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8074         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8076         Moved ...
8077         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8078         ... here.
8079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8080         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8082         Identical file removed.
8083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8084         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8086         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8088         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8092         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8094         Moved ...
8095         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8097         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8099         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8101         Moved ...
8102         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8104         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8106         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8108         Identical file removed.
8109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8110         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8112         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8114         Moved ...
8115         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8116         ... here.
8117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8120         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8122         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8124         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8126         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8128         Moved ...
8129         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8131         Moved ...
8132         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8134         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8136         Moved ...
8137         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8139         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8141         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8142         folded into ...
8143         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8144         * sysdeps/unix/sysv/linux/s390/Versions
8145         (libpthread: GLIBC_2.19): New version set.
8146         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8147         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8148         (librt: GLIBC_2.3.3): New version set.
8149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8150         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8151         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8152         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8153         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8154         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8155         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8156         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8157         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8158         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8159         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8160         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8161         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8163         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8164         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8165         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8166         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8167         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8168         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8169         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8171         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8173         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8175         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8177         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8179         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8186         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8187         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8189         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8191         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8193         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8195         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8196         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8197         (__libc_vfork): Define the function under this name.
8198         [!NOT_IN_libc] (__vfork): Make this an alias.
8199         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8201         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8202         (__libc_vfork): Define the function under this name.
8203         [!NOT_IN_libc] (__vfork): Make this an alias.
8204         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8205         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8206         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8212         code that was previously under [RESET_PID].
8213         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8217         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8218         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8220         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8221         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8222         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8223         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8224         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8225         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8226         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8227         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8228         Moved ...
8229         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8235         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8237         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8239         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8240         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8241         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8242         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8243         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8247         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8248         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8249         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8250         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8251         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8253         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8254         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8257         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8259 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8261         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8262         that was previously under [RESET_PID].
8263         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8265 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8267         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8268         not undefine and redefine.
8269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8270         [O_CLOEXEC]: Make code unconditional.
8271         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8272         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8273         <kernel-features.h>.
8274         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8275         conditional variable definition.
8276         (shm_open) [O_CLOEXEC]: Make code unconditional.
8277         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8278         code.
8280         * configure.ac (USE_REGPARMS): Don't define here.
8281         * configure: Regenerated.
8282         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8283         * sysdeps/i386/configure: Regenerated.
8285         * nptl/createthread.c: Don't include kernel-features.h.
8286         * nptl/pthread_cancel.c: Likewise.
8287         * nptl/pthread_condattr_setclock.c: Likewise.
8288         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8289         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8290         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8291         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8292         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8294         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8297         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8298         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8299         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8300         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8301         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8302         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8303         * nscd/gai.c: Likewise.
8304         * nss/nss_db/db-open.c: Likewise.
8305         * sysdeps/generic/ldsodefs.h: Likewise.
8306         * sysdeps/sh/nptl/tls.h: Likewise.
8307         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8308         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8309         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8310         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8311         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8312         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8313         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8314         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8316         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8317         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8318         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8319         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8320         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8321         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8322         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8323         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8324         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8325         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8326         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8329         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8330         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8335         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8336         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8337         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8338         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8339         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8340         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8342         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8343         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8344         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8345         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8346         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8347         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8348         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8349         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8350         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8351         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8352         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8353         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8354         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8355         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8356         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8357         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8358         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8359         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8360         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8361         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8362         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8363         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8387         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8388         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8389         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8390         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8391         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8393         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8394         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8395         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8396         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8397         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8398         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8399         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8400         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8401         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8402         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8403         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8404         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8405         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8406         * sysdeps/unix/sysv/linux/system.c: Likewise.
8407         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8408         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8409         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8410         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8411         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8413         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8415         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8416         * configure: Regenerated.
8417         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8419         * configure.ac (base_machine): Do not set specially for particular
8420         machines here.
8421         * configure: Regenerated.
8422         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8423         settings from configure.ac.
8424         * sysdeps/i386/preconfigure: New file.
8425         * sysdeps/s390/preconfigure: Likewise.
8426         * sysdeps/sh/preconfigure: Likewise.
8427         * sysdeps/sparc/preconfigure: Likewise.
8429 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8431         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8432         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8433         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8434         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8435         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8436         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8437         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8438         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8439         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8440         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8441         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8442         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8443         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8444         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8445         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8446         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8448         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8449         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8451         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8452         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8453         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8454         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8455         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8456         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8457         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8458         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8459         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8460         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8461         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8462         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8463         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8464         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8465         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8466         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8467         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8468         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8469         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8470         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8472         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8474         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8476         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8482         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8483         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8484         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8486         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8487         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8488         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8491         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8493         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8495         Moved ...
8496         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8497         ... here.
8498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8499         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8501         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8503         Moved ...
8504         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8506         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8508         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8510         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8512         Moved ...
8513         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8515         Moved ...
8516         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8518         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8520         Moved ...
8521         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8523         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8525         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8527         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8531         Moved ...
8532         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8533         ... here.
8534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8535         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8539         Moved ...
8540         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8542         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8544         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8546         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8548         Moved ...
8549         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8551         Moved ...
8552         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8554         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8556         Moved ...
8557         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8559         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8561         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8563 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8565         * timezone/checktab.awk: Update from tzcode 2014e.
8566         * timezone/private.h: Likewise.
8567         * timezone/tzfile.h: Likewise.
8568         * timezone/zdump.c: Likewise.
8569         * timezone/zic.c: Likewise.
8571         * sysdeps/unix/sysv/linux/kernel-features.h
8572         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8574         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8575         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8576         Remove conditional code.
8578 2014-06-25  Will Newton  <will.newton@linaro.org>
8580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8581         (_dl_arm_cap_flags): Add HWCAP2 values.
8582         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8583         (_DL_HWCAP_COUNT): Increase to 37.
8584         (_DL_HWCAP_LAST): New define.
8585         (_DL_HWCAP2_LAST): New define.
8586         (_dl_procinfo): Add support for printing
8587         AT_HWCAP2 entries.
8588         (_dl_string_hwcap): Use _dl_hwcap_string.
8590 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8594 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8596         * README: Do not mention ports directory.
8598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8599         Remove macro.
8600         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8601         <kernel-features.h>.
8602         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8603         conditional variable definition.
8604         (__futimes): Update comment.
8605         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8606         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8608         [BZ #16560]
8609         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8610         arguments close to 0.
8611         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8612         Likewise.
8613         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8614         Likewise.
8615         * math/auto-libm-test-in: Add more tests of exp10.
8616         * math/auto-libm-test-out: Regenerated.
8617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8619         * sysdeps/unix/sysv/linux/kernel-features.h
8620         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8621         * sysdeps/unix/sysv/linux/readv.c: Do not include
8622         <kernel-features.h>.
8623         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8624         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8625         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8626         unconditional.
8627         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8628         conditional code.
8629         * sysdeps/unix/sysv/linux/writev.c: Do not include
8630         <kernel-features.h>.
8631         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8632         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8633         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8634         unconditional.
8635         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8636         conditional code.
8638 2014-06-25  Will Newton  <will.newton@linaro.org>
8640         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8641         comment changes throughout the file.  Remove checks
8642         for HAVE_*_H definitions that are not required.
8643         (__gen_tempname): Call abort if an unknown kind value is
8644         passed.
8646 2014-06-25  Andreas Schwab  <schwab@suse.de>
8648         [BZ #17086]
8649         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8650         scalbln, scalblnf, scalblnl in libc.
8652 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8654         [BZ #17086]
8655         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8656         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8657         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8659 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8661         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8662         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8663         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8664         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8665         Update #include.
8666         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8667         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8668         Update #include.
8669         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8670         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8671         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8672         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8673         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8674         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8675         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8676         * sysdeps/x86/bits/semaphore.h: ... here.
8677         * sysdeps/x86/nptl/elide.h: Moved ...
8678         * sysdeps/x86/elide.h: ... here.
8679         * sysdeps/x86_64/nptl/Implies: File removed.
8680         * sysdeps/i386/nptl/Implies: File removed.
8682 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8684         [BZ #16539]
8685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8686         return the argument for normal arguments with exponent below -64.
8687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8688         Likewise.
8689         * math/auto-libm-test-in: Add another test of expm1.
8690         * math/auto-libm-test-out: Regenerated.
8692         [BZ #16287]
8693         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8694         calling __erfcl for arguments at least 16.
8695         * math/auto-libm-test-in: Add more tests of erf.
8696         * math/auto-libm-test-out: Regenerated.
8698         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8699         individual architectures.
8700         * sysdeps/unix/sysv/linux/configure: Regenerated.
8701         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8702         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8703         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8704         (ldd_rewrite_script): Define variable.
8705         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8707         file.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8709         generated file.
8710         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8711         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8712         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8713         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8714         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8715         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8716         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8717         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8719 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8721         [BZ #17084]
8722         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8723         Rename member __data.d to __data.__elision_data.
8725 2014-06-24  Wilco  <wdijkstr@arm.com>
8727         * NEWS: Add 16918 to fixed bug list.
8729 2014-06-24  Wilco  <wdijkstr@arm.com>
8731         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8733 2014-06-24  Wilco  <wdijkstr@arm.com>
8735         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8736         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8737         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8738         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8739         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8740         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8741         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8742         Use _FPU_MASK_RM.
8744 2014-06-24  Wilco  <wdijkstr@arm.com>
8746         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8748 2014-06-24  Wilco  <wdijkstr@arm.com>
8750         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8751         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8752         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8753         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8755 2014-06-24  Wilco  <wdijkstr@arm.com>
8757         [BZ #16918]
8758         * sysdeps/arm/feupdateenv.c (feupdateenv):
8759         Rewrite to reduce FPSCR accesses and fix return value.
8761 2014-06-24  Wilco  <wdijkstr@arm.com>
8763         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8764         Optimize to avoid unnecessary FPSCR writes.
8765         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8766         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8767         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8768         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8770 2014-06-24  Wilco  <wdijkstr@arm.com>
8772         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8773         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8774         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8775         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8776         Call libc_fetestexcept_vfp.
8777         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8778         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8779         __SOFTFP__ ifdef so that they can be built for softfp.
8781 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8783         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8784         argument type signed char.
8786         * Makerules (check-abi): Dump diff of symlist if the test
8787         fails.
8789 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8791         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8792         using abort.
8794         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8795         Remove unused variable ST.
8797 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #16354]
8800         [BZ #17061]
8801         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8802         small arguments before calling __expm1.
8803         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8804         small arguments before calling __expm1f.
8805         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8806         small arguments before calling __expm1l.
8807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8808         Likewise.
8809         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8810         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8811         spurious underflow for some cosh tests.
8812         * math/auto-libm-test-out: Regenerated.
8813         * sysdeps/i386/fpu/libm-test-ulps: Update.
8815         [BZ #17050]
8816         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8817         (__ieee754_y1): Set errno if return value overflows.
8818         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8819         (__ieee754_y1f): Set errno if return value overflows.
8820         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8821         (__ieee754_y1l): Set errno if return value overflows.
8822         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8823         (__ieee754_y1l): Set errno if return value overflows.
8824         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8825         * math/auto-libm-test-out: Regenerated.
8827         * math/gen-auto-libm-tests.c: Document use of
8828         ignore-zero-inf-sign.
8829         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8830         (input_flags): Add ignore-zero-inf-sign.
8831         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8832         * math/gen-libm-test.pl (generate_testfile): Handle
8833         ignore-zero-inf-sign.
8834         * math/auto-libm-test-in: Mark some cpow tests with
8835         ignore-zero-inf-sign and some with xfail-rounding.
8836         * math/auto-libm-test-out: Regenerated.
8837         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8838         * sysdeps/i386/fpu/libm-test-ulps: Update.
8839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8841         [BZ #16315]
8842         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8843         overflowing or underflowing operations take place with sign of
8844         result.
8845         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8846         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8847         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8848         (__ieee754_pow): Recompute overflowing and underflowing results in
8849         original rounding mode.
8850         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8851         (__powl_helper): Allow negative argument X and scale negated value
8852         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8853         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8854         overflowing or underflowing operations take place with sign of
8855         result.
8856         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8857         Include <math.h>.
8858         * math/auto-libm-test-in: Add more tests of pow.
8859         * math/auto-libm-test-out: Regenerated.
8860         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8861         (pow_tonearest_test_data): Remove.
8862         (pow_test_tonearest): Likewise.
8863         (pow_towardzero_test_data): Likewise.
8864         (pow_test_towardzero): Likewise.
8865         (pow_downward_test_data): Likewise.
8866         (pow_test_downward): Likewise.
8867         (pow_upward_test_data): Likewise.
8868         (pow_test_upward): Likewise.
8869         (main): Don't call removed functions.
8870         * sysdeps/i386/fpu/libm-test-ulps: Update.
8871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8873 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8876         Moved ...
8877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8879         Moved ...
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8882         Moved ...
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8885         Moved ...
8886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8888         File removed.
8889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8890         File removed.
8891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8892         File removed.
8893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8894         File removed.
8895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8896         File removed.
8897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8898         File removed.
8899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8900         File removed.
8901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8902         File removed.
8903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8904         File removed.
8905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8906         File removed.
8907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8908         File removed.
8909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8910         File removed.
8911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8912         Moved ...
8913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8915         Moved ...
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8917         ... here.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8919         Moved ...
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8922         Moved ...
8923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8925         Moved ...
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8928         Moved ...
8929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8931         Moved ...
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8934         Moved ...
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8937         Moved ...
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8941         ... here.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8943         Moved ...
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8946         Moved ...
8947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8948         ... here.
8949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8950         Moved ...
8951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8952         ... here.
8953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8954         Moved ...
8955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8956         ... here.
8957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8958         Moved ...
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8961         Moved ...
8962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8968         ... here.
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8970         Moved ...
8971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8972         ... here.
8973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8974         Moved ...
8975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8977         Moved ...
8978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8980         Moved ...
8981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8983         Moved ...
8984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8986         Moved ...
8987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8988         ... here.
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8990         Moved ...
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8993         Moved ...
8994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8996         Moved ...
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8999         Moved ...
9000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9004         Moved ...
9005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9007         Moved ...
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9010         Moved ...
9011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9012         ... here.
9013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9014         Moved ...
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9016         ... here.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9018         Moved ...
9019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9020         ... here.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9022         Moved ...
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9025         Moved ...
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9028         Moved ...
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9031         Moved ...
9032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9033         ... here.
9034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9035         Moved ...
9036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9037         ... here.
9038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9039         Moved ...
9040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9041         ... here.
9042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9043         Moved ...
9044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9046         Moved ...
9047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9049 2014-06-23  Will Newton  <will.newton@linaro.org>
9050             Wilco  <wdijkstr@arm.com>
9052         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9053         implementation.  Include get-rounding-mode.h.
9054         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9055         [!libc_feholdsetround_noex_ctx]: Define
9056         libc_feholdsetround_noex_ctx.
9057         [!libc_feholdsetround_noexf_ctx]: Define
9058         libc_feholdsetround_noexf_ctx.
9059         [!libc_feholdsetround_noexl_ctx]: Define
9060         libc_feholdsetround_noexl_ctx.
9061         (libc_feholdsetround_ctx): New function.
9062         (libc_feresetround_ctx): New function.
9063         (libc_feholdsetround_noex_ctx): New function.
9064         (libc_feresetround_noex_ctx): New function.
9066 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9068         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9069         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9070         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9071         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9072         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9073         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9075         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9076         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9077         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9078         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9079         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9080         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9082         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9084         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9086         Moved ...
9087         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9088         ... here.
9089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9090         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9092         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9094         Moved ...
9095         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9097         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9099         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9101         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9103         Moved ...
9104         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9106         Moved ...
9107         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9109         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9111         Moved ...
9112         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9114         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9115         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9116         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9117         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9118         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9120         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9122         Moved ...
9123         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9124         ... here.
9125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9126         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9130         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9132         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9136         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9138         Moved ...
9139         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9141         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9143         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9145         Moved ...
9146         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9148         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9149         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9152         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9153         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9154         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9155         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9156         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9157         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9158         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9159         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9161         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9162         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9163         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9164         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9165         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9166         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9167         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9168         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9169         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9170         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9171         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9172         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9173         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9174         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9175         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9176         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9177         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9178         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9179         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9181 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9184         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9185         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9186         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9187         (IPV6_PMTUDISC_INTERFACE): Likewise.
9188         (IPV6_PMTUDISC_OMIT): Likewise.
9190 2014-06-23  Andreas Schwab  <schwab@suse.de>
9192         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9193         Remove unused errout label.
9195 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9197         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9198         macro: hardware supports Vector Crypto instructions.
9200 2014-06-23  Will Newton  <will.newton@linaro.org>
9202         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9203         rather than __builtin_expect.
9205         * elf/dl-lookup.c (undefined_msg): Remove variable.
9206         (_dl_lookup_symbol_x): Replace undefined_msg with string
9207         literal.
9209         * elf/dl-lookup.c (do_lookup_unique): New function.
9210         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9211         to a separate function.
9213 2014-06-23  Andreas Schwab  <schwab@suse.de>
9215         [BZ #17079]
9216         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9217         before reading the next line.
9219 2014-06-23  Will Newton  <will.newton@linaro.org>
9221         * test-skeleton.c (signal_handler): Use printf and %m
9222         rather than perror.  Use printf rather than fprintf to
9223         stderr.  Use puts rather than fputs to stderr.
9224         (main): Likewise.
9226 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9228         * nscd/nscd.c (thread_info_t): Remove typedef.
9229         (thread_info): Remove variable.
9231 2014-06-21  Allan McRae  <allan@archlinux.org>
9233         * NEWS: Mention CVE-2014-4043.
9235 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9237         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9238         * nptl/smp.h: ... here.
9240         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9242         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9243         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9244         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9245         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9247         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9248         * nptl/stack-aliasing.h: New file.
9249         * sysdeps/i386/i686/stack-aliasing.h: New file.
9250         * sysdeps/i386/i686/nptl/Makefile: File removed.
9251         * sysdeps/x86_64/stack-aliasing.h: New file.
9252         * sysdeps/x86_64/nptl/Makefile
9253         (CFLAGS-pthread_create.c): Variable removed.
9255         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9256         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9257         old file.
9258         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9259         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9260         old file.
9262 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9265         (__ASSUME_SIGFRAME_V2): Remove macro.
9266         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9267         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9268         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9269         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9270         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9271         Declare as function.  Remove conditional macro definitions.
9272         (__default_rt_sa_restorer): Likewise.
9273         (__default_sa_restorer_v1): Remove declaration.
9274         (__default_sa_restorer_v2): Likewise.
9275         (__default_rt_sa_restorer_v1): Likewise.
9276         (__default_rt_sa_restorer_v2): Likewise.
9277         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9278         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9279         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9281 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9283         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9284         (libpthread-routines): Add sysdep.
9285         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9286         * sysdeps/unix/sysv/linux/sparc/Versions
9287         (libpthread: GLIBC_2.3.3): New version set.
9288         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9289         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9290         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9291         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9292         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9294         Moved ...
9295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9296         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9297         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9298         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9299         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9300         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9301         * sysdeps/sparc/nptl/sem_init.c: ... here.
9302         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9303         * sysdeps/sparc/nptl/sem_post.c: ... here.
9304         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9305         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9306         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9307         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9308         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9310         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9311         (libpthread-routines): Add cpu_relax.
9312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9313         File removed.
9314         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9315         (librt: GLIBC_2.3.3): New version set.
9316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9317         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9319         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9322         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9324         Moved ...
9325         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9327         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9329         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9331         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9333         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9335         Moved ...
9336         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9337         Update #include.
9338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9339         Moved ...
9340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9341         Update #include.
9342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9343         Moved ...
9344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9345         Update #include.
9346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9347         Moved ...
9348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9349         Update #include.
9350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9351         Moved ...
9352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9353         Update #include.
9354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9355         Moved ...
9356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9357         Update #include.
9358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9359         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9365         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9367         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9372         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9374         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9376 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9378         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9379         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9380         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9381         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9382         * nscd/nscd.c: Likewise.
9383         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9384         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9385         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9386         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9388         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9389         <kernel-features.h>.
9390         (init_mq_netlink): Remove conditional have_sock_cloexec
9391         definitions.  Remove code conditional on have_sock_cloexec < 0.
9392         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9393         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9394         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9395         <kernel-features.h>.
9396         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9397         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9399 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9402         Add tests for memset_chk and memset.
9404         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9405         with AVX2_Usable.
9407 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9409         [BZ #16046]
9410         * elf/tst-dl-iter-static.c: New file.
9411         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9413         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9414         error.
9416 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9418         * sysdeps/unix/sysv/linux/kernel-features.h
9419         (__ASSUME_F_GETOWN_EX): Remove macro.
9420         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9421         <kernel-features.h>.
9422         (miss_F_GETOWN_EX): Remove variable or macro.
9423         (do_fcntl): Do not check miss_F_GETOWN_EX.
9424         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9427         Remove macro.
9428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9429         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9430         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9432         * sysdeps/unix/sysv/linux/kernel-features.h
9433         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9434         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9435         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9436         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9438 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9440         [BZ #17075]
9441         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9442         Fix calculation of the symbol's value.
9443         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9444         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9445         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9446         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9447         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9448         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9449         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9450         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9451         (modules-names): Add `tst-armtlsdescmod',
9452         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9453         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9454         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9455         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9456         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9457         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9458         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9459         ($(objpfx)tst-armtlsdescloc): New dependency.
9460         ($(objpfx)tst-armtlsdescextnow): Likewise.
9461         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9462         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9463         TLS scheme support.
9464         * sysdeps/arm/configure: Regenerate.
9466 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9468         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9469         (__atfct_seterrno_2): Likewise.
9470         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9471         <kernel-features.h>.
9472         (__ASSUME_ATFCTS): Do not undefine and redefine.
9473         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9474         (__have_atfcts): Remove conditional definition.
9475         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9476         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9477         unreachable if [__ASSUME_ATFCTS].
9478         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9479         not undefine and redefine.
9480         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9481         <kernel-features.h>.
9482         (faccessat) [__NR_faccessat]: Make code unconditional.
9483         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9484         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9485         <kernel-features.h>.
9486         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9487         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9488         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9489         <kernel-features.h>.
9490         (fchownat) [__NR_fchownat]: Make code unconditional.
9491         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9492         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9493         <kernel-features.h>.
9494         (futimesat) [__NR_futimesat]: Make code unconditional.
9495         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9496         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9497         <kernel-features.h>.
9498         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9499         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9500         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9501         <kernel-features.h>.
9502         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9503         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9504         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9505         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9506         <kernel-features.h>.
9507         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9508         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9509         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9510         <kernel-features.h>.
9511         (linkat) [__NR_linkat]: Make code unconditional.
9512         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9513         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9514         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9515         <kernel-features.h>.
9516         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9517         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9518         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9519         <kernel-features.h>.
9520         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9521         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9522         * sysdeps/unix/sysv/linux/openat.c: Do not include
9523         <kernel-features.h>.
9524         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9525         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9526         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9527         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9529         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9530         <kernel-features.h>.
9531         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9532         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9533         result of INLINE_SYSCALL directly, not via int variable.
9534         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9535         <kernel-features.h>.
9536         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9537         (renameat) [__NR_renameat]: Make code unconditional.
9538         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9539         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9540         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9541         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9542         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9543         (__ASSUME_ATFCTS): Do not undefine and redefine.
9544         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9545         <kernel-features.h>.
9546         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9547         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9548         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9549         <kernel-features.h>.
9550         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9551         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9552         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9553         (__ASSUME_ATFCTS): Do not undefine and redefine.
9554         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9555         <kernel-features.h>.
9556         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9557         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9558         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9559         <kernel-features.h>.
9560         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9561         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9563 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9565         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9567 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9569         [BZ #17069]
9570         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9571         constructed tree before returning error.
9572         * posix/bug-regexp36.c: Expand test case.
9574 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9576         [BZ #6803]
9577         * math/libm-test.inc (scalbln_test_date):
9578         Add errno expectations.
9579         * math/w_scalblnf.c: New File.
9580         Add wrapper which checks for setting errno to ERANGE.
9581         Add weak_alias for corresponding scalbln function.
9582         * math/w_scalbln.c: Likewise.
9583         * math/w_scalblnl.c: Likewise.
9584         * math/Makefile (libm-calls): Add w_scalbln.
9585         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9586         Remove weak_alias for corresponding scalbln function.
9587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9591         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9592         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9593         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9594         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9595         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9596         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9597         Remove long_double_symbol for scalblnl function in libm, libc.
9598         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9599         Add wrapper which checks for setting errno to ERANGE.
9600         Add long_double_symbol for scalblnl function in libm, libc.
9601         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9602         Remove long_double_symbol for scalblnl in libm.
9603         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9604         Add wrapper which checks for setting errno to ERANGE.
9605         Add long_double_symbol for scalblnl function in libm.
9606         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9607         Do not use wrapper because of own implementation.
9609 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9611         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9612         3 bytes for __pad1 for x32.
9613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9615 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9616             H.J. Lu  <hongjiu.lu@intel.com>
9618         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9619         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9620         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9622         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9624 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9626         [BZ #17069]
9627         * posix/regcomp.c (parse_expression): Deallocate partially
9628         constructed tree before returning error.
9629         * posix/Makefile.c (tests): Add bug-regex36.
9630         (generated): Add bug-regex36.mtrace.
9631         (tests-special): Add $(objpfx)bug-regex36-mem.out
9632         (bug-regex36-ENV): New variable.
9633         ($(objpfx)bug-regex36-mem.out): New rule.
9634         * posix/bug-regex36.c: New file.
9636 2014-06-19  Will Newton  <will.newton@linaro.org>
9638         * malloc/malloc.c (systrim): If extra is zero then return
9639         early.
9641 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9643         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9645 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9647         * sysdeps/aarch64/strchr.S: New file.
9649 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9651         [BZ #17022]
9652         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9653         from arguments -2 or below.
9654         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9655         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9657 2014-06-18  Andreas Schwab  <schwab@suse.de>
9659         [BZ #17062]
9660         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9661         of a bracket expr not to run off the end of the string.
9662         * posix/Makefile (tests): Add tst-fnmatch3.
9663         * posix/tst-fnmatch3.c: New file.
9665 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9667         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9668         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9669         [$(cross-compiling) = no]: Likewise.
9670         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9671         [$(cross-compiling) = no]: Likewise.
9673 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9675         [BZ #17031]
9676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9677         double, adjusted for any remainder from the high double.
9678         * math/libm-test.inc (nearbyint): Add tests.
9679         (rint): Likewise.
9681 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9683         * nptl/sysdeps/powerpc/Makefile: Moved ...
9684         * sysdeps/powerpc/nptl/Makefile: ... here.
9685         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9686         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9687         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9688         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9689         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9690         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9691         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9692         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9693         * nptl/sysdeps/powerpc/tls.h: Moved ...
9694         * sysdeps/powerpc/nptl/tls.h: ... here.
9696 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9698         [BZ #16681]
9699         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9700         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9701         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9702         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9703         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9704         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9705         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9706         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9707         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9709 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9713 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9715         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9716         defined operator.
9718         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9719         $TIMEOUTFACTOR.
9721 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9723         [BZ #17058]
9724         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9725         non-executed part of the test.
9727 2014-06-16  Andreas Schwab  <schwab@suse.de>
9729         * string/bits/string2.h (strdup, strndup): Update feature guard.
9731 2014-06-14  David S. Miller  <davem@davemloft.net>
9733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9735 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9737         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9738         that was previously under [RESET_PID].
9739         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9741         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9742         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9743         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9745         (__libc_vfork): New strong alias.
9746         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9748 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9750         * sysdeps/generic/elide.h: New file.
9752 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9754         * Makefile (installed-headers): Adjust path of pthread.h header.
9756 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9758         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9759         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9760         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9761         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9763         * nptl/sysdeps/s390/Makefile: Moved ...
9764         * sysdeps/s390/nptl/Makefile: ... here.
9765         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9766         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9767         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9768         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9769         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9770         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9771         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9772         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9773         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9774         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9775         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9776         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9777         * nptl/sysdeps/s390/tls.h: Moved ...
9778         * sysdeps/s390/nptl/tls.h: ... here.
9780         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9781         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9783 2014-06-13  David S. Miller  <davem@davemloft.net>
9785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9788         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9792         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9793         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9794         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9795         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9796         Remove RESET_PID cpp guards.
9797         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9798         Remove RESET_PID cpp guards.
9799         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9801 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9803         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9804         __sp to uintptr_t.
9806 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9812         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9816         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9817         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9818         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9823         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9827         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9829         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9830         (pthread_rwlock_rdlock): Add elision.
9831         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9832         (pthread_rwlock_wrlock): Add elision.
9833         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9834         (pthread_rwlock_trywrlock): Add elision.
9835         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9836         (pthread_rwlock_tryrdlock): Add elision.
9837         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9838         (pthread_rwlock_tryrdlock): Add elision unlock.
9839         * nptl/sysdeps/pthread/pthread.h:
9840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9841         (PTHREAD_RWLOCK_INITIALIZER,
9842         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9843         Handle new elision field.
9844         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9845         * sysdeps/arm/nptl/bits/pthreadtypes.h
9846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9847         * sysdeps/sh/nptl/bits/pthreadtypes.h
9848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9849         * sysdeps/tile/nptl/bits/pthreadtypes.h
9850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9851         * sysdeps/a/nptl/bits/pthreadtypes.h
9852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9853         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9855         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9857         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9859         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9861         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9863         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9865         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9867         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9869         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9870         (elision_init): Set try_xbegin to zero when no RTM.
9871         * sysdeps/x86/nptl/bits/pthreadtypes.h
9872         (pthread_rwlock_t): Change __pad1 to __rwelision.
9873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9875 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9877         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9878         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9879         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9880         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9882 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9884         [BZ #16996]
9885         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9886         that the cached result has been set before returning it.
9888 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9890         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9891         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9892         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9893         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9894         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9895         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9897         * nptl/sysdeps/sparc/Makefile: Moved ...
9898         * sysdeps/sparc/nptl/Makefile: ... here.
9899         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9900         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9901         * nptl/sysdeps/sparc/tls.h: Moved ...
9902         * sysdeps/sparc/nptl/tls.h: ... here.
9903         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9904         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9905         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9906         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9907         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9908         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9909         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9910         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9911         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9912         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9913         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9914         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9915         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9916         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9917         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9918         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9919         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9921         Update #include.
9922         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9924         Update #include.
9925         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9926         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9927         Update #include.
9928         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9930         Update #include.
9932         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9934         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9935         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9937         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9938         (struct list_links): Type removed.
9939         (struct thread_node, struct timer_node): Replace struct list_links
9940         with struct list_head.
9941         (list_unlink_ip): Likewise.
9942         * sysdeps/pthread/timer_routines.c
9943         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9944         (list_append, list_insbefore): Likewise.
9945         (list_init): Function removed.
9946         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9947         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9948         * sysdeps/pthread/Makefile: ... here, new file.
9950         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9951         * sysdeps/nptl/Implies: ... here.
9952         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9953         * nptl/sysdeps/pthread/list.h: Moved ...
9954         * include/list.h: ... here.
9955         * nptl/sysdeps/pthread/createthread.c: Moved ...
9956         * nptl/createthread.c: ... here.
9957         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9958         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9959         * nptl/pt-longjmp.c: ... here.
9960         * nptl/sysdeps/pthread/Makefile: Moved ...
9961         * sysdeps/nptl/Makefile: ... here.
9962         * nptl/sysdeps/pthread/Subdirs: Moved ...
9963         * sysdeps/nptl/Subdirs: ... here.
9964         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9965         * sysdeps/nptl/aio_misc.h: ... here.
9966         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9967         * sysdeps/nptl/bits/libc-lock.h: ... here.
9968         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9969         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9970         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9971         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9972         * nptl/sysdeps/pthread/configure: Moved ...
9973         * sysdeps/nptl/configure: ... here.
9974         * nptl/sysdeps/pthread/configure.ac: Moved ...
9975         * sysdeps/nptl/configure.ac: ... here.
9976         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9977         * sysdeps/nptl/gai_misc.h: ... here.
9978         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9979         * sysdeps/nptl/librt-cancellation.c: ... here.
9980         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9981         * sysdeps/nptl/malloc-machine.h: ... here.
9982         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9983         * sysdeps/nptl/pthread-functions.h: ... here.
9984         * nptl/sysdeps/pthread/pthread.h: Moved ...
9985         * sysdeps/nptl/pthread.h: ... here.
9986         * nptl/sysdeps/pthread/setxid.h: Moved ...
9987         * sysdeps/nptl/setxid.h: ... here.
9988         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9989         * sysdeps/nptl/sigfillset.c: ... here.
9990         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9991         * sysdeps/nptl/tcb-offsets.h: ... here.
9992         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9993         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9994         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9995         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9996         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9997         * sysdeps/pthread/allocalim.h: ... here.
9998         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9999         * sysdeps/pthread/bits/sigthread.h: ... here.
10000         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10001         * sysdeps/pthread/flockfile.c: ... here.
10002         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10003         * sysdeps/pthread/ftrylockfile.c: ... here.
10004         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10005         * sysdeps/pthread/funlockfile.c: ... here.
10006         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10007         * sysdeps/pthread/posix-timer.h: ... here.
10008         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10009         * sysdeps/pthread/timer_create.c: ... here.
10010         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10011         * sysdeps/pthread/timer_delete.c: ... here.
10012         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10013         * sysdeps/pthread/timer_getoverr.c: ... here.
10014         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10015         * sysdeps/pthread/timer_gettime.c: ... here.
10016         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10017         * sysdeps/pthread/timer_routines.c: ... here.
10018         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10019         * sysdeps/pthread/timer_settime.c: ... here.
10020         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10021         * sysdeps/pthread/tst-timer.c: ... here.
10022         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10023         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10025         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10026         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10028         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10029         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10030         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10031         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10032         Update #include target.
10033         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10034         * sysdeps/i386/i686/nptl/Makefile: ... here.
10035         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10036         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10037         Update #include target.
10038         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10039         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10040         * nptl/sysdeps/i386/Makefile: Moved ...
10041         * sysdeps/i386/nptl/Makefile: ... here.
10042         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10043         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10044         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10045         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10046         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10047         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10048         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10049         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10050         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10051         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10052         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10053         * nptl/sysdeps/i386/tls.h: Moved ...
10054         * sysdeps/i386/nptl/tls.h: ... here.
10056         * sysdeps/sh/Makefile [$(subdir) = csu]
10057         (gen-as-const-headers): Add tcb-offsets.sym.
10058         * nptl/sysdeps/sh/Makefile: File removed.
10059         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10060         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10061         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10062         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10063         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10064         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10065         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10066         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10067         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10068         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10069         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10070         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10071         * nptl/sysdeps/sh/tls.h: Moved ...
10072         * sysdeps/sh/nptl/tls.h: ... here.
10073         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10074         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10075         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10076         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10077         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10078         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10079         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10081         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10082         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10084         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10086         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10088         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10090         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10092         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10094         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10098         Moved ...
10099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10101         Moved ...
10102         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10107         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10108         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10110         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10111         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10112         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10113         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10114         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10115         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10116         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10117         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10118         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10119         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10120         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10122 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10124         * posix/spawn_faction_addopen.c: Include string.h.
10126 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10128         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10129         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10130         * nptl/sysdeps/x86_64/Makefile: Moved ...
10131         * sysdeps/x86_64/nptl/Makefile: ... here.
10132         * nptl/sysdeps/x86_64/configure: Moved ...
10133         * sysdeps/x86_64/nptl/configure: ... here.
10134         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10135         * sysdeps/x86_64/nptl/configure.ac: ... here.
10136         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10137         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10138         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10139         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10140         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10141         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10142         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10143         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10144         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10145         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10146         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10147         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10148         * nptl/sysdeps/x86_64/tls.h: Moved ...
10149         * sysdeps/x86_64/nptl/tls.h: ... here.
10150         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10151         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10152         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10153         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10155         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10157 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10161 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10163         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10164         type.
10165         [POSIX] (off_t): Likewise.
10166         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10167         [POSIX] (S_ISBLK): Require macro.
10168         [POSIX] (S_ISCHR): Likewise.
10169         [POSIX] (S_ISDIR): Likewise.
10170         [POSIX] (S_ISFIFO): Likewise.
10171         [POSIX] (S_ISREG): Likewise.
10172         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10173         optional-macro.
10174         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10175         type.
10176         [POSIX] (time_t): Likewise.
10177         [POSIX] (timer_t): Likewise.
10179 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10181         [BZ #17048]
10182         * posix/spawn_int.h (struct __spawn_action): Make the path string
10183         non-const to support deallocation.
10184         * posix/spawn_faction_addopen.c
10185         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10186         * posix/spawn_faction_destroy.c
10187         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10188         path in all spawn_do_open actions.
10189         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10190         posix_spawn_file_actions_addopen.
10192 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10194         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10195         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10196         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10197         conditional code always true.
10198         (__libc_vfork): New alias.
10200 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10202         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10203         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10205         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10207         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10208         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10210         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10211         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10213         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10214         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10216 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10218         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10219         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10220         multiarch strcmp for PPC64.
10221         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10222         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10224         multiarch optimizations.
10225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10226         (__libc_ifunc_impl_list): Likewise.
10228 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10230         * benchtests/scripts/validate_benchout.py: New script.
10231         * benchtests/Makefile (bench-func): Call it.
10232         * benchtests/scripts/benchout.schema.json: New file.
10234 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10236         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10237         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10238         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10239         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10240         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10241         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10242         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10243         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10244         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10245         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10246         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10247         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10248         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10249         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10250         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10251         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10253         Moved ...
10254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10255         ... here.
10256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10257         Moved ...
10258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10260         Moved ...
10261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10262         ... here.
10263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10264         Moved ...
10265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10266         ... here.
10267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10268         Moved ...
10269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10271         Moved ...
10272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10273         ... here.
10274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10275         Moved ...
10276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10277         ... here.
10278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10279         Moved ...
10280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10282         Moved ...
10283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10284         ... here.
10285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10286         Moved ...
10287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10288         ... here.
10289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10290         Moved ...
10291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10292         ... here.
10293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10294         Moved ...
10295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10297         Moved ...
10298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10299         ... here.
10300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10301         Moved ...
10302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10303         ... here.
10304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10305         Moved ...
10306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10307         ... here.
10308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10309         Moved ...
10310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10312         Moved ...
10313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10314         ... here.
10315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10316         Moved ...
10317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10318         ... here.
10319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10320         Moved ...
10321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10323         Moved ...
10324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10325         ... here.
10326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10327         Moved ...
10328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10330         Moved ...
10331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10333         Moved ...
10334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10335         ... here.
10336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10337         Moved ...
10338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10339         ... here.
10340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10341         Moved ...
10342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10343         ... here.
10344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10345         Moved ...
10346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10348         Moved ...
10349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10350         ... here.
10351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10352         Moved ...
10353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10354         ... here.
10355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10356         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10358         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10360         Moved ...
10361         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10362         ... here.
10363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10364         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10368         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10370         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10374         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10376         Moved ...
10377         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10379         Moved ...
10380         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10382         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10384         Moved ...
10385         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10387         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10388         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10389         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10390         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10391         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10393 2014-06-10  Wilco  <wdijkstr@arm.com>
10395         * math/test-fenv-return.c: New file.
10396         * math/Makefile: Add new test test-fenv-return.
10398 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10400         [BZ #17042]
10401         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10402         when x - 1 is zero.
10403         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10404         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10405         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10406         0.0L for an argument of 1.0L.
10407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10408         Likewise.
10409         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10410         value when x - 1 is zero.
10411         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10412         * sysdeps/i386/fpu/libm-test-ulps: Update.
10413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10417         [BZ #15119]
10418         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10420 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10422         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10423         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10425 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10427         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10428         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10430         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10431         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10433         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10434         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10436         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10437         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10439         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10440         if not already defined.
10441         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10442         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10443         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10444         (TLS_INIT_TP): Use it.
10445         (TLS_DEFINE_INIT_TP): New macro.
10446         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10448 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10450         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10451         constant.
10452         [POSIX] (IXANY): Likewise.
10453         [POSIX] (OLCUC): Likewise.
10454         [POSIX || POSIX2008] (CBAUD): Do not allow.
10455         [POSIX || POSIX2008] (DEFECHO): Likewise.
10456         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10457         [POSIX || POSIX2008] (ECHOKE): Likewise.
10458         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10459         [POSIX || POSIX2008] (EXTA): Likewise.
10460         [POSIX || POSIX2008] (EXTB): Likewise.
10461         [POSIX || POSIX2008] (FLUSHO): Likewise.
10462         [POSIX || POSIX2008] (LOBLK): Likewise.
10463         [POSIX || POSIX2008] (PENDIN): Likewise.
10464         [POSIX || POSIX2008] (SWTCH): Likewise.
10465         [POSIX || POSIX2008] (VDISCARD): Likewise.
10466         [POSIX || POSIX2008] (VDSUSP): Likewise.
10467         [POSIX || POSIX2008] (VLNEXT): Likewise.
10468         [POSIX || POSIX2008] (VREPRINT): Likewise.
10469         [POSIX || POSIX2008] (VSTATUS): Likewise.
10470         [POSIX || POSIX2008] (VWERASE): Likewise.
10471         (B*): Change to B[0123456789]*.
10472         * conform/data/time.h-data [POSIX || UNIX98]
10473         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10474         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10475         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10476         [POSIX] (tm_*): Do not allow.
10478 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10480         * Makefile (install): Don't set LANGUAGE.
10481         * Makefile.in (install): Likewise.
10482         * assert/Makefile (test-assert-ENV): Remove variable.
10483         (test-assert-perr-ENV): Likewise.
10484         * elf/Makefile (neededtest4-ENV): Likewise.
10485         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10486         [$(cross-compiling) = no]: Don't set LANGUAGE.
10487         * io/ftwtest-sh (LANG): Remove variable.
10488         * libio/Makefile (tst-widetext-ENV): Likewise.
10489         * manual/install.texi (Running make install): Don't refer to
10490         environment settings for make install.
10491         * INSTALL: Regenerated.
10492         * nptl/tst-tls6.sh: Don't set LANG.
10493         * posix/globtest.sh (LANG): Remove variable.
10494         * string/Makefile (tester-ENV): Likewise.
10495         (inl-tester-ENV): Likewise.
10496         (noinl-tester-ENV): Likewise.
10497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10498         [$(cross-compiling) = no]: Don't set LANGUAGE.
10499         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10500         without explicit environment settings.
10502 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10504         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10505         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10506         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10507         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10509 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10511         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10512         other files in the crypt directory.
10513         * crypt/crypt.c: Remove duplicate includes.
10514         * crypt/crypt-entry.c: Likewise.
10515         * crypt/crypt_util.c: Likewise.
10517 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10519         * Makeconfig (run-program-env): New variable.
10520         (run-program-prefix-before-env): Likewise.
10521         (run-program-prefix-after-env): Likewise.
10522         (run-program-prefix): Define in terms of new variables.
10523         (built-program-cmd-before-env): New variable.
10524         (built-program-cmd-after-env): Likewise.
10525         (built-program-cmd): Define in terms of new variables.
10526         (test-program-prefix-before-env): New variable.
10527         (test-program-prefix-after-env): Likewise.
10528         (test-program-prefix): Define in terms of new variables.
10529         (test-program-cmd-before-env): New variable.
10530         (test-program-cmd-after-env): Likewise.
10531         (test-program-cmd): Define in terms of new variables.
10532         * Rules (make-test-out): Use $(run-program-env).
10533         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10534         (help): Do not mention environment variables.  Mention
10535         --timeoutfactor option.
10536         (timeoutfactor): New variable.
10537         (blacklist_exports): Remove function.
10538         (exports): Remove variable.
10539         (command): Do not include ${exports}.
10540         * manual/install.texi (Configuring and compiling): Do not mention
10541         test wrappers preserving environment variables.  Mention that last
10542         assignment to a variable must take precedence.
10543         * INSTALL: Regenerated.
10544         * benchtests/Makefile (run-bench): Use $(run-program-env).
10545         * catgets/Makefile ($(objpfx)test1.cat): Use
10546         $(built-program-cmd-before-env), $(run-program-env) and
10547         $(built-program-cmd-after-env).
10548         ($(objpfx)test2.cat): Do not specify environment variables
10549         explicitly.
10550         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10551         $(run-program-env) and $(built-program-cmd-after-env).
10552         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10553         $(run-program-env) and $(test-program-cmd-after-env).
10554         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10555         explicitly.
10556         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10557         run_program_env and test_program_cmd_after_env arguments.
10558         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10559         * elf/tst-pathopt.sh: Use run_program_env argument.
10560         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10561         $(test-wrapper-env) and $(run-program-env).
10562         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10563         run_program_env arguments.
10564         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10565         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10566         $(test-program-prefix-before-env), $(run-program-env) and
10567         $(test-program-prefix-after-env).
10568         ($(objpfx)tst-gettext2.out): Likewise.
10569         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10570         run_program_env and test_program_prefix_after_env arguments.
10571         * intl/tst-gettext2.sh: Likewise.
10572         * intl/tst-gettext4.sh: Do not set environment variables
10573         explicitly.
10574         * intl/tst-gettext6.sh: Likewise.
10575         * intl/tst-translit.sh: Likewise.
10576         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10577         $(test-program-prefix-before-env), $(run-program-env) and
10578         $(test-program-prefix-after-env).
10579         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10580         run_program_env and test_program_prefix_after_env arguments.
10581         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10582         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10583         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10584         explicitly with each use of ${test_wrapper_env}.
10585         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10586         $(test-program-prefix-before-env), $(run-program-env) and
10587         $(test-program-prefix-after-env).
10588         * posix/tst-getconf.sh: Do not set environment variables
10589         explicitly.
10590         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10591         run_program_env and test_program_prefix_after_env arguments.
10592         * stdio-common/tst-printf.sh: Do not set environment variables
10593         explicitly.
10594         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10595         $(test-program-prefix-before-env), $(run-program-env) and
10596         $(test-program-prefix-after-env).
10597         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10598         run_program_env and test_program_prefix_after_env arguments.
10599         Split $test calls into $test_pre and $test.
10600         * timezone/Makefile (build-testdata): Use
10601         $(built-program-cmd-before-env), $(run-program-env) and
10602         $(built-program-cmd-after-env).
10604 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10606         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10607         strlen for non SHARED builds.
10609 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10611         * nptl/allocatestack.c (check_list): Inlined function...
10612         (__reclaim_stacks): ... here.
10614 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10616         [BZ #15698]
10617         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10618         memory overrun.
10620 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10622         * Rules (make-test-out): Include
10623         LOCPATH=$(common-objpfx)localedata in default environment.
10624         * debug/Makefile (tst-chk1-ENV): Remove variable.
10625         (tst-chk2-ENV): Likewise.
10626         (tst-chk3-ENV): Likewise.
10627         (tst-chk4-ENV): Likewise.
10628         (tst-chk5-ENV): Likewise.
10629         (tst-chk6-ENV): Likewise.
10630         (tst-lfschk1-ENV): Likewise.
10631         (tst-lfschk2-ENV): Likewise.
10632         (tst-lfschk3-ENV): Likewise.
10633         (tst-lfschk4-ENV): Likewise.
10634         (tst-lfschk5-ENV): Likewise.
10635         (tst-lfschk6-ENV): Likewise.
10636         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10637         (tst-iconv7-ENV): Likewise.
10638         * intl/Makefile (LOCPATH-ENV): Likewise.
10639         (tst-codeset-ENV): Likewise.
10640         (tst-gettext3-ENV): Likewise.
10641         (tst-gettext5-ENV): Likewise.
10642         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10643         (tst-fopenloc-ENV): Likewise.
10644         (tst-fgetws-ENV): Remove variable.
10645         (tst-ungetwc1-ENV): Likewise.
10646         (tst-ungetwc2-ENV): Likewise.
10647         (bug-ungetwc2-ENV): Likewise.
10648         (tst-swscanf-ENV): Likewise.
10649         (bug-ftell-ENV): Likewise.
10650         (tst-fgetwc-ENV): Likewise.
10651         (tst-fseek-ENV): Likewise.
10652         (tst-ftell-partial-wide-ENV): Likewise.
10653         (tst-ftell-active-handler-ENV): Likewise.
10654         (tst-ftell-append-ENV): Likewise.
10655         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10656         (tst-regexloc-ENV): Likewise.
10657         (bug-regex1-ENV): Likewise.
10658         (tst-regex-ENV): Likewise.
10659         (tst-regex2-ENV): Likewise.
10660         (bug-regex5-ENV): Likewise.
10661         (bug-regex6-ENV): Likewise.
10662         (bug-regex17-ENV): Likewise.
10663         (bug-regex18-ENV): Likewise.
10664         (bug-regex19-ENV): Likewise.
10665         (bug-regex20-ENV): Likewise.
10666         (bug-regex22-ENV): Likewise.
10667         (bug-regex23-ENV): Likewise.
10668         (bug-regex25-ENV): Likewise.
10669         (bug-regex26-ENV): Likewise.
10670         (bug-regex30-ENV): Likewise.
10671         (bug-regex32-ENV): Likewise.
10672         (bug-regex33-ENV): Likewise.
10673         (bug-regex34-ENV): Likewise.
10674         (bug-regex35-ENV): Likewise.
10675         (tst-rxspencer-ENV): Likewise.
10676         (tst-rxspencer-no-utf8-ENV): Likewise.
10677         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10678         (tst-sscanf-ENV): Likewise.
10679         (tst-swprintf-ENV): Likewise.
10680         (tst-swscanf-ENV): Likewise.
10681         (test-vfprintf-ENV): Likewise.
10682         (scanf13-ENV): Likewise.
10683         (bug14-ENV): Likewise.
10684         (tst-grouping-ENV): Likewise.
10685         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10686         (tst-strtod3-ENV): Likewise.
10687         (tst-strtod4-ENV): Likewise.
10688         (tst-strtod5-ENV): Likewise.
10689         (testmb2-ENV): Likewise./
10690         * string/Makefile (tst-strxfrm-ENV): Likewise.
10691         (tst-strxfrm2-ENV): Likewise.
10692         (bug-strcoll1-ENV): Likewise.
10693         (test-strcasecmp-ENV): Likewise.
10694         (test-strncasecmp-ENV): Likewise.
10695         * time/Makefile (tst-strptime-ENV): Likewise.
10696         (tst-ftime_l-ENV): Likewise.
10697         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10698         (tst-mbrtowc-ENV): Likewise.
10699         (tst-wcrtomb-ENV): Likewise.
10700         (tst-mbrtowc2-ENV): Likewise.
10701         (tst-c16c32-1-ENV): Likewise.
10702         (tst-mbsnrtowcs-ENV): Likewise.
10704 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10706         * manual/resource.texi (How to get information about the memory
10707         subsystem?): Fix typo.
10708         Reported by Peon de la Parra Ivan <peon@keba.com>
10710 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10712         [BZ #16882]
10713         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10714         (pthread_spin_lock): Branch out of spin loop to proper location.
10715         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10716         (pthread_spin_lock): Likewise.
10718         * nptl/tst-spin4.c: New test.
10719         * nptl/Makefile (tests): Add tst-spin4.
10721 2014-06-03  Andreas Schwab  <schwab@suse.de>
10723         [BZ #15946]
10724         * resolv/res_send.c (send_dg): Reload file descriptor after
10725         calling reopen.
10727 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10729         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10731 2014-06-03  Richard Henderson  <rth@redhat.com>
10733         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10734         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10735         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10736         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10737         in the SAVE_PID block.
10738         (__libc_vfork): New alias.
10739         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10741         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10742         child in registers, not on the stack.  Remove RESET_PID conditionals.
10743         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10745 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10747         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10749 2014-06-03  Wilco  <wdijkstr@arm.com>
10751         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10752         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10753         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10754         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10755         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10756         Likewise.
10758 2014-06-03  Wilco  <wdijkstr@arm.com>
10760         * sysdeps/aarch64/fpu/math_private.h
10761         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10762         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10763         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10764         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10765         Fix declarations.
10767 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10769         * crypt/crypt-private.h: Include ufc-crypt.h.
10770         (__b64_from_24bit): Declare extern.
10771         * crypt/crypt_util.c(__b64_from_24bit): New function.
10772         (b64t): New static const variable.
10773         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10774         (b64t): Remove variable.
10775         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10776         * crypt/sha256-crypt.c: Include crypt-private.h.
10777         (b64t): Remove variable.
10778         (__sha256_crypt_r): Remove b64_from_24bit and replace
10779         with __b64_from_24bit.
10780         * crypt/sha512-crypt.c: Likewise.
10782 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10784         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10785         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10786         Label the code __libc_vfork rather than __vfork.
10787         [!NOT_IN_libc] (vfork): Define as weak alias.
10788         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10789         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10790         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10792 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10794         * malloc/malloc.c (malloc_info): Fix format specifier for
10795         n_mmaps.
10797 2014-06-02  Wilco  <wdijkstr@arm.com>
10799         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10800         FPCR write.
10802 2014-06-02  Wilco  <wdijkstr@arm.com>
10804         [BZ #17009]
10805         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10806         Rewrite to reduce FPCR/FPSR accesses.
10808 2014-06-01  David S. Miller  <davem@davemloft.net>
10810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10812 2014-05-31  David S. Miller  <davem@davemloft.net>
10814         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10815         to occur in round to nearest mode when |x| >= 2.0
10817 2014-05-30  Richard Henderson  <rth@twiddle.net>
10819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10820         (PSEUDO_RET_NOERRNO): Remove.
10821         (ret): Don't redefine.
10822         (ret_NOERRNO): Define in terms of ret.
10823         (ret_ERRVAL): Likewise.
10825         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10826         use of PSEUDO_RET; perform the error check directly.
10828 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10830         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10831         with __int128_t.
10833 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10835         * malloc/malloc (malloc_info): Fix formatting.
10837 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10838             Roland McGrath  <roland@hack.frob.com>
10840         * malloc/malloc (malloc_info): Also print mmapped statistics.
10842 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10844         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10845         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10847 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10849         * malloc/malloc.c (malloc_info): Inline mi_arena.
10851 2014-05-29  Richard Henderson  <rth@twiddle.net>
10853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10854         Remove comma before expanding ASM_ARGS_##nr.
10855         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10856         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10857         of ASM_ARGS_##nr.
10858         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10859         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10860         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10861         (ASM_ARGS_1): Add leading comma.
10863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10864         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10865         to __errno_location.
10866         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10867         Remove the expected plt for __errno_location.
10869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10870         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10871         call to __read_tp.
10873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10874         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10875         it and break it down.
10876         (DOCARGS_0, DOCARGS_1): Do nothing.
10877         (DOCARGS_2): Update to store into the new stack frame.
10878         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10879         (UNDOCARGS_1): Update to restore from the new stack frame.
10880         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10881         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10884         (SINGLE_THREAD_P): New parameter for result regno.
10885         (PSEUDO): Update to match; use cbz instead of beq.
10887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10888         Use ENTRY to define the _nocancel entry point.  Share the syscall
10889         and syscall error check paths with the cancel path.
10890         (PSEUDO_END): New.
10892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10893         whitespace; tabs before and after asm mnemonics.
10895 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10897         [BZ #15132]
10898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10899         Call fstat64 or stat64 internally, depending on arguments passed.
10900         Replace stat buffer argument with file descriptor argument.
10901         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10902         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10903         Pass fd to __internal_statvfs instead of calling fstat64.
10904         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10905         Pass fd to __internal_statvfs64 instead of calling fstat64.
10906         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10907         Pass -1 to __internal_statvfs instead of calling stat64.
10908         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10909         Pass -1 to __internal_statvfs64 instead of calling stat64.
10911 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10913         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10914         that was previously under [RESET_PID].
10915         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10917         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10918         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10920 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10922         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10924         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10925         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10927 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10929         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10931 2014-05-27  Andreas Schwab  <schwab@suse.de>
10933         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10934         TLS_INIT_TP macro.
10935         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10936         * elf/rtld.c (init_tls, dl_main): Likewise.
10937         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10938         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10939         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10940         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10941         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10942         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10943         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10944         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10945         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10946         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10947         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10948         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10949         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10950         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10951         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10952         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10953         * sysdeps/generic/tls.h: Update description.
10955 2014-05-27  Will Newton  <will.newton@linaro.org>
10957         [BZ #16990]
10958         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10959         and restore r2 rather than just restoring.
10961 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10963         [BZ #16724]
10964         * libio/tst-ftell-append.c: New test case.
10965         * libio/Makefile (tests): Add test case.
10966         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10967         append mode.
10968         * libio/wfileops.c (do_ftell_wide): Likewise.
10970 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10974         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10975         ...
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10978         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10979         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10981         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10982         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10988         Moved ...
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10990         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10991         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10992         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10993         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10994         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10995         ...
10996         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10997         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10998         Moved ...
10999         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11000         here.
11001         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11002         ...
11003         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11004         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11005         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11007         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11008         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11009         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11010         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11013         merge into ...
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11016         ...
11017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11019         ...
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11022         Moved ...
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11024         here.
11025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11026         Moved ...
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11029         Moved ...
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11033         conditional [RESET_PID].
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11036         removed.
11037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11038         removed.
11040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11041         <tcb-offsets.h>.
11042         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11043         (__libc_vfork): New strong alias.
11044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11045         removed.
11046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11047         Removed.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11050         <tcb-offsets.h>.
11051         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11052         (__libc_vfork): New strong alias.
11053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11054         removed.
11055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11056         removed.
11058 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11060         * malloc/malloc.c (mi_arena): New function.
11061         (malloc_info): Remove nested function mi_arena. Call non-nosted
11062         function mi_arena.
11064 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11066         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11067         by insrwi.
11068         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11069         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11070         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11071         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11072         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11073         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11074         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11076 2014-05-26  Andreas Schwab  <schwab@suse.de>
11078         [BZ #16984]
11079         * locale/programs/repertoire.c (repertoire_read): Add slash
11080         between I18NPATH element and file name.
11081         * locale/programs/locfile.c (locfile_read): Likewise.
11083 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11085         * nptl/pthread_mutexattr_settype.c
11086         (__pthread_mutexattr_settype):
11087         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11089 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11091         * nptl/tst-mutex5 (do_test):
11092         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11094 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096         * benchtests/README: Document 'init' directive.
11097         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11098         BENCH_INIT.
11099         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11100         (parse_file): Recognize 'init' directive.
11102 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11104         [BZ #16796]
11105         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11106         alignment of struct pthread.
11108 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11110         [BZ #16878]
11111         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11112         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11113         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11114         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11116 2014-05-25  Richard Henderson  <rth@twiddle.net>
11118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11119         (SINGLE_THREAD_P_PIC): Remove.
11120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11121         (SINGLE_THREAD_P_PIC): Remove.
11123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11124         branch to syscall error ...
11125         (PSEUDO): ... here.
11126         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11127         from __local_syscall_error to .Lsyscall_error.
11128         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11129         (SYSCALL_ERROR): Update label name.
11131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11132         Do not use DOARGS/UNDOARGS.
11133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11134         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11135         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11136         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11137         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11140         block comment.
11142         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11143         define if !NOT_IN_libc.
11144         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11145         define with non-default symbol versions.
11147 2014-05-23  Richard Henderson  <rth@twiddle.net>
11149         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11150         (vfork, __vfork): Define via compat_symbol.
11152         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11153         [!HAVE_IFUNC] (vfork_compat): Remove.
11154         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11156 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11158         [BZ #16978]
11159         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11160         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11161         variable.
11163 2014-05-23  Richard Henderson  <rth@twiddle.net>
11165         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11166         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11167         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11168         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11170         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11171         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11172         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11173         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11174         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11175         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11176         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11177         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11178         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11179         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11180         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11181         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11182         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11183         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11184         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11185         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11186         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11187         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11188         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11189         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11190         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11191         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11192         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11193         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11194         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11196         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11197         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11198         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11199         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11200         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11201         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11202         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11203         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11204         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11205         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11206         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11207         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11208         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11209         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11210         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11211         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11212         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11213         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11214         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11215         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11217         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11219         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11220         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11221         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11222         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11223         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11225         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11227         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11228         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11229         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11230         before exiting on error.
11231         (__libc_vfork): New strong alias.
11232         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11233         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11235         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11236         that was previously under [RESET_PID].
11237         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11239         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11241 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11243         [BZ #16977]
11244         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11245         value when x - 1 is zero.
11246         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11247         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11248         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11249         0.0L for an argument of 1.0L.
11250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11251         Likewise.
11252         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11253         value when x - 1 is zero.
11254         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11255         * sysdeps/i386/fpu/libm-test-ulps: Update.
11256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11258 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11260         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11261         alphasort and versionsort.
11263 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11265         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11266         macro.
11267         [copysignf]: Likewise.
11269 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11271         * crypt/md5-crypt.c: Fix formatting.
11273 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11275         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11276         (b64_from_24bit): New function.
11278 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11281         libc_hidden_builtin_def to ifunc.
11282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11283         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11285 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11287         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11288         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11290 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11292         * nscd/Depend (linuxthreads): Remove.
11293         (nptl): Add.
11294         * resolv/Depend (linuxthreads): Remove.
11295         * rt/Depend (linuxthreads): Remove.
11297         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11298         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11299         $(common-objpfx)elf/.
11300         (link-libc-before-gnulib): Likewise.
11301         (elfobjdir): Remove variable.
11302         * Makefile (install): Use $(elf-objpfx) instead of
11303         $(common-objpfx)elf/.
11304         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11305         $(elfobjdir)/.
11306         (link-libc-deps): Likewise.
11307         ($(common-objpfx)libc.so): Likewise.
11308         ($(common-objpfx)linkobj/libc.so): Likewise.
11309         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11310         instead of $(common-objpfx)elf/.
11311         (symbolic-link-list): Likewise.
11312         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11313         [$(cross-compiling) = no]: Likewise.
11314         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11315         $(elfobjdir)/.
11316         (static-gnulib-arch): Likewise.
11317         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11318         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11319         $(common-objpfx)elf/.
11321 2014-05-21  Richard Henderson  <rth@redhat.com>
11323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11324         (SINGLE_THREAD_P): Use the correct width load.  Fold
11325         into the ldr offset.
11327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11328         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11330 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11332         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11333         (libgcc_s_resume): Use __attribute_used__.
11334         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11335         Likewise.
11337 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11339         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11340         optimization when used with float constants.
11342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11344 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11346         [BZ #16915]
11347         * locale/nl_langinfo_l.c: Make direct reference to every
11348         _nl_current_CATEGORY symbol.
11349         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11350         (tests-static): Add tst-langinfo-static.
11351         (tests-special): Add tst-langinfo-static.out.
11352         ($(objpfx)tst-langinfo.out): Redirect output.
11353         ($(objpfx)tst-langinfo-static.out): New.
11354         * localedata/tst-langinfo.sh: Send output to stdout.
11355         * localedata/tst-langinfo-static.c: New file.
11357         [BZ #16965]
11358         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11359         when the shift amount is modulo the limb size.
11361 2014-05-20  Richard Henderson  <rth@redhat.com>
11363         [BZ #16967]
11364         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11365         Change type of sa_flags from unsigned int to int.
11367         [BZ #16966]
11368         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11370         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11372 2014-05-20  Will Newton  <will.newton@linaro.org>
11374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11375         Test the return value of the system call in the nocancel case.
11377 2014-05-20  Will Newton  <will.newton@linaro.org>
11378             Yvan Roux  <yvan.roux@linaro.org>
11380         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11381         #include of asm/ptrace.h.
11382         (PTRACE_GET_THREAD_AREA): Remove #undef.
11383         (PTRACE_GETHBPREGS): Likewise.
11384         (PTRACE_SETHBPREGS): Likewise.
11385         (struct user_regs_struct): New structure.
11386         (struct user_fpsimd_struct): New structure.
11387         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11388         #include of asm/ptrace.h and second #include of sys/user.h.
11389         (PTRACE_GET_THREAD_AREA): Remove #undef.
11390         (PTRACE_GETHBPREGS): Likewise.
11391         (PTRACE_SETHBPREGS): Likewise.
11392         (ELF_NGREG): Use new struct user_regs_struct.
11393         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11395 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11397         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11400 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11402         [BZ #16958]
11403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11404         membar to avoid block loads/stores to overlap previous stores.
11406 2014-05-17  Richard Henderson  <rth@redhat.com>
11408         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11409         Create the __##syscall_name##_nocancel entry point.
11410         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11411         Remove; let the sysdep-cancel.h code create it.
11413 2014-05-17  David S. Miller  <davem@davemloft.net>
11415         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11416         Protect with __USE_GNU.
11417         (TIOCSET_TEMPT): Likewise.
11418         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11419         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11420         these are already provided in bits/ioctl-types.h
11422 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11424         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11425         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11427         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11428         Use wait4 regardless of [__NR_waitpid].
11430 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11432         PR libgcc/60166
11433         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11434         (_FP_NANSIGN_Q): Set the quiet bit.
11436 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11438         * benchtests/Makefile
11439         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11440         not $(common-objpfx)math/libm.so.
11441         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11442         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11443         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11444         $(common-objpfx)dlfcn/libdl.so.
11445         ($(objpfx)tst-audit8): Depend on $(libm), not
11446         $(common-objpfx)math/libm.so.
11447         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11448         not $(common-objpfx)dlfcn/libdl.so.
11449         * math/Makefile
11450         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11451         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11452         [$(build-shared) = yes].
11453         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11454         $(common-objpfx)nptl/libpthread.so.
11455         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11456         $(common-objpfx)math/libm.so$(libm.so-version) or
11457         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11458         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11459         $(common-objpfx)dlfcn/libdl.so.
11460         * setjmp/Makefile (link-libm): Remove variable.
11461         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11462         * stdio-common/Makefile (link-libm): Remove variable.
11463         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11464         * stdlib/Makefile (link-libm): Remove variable.
11465         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11466         ($(objpfx)tst-strtod-round): Likewise.
11467         ($(objpfx)tst-tininess): Likewise.
11468         ($(objpfx)tst-strtod-underflow): Likewise.
11469         ($(objpfx)tst-strtod6): Likewise.
11470         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11471         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11472         $(common-objpfx)dlfcn/libdl.so.
11474 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11476         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11477         BSD terminal modes definitions.
11479 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11481         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11482         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11484         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11485         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11486         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11487         Don't do #include_next.
11488         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11489         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11490         Don't do #include_next.
11491         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11492         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11493         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11494         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11496 2014-05-16  Allan McRae  <allan@archlinux.org>
11498         * po/sv.po: Update Swedish translation from translation project.
11500         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11501         in sed expression.
11503 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11505         [BZ #16917]
11506         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11507         errno if the TIOCGPTN ioctl fails with an error different than
11508         EINVAL.
11509         * login/tst-ptsname.c: New file.
11510         * login/Makefile (tests): Add tst-ptsname.
11512         [BZ #16943]
11513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11514         and prlimit64.
11516 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11518         [BZ #16849]
11519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11520         herrno to return EAI_AGAIN.
11522 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11524         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11525         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11526         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11527         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11528         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11529         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11530         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11531         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11533         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11534         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11535         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11536         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11537         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11538         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11539         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11540         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11541         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11542         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11543         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11544         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11545         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11546         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11547         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11548         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11549         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11550         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11551         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11552         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11553         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11555         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11557         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11559         Moved ...
11560         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11562         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11566         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11568         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11570         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11572         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11574         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11576         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11578         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11580         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11582         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11584         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11586         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11588         Moved ...
11589         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11591         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11593         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11595         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11597         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11601         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11603         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11605         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11607         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11609         Moved ...
11610         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11612         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11614         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11615         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11616         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11617         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11618         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11619         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11620         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11621         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11622         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11623         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11624         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11625         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11626         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11627         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11628         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11629         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11630         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11631         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11632         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11633         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11634         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11635         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11636         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11637         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11639         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11640         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11641         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11642         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11643         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11644         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11646         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11647         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11649         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11650         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11651         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11652         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11653         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11655         Moved ...
11656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11658         Moved ...
11659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11661         Moved ...
11662         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11663         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11664         Moved ...
11665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11666         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11667         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11669         Moved ...
11670         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11671         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11672         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11674         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11675         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11676         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11678         Moved ...
11679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11681         Moved ...
11682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11683         ... here.
11684         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11686         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11687         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11689         Moved ...
11690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11691         ... here.
11692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11693         Moved ...
11694         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11695         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11696         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11697         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11698         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11700         Moved ...
11701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11703         Moved ...
11704         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11706         Moved ...
11707         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11708         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11709         Moved ...
11710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11711         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11712         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11714         Moved ...
11715         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11716         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11717         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11720         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11721         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11723         Moved ...
11724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11726         Moved ...
11727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11728         ... here.
11729         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11731         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11732         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11734         Moved ...
11735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11736         ... here.
11737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11738         Moved ...
11739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11740         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11741         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11742         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11743         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11744         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11746         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11747         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11749         Moved ...
11750         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11752         Moved ...
11753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11755         Moved ...
11756         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11758         Moved ...
11759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11761         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11762         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11763         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11765         Moved ...
11766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11767         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11768         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11770         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11771         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11772         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11774         Moved ...
11775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11777         Moved ...
11778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11779         ... here.
11780         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11781         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11783         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11785         Moved ...
11786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11787         ... here.
11788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11789         Moved ...
11790         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11791         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11792         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11793         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11795         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11796         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11797         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11798         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11799         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11800         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11802         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11803         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11806         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11808         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11809         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11810         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11811         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11812         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11813         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11814         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11815         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11816         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11817         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11819         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11820         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11821         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11822         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11824         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11826         Moved ...
11827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11831         Moved ...
11832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11836         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11840         Moved ...
11841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11843         Moved ...
11844         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11850         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11851         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11852         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11853         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11854         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11855         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11856         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11857         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11858         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11859         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11860         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11862         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11863         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11864         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11865         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11866         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11868         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11869         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11870         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11871         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11872         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11873         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11874         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11875         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11876         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11877         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11882         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11883         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11884         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11885         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11887         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11888         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11889         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11890         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11891         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11892         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11893         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11894         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11895         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11897         Update #include.
11898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11899         Likewise.
11900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11901         Likewise.
11902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11903         Likewise.
11904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11905         Likewise.
11906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11907         Likewise.
11908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11909         Likewise.
11910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11911         Likewise.
11912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11913         Likewise.
11914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11915         Likewise.
11916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11929         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11930         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11933         that was previously under [RESET_PID].
11934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11935         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11936         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11938         * sysdeps/i386/nptl/Implies: New file.
11939         * sysdeps/x86_64/nptl/Implies: New file.
11940         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11941         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11942         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11943         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11945         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11946         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11947         (__libc_vfork): New strong alias.
11948         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11949         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11951         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11953         (__libc_vfork): New strong alias.
11954         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11955         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11957         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11958         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11959         (__libc_vfork): New strong alias.
11960         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11961         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11962         * nptl/pt-vfork.c: New file.
11963         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11964         (libpthread: GLIBC_2.20): New version set (empty).
11966 2014-05-14  Will Newton  <will.newton@linaro.org>
11968         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11969         rather than #if.
11971 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11973         [BZ #16564]
11974         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11975         arguments with exponent 65 or above.
11976         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11977         arguments 0x1p113L or above.
11978         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11979         to arguments 0x1p107L or above.
11980         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11981         positive arguments with exponent 65 or above.
11982         * math/auto-libm-test-in: Add more tests of log1p.
11983         * math/auto-libm-test-out: Regenerated.
11985         [BZ #16928]
11986         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11987         non-finite arguments is +0.
11988         * math/s_cacosf.c (__cacosf): Likewise.
11989         * math/s_cacosl.c (__cacosl): Likewise.
11990         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11991         * sysdeps/i386/fpu/libm-test-ulps: Update.
11992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994         [BZ #16927]
11995         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11996         value.
11997         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11998         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11999         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12000         for explicit high bit of mantissa when testing for argument equal
12001         to 1.
12002         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12003         * sysdeps/i386/fpu/libm-test-ulps: Update.
12004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12006         [BZ #16516]
12007         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12008         (__erf): Scale by 16 instead of 8 in potentially underflowing
12009         case.  Ensure exception if result actually underflows.
12010         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12011         (__erff): Scale by 16 instead of 8 in potentially underflowing
12012         case.  Ensure exception if result actually underflows.
12013         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12014         (efx8): Remove variable.
12015         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12016         case.  Ensure exception if result actually underflows.
12017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12018         (efx8): Remove variable.
12019         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12020         case.  Ensure exception if result actually underflows.
12021         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12022         (efx8): Remove variable.
12023         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12024         case.  Ensure exception if result actually underflows.
12025         * math/auto-libm-test-in: Add more tests of erf.
12026         * math/auto-libm-test-out: Regenerated.
12028 2014-05-14  Andreas Schwab  <schwab@suse.de>
12030         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12031         Remove code conditionalized on USE___THREAD.
12033         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12034         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12035         not definedness.
12037 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12040         Define unconditionally.
12041         (__ASSUME_O_CLOEXEC): Likewise.
12042         (__ASSUME_SOCK_CLOEXEC): Likewise.
12043         (__ASSUME_IN_NONBLOCK): Likewise.
12044         (__ASSUME_PIPE2): Likewise.
12045         (__ASSUME_EVENTFD2): Likewise.
12046         (__ASSUME_SIGNALFD4): Likewise.
12047         (__ASSUME_DUP3): Likewise.
12048         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12049         (__ASSUME_DUP3): Do not define.
12050         (__ASSUME_EVENTFD2): Likewise.
12051         (__ASSUME_IN_NONBLOCK): Likewise.
12052         (__ASSUME_O_CLOEXEC): Likewise.
12053         (__ASSUME_PIPE2): Likewise.
12054         (__ASSUME_SIGNALFD4): Likewise.
12055         (__ASSUME_SOCK_CLOEXEC): Likewise.
12056         (__ASSUME_UTIMES): Undefine.
12057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12058         (__ASSUME_UTIMES): Do not define.
12059         (__ASSUME_O_CLOEXEC): Likewise.
12060         (__ASSUME_SOCK_CLOEXEC): Likewise.
12061         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12062         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12063         0x020621].
12064         (__ASSUME_PIPE2): Likewise.
12065         (__ASSUME_EVENTFD2): Likewise.
12066         (__ASSUME_SIGNALFD4): Likewise.
12067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12068         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12069         Do not define.
12070         (__ASSUME_EVENTFD2): Likewise.
12071         (__ASSUME_SIGNALFD4): Likewise.
12072         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12073         (__ASSUME_32BITUIDS): Likewise.
12074         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12075         (__ASSUME_IPC64): Likewise.
12076         (__ASSUME_ST_INO_64_BIT): Likewise.
12077         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12078         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12080         (__ASSUME_UTIMES): Do not define.
12081         (__ASSUME_PSELECT): Likewise.
12082         (__ASSUME_PPOLL): Likewise.
12083         (__ASSUME_O_CLOEXEC): Likewise.
12084         (__ASSUME_SOCK_CLOEXEC): Likewise.
12085         (__ASSUME_IN_NONBLOCK): Likewise.
12086         (__ASSUME_PIPE2): Likewise.
12087         (__ASSUME_EVENTFD2): Likewise.
12088         (__ASSUME_SIGNALFD4): Likewise.
12089         (__ASSUME_DUP3): Likewise.
12090         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12091         (__ASSUME_UTIMES): Likewise.
12092         (__ASSUME_O_CLOEXEC): Likewise.
12093         (__ASSUME_SOCK_CLOEXEC): Likewise.
12094         (__ASSUME_IN_NONBLOCK): Likewise.
12095         (__ASSUME_PIPE2): Likewise.
12096         (__ASSUME_EVENTFD2): Likewise.
12097         (__ASSUME_SIGNALFD4): Likewise.
12098         (__ASSUME_DUP3): Likewise.
12099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12100         (__ASSUME_UTIMES): Likewise.
12101         (__ASSUME_O_CLOEXEC): Likewise.
12102         (__ASSUME_SOCK_CLOEXEC): Likewise.
12103         (__ASSUME_IN_NONBLOCK): Likewise.
12104         (__ASSUME_PIPE2): Likewise.
12105         (__ASSUME_EVENTFD2): Likewise.
12106         (__ASSUME_SIGNALFD4): Likewise.
12107         (__ASSUME_DUP3): Likewise.
12108         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12109         Likewise.
12110         (__ASSUME_UTIMES): Likewise.
12111         (__ASSUME_EVENTFD2): Likewise.
12112         (__ASSUME_SIGNALFD4): Likewise.
12113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12114         (__ASSUME_O_CLOEXEC): Likewise.
12115         (__ASSUME_SOCK_CLOEXEC): Likewise.
12116         (__ASSUME_IN_NONBLOCK): Likewise.
12117         (__ASSUME_PIPE2): Likewise.
12118         (__ASSUME_EVENTFD2): Likewise.
12119         (__ASSUME_SIGNALFD4): Likewise.
12120         (__ASSUME_DUP3): Likewise.
12121         (__ASSUME_UTIMES): Undefine.
12123         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12124         feclearexcept.  Remove symbol versioning code.
12125         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12126         symbol versioning code.
12127         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12128         symbol versioning code.
12129         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12130         feupdateenv.  Remove symbol versioning code.
12131         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12132         fegetexceptflag.  Remove symbol versioning code.
12133         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12134         fesetexceptflag.  Remove symbol versioning code.
12135         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12136         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12137         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12138         (__posix_fadvise64_l32): Remove prototype.
12139         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12140         code.
12142 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12145         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12146         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12147         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12149 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12151         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12152         current working directory
12154 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12156         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12157         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12158         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12159         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12160         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12161         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12162         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12163         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12164         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12165         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12166         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12167         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12168         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12169         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12171         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12172         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12173         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12174         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12175         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12176         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12177         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12178         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12179         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12180         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12181         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12182         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12183         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12184         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12185         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12186         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12187         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12188         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12189         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12190         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12191         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12192         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12193         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12194         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12195         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12196         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12197         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12199         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12200         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12202         * sysdeps/unix/sysv/linux/arm/Makefile
12203         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12204         Add rt-aeabi_unwind_cpp_pr1.
12205         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12206         Add nptl-aeabi_unwind_cpp_pr1.
12207         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12208         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12209         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12210         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12211         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12212         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12214         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12215         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12216         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12217         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12219         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12220         Deconditionalize the code that was previously under [RESET_PID].
12221         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12223         * sysdeps/generic/exit-thread.h: New file.
12224         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12225         * include/unistd.h (__exit_thread): Remove declaration.
12226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12227         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12228         * csu/libc-start.c: Include <exit-thread.h>.
12229         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12230         * nptl/pthread_create.c: Include <exit-thread.h>.
12231         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12232         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12233         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12234         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12235         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12236         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12237         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12238         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12239         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12240         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12241         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12242         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12243         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12244         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12245         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12246         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12247         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12249 2014-05-13  Andreas Schwab  <schwab@suse.de>
12251         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12253 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12255         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12256         (__ASSUME_UTIMES): Do not condition on kernel version.
12257         (__ASSUME_PSELECT): Define unconditionally.
12258         (__ASSUME_PPOLL): Likewise.
12259         (__ASSUME_ATFCTS): Likewise.
12260         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12261         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12262         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12263         (__ASSUME_UTIMENSAT): Define unconditionally.
12264         (__ASSUME_PRIVATE_FUTEX): Likewise.
12265         (__ASSUME_FALLOCATE): Likewise.
12266         (__ASSUME_O_CLOEXEC): Likewise.
12267         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12268         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12269         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12270         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12271         (__ASSUME_IN_NONBLOCK): Likewise.
12272         (__ASSUME_PIPE2): Likewise.
12273         (__ASSUME_EVENTFD2): Likewise.
12274         (__ASSUME_SIGNALFD4): Likewise.
12275         (__ASSUME_DUP3): Likewise.
12276         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12277         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12278         (__ASSUME_AT_RANDOM): Likewise.
12279         (__ASSUME_PREADV): Likewise.
12280         (__ASSUME_PWRITEV): Likewise.
12281         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12282         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12283         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12284         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12285         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12287         (__ASSUME_O_CLOEXEC): Define unconditionally.
12288         (__ASSUME_PSELECT): Do not undefine conditionally.
12289         (__ASSUME_PPOLL): Likewise.
12290         (__ASSUME_ATFCTS): Likewise.
12291         (__ASSUME_SET_ROBUST_LIST): Likewise.
12292         (__ASSUME_UTIMENSAT): Likewise.
12293         (__ASSUME_FDATASYNC): Define unconditionally.
12294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12295         (__ASSUME_SIGFRAME_V2): Likewise.
12296         )__ASSUME_EVENTFD2): Likewise.
12297         (__ASSUME_SIGNALFD4): Likewise.
12298         (__ASSUME_PSELECT): Do not undefine conditionally.
12299         (__ASSUME_PPOLL): Likewise.
12300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12301         (__ASSUME_PSELECT): Define unconditionally.
12302         (__ASSUME_PPOLL): Likewise.
12303         (__ASSUME_O_CLOEXEC): Likewise.
12304         (__ASSUME_SOCK_CLOEXEC): Likewise.
12305         (__ASSUME_IN_NONBLOCK): Likewise.
12306         (__ASSUME_PIPE2): Likewise.
12307         (__ASSUME_EVENTFD2): Likewise.
12308         (__ASSUME_SIGNALFD4): Likewise.
12309         (__ASSUME_DUP3): Likewise.
12310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12311         (__ASSUME_O_CLOEXEC): Likewise.
12312         (__ASSUME_SOCK_CLOEXEC): Likewise.
12313         (__ASSUME_IN_NONBLOCK): Likewise.
12314         (__ASSUME_PIPE2): Likewise.
12315         (__ASSUME_EVENTFD2): Likewise.
12316         (__ASSUME_SIGNALFD4): Likewise.
12317         (__ASSUME_DUP3): Likewise.
12318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12319         (__ASSUME_EVENTFD2): Likewise.
12320         (__ASSUME_SIGNALFD4): Likewise.
12321         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12323 2014-05-12  Andreas Schwab  <schwab@suse.de>
12325         [BZ #16932]
12326         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12327         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12328         than maximum RPC packet size.
12329         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12330         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12331         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12332         (_nss_nis_getservbyport_r): Likewise.
12334 2014-05-12  Will Newton  <will.newton@linaro.org>
12336         * malloc/Makefile (tests): Add tst-mallopt.
12337         * malloc/tst-mallopt.c: New file.
12339 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12341         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12342         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12344 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12346         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12347         (tst-tlsmod6.so): Likewise.
12349 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12351         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12353 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12355         [BZ #16064]
12356         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12357         and <dl-procinfo.h>.
12358         (__fegetenv): Save SSE state in envp->__eip if supported.
12359         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12360         envp->__eip if supported.
12361         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12362         and <dl-procinfo.h>.
12363         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12364         __data_offset and __data_selector in environment to 0.  Set SSE
12365         state if supported.
12366         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12367         test-fenv-sse.
12368         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12369         -mfpmath=sse.
12370         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12372 2014-05-09  Will Newton  <will.newton@linaro.org>
12374         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12375         and libc_relro_required for ARM.
12376         * sysdeps/arm/preconfigure: Regenerate.
12378 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12379             Stefan Liebler  <stli@linux.vnet.ibm.com>
12381         * config.make.in (enable-lock-elision): New Makefile variable.
12382         * configure.ac: Likewise.
12383         * configure: Regenerate.
12384         * sysdeps/s390/configure.ac:
12385         Add check for gcc transactions support.
12386         * sysdeps/s390/configure: Regenerate.
12387         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12388         Build elision files if enabled.
12389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12390         Add lock elision support for s390.
12391         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12392         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12393         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12394         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12395         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12396         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12398         Likewise.
12399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12400         Likewise.
12401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12402         Likewise.
12403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12404         Likewise.
12405         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12406         (__lll_timedlock_elision, __lll_lock_elision)
12407         (__lll_unlock_elision, __lll_trylock_elision)
12408         (lll_timedlock_elision, lll_lock_elision)
12409         (lll_unlock_elision, lll_trylock_elision): Add.
12410         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12411         (pthread_mutex_t): Add lock elision support for s390.
12413 2014-05-14  Wilco  <wdijkstr@arm.com>
12415         * sysdeps/arm/fclrexcpt.c: Cleanup.
12416         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12417         * sysdeps/arm/feenablxcpt.c: Cleanup.
12418         * sysdeps/arm/fegetenv.c: Cleanup.
12419         * sysdeps/arm/fegetexcept.c: Cleanup.
12420         * sysdeps/arm/fegetround.c: Cleanup.
12421         * sysdeps/arm/feholdexcpt.c: Cleanup.
12422         * sysdeps/arm/fesetenv.c: Cleanup.
12423         * sysdeps/arm/fesetround.c: Cleanup.
12424         * sysdeps/arm/feupdateenv.c: Cleanup.
12425         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12426         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12427         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12428         * sysdeps/arm/ftestexcept.c: Cleanup.
12429         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12430         * sysdeps/arm/setfpucw.c: Cleanup.
12432 2014-05-09  Will Newton  <will.newton@linaro.org>
12434         * sysdeps/arm/armv7/strcmp.S: New file.
12435         * NEWS: Mention addition of ARMv7 optimized strcmp.
12437 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12439         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12440         look for %.ac rather than %.in.
12442         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12443         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12444         * sysdeps/mach/hurd/configure: Regenerated.
12445         * sysdeps/unix/sysv/linux/configure: Regenerated.
12447         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12449 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12451         [BZ# 16922]
12452         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12453         (LONG_SUB): Ditto.
12454         (PTR_SUB): Ditto.
12456 2014-05-07  Andreas Schwab  <schwab@suse.de>
12458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12459         when skipping over non-matching result from nscd.
12461 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12463         [BZ #16876]
12464         * nptl/sockperf.c (client): Check socket return value.
12466         [BZ #16877]
12467         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12468         nscd security class.
12470 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12472         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12473         * sysdeps/arm/unwind.h: ... here.
12475 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12477         [BZ# 16916]
12478         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12479         Define.
12481 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12483         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12485         multiarch strncpy for PPC64.
12486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12487         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12489         multiarch optimizations.
12490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12491         (__libc_ifunc_impl_list): Likewise.
12492         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12494         multiarch stpncpy for PPC64.
12495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12496         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12498 2014-05-06  Andreas Schwab  <schwab@suse.de>
12500         [BZ #16912]
12501         * gmon/mcount.c (_MCOUNT_DECL): Use
12502         atomic_compare_and_exchange_bool_acq instead of
12503         catomic_compare_and_exchange_bool_acq.
12505 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12507         * elf/Makefile (others, install-bin): Remove pldd.
12508         (pldd-modules): Variable removed.
12509         ($(objpfx)pldd): Target removed.
12510         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12511         (others, install-bin): Append pldd here.
12512         ($(objpfx)pldd): New target.
12514         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12515         to 0, so the first #if test emitted later doesn't see it undefined.
12516         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12517         * sysdeps/gnu/errlist.c: Regenerated.
12519 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12522         [libc_hidden_builtin_def]: Define to empty value.
12523         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12524         [libc_hidden_builtin_def]: Likewise.
12525         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12526         [libc_hidden_builtin_def]: Likewise.
12527         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12528         [libc_hidden_builtin_def]: Likewise.
12529         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12530         __redirect_memcpy and define ifunc as default hidden symbol.
12531         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12532         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12534 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12536         * locale/iso-4217.def: Reintroduce XDR currency.
12538 2014-05-04  Allan McRae  <allan@archlinux.org>
12540         * po/eo.po: Update Esperanto translation from translation project.
12542 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12544         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12545         and FEATURE_INDEX_MAX to 1.
12546         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12548 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12550         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12551         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12552         * iconvdata/big5.c (ONE_DIRECTION): Define.
12553         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12554         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12555         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12556         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12557         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12558         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12559         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12560         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12561         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12562         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12563         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12564         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12565         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12566         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12567         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12568         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12569         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12570         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12571         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12572         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12573         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12574         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12575         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12576         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12577         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12578         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12579         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12580         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12581         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12582         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12583         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12584         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12585         * iconvdata/johab.c (ONE_DIRECTION): Define.
12586         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12587         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12588         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12589         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12590         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12591         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12592         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12593         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12594         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12595         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12597 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12599         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12600         (_IO_JUMPS_OFFSET): Define to 0.
12602         * nptl/sysdeps/pthread/bits/libc-lock.h
12603         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12604         (__libc_lock_define_initialized_recursive): Always define using
12605         initializer.  Modern compilers treat uninitialized (implicit zero) and
12606         explicit zero initializers the same (i.e. put the datum in bss).
12608 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12610         * nscd/nscd-client.h: Include <string.h>.
12612 2014-05-01  David S. Miller  <davem@davemloft.net>
12614         [BZ #16885]
12615         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12616         multiple zero bytes exist at the end of a string.
12617         Reported by Aurelien Jarno <aurelien@aurel32.net>
12619         * string/test-strcmp.c (check): Add explicit test for situations where
12620         there are multiple zero bytes after the first.
12622 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12624         [BZ #16890]
12625         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12626         when compiling wprintf.
12627         * stdio-common/tstdiomisc.c (t3): New function.
12628         (main): Call it.
12630 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12632         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12633         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12634         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12635         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12637 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12639         * stdlib/longlong.h: Updated from GCC.
12641 2014-05-01  Will Newton  <will.newton@linaro.org>
12642             Bernard Ogden  <bernie.ogden@linaro.org>
12644         * NEWS: Update fixed bug list.
12646         [BZ #15119]
12647         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12649 2014-04-30  David S. Miller  <davem@davemloft.net>
12651         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12652         (libc_feholdexcept_setround_sparc_ctx): New function.
12653         (libc_fesetenv_sparc_ctx): Likewise.
12654         (libc_feupdateenv_sparc_ctx): Likewise.
12655         (libc_feholdsetround_sparc_ctx): Likewise.
12656         (libc_feholdexcept_setround_ctx): Define.
12657         (libc_feholdexcept_setroundf_ctx): Likewise.
12658         (libc_feholdexcept_setroundl_ctx): Likewise.
12659         (libc_fesetenv_ctx): Likewise.
12660         (libc_fesetenvf_ctx): Likewise.
12661         (libc_fesetenvl_ctx): Likewise.
12662         (libc_feupdateenv_ctx): Likewise.
12663         (libc_feupdateenvf_ctx): Likewise.
12664         (libc_feupdateenvl_ctx): Likewise.
12665         (libc_feresetround_ctx): Likewise.
12666         (libc_feresetroundf_ctx): Likewise.
12667         (libc_feresetroundl_ctx): Likewise.
12668         (libc_feholdsetround_ctx): Likewise.
12669         (libc_feholdsetroundf_ctx): Likewise.
12670         (libc_feholdsetroundl_ctx): Likewise.
12672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12673         with __USE_GNU instead of XOPEN cpp guards.
12675         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12676         0.
12678         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12679         with XOPEN cpp guards.
12681 2014-04-30  Julian Brown  <julian@codesourcery.com>
12683         [BZ #16888]
12684         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12685         handling.
12687 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12689         [BZ #9894]
12690         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12691         Change to 2.6.32.
12692         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12693         * sysdeps/unix/sysv/linux/configure: Regenerated.
12694         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12695         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12696         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12697         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12698         * README: Update reference to required Linux kernel version.
12699         * manual/install.texi (Linux): Update reference to required Linux
12700         kernel headers version.
12701         * INSTALL: Regenerated.
12703         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12704         header inclusion.
12705         [POSIX] (limits.h): Likewise.
12706         [POSIX] (math.h): Likewise.
12707         [POSIX] (sys/wait.h): Likewise.
12708         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12709         function.
12710         [POSIX] (stddef.h): Do not allow header inclusion.
12712 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12714         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12716 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12718         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12719         Return immediately after lll_futex_wake.
12721 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         [BZ #16791]
12724         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12725         structure.
12726         (datahead_init_pos): Call datahead_init_common early.
12727         (datahead_init_neg): Likewise.
12729         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12730         datahead_init_neg): New functions.
12731         * nscd/aicache.c (addhstaiX): Use them.
12732         * nscd/grpcache.c (cache_addgr): Likewise.
12733         * nscd/hstcache.c (cache_addhst): Likewise.
12734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12735         * nscd/netgroupcache.c (do_notfound): Likewise.
12736         (addgetnetgrentX): Likewise.
12737         (addinnetgrX): Likewise.
12738         * nscd/pwdcache.c (cache_addpw): Likewise.
12739         * nscd/servicescache.c (cache_addserv): Likewise.
12741 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12742             Atsushi Onoe  <atsushi@onoe.org>
12744         [BZ #14308]
12745         [BZ #12994]
12746         [BZ #13651]
12747         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12748         one response is valid.
12749         * resolv/res_send.c (send_dg): Check for validity of other
12750         response if the current response is a referral.
12752 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12754         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12756 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12758         [BZ #16823]
12759         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12760         Always divide by positive zero when computing -Inf result.
12761         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12762         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12764 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12766         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12767         FPSCR if value do not change.
12768         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12769         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12770         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12771         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12772         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12773         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12774         function.
12776 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12778         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12779         * sysdeps/unix/sysv/linux/hppa: Move directory from
12780         ports/systeps/unix/sysv/linux/hppa.
12781         * README: Update listing for hppa-*-linux-gnu.
12783 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12785         [BZ #16754]
12786         * manual/stdio.texi (Hook functions): Fix types of stream hook
12787         functions.
12788         [BZ #16854]
12789         * socket/sys/socket.h: Fix typo in comment.
12791 2014-04-28  Wilco  <wdijkstr@arm.com>
12793         * sysdeps/arm/fenv_private.h: New file.
12794         * sysdeps/arm/math_private.h: New file.
12795         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12797 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12799         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12800         with __int128_t.
12801         (La_x86_64_retval): Likewise.
12803 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12805         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12806         fpsr if value didn't change.
12807         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12808         to fpcr if value didn't change.
12809         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12810         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12811         fpsr or fpcr if value didn't change.
12812         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12813         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12814         fpcr if value didn't change.
12815         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12816         to fpsr if value didn't change.
12818 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12820         * nptl/tst-sem3.c: Use test-skeleton.c
12821         (main): Rename to do_test.  Use return instead of
12822         exit.
12823         * nptl/tst-sem4.c: Use test-skeleton.c
12824         (main): Rename to do_test.
12826 2014-04-22  David S. Miller  <davem@davemloft.net>
12828         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12829         (struct sigaction): New struct member __glibc_reserved0, change
12830         type of sa_flags to int.
12832 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12834         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12835         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12837 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12839         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12840         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12842 2014-04-22  Will Newton  <will.newton@linaro.org>
12843             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12845         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12846         (__longjmp): Add longjmp and longjmp_target SystemTap
12847         probes.
12848         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12849         (__sigsetjmp): Add setjmp SystemTap probe.
12851 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12853         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12854         match manual order.
12856 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12860         * sysdeps/powerpc/fpu/fenv_private.h
12861         (libc_feholdexcept_setroundl_ctx): Define to
12862         libc_feholdexcept_setround_ppc_ctx.
12863         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12864         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12865         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12866         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12868 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12870         * sysdeps/aarch64/math-tests.h: New file.
12872 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12874         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12875         New.
12876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12877         Check and set bit_AVX2_Usable.
12878         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12879         macro.
12880         (bit_AVX2): Likewise.
12881         (index_AVX2_Usable): Likewise.
12882         (CPUID_AVX2): Likewise.
12883         (HAS_AVX2): Likewise.
12885 2014-04-17  Will Newton  <will.newton@linaro.org>
12887         * manual/setjmp.texi (System V contexts): Add note that
12888         calling setcontext on a context created by a call to a
12889         signal handler is undefined.  Update text to note that
12890         setcontext from a signal handler is possible but not
12891         recommended.
12893         [BZ #16629]
12894         * stdlib/tst-setcontext.c: Include signal.h.
12895         (main): Check that the signal stack before and
12896         after swapcontext is the same.
12898         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12899         Re-implement to restore registers in user code and avoid
12900         rt_sigreturn system call.
12902 2014-04-17  Wilco  <wdijkstr@arm.com>
12904         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12905         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12906         * math/test-fenv.c: Skip exception trap tests on targets which only
12907         support non-stop mode.
12909 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12910             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12912         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12913         (libc_feholdsetround_aarch64_ctx)
12914         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12915         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12916         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12917         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12918         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12919         (libc_feresetround_noexl_ctx): Define.
12921 2014-04-16  Richard Henderson  <rth@redhat.com>
12923         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12925         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12926         unwind tables.
12928         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12929         const from the non-libc, non-ldso copy.
12931         * sysdeps/alpha/libm-test-ulps: Regenerate.
12933 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12934             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12936         * sysdeps/aarch64/fpu/math_private.h: New file.
12938 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12940         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12942 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12944         [BZ #16275]
12945         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12946         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12948         Intel MPX bound registers before _dl_profile_fixup.
12949         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12950         registers after _dl_profile_fixup.  Save and restore bound
12951         registers bnd0/bnd1 when calling _dl_call_pltexit.
12952         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12953         (LR_BND_OFFSET): Likewise.
12954         (LRV_BND0_OFFSET): Likewise.
12955         (LRV_BND1_OFFSET): Likewise.
12957 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12959         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12960         to...
12961         * sysdeps/mach/hurd/i386/tls.h: ... here.
12962         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12963         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12964         fields.
12966 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12968         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12970 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12972         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12974 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12976         [BZ #14770]
12977         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12978         * sysdeps/s390/configure: Regenerate.
12980         [BZ #16824]
12981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12982         Set round-to-nearest internally to reduce error accumulation.
12984 2014-04-16  Alan Modra  <amodra@gmail.com>
12986         [BZ #16740]
12987         [BZ #16619]
12988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12989         * math/libm-test.inc (frexp_test_data): Add tests.
12990         * NEWS: Update fixed bug list.
12992 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12994         * benchtests/Makefile: Depend on libraries in build directory.
12995         (bench-math): Separate out math tests.
12996         (bench-pthread): Separate out pthread tests.
12997         (bench): Include math and pthread tests.
12999 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13001         [BZ #16831]
13002         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13003         _dl_debug_initialize.
13005         * configure.ac: Remove SELinux header check.
13006         * configure: Regenerate.
13007         * nscd/selinux.c (perms): Array of const char* to permission names.
13008         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13009         default policy. Call string_to_security_class and string_to_av_perm to
13010         translate strings. Enforce default policy and call avs_has_perm with
13011         results of translated strings.
13013 2014-04-13  David S. Miller  <davem@davemloft.net>
13015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13017 2014-04-12  Allan McRae  <allan@archlinux.org>
13019         [BZ #16838]
13020         * manual/string.texi (Collation Functions): Fix qsort argument
13021         order in example.
13022         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13024 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13026         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13027         Make the test a no-op if there are no exceptions defined.
13029 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13031         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13032         enable-hardcoded-path-in-tests
13034 2014-04-11  Will Newton  <will.newton@linaro.org>
13036         * benchtests/Makefile (extra-objs): Add json-lib.o.
13037         (bench-func): Tidy up JSON output.
13038         * benchtests/bench-skeleton.c: Include json-lib.h.
13039         (main): Use JSON library functions to do output of
13040         benchmark results.
13041         * benchtests/bench-timing-type.c (main): Output the
13042         timing type simply, leaving formatting to the user.
13043         * benchtests/json-lib.c: New file.
13044         * benchtests/json-lib.h: Likewise.
13046 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13048         [BZ #15215]
13049         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13050         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13051         memory barriers.  Add comments.
13052         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13053         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13054         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13055         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13056         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13057         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13059 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13061         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13062         * sysdeps/s390/s390-64/configure.ac: ... this ...
13063         * sysdeps/s390/configure.ac: ... to here.
13064         * sysdeps/s390/s390-32/configure: Delete file.
13065         * sysdeps/s390/s390-64/configure: Delete file.
13066         * sysdeps/s390/configure: Regenerate.
13068 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13070         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13072 2014-04-11  Will Newton  <will.newton@linaro.org>
13074         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13075         to zero if it is not defined elsewhere.  (mtrim): Test
13076         the value of MALLOC_DEBUG with #if rather than #ifdef.
13078 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13080         * benchtests/pthread_once-inputs: New file.
13081         * benchtests/pthread_once-source.c: New file.
13082         * benchtests/README: Update documentation.
13084 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13085             H.J. Lu  <hongjiu.lu@intel.com>
13087         [BZ #16275]
13088         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13089         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13090         * sysdeps/x86_64/configure: Regenerated.
13091         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13092         macro.
13093         (REGISTER_SAVE_RAX): Likewise.
13094         (REGISTER_SAVE_RCX): Likewise.
13095         (REGISTER_SAVE_RDX): Likewise.
13096         (REGISTER_SAVE_RSI): Likewise.
13097         (REGISTER_SAVE_RDI): Likewise.
13098         (REGISTER_SAVE_R8): Likewise.
13099         (REGISTER_SAVE_R9): Likewise.
13100         (REGISTER_SAVE_BND0): Likewise.
13101         (REGISTER_SAVE_BND1): Likewise.
13102         (REGISTER_SAVE_BND2): Likewise.
13103         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13104         bound registers when calling _dl_fixup.
13106 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13108         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13109         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13110         of its definition.
13111         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13112         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13113         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13114         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13115         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13116         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13117         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13119 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13121         [BZ #15514]
13122         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13123         pathconf(_PC_NAME_MAX).
13125 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13127         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13128         Remove macro usage.
13129         (__PTHREAD_SPINS): Move definition to ...
13130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13131         (__PTHREAD_SPINS): ... here.
13132         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13133         (__PTHREAD_SPIN): Likewise.
13134         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13135         (__PTHREAD_SPIN): Likewise.
13136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13137         (__PTHREAD_SPIN): Likewise.
13138         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13139         (__PTHREAD_SPIN): Likewise.
13140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13141         (__PTHREAD_SPIN): Likewise.
13142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13143         (__PTHREAD_SPIN): Likewise.
13144         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13145         (__PTHREAD_SPIN): Likewise.
13146         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13147         (__PTHREAD_SPIN): Likewise.
13148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13149         (__PTHREAD_SPIN): Likewise.
13150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13151         (__PTHREAD_SPIN): Likewise.
13152         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13153         (__PTHREAD_SPIN): Likewise.
13154         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13155         (__PTHREAD_SPIN): Likewise.
13157         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13158         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13159         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13160         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13161         imply folder.
13162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13163         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13164         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13165         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13166         correct imply path.
13167         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13168         strlen symbol for non multi-arch builds.
13169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13170         missing hidden_def and weak_alias.
13172 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13174         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13176 2014-04-07  Will Newton  <will.newton@linaro.org>
13178         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13179         and contents.  [!_LIBC] Remove #ifndef and contents.
13180         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13181         * string/memccpy.c (__memccpy): Use ANSI prototype.
13182         * string/memfrob.c (memfrob): Likewise.
13183         * string/strcoll.c (STRCOLL): Likewise.
13184         * string/strlen.c (strlen): Likewise.
13185         * string/strtok.c (STRTOK): Likewise.
13186         * string/strcat.c: Remove unused #include of memcopy.h.
13187         (strcat): Use ANSI prototype.
13188         * string/strchr.c: Remove unused #include of memcopy.h.
13189         (strchr): Use ANSI prototype.
13190         * string/strcmp.c: Remove unused #include of memcopy.h.
13191         (strcmp): Use ANSI prototype.
13192         * string/strcpy.c: Remove unused #include of memcopy.h.
13193         (strcpy): Use ANSI prototype.
13195 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13197         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13198         * config.make.in (config-extra-cppflags): Set it from
13199         libc_extra_cppflags.
13200         * configure.ac (libc_extra_cflags): Make it accumulate over
13201         configure fragments.
13202         (libc_extra_cppflags): New flag.
13203         * configure. Regenerate.
13204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13205         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13206         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13209         [BZ #16815]
13210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13211         result for FE_DOWNWARD rounding mode.
13212         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13213         Likewise.
13214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13216 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13218         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13219         in function argument name.
13221 2014-04-03  David Svoboda  <svoboda@cert.org>
13223         [BZ #5666]
13224         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13225         explicitly.
13227 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13229         * elf/dl-unmap-segments.h: New file.
13230         * sysdeps/generic/ldsodefs.h
13231         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13232         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13233         * elf/dl-fptr.c: Likewise.
13234         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13235         * sysdeps/aarch64/tlsdesc.c: Likewise.
13236         * sysdeps/arm/tlsdesc.c: Likewise.
13237         * sysdeps/i386/tlsdesc.c: Likewise.
13238         * sysdeps/tile/dl-runtime.c: Likewise.
13239         * sysdeps/x86_64/tlsdesc.c: Likewise.
13240         * elf/dl-load.h: New file.
13241         * elf/dl-load.c: Include it.
13242         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13243         Macros moved to dl-load.h.
13244         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13245         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13246         Use _dl_unmap_segments in place of __munmap.
13247         Break out segment-mapping loop into ...
13248         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13250 2014-04-03  Will Newton  <will.newton@linaro.org>
13252         * elf/dl-lookup.c (do_lookup_x): Remove comment
13253         referring to nested function and move variable
13254         declarations down to before first use.
13256 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13258         [BZ #16799]
13259         [BZ #16800]
13260         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13261         with 0 numerator.
13262         * math/s_catanf.c (__catanf): Likewise.
13263         * math/s_catanh.c (__catanh): Likewise.
13264         * math/s_catanhf.c (__catanhf): Likewise.
13265         * math/s_catanhl.c (__catanhl): Likewise.
13266         * math/s_catanl.c (__catanl): Likewise.
13267         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13268         by positive zero when computing -Inf result.
13269         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13270         (catanh_test): Likewise.
13271         * sysdeps/i386/fpu/libm-test-ulps: Update.
13272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274         [BZ #16789]
13275         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13276         instead of using underflowing value in computing result.
13277         * math/s_clog10.c (__clog10): Likewise.
13278         * math/s_clog10f.c (__clog10f): Likewise.
13279         * math/s_clog10l.c (__clog10l): Likewise.
13280         * math/s_clogf.c (__clogf): Likewise.
13281         * math/s_clogl.c (__clogl): Likewise.
13282         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13283         (clog10_test): Likewise.
13284         * sysdeps/i386/fpu/libm-test-ulps: Update.
13285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13287 2014-04-02  Alan Modra  <amodra@gmail.com>
13289         [BZ #16739]
13290         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13291         output when value is near a power of two.  Use int64_t for lx and
13292         remove casts.  Use decimal rather than hex exponent constants.
13293         Don't use long double multiplication when double will suffice.
13294         * math/libm-test.inc (nextafter_test_data): Add tests.
13295         * NEWS: Add 16739 and 16786 to bug list.
13297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13299         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13301 2014-04-01  Will Newton  <will.newton@linaro.org>
13303         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13304         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13306 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13308         [BZ #13347]
13309         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13310         * nptl/tst-setuid2.c: New file.
13311         * nptl/Makefile (xtests): Add tst-setuid2.
13313 2014-04-01  Alan Modra  <amodra@gmail.com>
13315         [BZ #16786]
13316         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13318 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13320         [BZ #6803]
13321         [BZ #6804]
13322         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13323         set errno as appropriate.
13324         * math/w_scalbf.c (__scalbf): Likewise.
13325         * math/w_scalbl.c (__scalbl): Likewise.
13326         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13327         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13328         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13329         Add more NaN tests.
13331         [BZ #16349]
13332         * math/w_atan2.c: Include <errno.h>.
13333         (__atan2): Set errno for result underflowing to zero.
13334         * math/w_atan2f.c: Include <errno.h>.
13335         (__atan2f): Set errno for result underflowing to zero.
13336         * math/w_atan2l.c: Include <errno.h>.
13337         (__atan2l): Set errno for result underflowing to zero.
13338         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13339         tests.
13340         * math/auto-libm-test-out: Regenerated.
13342 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13344         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13345         Encode instruction correctly in little endian.
13346         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13347         Likewise.
13348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13349         Likewise.
13350         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13351         Likewise.
13352         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13353         Likewise.
13355 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #9894]
13358         * sysdeps/unix/sysv/linux/kernel-features.h
13359         [__sparc__ && !__arch64__ && !__sparc_v9__]
13360         (__ASSUME_SET_ROBUST_LIST): Do not define.
13361         [__sparc__ && !__arch64__ && !__sparc_v9__]
13362         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13363         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13366         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13367         (__ASSUME_REQUEUE_PI): Likewise.
13368         (__ASSUME_SET_ROBUST_LIST): Likewise.
13369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13370         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13371         Undefine.
13372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13373         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13374         Likewise.
13375         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13376         Likewise.
13377         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13378         Likewise.
13379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13380         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13381         Undefine.
13382         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13383         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13384         Likewise.
13386         [BZ #16648]
13387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13389         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13391 2014-03-31  Will Newton  <will.newton@linaro.org>
13393         * benchtests/Makefile (bench): Add ffs and ffsll to list
13394         of tests.
13395         * benchtests/ffs-inputs: New file.
13396         * benchtests/ffsll-inputs: Likewise.
13398 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13400         [BZ #16770]
13401         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13402         too large before casting to int.
13403         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13404         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13405         * math/libm-test.inc (scalb_test_data): Add more tests.
13407 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13409         * benchtests/Makefile (DETAILED_OPT): New make option.
13410         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13411         set.
13412         * benchtests/bench-skeleton.c: Include stdbool.h.
13413         (main): Store and print timings per input.
13414         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13415         member to each argument value.
13416         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13417         (_print_arg_data): Initialize per-input timing to 0.
13419         * benchtests/Makefile (timing-type): New binary.
13420         (bench-clean): Also remove bench-timing-type.
13421         (bench): New target for timing-type.
13422         (bench-func): Print output in JSON format.
13423         * benchtests/bench-skeleton.c (main): Print output in JSON
13424         format.
13425         * benchtests/bench-timing-type.c: New file.
13426         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13427         (TIMING_PRINT_STATS): Remove.
13428         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13429         name separately.
13431         * benchtests/bench-modf.c: Remove.
13432         * benchtests/modf-inputs: New inputs file.
13434 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13436         [BZ #16362]
13437         * math/s_clog10.c (M_PI_LOG10E): New macro.
13438         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13439         imaginary parts are 0.
13440         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13441         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13442         imaginary parts are 0.
13443         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13444         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13445         imaginary parts are 0.
13446         * math/libm-test.inc (clog10_test_data): Update expected results
13447         for when real and imaginary parts are 0.
13449 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13451         * elf/dl-load.c: Finish conversion of __builtin_expect into
13452         __glibc_{un}likely.
13454 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13456         [BZ #16348]
13457         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13458         1+x for argument with exponent below -67.
13459         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13460         Likewise.
13461         * math/auto-libm-test-in: Add more tests of exp.
13462         * math/auto-libm-test-out: Regenerated.
13464 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13466         [BZ #16759]
13467         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13468         (nscd_getnetgrent): Use it.
13470         [BZ #16760]
13471         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13472         of stpcpy.
13474 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13476         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13477         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13478         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13479         (lll_robust_unlock): Remove out of line section. Use cfi
13480         intrinsics.
13481         (LLL_STUB_UNWIND_INFO*): Remove.
13482         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13483         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13484         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13485         (lll_robust_unlock): Remove out of line section. Use cfi
13486         intrinsics.
13487         (LLL_STUB_UNWIND_INFO*): Remove.
13489 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13491         [BZ #16758]
13492         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13493         blank values.
13495 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13497         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13499 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13501         [BZ #16198]
13502         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13503         fnstenv.
13504         * math/test-fenv-preserve.c: New file.
13505         * math/Makefile (tests): Add test-fenv-preserve.
13507 2014-03-26  Will Newton <will.newton@linaro.org>
13509         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13511 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13513         * scripts/versionlist.awk: Partition the version sets and emit all
13514         GLIBC_* (sorted) before all others (sorted).
13516 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13518         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13519         GLIBC_2.2.5 version.
13521 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13523         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13524         calls.
13526         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13527         previous change.
13529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13531 2014-03-25  Andreas Schwab  <schwab@suse.de>
13533         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13534         label to be used after in6ailist is initialized.
13536 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13538         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13539         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13541 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13543         [BZ #16357]
13544         [BZ #16599]
13545         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13546         min_plus_half.
13547         (fp_formats): Update initializers.
13548         (init_fp_formats): Initialize new field.
13549         (output_for_one_input_case): Allow underflow for results up to
13550         min_plus_half.
13551         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13552         * math/auto-libm-test-in: Don't mark some underflows from asin and
13553         atanh as spurious.
13554         * math/auto-libm-test-out: Regenerated.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558 2014-03-25  Andreas Schwab  <schwab@suse.de>
13560         * libio/Makefile (tst-ftell-partial-wide-ENV)
13561         (tst-ftell-active-handler-ENV): Define.
13563 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13565         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13567 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13569         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13571 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13573         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13574         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13577 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13579         [BZ #16634]
13580         * elf/dl-load.c (open_verify): Add mode parameter.
13581         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13582         (open_path): Change from boolean 'secure' to complete flag 'mode'
13583         (_dl_map_object): Adjust.
13584         * elf/Makefile (tests): Add tst-dlopen-aout.
13585         * elf/tst-dlopen-aout.c: New test.
13587 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13589         [BZ #16714]
13590         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13591         (struct stat): Rename member pad0 to __glibc_reserved0.
13593         [BZ #16712]
13594         * sysdeps/s390/s390-32/bits/wordsize.h
13595         (__WORDSIZE32_SIZE_ULONG): New define.
13596         * sysdeps/s390/s390-64/bits/wordsize.h
13597         (__WORDSIZE32_SIZE_ULONG): Likewise.
13598         * sysdeps/generic/stdint.h (SIZE_MAX):
13599         Define as UL if __WORDSIZE32_SIZE_ULONG.
13601         [BZ #16713]
13602         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13603         (__glibc_reserved0): New variable.
13604         (sa_flags): Change type to int.
13606         * posix/Makefile (before-compile): Use += before-compile instead
13607         of a :=.
13609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13610         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13612 2014-03-20  Andreas Schwab  <schwab@suse.de>
13614         [BZ #16743]
13615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13616         non-matching result from nscd.
13618 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         * scripts/bench.py: Moved to ...
13621         * benchtests/scripts/bench.py: ... here.
13622         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13624 2014-03-24  Andreas Schwab  <schwab@suse.de>
13626         [BZ #16002]
13627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13628         alloca_account and account alloca use for struct in6ailist.
13630 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13632         [BZ #16284]
13633         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13634         rounding mode to recompute results that overflow to infinity or
13635         underflow to zero.
13636         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13637         bug 16284.
13638         * math/auto-libm-test-out: Regenerated.
13639         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13640         (ccosh_test): Likewise.
13641         (csin_test_data): Use plus_oflow.
13642         (csin_test): Use ALL_RM_TEST.
13643         (csinh_test_data): Use plus_oflow.
13644         (csinh_test): Use ALL_RM_TEST.
13645         * sysdeps/i386/fpu/libm-test-ulps: Update.
13646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13648 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13650         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13651         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13652         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13654         [BZ #16731]
13655         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13656         when x - 1 is zero.
13657         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13658         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13659         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13660         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13661         argument is 1.
13662         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13663         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13664         zero.
13665         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13666         * sysdeps/i386/fpu/libm-test-ulps: Update.
13667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13671         * scripts/bench.pl: Remove file.
13672         * scripts/bench.py: New benchmark script.
13673         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13674         * benchtests/README: Mention python dependency.
13675         * scripts/pylintrc: New file.
13676         * scripts/pylint: New file.
13678         * bits/mathdef.h: Use #ifdef instead of #if.
13679         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13680         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13681         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13682         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13683         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13684         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13686 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13687             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13689         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13691         and strpbrk-ppc64 objects.
13692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13693         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13694         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13695         multiarch strpbrk for POWER7.
13696         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13697         multiarch strpbrk for PPC64.
13698         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13699         ifunc selector.
13700         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13701         strpbrk for POWER7.
13703 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13705         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13706         (atan_test): Likewise.
13707         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13708         (atanh_test): Use ALL_RM_TEST.
13709         (atan2_test_data): Likewise.
13710         (cabs_test): Likewise.
13711         (cacosh_test): Likewise.
13712         (carg_test): Likewise.
13713         (casin_test): Likewise.
13714         (casinh_test): Likewise.
13715         (cbrt_test): Likewise.
13716         (csqrt_test): Likewise.
13717         (erf_test): Likewise.
13718         (erfc_test): Likewise.
13719         (pow10_test): Likewise.
13720         (exp2_test): Likewise.
13721         (hypot_test): Likewise.
13722         (j0_test): Likewise.
13723         (j1_test): Likewise.
13724         (lgamma_test): Likewise.
13725         (gamma_test): Likewise.
13726         (sincos_test): Likewise.
13727         (tanh_test): Likewise.
13728         (y0_test): Likewise.
13729         (y1_test): Likewise.
13730         * sysdeps/i386/fpu/libm-test-ulps: Update.
13731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13733 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13735         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13737         and strcspn-ppc64 objects.
13738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13739         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13740         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13741         multiarch strcspn for POWER7.
13742         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13743         multiarch strcspn for PPC64.
13744         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13745         ifunc selector.
13746         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13747         strcspn for POWER7.
13749 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13751         * math/gen-libm-test.pl (generate_testfile): Expect only function
13752         name as argument to AUTO_TESTS_* and pass results for all rounding
13753         modes to parse_args.
13754         (parse_auto_input): Separate inputs of automatic tests from
13755         outputs before storing in %auto_tests.
13756         * math/libm-test.inc (acos_test_data): Update call to
13757         AUTO_TESTS_f_f.
13758         (acos_test): Use ALL_RM_TEST.
13759         (acos_tonearest_test_data): Remove.
13760         (acos_test_tonearest): Likewise.
13761         (acos_towardzero_test_data): Likewise.
13762         (acos_test_towardzero): Likewise.
13763         (acos_downward_test_data): Likewise.
13764         (acos_test_downward): Likewise.
13765         (acos_upward_test_data): Likewise.
13766         (acos_test_upward): Likewise.
13767         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13768         (asin_test_data): Likewise.
13769         (asin_test): Use ALL_RM_TEST.
13770         (asin_tonearest_test_data): Remove.
13771         (asin_test_tonearest): Likewise.
13772         (asin_towardzero_test_data): Likewise.
13773         (asin_test_towardzero): Likewise.
13774         (asin_downward_test_data): Likewise.
13775         (asin_test_downward): Likewise.
13776         (asin_upward_test_data): Likewise.
13777         (asin_test_upward): Likewise.
13778         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13779         (atan_test_data): Likewise.
13780         (atanh_test_data): Likewise.
13781         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13782         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13783         (carg_test_data): Likewise.
13784         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13785         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13786         (ccosh_test_data): Likewise.
13787         (cexp_test_data): Likewise.
13788         (clog_test_data): Likewise.
13789         (clog10_test_data): Likewise.
13790         (cos_test_data): Update call to AUTO_TESTS_f_f.
13791         (cos_test): Use ALL_RM_TEST.
13792         (cos_tonearest_test_data): Remove.
13793         (cos_test_tonearest): Likewise.
13794         (cos_towardzero_test_data): Likewise.
13795         (cos_test_towardzero): Likewise.
13796         (cos_downward_test_data): Likewise.
13797         (cos_test_downward): Likewise.
13798         (cos_upward_test_data): Likewise.
13799         (cos_test_upward): Likewise.
13800         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13801         (cosh_test): Use ALL_RM_TEST.
13802         (cosh_tonearest_test_data): Remove.
13803         (cosh_test_tonearest): Likewise.
13804         (cosh_towardzero_test_data): Likewise.
13805         (cosh_test_towardzero): Likewise.
13806         (cosh_downward_test_data): Likewise.
13807         (cosh_test_downward): Likewise.
13808         (cosh_upward_test_data): Likewise.
13809         (cosh_test_upward): Likewise.
13810         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13811         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13812         (ctan_test_data): Likewise.
13813         (ctan_test): Use ALL_RM_TEST.
13814         (ctan_tonearest_test_data): Remove.
13815         (ctan_test_tonearest): Likewise.
13816         (ctan_towardzero_test_data): Likewise.
13817         (ctan_test_towardzero): Likewise.
13818         (ctan_downward_test_data): Likewise.
13819         (ctan_test_downward): Likewise.
13820         (ctan_upward_test_data): Likewise.
13821         (ctan_test_upward): Likewise.
13822         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13823         (ctanh_test): Use ALL_RM_TEST.
13824         (ctanh_tonearest_test_data): Remove.
13825         (ctanh_test_tonearest): Likewise.
13826         (ctanh_towardzero_test_data): Likewise.
13827         (ctanh_test_towardzero): Likewise.
13828         (ctanh_downward_test_data): Likewise.
13829         (ctanh_test_downward): Likewise.
13830         (ctanh_upward_test_data): Likewise.
13831         (ctanh_test_upward): Likewise.
13832         (erf_test_data): Update call to AUTO_TESTS_f_f.
13833         (erfc_test_data): Likewise.
13834         (exp_test_data): Likewise.
13835         (exp_test): Use ALL_RM_TEST.
13836         (exp_tonearest_test_data): Remove.
13837         (exp_test_tonearest): Likewise.
13838         (exp_towardzero_test_data): Likewise.
13839         (exp_test_towardzero): Likewise.
13840         (exp_downward_test_data): Likewise.
13841         (exp_test_downward): Likewise.
13842         (exp_upward_test_data): Likewise.
13843         (exp_test_upward): Likewise.
13844         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13845         (exp10_test): Use ALL_RM_TEST.
13846         (exp10_tonearest_test_data): Remove.
13847         (exp10_test_tonearest): Likewise.
13848         (exp10_towardzero_test_data): Likewise.
13849         (exp10_test_towardzero): Likewise.
13850         (exp10_downward_test_data): Likewise.
13851         (exp10_test_downward): Likewise.
13852         (exp10_upward_test_data): Likewise.
13853         (exp10_test_upward): Likewise.
13854         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13855         (expm1_test_data): Likewise.
13856         (expm1_test): Use ALL_RM_TEST.
13857         (expm1_tonearest_test_data): Remove.
13858         (expm1_test_tonearest): Likewise.
13859         (expm1_towardzero_test_data): Likewise.
13860         (expm1_test_towardzero): Likewise.
13861         (expm1_downward_test_data): Likewise.
13862         (expm1_test_downward): Likewise.
13863         (expm1_upward_test_data): Likewise.
13864         (expm1_test_upward): Likewise.
13865         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13866         (fma_test): Use ALL_RM_TEST.
13867         (fma_towardzero_test_data): Remove.
13868         (fma_test_towardzero): Likewise.
13869         (fma_downward_test_data): Likewise.
13870         (fma_test_downward): Likewise.
13871         (fma_upward_test_data): Likewise.
13872         (fma_test_upward): Likewise.
13873         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13874         (j0_test_data): Update call to AUTO_TESTS_f_f.
13875         (j1_test_data): Likewise.
13876         (jn_test_data): Update call to AUTO_TESTS_if_f.
13877         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13878         (log_test_data): Update call to AUTO_TESTS_f_f.
13879         (log10_test_data): Likewise.
13880         (log1p_test_data): Likewise.
13881         (log2_test_data): Likewise.
13882         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13883         (pow_tonearest_test_data): Likewise.
13884         (sin_test_data): Update call to AUTO_TESTS_f_f.
13885         (sin_test): Use ALL_RM_TEST.
13886         (sin_tonearest_test_data): Remove.
13887         (sin_test_tonearest): Likewise.
13888         (sin_towardzero_test_data): Likewise.
13889         (sin_test_towardzero): Likewise.
13890         (sin_downward_test_data): Likewise.
13891         (sin_test_downward): Likewise.
13892         (sin_upward_test_data): Likewise.
13893         (sin_test_upward): Likewise.
13894         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13895         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13896         (sinh_test): Use ALL_RM_TEST.
13897         (sinh_tonearest_test_data): Remove.
13898         (sinh_test_tonearest): Likewise.
13899         (sinh_towardzero_test_data): Likewise.
13900         (sinh_test_towardzero): Likewise.
13901         (sinh_downward_test_data): Likewise.
13902         (sinh_test_downward): Likewise.
13903         (sinh_upward_test_data): Likewise.
13904         (sinh_test_upward): Likewise.
13905         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13906         (sqrt_test): Use ALL_RM_TEST.
13907         (sqrt_tonearest_test_data): Remove.
13908         (sqrt_test_tonearest): Likewise.
13909         (sqrt_towardzero_test_data): Likewise.
13910         (sqrt_test_towardzero): Likewise.
13911         (sqrt_downward_test_data): Likewise.
13912         (sqrt_test_downward): Likewise.
13913         (sqrt_upward_test_data): Likewise.
13914         (sqrt_test_upward): Likewise.
13915         (tan_test_data): Update call to AUTO_TESTS_f_f.
13916         (tan_test): Use ALL_RM_TEST.
13917         (tan_tonearest_test_data): Remove.
13918         (tan_test_tonearest): Likewise.
13919         (tan_towardzero_test_data): Likewise.
13920         (tan_test_towardzero): Likewise.
13921         (tan_downward_test_data): Likewise.
13922         (tan_test_downward): Likewise.
13923         (tan_upward_test_data): Likewise.
13924         (tan_test_upward): Likewise.
13925         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13926         (tgamma_test_data): Likewise.
13927         (y0_test_data): Likewise.
13928         (y1_test_data): Likewise.
13929         (yn_test_data): Update call to AUTO_TESTS_if_f.
13930         (main): Do not call removed functions.
13932 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13934         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13935         (ldexp_test_data): Remove.
13936         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13937         scalbn_test_data.
13938         (scalb_test): Use ALL_RM_TEST.
13940 2014-03-19  Andreas Schwab  <schwab@suse.de>
13942         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13944 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13946         [BZ #16649]
13947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13949         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13951         (__ASSUME_PREADV): Undefine.
13952         (__ASSUME_PWRITEV): Likewise.
13954 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13956         * bits/mman-linux.h: Add comment about non-Linux use.
13957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13958         bits/mman-linux.h resting place.
13960         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13961         * bits/mman-linux.h: ... here.
13963 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13965         * conform/conformtest.pl: Add standard definition when calling C
13966         preprocessor on data files.
13967         (checknamespace): Remove unused variable.
13969 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13971         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13972         minus_oflow, plus_uflow and minus_uflow in expected results.
13973         * math/libm-test.inc (scalbn_test_data): Add more tests of
13974         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13975         minus_uflow.
13976         (scalbn_test): Use ALL_RM_TEST.
13977         (scalbln_test_data): Add more tests of negative arguments.  Use
13978         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13979         (scalbln_test): Use ALL_RM_TEST.
13981 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13983         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13985 2014-03-18  Will Newton  <will.newton@linaro.org>
13987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13988         inaccurate comment.
13990 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13992         * Makerules [!subdir] (check-abi): Exit with error status if a
13993         test failed.
13995 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13997         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13998         for rint.  Include results for all rounding modes.
13999         (nearbyint_test): Use ALL_RM_TEST.
14000         (rint_test_data): Include all tests used for nearbyint.
14002 2014-03-17  Will Newton  <will.newton@linaro.org>
14004         * nptl/sysdeps/pthread/pthread.h: Revert previous
14005         change.
14007         * sysdeps/generic/ldsodefs.h: Revert previous
14008         change.
14010         * libio/genops.c: Revert previous change.
14011         * libio/libioP.h: Likewise.
14012         * stdio-common/vfprintf.c: Likewise.
14014         * sysdeps/generic/math_private.h: Revert previous
14015         change.
14017         * sysdeps/generic/math_private.h: Check whether
14018         HAVE_RM_CTX is defined with #ifdef rather
14019         than #if.
14021         * argp/argp-fmtstream.h: Check whether
14022         __STRICT_ANSI__ is defined with #ifdef rather
14023         than #if.
14024         * argp/argp.h: Likewise.
14026         * libio/genops.c: Check whether
14027         _IO_JUMPS_OFFSET is defined with #ifdef rather
14028         than #if.
14029         * libio/libioP.h: Likewise.
14030         * stdio-common/vfprintf.c: Likewise.
14032         * sysdeps/generic/ldsodefs.h: Check whether
14033         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14034         than #if.
14036         * nptl/sysdeps/pthread/pthread.h: Check
14037         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14038         its value.
14040 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14042         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14043         setting O_APPEND.
14044         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14045         test case.
14047         [BZ #16680]
14048         * libio/fileops.c (_IO_file_open): Seek to end of file but
14049         don't cache the offset.
14050         (get_file_offset): Remove function.
14051         (do_ftell): Use cached offset when available.
14052         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14053         don't cache the offset.
14054         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14055         case.
14056         (do_one_test): Call it.
14057         (do_ftell_test): Fix up expected old offset for a+ mode.
14058         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14059         available.
14061         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14062         up test status with function return status.
14063         (do_write_test): Likewise.
14064         (do_append_test): Likewise.
14066         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14067         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14068         Remove.
14070 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14072         * math/gen-libm-test.pl (parse_args): Handle results specified for
14073         each rounding mode separately.
14074         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14075         tests and results from lrint_tonearest_test_data,
14076         lrint_towardzero_test_data, lrint_downward_test_data and
14077         lrint_upward_test_data.
14078         (lrint_test): Use ALL_RM_TEST.
14079         (lrint_tonearest_test_data): Remove.
14080         (lrint_test_tonearest): Likewise.
14081         (lrint_towardzero_test_data): Likewise.
14082         (lrint_test_towardzero): Likewise.
14083         (lrint_downward_test_data): Likewise.
14084         (lrint_test_downward): Likewise.
14085         (lrint_upward_test_data): Likewise.
14086         (lrint_test_upward): Likewise.
14087         (llrint_test_data): Merge in per-rounding-mode tests and results
14088         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14089         llrint_downward_test_data and llrint_upward_test_data.
14090         (llrint_test): Use ALL_RM_TEST.
14091         (llrint_tonearest_test_data): Remove.
14092         (llrint_test_tonearest): Likewise.
14093         (llrint_towardzero_test_data): Likewise.
14094         (llrint_test_towardzero): Likewise.
14095         (llrint_downward_test_data): Likewise.
14096         (llrint_test_downward): Likewise.
14097         (llrint_upward_test_data): Likewise.
14098         (llrint_test_upward): Likewise.
14099         (rint_test_data): Merge in per-rounding-mode tests and results
14100         from rint_tonearest_test_data, rint_towardzero_test_data,
14101         rint_downward_test_data and rint_upward_test_data.  Add
14102         per-rounding-mode results for tests not in those arrays.
14103         (rint_test): Use ALL_RM_TEST.
14104         (rint_tonearest_test_data): Remove.
14105         (rint_test_tonearest): Likewise.
14106         (rint_towardzero_test_data): Likewise.
14107         (rint_test_towardzero): Likewise.
14108         (rint_downward_test_data): Likewise.
14109         (rint_test_downward): Likewise.
14110         (rint_upward_test_data): Likewise.
14111         (rint_test_upward): Likewise.
14112         (main): Don't call removed functions.
14114 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14116         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14117         "Compiled on ..." crapola.  It is anti-useful.
14119 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14121         * scripts/evaluate-test.sh: Handle fourth argument to determine
14122         whether test run should stop on failure.
14123         * Makeconfig (stop-on-test-failure): New variable.
14124         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14125         $(stop-on-test-failure).
14126         * Makefile (tests): Give a summary of results from testing and
14127         exit with failure status if they include an ERROR or FAIL.
14128         (xtests): Likewise.
14129         * manual/install.texi (Configuring and compiling): Mention
14130         stop-on-test-failure=y.
14131         * INSTALL: Regenerated.
14133 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14135         * scripts/versionlist.awk: New file.
14136         * Makerules [$(build-shared) = yes]
14137         (postclean-generated): Add Versions.def, not Versions.def.v and
14138         Versions.def.v.i.
14139         ($(common-objpfx)Versions.def.v.i): Target removed.
14140         ($(common-objpfx)Versions.def): New target.
14141         ($(common-objpfx)Versions.all): Depend on that rather that
14142         $(common-objpfx)Versions.def.v.
14143         * Versions.def: File removed.
14145         * Makeconfig (+gccwarn): Add -Wundef.
14146         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14147         a dl-sysdep.h breaking its contract.
14148         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14149         * include/stackinfo.h: New file.
14150         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14151         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14152         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14153         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14154         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14155         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14156         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14157         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14158         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14159         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14160         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14161         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14162         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14163         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14164         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14166 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14168         [BZ #16707]
14169         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14170         implementation.
14171         * math/libm-test.inc (round_test_data): Add more tests.
14173         [BZ #16706]
14174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14175         implementation.
14176         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14178         [BZ #16701]
14179         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14180         implementation.
14181         * math/libm-test.inc (ceil_test_data): Add more tests.
14183         * math/libm-test.inc (trunc_test_data): Add more tests related to
14184         BZ#16414.
14186 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14188         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14189         with #if rather than #ifdef.
14190         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14192 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14194         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14195         first.  Disable AVX-512 GCC support if assembler doesn't support
14196         it.
14197         * sysdeps/x86_64/configure: Regenerated.
14199 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14201         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14202         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14203         (__old_pthread_attr_setstack): Likewise.
14204         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14205         [!_STACK_GROWS_DOWN]: Likewise.
14207 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14209         * config.make.in (have-bash2): Delete.
14210         * configure.ac (libc_cv_have_bash2): Delete.
14211         * configure: Regenerate.
14212         * elf/Makefile (common-ldd-rewrite): Rename to ...
14213         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14214         (sh-ldd-rewrite): Delete.
14215         (bash-ldd-rewrite): Delete.
14216         (have-bash2): Delete checks.
14217         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14218         ldd-rewrite.
14220         * config.make.in (have-ksh): Delete.
14221         (KSH): Delete.
14222         * configure.ac (libc_cv_have_ksh): Delete.
14223         * configure: Regenerate.
14225         * elf/Makefile: Delete $(have-ksh) check.
14226         ($(objpfx)sotruss): Change KSH to BASH.
14227         * elf/sotruss.ksh: Rename to ...
14228         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14229         function style to match POSIX.  Drop ksh vim mode setting.
14231         * manual/time.texi (Specifying the Time Zone with TZ): Change
14232         Tuesday to Thursday.
14234         * debug/tst-longjmp_chk2.c: Update header comment.
14235         (stackoverflow_handler): Add comment.  Call assert on pass value.
14237 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14239         [BZ #16194]
14240         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14241         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14242         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14243         (La_x86_64_vector): Add zmm.
14244         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14245         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14246         ($(objpfx)tst-audit10): New target.
14247         ($(objpfx)tst-audit10.out): Likewise.
14248         (tst-audit10-ENV): New.
14249         (AVX512-CFLAGS): Likewise.
14250         (CFLAGS-tst-audit10.c): Likewise.
14251         (CFLAGS-tst-auditmod10a.c): Likewise.
14252         (CFLAGS-tst-auditmod10b.c): Likewise.
14253         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14254         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14255         * sysdeps/x86_64/configure: Regenerated.
14256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14257         AVX-512 zmm register support.
14258         (_dl_x86_64_save_sse): Likewise.
14259         (_dl_x86_64_restore_sse): Likewise.
14260         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14261         size vector registers.
14262         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14263         (ZMM_SIZE): Likewise.
14264         * sysdeps/x86_64/tst-audit10.c: New file.
14265         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14266         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14268 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14270         * configure.ac (HAVE_EHDR_START): New check.
14271         * configure: Regenerated.
14272         * config.h.in (HAVE_EHDR_START): New #undef.
14273         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14274         assuming the lowest-addressed segment maps the start of the file.
14276 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14278         * INSTALL: Regenerated.
14280 2014-03-13  Will Newton  <will.newton@linaro.org>
14282         * manual/setjmp.texi (System V contexts): Improve
14283         clarity and grammar of documentation.
14285 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14287         [BZ #16381]
14288         * elf/Makefile (tests): Add tst-pie2.
14289         (tests-pie): Add tst-pie2.
14290         * elf/tst-pie2.c: New file.
14291         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14292         for ET_EXEC.
14293         * elf/rtld.c (map_doit): Load executable as lt_executable.
14294         (dl_main): Likewise.
14296 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14298         [BZ #16642]
14299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14300         (__ASSUME_PSELECT): Undefine.
14302 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14304         [BZ #16689]
14305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14306         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14307         static build.
14308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14309         selector for static builds.
14311 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14313         [BZ #16695]
14314         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14315         key in the buffer.
14317 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14320         IFUNC selector for static builds.
14322 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14324         * sysdeps/mips/math_private.h [__mips_hard_float]
14325         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14326         libc_feresetround_mips_ctx.
14327         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14328         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14329         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14331         [BZ #16677]
14332         * math/s_nextafter.c (__nextafter): Do not return value from
14333         overflowing computation.
14334         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14335         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14337         Likewise.
14338         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14339         Likewise.
14340         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14341         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14343 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14345         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14346         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14347         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14348         the new mov targetting sp.
14350 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14352         [BZ #16683]
14353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14354         Define it for static builds as well.
14355         (NO_BZERO_IMPL): Likewise.
14357 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14359         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14360         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14361         multiarch strspn for PPC64.
14362         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14363         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14365         (__libc_ifunc_impl_list): Likewise.
14366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14367         multiarch optimizations
14368         * string/strspn.c (strspn): Using macro to redefine symbol name.
14370 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14373         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14374         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14375         multiarch strncat for PPC64.
14376         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14377         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14379         (__libc_ifunc_impl_list): Likewise.
14380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14381         multiarch optimizations
14383 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14385         [BZ #16639]
14386         * nscd/nscd.service: Make service type forking.
14388 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14390         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14391         sign in non default rounding modes.
14392         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14394 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14396         * math/libm-test.inc (ALL_RM_TEST): New macro.
14397         (ceil_test): Use ALL_RM_TEST.
14398         (cimag_test): Likewise.
14399         (conj_test): Likewise.
14400         (copysign_test): Likewise.
14401         (cproj_test): Likewise.
14402         (creal_test): Likewise.
14403         (fabs_test): Likewise.
14404         (floor_test): Likewise.
14405         (fmax_test): Likewise.
14406         (fmin_test): Likewise.
14407         (fmod_test): Likewise.
14408         (fpclassify_test): Likewise.
14409         (frexp_test): Likewise.
14410         (ilogb_test): Likewise.
14411         (isfinite_test): Likewise.
14412         (finite_test): Likewise.
14413         (isgreater_test): Likewise.
14414         (isgreaterequal_test): Likewise.
14415         (isinf_test): Likewise.
14416         (isless_test): Likewise.
14417         (islessequal_test): Likewise.
14418         (islessgreater_test): Likewise.
14419         (isnan_test): Likewise.
14420         (isnormal_test): Likewise.
14421         (issignaling_test): Likewise.
14422         (isunordered_test): Likewise.
14423         (logb_test): Likewise.
14424         (logb_downward_test_data): Remove.
14425         (logb_test_downward): Likewise.
14426         (lround_test): Use ALL_RM_TEST.
14427         (llround_test): Likewise.
14428         (modf_test): Likewise.
14429         (nexttoward_test): Likewise.
14430         (remainder_test): Likewise.
14431         (drem_test): Likewise.
14432         (remainder_tonearest_test_data): Likewise.
14433         (remainder_test_tonearest): Likewise.
14434         (drem_test_tonearest): Likewise.
14435         (remainder_towardzero_test_data): Likewise.
14436         (remainder_test_towardzero): Likewise.
14437         (drem_test_towardzero): Likewise.
14438         (remainder_downward_test_data): Likewise.
14439         (remainder_test_downward): Likewise.
14440         (drem_test_downward): Likewise.
14441         (remainder_upward_test_data): Likewise.
14442         (remainder_test_upward): Likewise.
14443         (drem_test_upward): Likewise.
14444         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14445         (round_test): Use ALL_RM_TEST.
14446         (signbit_test): Likewise.
14447         (trunc_test): Likewise.
14448         (significand_test): Likewise.
14449         (main): Don't call removed functions.
14451 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14453         [BZ #16674]
14454         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14455         || __USE_XOPEN2K8].
14456         (ILL_ILLOPN): Likewise.
14457         (ILL_ILLADR): Likewise.
14458         (ILL_ILLTRP): Likewise.
14459         (ILL_PRVOPC): Likewise.
14460         (ILL_PRVREG): Likewise.
14461         (ILL_COPROC): Likewise.
14462         (ILL_BADSTK): Likewise.
14463         (FPE_INTDIV): Likewise.
14464         (FPE_INTOVF): Likewise.
14465         (FPE_FLTDIV): Likewise.
14466         (FPE_FLTOVF): Likewise.
14467         (FPE_FLTUND): Likewise.
14468         (FPE_FLTRES): Likewise.
14469         (FPE_FLTINV): Likewise.
14470         (FPE_FLTSUB): Likewise.
14471         (SEGV_MAPERR): Likewise.
14472         (SEGV_ACCERR): Likewise.
14473         (BUS_ADRALN): Likewise.
14474         (BUS_ADRERR): Likewise.
14475         (BUS_OBJERR): Likewise.
14476         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14477         (TRAP_TRACE): Likewise.
14478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14479         __USE_XOPEN2K8].
14480         (CLD_KILLED): Likewise.
14481         (CLD_DUMPED): Likewise.
14482         (CLD_TRAPPED): Likewise.
14483         (CLD_STOPPED): Likewise.
14484         (CLD_CONTINUED): Likewise.
14485         (POLL_IN): Likewise.
14486         (POLL_OUT): Likewise.
14487         (POLL_MSG): Likewise.
14488         (POLL_ERR): Likewise.
14489         (POLL_PRI): Likewise.
14490         (POLL_HUP): Likewise.
14491         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14492         Likewise.
14493         (ILL_ILLOPN): Likewise.
14494         (ILL_ILLADR): Likewise.
14495         (ILL_ILLTRP): Likewise.
14496         (ILL_PRVOPC): Likewise.
14497         (ILL_PRVREG): Likewise.
14498         (ILL_COPROC): Likewise.
14499         (ILL_BADSTK): Likewise.
14500         (FPE_INTDIV): Likewise.
14501         (FPE_INTOVF): Likewise.
14502         (FPE_FLTDIV): Likewise.
14503         (FPE_FLTOVF): Likewise.
14504         (FPE_FLTUND): Likewise.
14505         (FPE_FLTRES): Likewise.
14506         (FPE_FLTINV): Likewise.
14507         (FPE_FLTSUB): Likewise.
14508         (SEGV_MAPERR): Likewise.
14509         (SEGV_ACCERR): Likewise.
14510         (BUS_ADRALN): Likewise.
14511         (BUS_ADRERR): Likewise.
14512         (BUS_OBJERR): Likewise.
14513         (BUS_MCEERR_AR): Likewise.
14514         (BUS_MCEERR_AO): Likewise.
14515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14516         (TRAP_TRACE): Likewise.
14517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14518         __USE_XOPEN2K8].
14519         (CLD_KILLED): Likewise.
14520         (CLD_DUMPED): Likewise.
14521         (CLD_TRAPPED): Likewise.
14522         (CLD_STOPPED): Likewise.
14523         (CLD_CONTINUED): Likewise.
14524         (POLL_IN): Likewise.
14525         (POLL_OUT): Likewise.
14526         (POLL_MSG): Likewise.
14527         (POLL_ERR): Likewise.
14528         (POLL_PRI): Likewise.
14529         (POLL_HUP): Likewise.
14530         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14531         (ILL_ILLOPN): Likewise.
14532         (ILL_ILLADR): Likewise.
14533         (ILL_ILLTRP): Likewise.
14534         (ILL_PRVOPC): Likewise.
14535         (ILL_PRVREG): Likewise.
14536         (ILL_COPROC): Likewise.
14537         (ILL_BADSTK): Likewise.
14538         (FPE_INTDIV): Likewise.
14539         (FPE_INTOVF): Likewise.
14540         (FPE_FLTDIV): Likewise.
14541         (FPE_FLTOVF): Likewise.
14542         (FPE_FLTUND): Likewise.
14543         (FPE_FLTRES): Likewise.
14544         (FPE_FLTINV): Likewise.
14545         (FPE_FLTSUB): Likewise.
14546         (SEGV_MAPERR): Likewise.
14547         (SEGV_ACCERR): Likewise.
14548         (BUS_ADRALN): Likewise.
14549         (BUS_ADRERR): Likewise.
14550         (BUS_OBJERR): Likewise.
14551         (BUS_MCEERR_AR): Likewise.
14552         (BUS_MCEERR_AO): Likewise.
14553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14554         (TRAP_TRACE): Likewise.
14555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14556         __USE_XOPEN2K8].
14557         (CLD_KILLED): Likewise.
14558         (CLD_DUMPED): Likewise.
14559         (CLD_TRAPPED): Likewise.
14560         (CLD_STOPPED): Likewise.
14561         (CLD_CONTINUED): Likewise.
14562         (POLL_IN): Likewise.
14563         (POLL_OUT): Likewise.
14564         (POLL_MSG): Likewise.
14565         (POLL_ERR): Likewise.
14566         (POLL_PRI): Likewise.
14567         (POLL_HUP): Likewise.
14568         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14569         Likewise.
14570         (ILL_ILLOPN): Likewise.
14571         (ILL_ILLADR): Likewise.
14572         (ILL_ILLTRP): Likewise.
14573         (ILL_PRVOPC): Likewise.
14574         (ILL_PRVREG): Likewise.
14575         (ILL_COPROC): Likewise.
14576         (ILL_BADSTK): Likewise.
14577         (ILL_BADIADDR): Likewise.
14578         (ILL_BREAK): Likewise.
14579         (FPE_INTDIV): Likewise.
14580         (FPE_INTOVF): Likewise.
14581         (FPE_FLTDIV): Likewise.
14582         (FPE_FLTOVF): Likewise.
14583         (FPE_FLTUND): Likewise.
14584         (FPE_FLTRES): Likewise.
14585         (FPE_FLTINV): Likewise.
14586         (FPE_FLTSUB): Likewise.
14587         (FPE_DECOVF): Likewise.
14588         (FPE_DECDIV): Likewise.
14589         (FPE_DECERR): Likewise.
14590         (FPE_INVASC): Likewise.
14591         (FPE_INVDEC): Likewise.
14592         (SEGV_MAPERR): Likewise.
14593         (SEGV_ACCERR): Likewise.
14594         (SEGV_PSTKOVF): Likewise.
14595         (BUS_ADRALN): Likewise.
14596         (BUS_ADRERR): Likewise.
14597         (BUS_OBJERR): Likewise.
14598         (BUS_MCEERR_AR): Likewise.
14599         (BUS_MCEERR_AO): Likewise.
14600         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14601         (TRAP_TRACE): Likewise.
14602         (TRAP_BRANCH): Likewise.
14603         (TRAP_HWBKPT): Likewise.
14604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14605         __USE_XOPEN2K8].
14606         (CLD_KILLED): Likewise.
14607         (CLD_DUMPED): Likewise.
14608         (CLD_TRAPPED): Likewise.
14609         (CLD_STOPPED): Likewise.
14610         (CLD_CONTINUED): Likewise.
14611         (POLL_IN): Likewise.
14612         (POLL_OUT): Likewise.
14613         (POLL_MSG): Likewise.
14614         (POLL_ERR): Likewise.
14615         (POLL_PRI): Likewise.
14616         (POLL_HUP): Likewise.
14617         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14618         (ILL_ILLOPN): Likewise.
14619         (ILL_ILLADR): Likewise.
14620         (ILL_ILLTRP): Likewise.
14621         (ILL_PRVOPC): Likewise.
14622         (ILL_PRVREG): Likewise.
14623         (ILL_COPROC): Likewise.
14624         (ILL_BADSTK): Likewise.
14625         (FPE_INTDIV): Likewise.
14626         (FPE_INTOVF): Likewise.
14627         (FPE_FLTDIV): Likewise.
14628         (FPE_FLTOVF): Likewise.
14629         (FPE_FLTUND): Likewise.
14630         (FPE_FLTRES): Likewise.
14631         (FPE_FLTINV): Likewise.
14632         (FPE_FLTSUB): Likewise.
14633         (SEGV_MAPERR): Likewise.
14634         (SEGV_ACCERR): Likewise.
14635         (BUS_ADRALN): Likewise.
14636         (BUS_ADRERR): Likewise.
14637         (BUS_OBJERR): Likewise.
14638         (BUS_MCEERR_AR): Likewise.
14639         (BUS_MCEERR_AO): Likewise.
14640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14641         (TRAP_TRACE): Likewise.
14642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14643         __USE_XOPEN2K8].
14644         (CLD_KILLED): Likewise.
14645         (CLD_DUMPED): Likewise.
14646         (CLD_TRAPPED): Likewise.
14647         (CLD_STOPPED): Likewise.
14648         (CLD_CONTINUED): Likewise.
14649         (POLL_IN): Likewise.
14650         (POLL_OUT): Likewise.
14651         (POLL_MSG): Likewise.
14652         (POLL_ERR): Likewise.
14653         (POLL_PRI): Likewise.
14654         (POLL_HUP): Likewise.
14655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14656         (ILL_ILLOPN): Likewise.
14657         (ILL_ILLADR): Likewise.
14658         (ILL_ILLTRP): Likewise.
14659         (ILL_PRVOPC): Likewise.
14660         (ILL_PRVREG): Likewise.
14661         (ILL_COPROC): Likewise.
14662         (ILL_BADSTK): Likewise.
14663         (FPE_INTDIV): Likewise.
14664         (FPE_INTOVF): Likewise.
14665         (FPE_FLTDIV): Likewise.
14666         (FPE_FLTOVF): Likewise.
14667         (FPE_FLTUND): Likewise.
14668         (FPE_FLTRES): Likewise.
14669         (FPE_FLTINV): Likewise.
14670         (FPE_FLTSUB): Likewise.
14671         (SEGV_MAPERR): Likewise.
14672         (SEGV_ACCERR): Likewise.
14673         (BUS_ADRALN): Likewise.
14674         (BUS_ADRERR): Likewise.
14675         (BUS_OBJERR): Likewise.
14676         (BUS_MCEERR_AR): Likewise.
14677         (BUS_MCEERR_AO): Likewise.
14678         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14679         (TRAP_TRACE): Likewise.
14680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14681         __USE_XOPEN2K8].
14682         (CLD_KILLED): Likewise.
14683         (CLD_DUMPED): Likewise.
14684         (CLD_TRAPPED): Likewise.
14685         (CLD_STOPPED): Likewise.
14686         (CLD_CONTINUED): Likewise.
14687         (POLL_IN): Likewise.
14688         (POLL_OUT): Likewise.
14689         (POLL_MSG): Likewise.
14690         (POLL_ERR): Likewise.
14691         (POLL_PRI): Likewise.
14692         (POLL_HUP): Likewise.
14693         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14694         (ILL_ILLOPN): Likewise.
14695         (ILL_ILLADR): Likewise.
14696         (ILL_ILLTRP): Likewise.
14697         (ILL_PRVOPC): Likewise.
14698         (ILL_PRVREG): Likewise.
14699         (ILL_COPROC): Likewise.
14700         (ILL_BADSTK): Likewise.
14701         (FPE_INTDIV): Likewise.
14702         (FPE_INTOVF): Likewise.
14703         (FPE_FLTDIV): Likewise.
14704         (FPE_FLTOVF): Likewise.
14705         (FPE_FLTUND): Likewise.
14706         (FPE_FLTRES): Likewise.
14707         (FPE_FLTINV): Likewise.
14708         (FPE_FLTSUB): Likewise.
14709         (SEGV_MAPERR): Likewise.
14710         (SEGV_ACCERR): Likewise.
14711         (BUS_ADRALN): Likewise.
14712         (BUS_ADRERR): Likewise.
14713         (BUS_OBJERR): Likewise.
14714         (BUS_MCEERR_AR): Likewise.
14715         (BUS_MCEERR_AO): Likewise.
14716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14717         (TRAP_TRACE): Likewise.
14718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14719         __USE_XOPEN2K8].
14720         (CLD_KILLED): Likewise.
14721         (CLD_DUMPED): Likewise.
14722         (CLD_TRAPPED): Likewise.
14723         (CLD_STOPPED): Likewise.
14724         (CLD_CONTINUED): Likewise.
14725         (POLL_IN): Likewise.
14726         (POLL_OUT): Likewise.
14727         (POLL_MSG): Likewise.
14728         (POLL_ERR): Likewise.
14729         (POLL_PRI): Likewise.
14730         (POLL_HUP): Likewise.
14731         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14732         (ILL_ILLOPN): Likewise.
14733         (ILL_ILLADR): Likewise.
14734         (ILL_ILLTRP): Likewise.
14735         (ILL_PRVOPC): Likewise.
14736         (ILL_PRVREG): Likewise.
14737         (ILL_COPROC): Likewise.
14738         (ILL_BADSTK): Likewise.
14739         (ILL_DBLFLT): Likewise.
14740         (ILL_HARDWALL): Likewise.
14741         (FPE_INTDIV): Likewise.
14742         (FPE_INTOVF): Likewise.
14743         (FPE_FLTDIV): Likewise.
14744         (FPE_FLTOVF): Likewise.
14745         (FPE_FLTUND): Likewise.
14746         (FPE_FLTRES): Likewise.
14747         (FPE_FLTINV): Likewise.
14748         (FPE_FLTSUB): Likewise.
14749         (SEGV_MAPERR): Likewise.
14750         (SEGV_ACCERR): Likewise.
14751         (BUS_ADRALN): Likewise.
14752         (BUS_ADRERR): Likewise.
14753         (BUS_OBJERR): Likewise.
14754         (BUS_MCEERR_AR): Likewise.
14755         (BUS_MCEERR_AO): Likewise.
14756         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14757         (TRAP_TRACE): Likewise.
14758         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14759         __USE_XOPEN2K8].
14760         (CLD_KILLED): Likewise.
14761         (CLD_DUMPED): Likewise.
14762         (CLD_TRAPPED): Likewise.
14763         (CLD_STOPPED): Likewise.
14764         (CLD_CONTINUED): Likewise.
14765         (POLL_IN): Likewise.
14766         (POLL_OUT): Likewise.
14767         (POLL_MSG): Likewise.
14768         (POLL_ERR): Likewise.
14769         (POLL_PRI): Likewise.
14770         (POLL_HUP): Likewise.
14771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14772         (ILL_ILLOPN): Likewise.
14773         (ILL_ILLADR): Likewise.
14774         (ILL_ILLTRP): Likewise.
14775         (ILL_PRVOPC): Likewise.
14776         (ILL_PRVREG): Likewise.
14777         (ILL_COPROC): Likewise.
14778         (ILL_BADSTK): Likewise.
14779         (FPE_INTDIV): Likewise.
14780         (FPE_INTOVF): Likewise.
14781         (FPE_FLTDIV): Likewise.
14782         (FPE_FLTOVF): Likewise.
14783         (FPE_FLTUND): Likewise.
14784         (FPE_FLTRES): Likewise.
14785         (FPE_FLTINV): Likewise.
14786         (FPE_FLTSUB): Likewise.
14787         (SEGV_MAPERR): Likewise.
14788         (SEGV_ACCERR): Likewise.
14789         (BUS_ADRALN): Likewise.
14790         (BUS_ADRERR): Likewise.
14791         (BUS_OBJERR): Likewise.
14792         (BUS_MCEERR_AR): Likewise.
14793         (BUS_MCEERR_AO): Likewise.
14794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14795         (TRAP_TRACE): Likewise.
14796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14797         __USE_XOPEN2K8].
14798         (CLD_KILLED): Likewise.
14799         (CLD_DUMPED): Likewise.
14800         (CLD_TRAPPED): Likewise.
14801         (CLD_STOPPED): Likewise.
14802         (CLD_CONTINUED): Likewise.
14803         (POLL_IN): Likewise.
14804         (POLL_OUT): Likewise.
14805         (POLL_MSG): Likewise.
14806         (POLL_ERR): Likewise.
14807         (POLL_PRI): Likewise.
14808         (POLL_HUP): Likewise.
14809         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14810         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14812         [BZ #16670]
14813         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14814         before #include of <time.h>.
14815         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14816         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14817         (test-xfail-UNIX98/sched.h/conform): Likewise.
14819 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14821         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14822         error absence of trapping exception support.
14823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14825 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14827         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14828         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14829         * timezone/Makefile (testdata): Move definition above include of
14830         Rules.
14831         (test-zones): New variable.
14832         (tests-special): Add zone files.
14833         (build-testdata): Use $(evaluate-test).
14835         * elf/Makefile (tests-special): Rename tests to end with .out.
14836         ($(objpfx)noload-mem): Likewise.
14837         ($(objpfx)tst-leaks1-mem): Likewise.
14838         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14839         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14840         $(objpfx)test-iconvconfig.out.
14841         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14842         set -e inside subshell and redirect output to file.
14843         * iconvdata/Makefile (generated): Rename tests to end with .out.
14844         Correct type.
14845         (tests-special): Rename tests to end with .out.
14846         ($(objpfx)mtrace-tst-loading): Likewise.
14847         * intl/Makefile (generated): Likewise.
14848         (tests-special): Likewise.
14849         ($(objpfx)mtrace-tst-gettext): Likewise.
14850         * misc/Makefile (generated): Likewise.
14851         (tests-special): Likewise.
14852         ($(objpfx)tst-error1-mem): Likewise.
14853         * nptl/Makefile (tests-special): Likewise.
14854         ($(objpfx)tst-stack3-mem): Likewise.
14855         (generated): Likewise.
14856         * posix/Makefile (generated): Likewise.
14857         (tests-special): Likewise.
14858         (xtests-special): Likewise.
14859         ($(objpfx)tst-fnmatch-mem): Likewise.
14860         ($(objpfx)bug-regex2-mem): Likewise.
14861         ($(objpfx)bug-regex14-mem): Likewise.
14862         ($(objpfx)bug-regex21-mem): Likewise.
14863         ($(objpfx)bug-regex31-mem): Likewise.
14864         ($(objpfx)tst-vfork3-mem): Likewise.
14865         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14866         ($(objpfx)tst-pcre-mem): Likewise.
14867         ($(objpfx)tst-boost-mem): Likewise.
14868         ($(objpfx)bug-ga2-mem): Likewise.
14869         ($(objpfx)bug-glob2-mem): Likewise.
14870         * resolv/Makefile (generate): Likewise.
14871         (tests-special): Likewise.
14872         (xtests-special): Likewise.
14873         (generated): Likewise.
14874         ($(objpfx)mtrace-tst-leaks): Likewise.
14875         ($(objpfx)mtrace-tst-leaks2): Likewise.
14877         * scripts/merge-test-results.sh: New file.
14878         * Makefile (tests-special-notdir): New variable.
14879         (tests): Run merge-test-results.sh.
14880         (xtests): Likewise.
14881         * Rules (tests-special-notdir): New variable.
14882         (xtests-special-notdir): Likewise.
14883         (tests): Run merge-test-results.sh
14884         (xtests): Likewise.
14886         * Makeconfig (test-xfail-name): New variable.
14887         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14888         compute variable name for expected failures.
14889         * conform/Makefile (conformtest-headers-data): New variable.
14890         (conformtest-standards): Likewise.
14891         (conformtest-headers-ISO): Likewise.
14892         (conformtest-headers-ISO99): Likewise.
14893         (conformtest-headers-ISO11): Likewise.
14894         (conformtest-headers-POSIX): Likewise.
14895         (conformtest-headers-XPG3): Likewise.
14896         (conformtest-headers-XPG4): Likewise.
14897         (conformtest-headers-UNIX98): Likewise.
14898         (conformtest-headers-XOPEN2K): Likewise.
14899         (conformtest-headers-POSIX2008): Likewise.
14900         (conformtest-headers-XOPEN2K8): Likewise.
14901         (conformtest-header-list-base): Likewise.
14902         (conformtest-header-list-tests): Likewise.
14903         (conformtest-header-base): Likewise.
14904         (conformtest-header-tests): Likewise.
14905         (tests-special): Add $(conformtest-header-list-tests).  If
14906         [$(fast-check) && !$(cross-compiling)], add
14907         $(conformtest-header-tests) instead of
14908         $(objpfx)run-conformtest.out.
14909         (generated): Add $(conformtest-header-list-base).  If
14910         [$(fast-check) && !$(cross-compiling)], add
14911         $(conformtest-header-base).  Remove previous setting.
14912         ($(conformtest-header-list-tests)): New target.
14913         (test-xfail-run-conformtest): Remove variable.
14914         ($(objpfx)run-conformtest.out): Remove target.
14915         (test-xfail-ISO11/complex.h/conform): New variable.
14916         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14917         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14918         (test-xfail-XPG3/varargs.h/conform): Likewise.
14919         (test-xfail-XPG4/varargs.h/conform): Likewise.
14920         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14921         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14922         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14923         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14924         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14925         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14926         (test-xfail-XPG3/ftw.h/conform): Likewise.
14927         (test-xfail-XPG3/grp.h/conform): Likewise.
14928         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14929         (test-xfail-XPG3/limits.h/conform): Likewise.
14930         (test-xfail-XPG3/pwd.h/conform): Likewise.
14931         (test-xfail-XPG3/search.h/conform): Likewise.
14932         (test-xfail-XPG3/signal.h/conform): Likewise.
14933         (test-xfail-XPG3/stdio.h/conform): Likewise.
14934         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14935         (test-xfail-XPG3/string.h/conform): Likewise.
14936         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14937         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14938         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14939         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14940         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14941         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14942         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14943         (test-xfail-XPG3/termios.h/conform): Likewise.
14944         (test-xfail-XPG3/time.h/conform): Likewise.
14945         (test-xfail-XPG3/unistd.h/conform): Likewise.
14946         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14947         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14948         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14949         (test-xfail-XPG4/netdb.h/conform): Likewise.
14950         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14951         (test-xfail-XPG4/signal.h/conform): Likewise.
14952         (test-xfail-XPG4/stdio.h/conform): Likewise.
14953         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14954         (test-xfail-XPG4/stropts.h/conform): Likewise.
14955         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14956         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14957         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14958         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14959         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14960         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14961         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14962         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14963         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14964         (test-xfail-XPG4/termios.h/conform): Likewise.
14965         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14966         (test-xfail-XPG4/unistd.h/conform): Likewise.
14967         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14968         (test-xfail-POSIX/sched.h/conform): Likewise.
14969         (test-xfail-POSIX/signal.h/conform): Likewise.
14970         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14971         (test-xfail-POSIX/tar.h/conform): Likewise.
14972         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14973         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14974         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14975         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14976         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14977         (test-xfail-UNIX98/sched.h/conform): Likewise.
14978         (test-xfail-UNIX98/signal.h/conform): Likewise.
14979         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14980         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14981         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14982         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14983         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14984         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14985         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14986         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14987         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14988         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14989         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14990         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14991         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14992         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14993         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14994         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14995         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14996         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14997         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14998         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14999         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15000         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15001         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15002         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15003         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15004         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15005         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15006         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15007         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15008         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15009         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15010         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15011         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15012         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15013         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15014         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15015         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15016         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15017         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15018         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15019         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15020         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15021         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15022         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15023         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15024         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15025         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15026         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15027         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15028         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15029         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15030         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15031         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15032         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15033         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15034         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15035         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15036         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15037         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15038         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15039         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15040         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15041         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15042         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15043         (conformtest-cc-flags): Likewise.
15044         ($(conformtest-header-tests): New target.
15045         * conform/check-header-lists.sh: New file.
15046         * conform/run-conformtest.sh: Remove.
15048         * conform/conformtest.pl: Allow ' and \ in values given for
15049         constants.
15050         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15051         inclusion.
15052         [POSIX] (sys/types.h): Likewise.
15053         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15054         inclusion.
15055         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15056         inclusion.
15057         * conform/data/signal.h-data (SIGIO): Remove expectation.
15058         [XPG3] (SIGBUS): Do not expect.
15059         [POSIX || XPG3] (SIGPOLL): Likewise.
15060         [POSIX || XPG3] (SIGPROF): Likewise.
15061         [POSIX || XPG3] (SIGSYS): Likewise.
15062         [XPG3] (SIGTRAP): Likewise.
15063         [POSIX || XPG3] (SIGURG): Likewise.
15064         [POSIX || XPG3] (SIGVTALRM): Likewise.
15065         [POSIX || XPG3] (SIGXCPU): Likewise.
15066         [POSIX || XPG3] (SIGXFSZ): Likewise.
15067         [POSIX] (SA_SIGINFO): Expect.
15068         [XPG3] (siginfo_t): Do not expect type or contents.
15069         [POSIX] (si_pid): Do not expect element.
15070         [POSIX] (si_uid): Likewise.
15071         [POSIX] (si_addr): Likewise.
15072         [POSIX] (si_status): Likewise.
15073         [POSIX] (si_band): Likewise.
15074         [XPG4] (si_value): Likewise.
15075         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15076         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15077         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15078         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15079         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15080         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15081         [POSIX || XPG3] (ILL_COPROC): Likewise.
15082         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15083         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15084         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15085         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15086         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15087         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15088         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15089         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15090         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15091         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15092         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15093         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15094         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15095         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15096         [POSIX || XPG3] (CLD_EXITED): Likewise.
15097         [POSIX || XPG3] (CLD_KILLED): Likewise.
15098         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15099         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15100         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15101         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15102         [POSIX || XPG3] (POLL_IN): Likewise.
15103         [POSIX || XPG3] (POLL_OUT): Likewise.
15104         [POSIX || XPG3] (POLL_MSG): Likewise.
15105         [POSIX || XPG3] (POLL_ERR): Likewise.
15106         [POSIX || XPG3] (POLL_PRI): Likewise.
15107         [POSIX || XPG3] (POLL_HUP): Likewise.
15108         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15109         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15110         (SIG*): Do not allow.
15111         [XPG3] (si_*): Likewise.
15112         [XPG3] (SI_*): Likewise.
15113         [XPG3 || XPG4] (sigev_*): Likewise.
15114         [XPG3 || XPG4] (SIGEV_*): Likewise.
15115         [XPG3 || XPG4] (sival_*): Likewise.
15116         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15117         [POSIX || XPG3] (BUS_*): Likewise.
15118         [POSIX || XPG3] (CLD_*): Likewise.
15119         [POSIX || XPG3] (FPE_*): Likewise.
15120         [POSIX || XPG3] (ILL_*): Likewise.
15121         [POSIX || XPG3] (POLL_*): Likewise.
15122         [POSIX || XPG3] (SEGV_*): Likewise.
15123         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15124         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15125         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15126         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15127         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15128         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15129         Specify type and value.
15130         (TVERSLEN): Likewise.
15131         (REGTYPE): Likewise.
15132         (AREGTYPE): Likewise.
15133         (LNKTYPE): Likewise.
15134         (SYMTYPE): Likewise.
15135         (CHRTYPE): Likewise.
15136         (BLKTYPE): Likewise.
15137         (DIRTYPE): Likewise.
15138         (FIFOTYPE): Likewise.
15139         (CONTTYPE): Likewise.
15140         (TSUID): Likewise.
15141         (TSGID): Likewise.
15142         (TSVTX): Likewise.
15143         (TUREAD): Likewise.
15144         (TUWRITE): Likewise.
15145         (TUEXEC): Likewise.
15146         (TGREAD): Likewise.
15147         (TGWRITE): Likewise.
15148         (TGEXEC): Likewise.
15149         (TOREAD): Likewise.
15150         (TOWRITE): Likewise.
15151         (TOEXEC): Likewise.
15152         [POSIX] (TSVTX): Expect constant.
15154 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15156         * Makefile (tests): Change dependencies to ....
15157         (tests-special): ... additions to this variable.
15158         (tests): Depend on $(tests-special).
15159         * Makerules (check-abi-list): New variable.
15160         (check-abi): Depend on $(check-abi-list).
15161         [$(subdir) = elf] (tests-special): Add
15162         $(objpfx)check-abi-libc.out.
15163         [$(build-shared) = yes && subdir] (tests-special): Add
15164         $(check-abi-list).
15165         [$(build-shared) = yes && subdir] (tests): Do not depend on
15166         check-abi.
15167         * Rules (tests): Depend on $(tests-special).
15168         (xtests): Depend on $(xtests-special).
15169         * catgets/Makefile (tests): Change dependencies to ....
15170         (tests-special): ... additions to this variable.
15171         * conform/Makefile (tests): Change dependencies to ....
15172         (tests-special): ... additions to this variable.
15173         * elf/Makefile (tests): Change dependencies to ....
15174         (tests-special): ... additions to this variable.
15175         * grp/Makefile (tests): Change dependencies to ....
15176         (tests-special): ... additions to this variable.
15177         * iconv/Makefile (xtests): Change dependencies to ....
15178         (xtests-special): ... additions to this variable.
15179         * iconvdata/Makefile (tests): Change dependencies to ....
15180         (tests-special): ... additions to this variable.
15181         * intl/Makefile (tests): Change dependencies to ....
15182         (tests-special): ... additions to this variable.  Also add
15183         $(objpfx)tst-gettext.out.
15184         * io/Makefile (tests): Change dependencies to ....
15185         (tests-special): ... additions to this variable.
15186         * libio/Makefile (tests): Change dependencies to ....
15187         (tests-special): ... additions to this variable.
15188         * malloc/Makefile (tests): Change dependencies to ....
15189         (tests-special): ... additions to this variable.
15190         * misc/Makefile (tests): Change dependencies to ....
15191         (tests-special): ... additions to this variable.
15192         * nptl/Makefile (tests): Change dependencies to ....
15193         (tests-special): ... additions to this variable.
15194         * nptl_db/Makefile (tests): Change dependencies to ....
15195         (tests-special): ... additions to this variable.
15196         * posix/Makefile (tests): Change dependencies to ....
15197         (tests-special): ... additions to this variable.
15198         (xtests): Change dependencies to ....
15199         (xtests-special): ... additions to this variable.
15200         * resolv/Makefile (tests): Change dependencies to ....
15201         (tests-special): ... additions to this variable.
15202         (xtests): Change dependencies to ....
15203         (xtests-special): ... additions to this variable.
15204         * stdio-common/Makefile (tests): Change dependencies to ....
15205         (tests-special): ... additions to this variable.
15206         (do-tst-unbputc): Remove target.
15207         (do-tst-printf): Likewise.
15208         * stdlib/Makefile (tests): Change dependencies to ....
15209         (tests-special): ... additions to this variable.
15210         * string/Makefile (tests): Change dependencies to ....
15211         (tests-special): ... additions to this variable.
15212         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15213         (tests-special): ... additions to this variable.
15215         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15216         whole file.
15217         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15218         whole file.
15219         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15220         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15222         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15223         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15224         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15225         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15226         * conform/data/libgen.h-data [XPG3]: Likewise.
15227         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15228         * conform/data/ndbm.h-data [XPG3]: Likewise.
15229         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15230         * conform/data/netdb.h-data [XPG3]: Likewise.
15231         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15232         * conform/data/poll.h-data [XPG3]: Likewise.
15233         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15234         * conform/data/strings.h-data [XPG3]: Likewise.
15235         * conform/data/stropts.h-data [XPG3]: Likewise.
15236         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15237         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15238         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15239         Likewise.
15240         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15241         * conform/data/sys/time.h-data [XPG3]: Likewise.
15242         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15243         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15244         * conform/data/sys/un.h-data [XPG3]: Likewise.
15245         * conform/data/syslog.h-data [XPG3]: Likewise.
15246         * conform/data/ucontext.h-data [XPG3]: Likewise.
15247         * conform/data/utmpx.h-data [XPG3]: Likewise.
15248         * conform/data/varargs.h-data [UNIX98]: Enable file.
15250         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15252         * math/libm-test.inc (struct test_f_f_data): Move expected results
15253         into structure for each rounding mode.
15254         (struct test_ff_f_data): Likewise.
15255         (struct test_ff_f_data_nexttoward): Likewise.
15256         (struct test_fi_f_data): Likewise.
15257         (struct test_fl_f_data): Likewise.
15258         (struct test_if_f_data): Likewise.
15259         (struct test_fff_f_data): Likewise.
15260         (struct test_c_f_data): Likewise.
15261         (struct test_f_f1_data): Likewise.
15262         (struct test_fF_f1_data): Likewise.
15263         (struct test_ffI_f1_data): Likewise.
15264         (struct test_c_c_data): Likewise.
15265         (struct test_cc_c_data): Likewise.
15266         (struct test_f_i_data): Likewise.
15267         (struct test_ff_i_data): Likewise.
15268         (struct test_f_l_data): Likewise.
15269         (struct test_f_L_data): Likewise.
15270         (struct test_fFF_11_data): Likewise.
15271         (RM_): New macro.
15272         (RM_FE_DOWNWARD): Likewise.
15273         (RM_FE_TONEAREST): Likewise.
15274         (RM_FE_TOWARDZERO): Likewise.
15275         (RM_FE_UPWARD): Likewise.
15276         (RUN_TEST_LOOP_f_f): Update references to expected results.
15277         (RUN_TEST_LOOP_2_f): Likewise.
15278         (RUN_TEST_LOOP_fff_f): Likewise.
15279         (RUN_TEST_LOOP_c_f): Likewise.
15280         (RUN_TEST_LOOP_f_f1): Likewise.
15281         (RUN_TEST_LOOP_fF_f1): Likewise.
15282         (RUN_TEST_LOOP_fI_f1): Likewise.
15283         (RUN_TEST_LOOP_ffI_f1): Likewise.
15284         (RUN_TEST_LOOP_c_c): Likewise.
15285         (RUN_TEST_LOOP_cc_c): Likewise.
15286         (RUN_TEST_LOOP_f_i): Likewise.
15287         (RUN_TEST_LOOP_f_i_tg): Likewise.
15288         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15289         (RUN_TEST_LOOP_f_b): Likewise.
15290         (RUN_TEST_LOOP_f_b_tg): Likewise.
15291         (RUN_TEST_LOOP_f_l): Likewise.
15292         (RUN_TEST_LOOP_f_L): Likewise.
15293         (RUN_TEST_LOOP_fFF_11): Likewise.
15294         * math/gen-libm-test.pl (parse_args): Output four copies of
15295         expected results for each test.
15297         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15298         (__ASSUME_UTIMES): Remove.
15299         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15300         (__ASSUME_UTIMES): Likewise.
15302         * math/gen-auto-libm-tests.c: Update comment on output format.
15303         (output_for_one_input_case): Generate before-rounding and
15304         after-rounding information as conditions on output flags not
15305         floating-point format.
15306         * math/auto-libm-test-out: Regenerated.
15307         * math/gen-libm-test.pl (cond_value): New function.
15308         (or_cond_value): Use cond_value.
15309         (generate_testfile): Handle conditional exceptions.
15311 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15313         * math/libm-test.inc (max_valid_error): New variable.
15314         (init_max_error): Take new argument specifying whether function
15315         results are exactly determined.  Set max_valid_error and bound
15316         other variables for errors based on this argument.
15317         (set_max_error): Do not record results above max_valid_error.
15318         (check_float_internal): Only accept errors of up to 0.5ulps if
15319         also at most max_valid_error.
15320         (START): Take new argument EXACT and pass it to init_max_error.
15321         (acos_test): Update call to START.
15322         (acos_test_tonearest): Likewise.
15323         (acos_test_towardzero): Likewise.
15324         (acos_test_downward): Likewise.
15325         (acos_test_upward): Likewise.
15326         (acosh_test): Likewise.
15327         (asin_test): Likewise.
15328         (asin_test_tonearest): Likewise.
15329         (asin_test_towardzero): Likewise.
15330         (asin_test_downward): Likewise.
15331         (asin_test_upward): Likewise.
15332         (asinh_test): Likewise.
15333         (atan_test): Likewise.
15334         (atanh_test): Likewise.
15335         (atan2_test): Likewise.
15336         (cabs_test): Likewise.
15337         (cacos_test): Likewise.
15338         (cacosh_test): Likewise.
15339         (carg_test): Likewise.
15340         (casin_test): Likewise.
15341         (casinh_test): Likewise.
15342         (catan_test): Likewise.
15343         (catanh_test): Likewise.
15344         (cbrt_test): Likewise.
15345         (ccos_test): Likewise.
15346         (ccosh_test): Likewise.
15347         (ceil_test): Likewise.
15348         (cexp_test): Likewise.
15349         (cimag_test): Likewise.
15350         (clog_test): Likewise.
15351         (clog10_test): Likewise.
15352         (conj_test): Likewise.
15353         (copysign_test): Likewise.
15354         (cos_test): Likewise.
15355         (cos_test_tonearest): Likewise.
15356         (cos_test_towardzero): Likewise.
15357         (cos_test_downward): Likewise.
15358         (cos_test_upward): Likewise.
15359         (cosh_test): Likewise.
15360         (cosh_test_tonearest): Likewise.
15361         (cosh_test_towardzero): Likewise.
15362         (cosh_test_downward): Likewise.
15363         (cosh_test_upward): Likewise.
15364         (cpow_test): Likewise.
15365         (cproj_test): Likewise.
15366         (creal_test): Likewise.
15367         (csin_test): Likewise.
15368         (csinh_test): Likewise.
15369         (csqrt_test): Likewise.
15370         (ctan_test): Likewise.
15371         (ctan_test_tonearest): Likewise.
15372         (ctan_test_towardzero): Likewise.
15373         (ctan_test_downward): Likewise.
15374         (ctan_test_upward): Likewise.
15375         (ctanh_test): Likewise.
15376         (ctanh_test_tonearest): Likewise.
15377         (ctanh_test_towardzero): Likewise.
15378         (ctanh_test_downward): Likewise.
15379         (ctanh_test_upward): Likewise.
15380         (erf_test): Likewise.
15381         (erfc_test): Likewise.
15382         (exp_test): Likewise.
15383         (exp_test_tonearest): Likewise.
15384         (exp_test_towardzero): Likewise.
15385         (exp_test_downward): Likewise.
15386         (exp_test_upward): Likewise.
15387         (exp10_test): Likewise.
15388         (exp10_test_tonearest): Likewise.
15389         (exp10_test_towardzero): Likewise.
15390         (exp10_test_downward): Likewise.
15391         (exp10_test_upward): Likewise.
15392         (pow10_test): Likewise.
15393         (exp2_test): Likewise.
15394         (expm1_test): Likewise.
15395         (expm1_test_tonearest): Likewise.
15396         (expm1_test_towardzero): Likewise.
15397         (expm1_test_downward): Likewise.
15398         (expm1_test_upward): Likewise.
15399         (fabs_test): Likewise.
15400         (fdim_test): Likewise.
15401         (floor_test): Likewise.
15402         (fma_test): Likewise.
15403         (fma_test_towardzero): Likewise.
15404         (fma_test_downward): Likewise.
15405         (fma_test_upward): Likewise.
15406         (fmax_test): Likewise.
15407         (fmin_test): Likewise.
15408         (fmod_test): Likewise.
15409         (fpclassify_test): Likewise.
15410         (frexp_test): Likewise.
15411         (hypot_test): Likewise.
15412         (ilogb_test): Likewise.
15413         (isfinite_test): Likewise.
15414         (finite_test): Likewise.
15415         (isgreater_test): Likewise.
15416         (isgreaterequal_test): Likewise.
15417         (isinf_test): Likewise.
15418         (isless_test): Likewise.
15419         (islessequal_test): Likewise.
15420         (islessgreater_test): Likewise.
15421         (isnan_test): Likewise.
15422         (isnormal_test): Likewise.
15423         (issignaling_test): Likewise.
15424         (isunordered_test): Likewise.
15425         (j0_test): Likewise.
15426         (j1_test): Likewise.
15427         (jn_test): Likewise.
15428         (ldexp_test): Likewise.
15429         (lgamma_test): Likewise.
15430         (gamma_test): Likewise.
15431         (lrint_test): Likewise.
15432         (lrint_test_tonearest): Likewise.
15433         (lrint_test_towardzero): Likewise.
15434         (lrint_test_downward): Likewise.
15435         (lrint_test_upward): Likewise.
15436         (llrint_test): Likewise.
15437         (llrint_test_tonearest): Likewise.
15438         (llrint_test_towardzero): Likewise.
15439         (llrint_test_downward): Likewise.
15440         (llrint_test_upward): Likewise.
15441         (log_test): Likewise.
15442         (log10_test): Likewise.
15443         (log1p_test): Likewise.
15444         (log2_test): Likewise.
15445         (logb_test): Likewise.
15446         (logb_test_downward): Likewise.
15447         (lround_test): Likewise.
15448         (llround_test): Likewise.
15449         (modf_test): Likewise.
15450         (nearbyint_test): Likewise.
15451         (nextafter_test): Likewise.
15452         (nexttoward_test): Likewise.
15453         (pow_test): Likewise.
15454         (pow_test_tonearest): Likewise.
15455         (pow_test_towardzero): Likewise.
15456         (pow_test_downward): Likewise.
15457         (pow_test_upward): Likewise.
15458         (remainder_test): Likewise.
15459         (drem_test): Likewise.
15460         (remainder_test_tonearest): Likewise.
15461         (drem_test_tonearest): Likewise.
15462         (remainder_test_towardzero): Likewise.
15463         (drem_test_towardzero): Likewise.
15464         (remainder_test_downward): Likewise.
15465         (drem_test_downward): Likewise.
15466         (remainder_test_upward): Likewise.
15467         (drem_test_upward): Likewise.
15468         (remquo_test): Likewise.
15469         (rint_test): Likewise.
15470         (rint_test_tonearest): Likewise.
15471         (rint_test_towardzero): Likewise.
15472         (rint_test_downward): Likewise.
15473         (rint_test_upward): Likewise.
15474         (round_test): Likewise.
15475         (scalb_test): Likewise.
15476         (scalbn_test): Likewise.
15477         (scalbln_test): Likewise.
15478         (signbit_test): Likewise.
15479         (sin_test): Likewise.
15480         (sin_test_tonearest): Likewise.
15481         (sin_test_towardzero): Likewise.
15482         (sin_test_downward): Likewise.
15483         (sin_test_upward): Likewise.
15484         (sincos_test): Likewise.
15485         (sinh_test): Likewise.
15486         (sinh_test_tonearest): Likewise.
15487         (sinh_test_towardzero): Likewise.
15488         (sinh_test_downward): Likewise.
15489         (sinh_test_upward): Likewise.
15490         (sqrt_test): Likewise.
15491         (sqrt_test_tonearest): Likewise.
15492         (sqrt_test_towardzero): Likewise.
15493         (sqrt_test_downward): Likewise.
15494         (sqrt_test_upward): Likewise.
15495         (tan_test): Likewise.
15496         (tan_test_tonearest): Likewise.
15497         (tan_test_towardzero): Likewise.
15498         (tan_test_downward): Likewise.
15499         (tan_test_upward): Likewise.
15500         (tanh_test): Likewise.
15501         (tgamma_test): Likewise.
15502         (trunc_test): Likewise.
15503         (y0_test): Likewise.
15504         (y1_test): Likewise.
15505         (yn_test): Likewise.
15506         (significand_test): Likewise.
15508         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15509         individual tests in comment.
15510         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15511         (prev_max_error): New variable.
15512         (prev_real_max_error): Likewise.
15513         (prev_imag_max_error): Likewise.
15514         (compare_ulp_data): Don't refer to test names in comment.
15515         (find_test_ulps): Remove function.
15516         (find_function_ulps): Likewise.
15517         (find_complex_function_ulps): Likewise.
15518         (init_max_error): Take function name as argument.  Look up ulps
15519         for that function.
15520         (print_ulps): Remove function.
15521         (print_max_error): Use prev_max_error instead of calling
15522         find_function_ulps.
15523         (print_complex_max_error): Use prev_real_max_error and
15524         prev_imag_max_error instead of calling find_complex_function_ulps.
15525         (check_float_internal): Take max_ulp parameter instead of calling
15526         find_test_ulps.  Don't call print_ulps.
15527         (check_float): Update call to check_float_internal.
15528         (check_complex): Update calls to check_float_internal.
15529         (START): Pass argument to init_max_error.
15530         * math/gen-libm-test.pl (%results): Don't include "kind"
15531         information.
15532         (parse_ulps): Don't handle ulps of individual tests.
15533         (print_ulps_file): Likewise.
15534         (output_ulps): Likewise.
15535         * math/README.libm-test: Update.
15536         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15537         individual tests.
15538         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15539         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15540         * sysdeps/arm/libm-test-ulps: Likewise.
15541         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15542         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15543         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15544         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15545         * sysdeps/microblaze/libm-test-ulps: Likewise.
15546         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15549         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15550         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15551         * sysdeps/sh/libm-test-ulps: Likewise.
15552         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15553         * sysdeps/tile/libm-test-ulps: Likewise.
15554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15556 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15558         * math/libm-test.inc (print_complex_max_error): Check separately
15559         whether real and imaginary errors are within allowed range and
15560         pass 0 to print_complex_function_ulps instead of value within
15561         allowed range.
15563 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15565         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15566         formatting.
15567         (get_handles_fopen): Likewise.
15568         (do_write_test): Likewise.
15570         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15572         * libio/fileops.c (do_ftell): Use cached offset when
15573         available.
15574         * libio/iofwide.c (do_ftell_wide): Likewise.
15575         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15576         _IO_file_attach.
15577         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15579         [BZ #16532]
15580         * libio/libioP.h (get_file_offset): New function.
15581         * libio/fileops.c (get_file_offset): Likewise.
15582         (do_ftell): Likewise.
15583         (_IO_new_file_seekoff): Split out ftell logic.
15584         * libio/wfileops.c (do_ftell_wide): Likewise.
15585         (_IO_wfile_seekoff): Split out ftell logic.
15586         * libio/tst-ftell-active-handler.c: New test case.
15587         * libio/Makefile (tests): Add it.
15589 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15591         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15592         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15594 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15596         [BZ #16639]
15597         * nscd/connections.c (nscd_init): Call do_exit.
15598         (start_threads): Call do_exit and notify_parent.
15599         (begin_drop_privileges): Call do_exit.
15600         (finish_drop_privileges): Likewise.
15601         * nscd/selinux.c (preserve_capabilities): Likewise.
15602         (install_real_capabilities): Likewise.
15603         (nscd_selinux_enabled): Likewise.
15604         (avc_create_thread): Likewise.
15605         (avc_alloc_lock): Likewise.
15606         (nscd_avc_init): Likewise.
15607         * nscd/nscd.c (parent_fd): New static variable.
15608         (main): Create a pipe between parent and child processes.
15609         Skip closing parent_fd.
15610         (monitor_child): New function.
15611         (do_exit): Likewise.
15612         (notify_parent): Likewise.
15613         * nscd/nscd.h (notify_parent): Likewise.
15614         (do_exit): Likewise.
15616 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15618         * malloc/malloc.c (__libc_calloc): Revert last change.
15620 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15624 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15626         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15628         implementation.
15629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15630         (__libc_ifunc_impl_list): Likewise.
15631         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15632         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15633         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15634         * string/strrchr.c: Define STRRCHR.
15636 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15638         * benchtest/bench-strtok.c (simple_strtok): Delete.
15639         (strtok_string): Use as benchmark.
15640         * string/strtok (STRTOK): New macro.
15642 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15644         * manual/threads.texi: Add header and standard comments to all
15645         functions.
15647         * elf/dl-lookup.c (check_match): New function.
15648         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15649         (do_lookup_x): Remove nested function check_match. Use non-nested
15650         function check_match.
15652 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15654         * csu/Makefile (generated, before-compile): Use += rather than =.
15655         * catgets/Makefile (generated, generated-dirs): Likewise.
15656         * debug/Makefile (generated): Likewise.
15657         * dlfcn/Makefile (generated): Likewise.
15658         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15659         * iconvdata/Makefile (before-compile, generated): Likewise.
15660         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15661         * libio/Makefile (generated): Likewise.
15662         * malloc/Makefile (generated): Likewise.
15663         * manual/Makefile (generated, generated-dirs): Likewise.
15664         * misc/Makefile (generated): Likewise.
15665         * posix/Makefile (generated): Likewise.
15666         * resolv/Makefile (generated): Likewise.
15667         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15668         * timezone/Makefile (generated, generated-dirs): Likewise.
15670         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15672 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15675         power8 implementation.
15676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15677         file: POWER8 llround ifunc implementation.
15678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15679         (__lllround): Add POWER8 implementation.
15680         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15681         POWER8 llround implementation.
15683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15684         power8 implementation.
15685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15686         file: POWER8 llrint ifunc implementation.
15687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15688         Add POWER8 implementation.
15689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15690         POWER8 llrint implementation.
15692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15693         power8 implementation.
15694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15695         file: POWER8 finite ifunc implementation.
15696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15697         Add POWER8 implementation.
15698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15699         Likewise.
15700         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15701         POWER8 finite implementation.
15702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15705         power8 implementation.
15706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15707         file: POWER8 isinf ifunc implementation.
15708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15709         POWER8 implementation.
15710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15711         Likewise.
15712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15713         isinf implementation.
15714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15716         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15717         (INIT_ARCH): Add hwcap2 initialization.
15718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15719         power8 implementation.
15720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15721         file: POWER8 isnan ifunc implementation.
15722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15723         POWER8 implementation.
15724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15725         Likewise.
15726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15727         isnan implementation.
15728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15730 2014-02-27  Joey Ye  <joey.ye@arm.com>
15732         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15733         (_FP_NANFRAC_Q): Set to zero.
15735 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15737         [BZ #16623]
15738         * math/auto-libm-test-in: New test inputs.
15739         * math/auto-libm-test-out: Regenerate.
15740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15741         and DA.
15742         (__cos): Likewise.
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15745 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15747         * scripts/evaluate-test.sh: Take new argument indicating whether
15748         failure is expected.
15749         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15750         indicating whether failure is expected.
15751         * conform/Makefile (test-xfail-run-conformtest): New variable.
15752         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15753         level.
15754         * posix/Makefile (test-xfail-annexc): New variable.
15755         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15757 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15759         * argp/Makefile: Include Makeconfig immediately after defining
15760         subdir.
15761         * assert/Makefile: Likewise.
15762         * benchtests/Makefile: Likewise.
15763         * catgets/Makefile: Likewise.
15764         * conform/Makefile: Likewise.
15765         * crypt/Makefile: Likewise.
15766         * csu/Makefile: Likewise.
15767         (all): Remove target.
15768         * ctype/Makefile: Include Makeconfig immediately after defining
15769         subdir.
15770         * debug/Makefile: Likewise.
15771         * dirent/Makefile: Likewise.
15772         * dlfcn/Makefile: Likewise.
15773         * gmon/Makefile: Likewise.
15774         * gnulib/Makefile: Likewise.
15775         * grp/Makefile: Likewise.
15776         * gshadow/Makefile: Likewise.
15777         * hesiod/Makefile: Likewise.
15778         * hurd/Makefile: Likewise.
15779         (all): Remove target.
15780         * iconvdata/Makefile: Include Makeconfig immediately after
15781         defining subdir.
15782         * inet/Makefile: Likewise.
15783         * intl/Makefile: Likewise.
15784         * io/Makefile: Likewise.
15785         * libio/Makefile: Likewise.
15786         (all): Remove target.
15787         * locale/Makefile: Include Makeconfig immediately after defining
15788         subdir.
15789         * login/Makefile: Likewise.
15790         * mach/Makefile: Likewise.
15791         (all): Remove target.
15792         * malloc/Makefile: Include Makeconfig immediately after defining
15793         subdir.
15794         (all): Remove target.
15795         * manual/Makefile: Include Makeconfig immediately after defining
15796         subdir.
15797         * math/Makefile: Likewise.
15798         * misc/Makefile: Likewise.
15799         * nis/Makefile: Likewise.
15800         * nss/Makefile: Likewise.
15801         * po/Makefile: Likewise.
15802         (all): Remove target.
15803         * posix/Makefile: Include Makeconfig immediately after defining
15804         subdir.
15805         * pwd/Makefile: Likewise.
15806         * resolv/Makefile: Likewise.
15807         * resource/Makefile: Likewise.
15808         * rt/Makefile: Likewise.
15809         * setjmp/Makefile: Likewise.
15810         * shadow/Makefile: Likewise.
15811         * signal/Makefile: Likewise.
15812         * socket/Makefile: Likewise.
15813         * soft-fp/Makefile: Likewise.
15814         * stdio-common/Makefile: Likewise.
15815         * stdlib/Makefile: Likewise.
15816         * streams/Makefile: Likewise.
15817         * string/Makefile: Likewise.
15818         * sunrpc/Makefile: Likewise.
15819         (all): Remove target.
15820         * sysvipc/Makefile: Include Makeconfig immediately after defining
15821         subdir.
15822         * termios/Makefile: Likewise.
15823         * time/Makefile: Likewise.
15824         * timezone/Makefile: Likewise.
15825         (all): Remove target.
15826         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15827         subdir.
15828         * wctype/Makefile: Likewise.
15830 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15832         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15833         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15834         (libc_feholdexcept_setround_mips): Ditto.
15835         (libc_feholdsetround): New.
15836         (libc_feholdsetroundf): New.
15837         (libc_feholdsetroundl): New.
15838         (libc_feupdateenv_test_mips): New.
15839         (libc_feupdateenv_test): New.
15840         (libc_feupdateenv_testf): New.
15841         (libc_feupdateenv_testl): New.
15842         (libc_feresetround): New.
15843         (libc_feresetroundf): New.
15844         (libc_feresetroundl): New.
15845         (libc_fetestexcept_mips): New.
15846         (libc_fetestexcept): New.
15847         (libc_fetestexceptf): New.
15848         (libc_fetestexceptl): New.
15849         (HAVE_RM_CTX): New.
15850         (libc_feholdexcept_setround_mips_ctx): New.
15851         (libc_feholdexcept_setround_ctx): New.
15852         (libc_feholdexcept_setroundf_ctx): New.
15853         (libc_feholdexcept_setroundl_ctx): New.
15854         (libc_fesetenv_mips_ctx): New.
15855         (libc_fesetenv_ctx): New.
15856         (libc_fesetenv_ctxf): New.
15857         (libc_fesetenv_ctxl): New.
15858         (libc_feupdateenv_mips_ctx): New.
15859         (libc_feupdateenv_ctx): New.
15860         (libc_feupdateenvf_ctx): New.
15861         (libc_feupdateenvl_ctx): New.
15862         (libc_feholdsetround_mips_ctx): New.
15863         (libc_feholdsetround_ctx): New.
15864         (libc_feholdsetroundf_ctx): New.
15865         (libc_feholdsetroundl_ctx): New.
15866         (libc_feresetround_mips_ctx): New.
15867         (libc_feresetround_ctx): New.
15868         (libc_feresetroundf_ctx): New.
15869         (libc_feresetroundl_ctx): New.
15871 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15873         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15875         * manual/ipc.texi: New file.
15876         * manual/Makefile (chapters): Add ipc.
15877         * manual/job.texi: Add "Inter-Process Communication" to next.
15878         * manual/process.texi: Add "Inter-Process Communication" to prev.
15880 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15884 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15886         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15888         * manual/arith.texi: Fix spaces after sentences.
15889         * manual/charset.texi: Likewise.
15890         * manual/errno.texi: Likewise.
15891         * manual/install.texi: Likewise.
15892         * manual/llio.texi: Likewise.
15893         * manual/locale.texi: Likewise.
15894         * manual/maint.texi: Likewise.
15895         * manual/math.texi: Likewise.
15896         * manual/memory.texi: Likewise.
15897         * manual/message.texi: Likewise.
15898         * manual/probes.texi: Likewise.
15899         * manual/resource.texi: Likewise.
15900         * manual/signal.texi: Likewise.
15901         * manual/socket.texi: Likewise.
15902         * manual/stdio.texi: Likewise.
15903         * manual/string.texi: Likewise.
15904         * manual/time.texi: Likewise.
15905         * manual/users.texi: Likewise.
15907 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15909         [BZ #16632]
15910         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15911         _DEFAULT_SOURCE is defined.
15913 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15914             Carlos O'Donell  <carlos@redhat.com>
15916         [BZ #16613]
15917         * elf/dl-tls.c (_dl_count_modids): New function.
15918         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15919         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15920         audit library and increment generation counter.
15921         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15922         * elf/tst-audit9.c: New file.
15923         * elf/tst-auditmod9a.c: New file.
15924         * elf/tst-auditmod9b.c: New file.
15925         * elf/Makefile: Add rules to build and run tst-audit9.
15927 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15929         [BZ #15347]
15930         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15932 2014-02-25  Will Newton  <will.newton@linaro.org>
15934         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15935         (__longjmp): Restore sp and lr before restoring callee
15936         saved registers.  Add longjmp and longjmp_target
15937         SystemTap probe point.
15938         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15939         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15940         Define to zero to match jmpbuf layout.
15941         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15942         (__sigsetjmp): Save sp and lr before saving callee
15943         saved registers.  Add setjmp SystemTap probe point.
15945 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15947         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15949 2014-02-24  Andreas Schwab  <schwab@suse.de>
15951         [BZ #15804]
15952         * elf/pldd.c (wait_for_ptrace_stop): New function.
15953         (main): Call it after attaching.
15955 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15957         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15958         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15959         Versions files is now verboten.
15960         * hurd/Versions (libc: GLIBC_2.0):
15961         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15962         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15963         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15964         * mach/Versions: Likewise.
15966         * csu/Versions: Remove unused %include.
15967         * resolv/Versions: Likewise.
15969 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15971         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15972         ($(objpfx)check-local-headers.out): Likewise.
15973         ($(objpfx)begin-end-check.out): Likewise.
15974         * Makerules (check-abi-%.out): Likewise.
15975         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15976         ($(objpfx)test2.cat): Likewise.
15977         ($(objpfx)de/libc.cat): Likewise.
15978         ($(objpfx)test-gencat.out): Likewise.
15979         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15980         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15981         ($(objpfx)noload-mem): Likewise.
15982         ($(objpfx)tst-pathopt.out): Likewise.
15983         ($(objpfx)tst-rtld-load-self.out): Likewise.
15984         ($(objpfx)tst-array1-cmp.out): Likewise.
15985         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15986         ($(objpfx)tst-array2-cmp.out): Likewise.
15987         ($(objpfx)tst-array3-cmp.out): Likewise.
15988         ($(objpfx)tst-array4-cmp.out): Likewise.
15989         ($(objpfx)tst-array5-cmp.out): Likewise.
15990         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15991         ($(objpfx)check-textrel.out): Likewise.
15992         ($(objpfx)check-execstack.out): Likewise.
15993         ($(objpfx)check-localplt.out): Likewise.
15994         ($(objpfx)order2-cmp.out): Likewise.
15995         ($(objpfx)tst-leaks1-mem): Likewise.
15996         ($(objpfx)tst-leaks1-static-mem): Likewise.
15997         ($(objpfx)tst-initorder-cmp.out): Likewise.
15998         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15999         ($(objpfx)tst-unused-dep.out): Likewise.
16000         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16001         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16002         * iconv/Makefile (test-iconvconfig): Likewise.
16003         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16004         ($(objpfx)iconv-test.out): Likewise.
16005         ($(objpfx)tst-tables.out): Likewise.
16006         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16007         ($(objpfx)tst-gettext.out): Likewise.
16008         ($(objpfx)tst-translit.out): Likewise.
16009         ($(objpfx)tst-gettext2.out): Likewise.
16010         ($(objpfx)tst-gettext4.out): Likewise.
16011         ($(objpfx)tst-gettext6.out): Likewise.
16012         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16013         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16014         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16015         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16016         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16017         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16018         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16019         ($(objpfx)wordexp-tst.out): Likewise.
16020         ($(objpfx)annexc.out): Likewise.
16021         ($(objpfx)tst-fnmatch-mem): Likewise.
16022         ($(objpfx)bug-regex2-mem): Likewise.
16023         ($(objpfx)bug-regex14-mem): Likewise.
16024         ($(objpfx)bug-regex21-mem): Likewise.
16025         ($(objpfx)bug-regex31-mem): Likewise.
16026         ($(objpfx)tst-vfork3-mem): Likewise.
16027         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16028         ($(objpfx)tst-pcre-mem): Likewise.
16029         ($(objpfx)tst-boost-mem): Likewise.
16030         ($(objpfx)tst-getconf.out): Likewise.
16031         ($(objpfx)bug-ga2-mem): Likewise.
16032         ($(objpfx)bug-glob2-mem): Likewise.
16033         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16034         ($(objpfx)mtrace-tst-leaks2): Likewise.
16035         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16036         ($(objpfx)tst-printf.out): Likewise.
16037         ($(objpfx)tst-setvbuf1.out): Likewise.
16038         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16039         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16040         ($(objpfx)tst-fmtmsg.out): Likewise.
16041         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16042         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16044         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16045         * bits/sigaction.h [__USE_MISC]: Likewise.
16046         * bits/waitstatus.h: Update #endif comments.
16047         * ctype/ctype.h: Likewise.
16048         * dirent/dirent.h: Likewise.
16049         [__USE_MISC]: Remove redundant conditionals.
16050         * grp/grp.h: Update #endif comments.
16051         [__USE_GNU]: Remove redundant conditionals.
16052         [__USE_MISC]: Likewise.
16053         * inet/netinet/in.h [__USE_GNU]: Likewise.
16054         * io/sys/stat.h [__USE_MISC]: Likewise.
16055         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16056         * libio/bits/stdio.h: Update #endif comments.
16057         [__USE_MISC]: Remove redundant conditionals.
16058         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16059         * libio/stdio.h: Update #endif comments.
16060         [__USE_MISC]: Remove redundant conditionals.
16061         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16062         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16063         * math/math.h: Update #else and #endif comments.
16064         [__USE_MISC]: Remove redundant conditionals.
16065         * misc/sys/uio.h: Update #endif comments.
16066         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16067         * posix/glob.h [__USE_MISC]: Likewise.
16068         * posix/sys/types.h: Update #endif comments.
16069         [__USE_MISC]: Remove redundant conditionals.
16070         * posix/sys/wait.h: Update #endif comments.
16071         [__USE_MISC]: Remove redundant conditionals.
16072         * posix/unistd.h: Update #endif comments.
16073         [__USE_MISC]: Remove redundant conditionals.
16074         * pwd/pwd.h [__USE_GNU]: Likewise.
16075         [__USE_MISC]: Likewise.
16076         * resolv/netdb.h [__USE_GNU]: Likewise.
16077         * signal/signal.h: Update #endif comments.
16078         [__USE_MISC]: Remove redundant conditionals.
16079         * stdlib/stdlib.h: Update #else and #endif comments.
16080         [__USE_MISC]: Remove redundant conditionals.
16081         [__USE_GNU]: Likewise.
16082         * string/bits/string2.h [__USE_MISC]: Likewise.
16083         * string/string.h: Update #endif comments.
16084         [__USE_MISC]: Remove redundant conditionals.
16085         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16086         Likewise.
16087         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16088         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16089         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16090         Likewise.
16091         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16092         Likewise.
16093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16094         comments.
16095         [__USE_MISC]: Remove redundant conditionals.
16096         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16097         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16098         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16099         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16100         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16101         Likewise.
16102         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16103         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16104         Likewise.
16105         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16107         Likewise.
16108         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16109         Likewise.
16110         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16111         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16112         Likewise.
16113         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16114         Likewise.
16115         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16116         * sysdeps/x86/bits/string.h: Update #endif comments.
16117         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16118         conditionals.
16119         * time/sys/time.h: Update #endif comments.
16120         * time/time.h: Likewise.
16121         [__USE_MISC]: Remove redundant conditionals.
16123 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16125         [BZ #16600]
16126         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16128 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16130         * Versions.def (librt): Add GLIBC_2.17.
16132 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16134         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16135         synonym for _SYS_AUXV_H to allow direct inclusion.
16136         * sysdeps/sparc/bits/hwcap.h: Likewise.
16137         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16138         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16139         * sysdeps/sparc/sysdep.h: Likewise.
16141 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16143         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16145 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16147         * benchtests/bench-strrchr.c: Print length instead of position.
16149 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16151         [BZ #16611]
16152         * sysdeps/unix/sysv/linux/kernel-features.h
16153         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16154         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16155         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16156         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16157         Likewise.
16158         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16159         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16160         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16161         (__ASSUME_SENDMMSG): Define instead of using previous
16162         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16163         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16164         (__ASSUME_SENDMMSG_SYSCALL): Define.
16165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16166         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16167         Likewise.
16168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16170         Likewise.
16171         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16173         Likewise.
16174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16175         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16176         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16177         [__ASSUME_SENDMMSG]: Change conditionals to
16178         [__ASSUME_SENDMMSG_SOCKETCALL].
16179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16180         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16181         Define.
16182         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16183         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16184         Likewise.
16185         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16186         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16187         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16188         [!__ASSUME_SENDMMSG]: Change conditional to
16189         [!__ASSUME_SENDMMSG_SOCKETCALL].
16190         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16191         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16192         Define.
16194         [BZ #16610]
16195         * sysdeps/unix/sysv/linux/kernel-features.h
16196         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16197         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16198         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16199         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16200         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16201         [__i386__ || __sparc__]
16202         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16203         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16204         (__ASSUME_RECVMMSG): Define instead of using previous
16205         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16206         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16207         (__ASSUME_RECVMMSG_SYSCALL): Define.
16208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16210         Likewise.
16211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16213         Likewise.
16214         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16215         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16216         Likewise.
16217         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16218         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16219         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16220         [__ASSUME_RECVMMSG]: Change condition to
16221         [__ASSUME_RECVMMSG_SOCKETCALL].
16222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16223         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16224         Define.
16225         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16228         Likewise.
16229         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16230         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16231         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16232         [!__ASSUME_RECVMMSG]: Change condition to
16233         [!__ASSUME_RECVMMSG_SOCKETCALL].
16234         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16235         (__ASSUME_RECVMMSG_SYSCALL): Define.
16237         [BZ #16609]
16238         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16239         __powerpc__ || __s390__ || __sh__ || __sparc__]
16240         (__ASSUME_SOCKETCALL): Define.
16241         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16242         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16243         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16244         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16245         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16246         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16247         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16248         (__ASSUME_ACCEPT4): Define instead of using previous
16249         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16250         __powerpc__ || __sparc__ || __s390__)] condition.
16251         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16252         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16253         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16254         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16255         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16256         [!__ASSUME_ACCEPT4]: Change condition to
16257         [!__ASSUME_ACCEPT4_SOCKETCALL].
16258         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16259         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16260         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16262         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16263         __ASSUME_ACCEPT4_SYSCALL.
16264         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16265         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16267         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16268         __ASSUME_ACCEPT4_SYSCALL.
16269         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16270         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16271         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16272         [__ASSUME_ACCEPT4]: Change condition to
16273         [__ASSUME_ACCEPT4_SOCKETCALL].
16274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16275         (__ASSUME_SOCKETCALL): Define.
16276         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16278         (__ASSUME_SOCKETCALL): Define.
16279         (__ASSUME_ACCEPT4): Remove.
16280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16281         Define.
16282         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16283         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16284         Likewise.
16285         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16286         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16288         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16289         macro.
16290         (HWCAP_ARM_LPAE): Likewise.
16291         (HWCAP_ARM_EVTSTRM): Likewise.
16292         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16293         Add vpfd32, lpae and evtstrm.
16294         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16295         Increase to 22.
16297 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16299         * math/auto-libm-test-in: Add tests of clog10.
16300         * math/auto-libm-test-out: Regenerated.
16301         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16302         * sysdeps/i386/fpu/libm-test-ulps: Update.
16303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 2014-02-18  Andreas Schwab  <schwab@suse.de>
16307         [BZ #16574]
16308         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16309         Store non-zero if the second buffer was newly allocated.
16310         (send_dg): Likewise.
16311         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16312         to send_vc and send_dg.
16313         (res_nsend): Pass NULL for ansp2_malloced.
16314         * resolv/res_query.c (__libc_res_nquery): Add parameter
16315         answerp2_malloced and pass it down to __libc_res_nsend.
16316         (res_nquery): Pass additional NULL to __libc_res_nquery.
16317         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16318         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16319         second answer buffer if answerp2_malloced was set.
16320         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16321         (__libc_res_nquerydomain): Add parameter
16322         answerp2_malloced and pass it down to __libc_res_nquery.
16323         (res_nquerydomain): Pass additional NULL to
16324         __libc_res_nquerydomain.
16325         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16326         additional NULL to __libc_res_nsend and __libc_res_nquery.
16327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16328         additional NULL to __libc_res_nsearch.
16329         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16330         parameter of __libc_res_nsearch to check for separately allocated
16331         second buffer.
16332         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16333         __libc_res_nquery.
16334         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16335         additional NULL to __libc_res_nquery.
16336         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16337         __libc_res_nsearch.
16338         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16339         * include/resolv.h: Update prototypes of __libc_res_nquery,
16340         __libc_res_nsearch, __libc_res_nsend.
16342 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16344         * math/auto-libm-test-in: Add tests of fma.
16345         * math/auto-libm-test-out: Regenerated.
16346         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16347         (fma_towardzero_test_data): Likewise.
16348         (fma_downward_test_data): Likewise.
16349         (fma_upward_test_data): Likewise.
16350         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16351         mpc_mode.
16352         (rounding_modes): Add values for new field.
16353         (func_calc_method): Add value mpfr_fff_f.
16354         (func_calc_desc): Add mpfr_fff_f union field.
16355         (test_function): Add field exact_args.
16356         (FUNC): Add macro argument EXACT_ARGS.
16357         (FUNC_mpfr_f_f): Update call to FUNC.
16358         (FUNC_mpfr_f_f): Likewise.
16359         (FUNC_mpfr_ff_f): Likewise.
16360         (FUNC_mpfr_if_f): Likewise.
16361         (FUNC_mpc_c_f): Likewise.
16362         (FUNC_mpc_c_c): Likewise.
16363         (test_functions): Add fma.  Update calls to FUNC.
16364         (handle_input_arg): Add argument exact_args.
16365         (add_test): Update call to handle_input_arg.
16366         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16367         (output_for_one_input_case): Update call to calc_generic_results.
16368         Recalculate exact zero results in each rounding mode.
16370         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16371         non-negative before setting low bit.
16372         * math/auto-libm-test-in: Mark one asin test possibly having
16373         spurious underflow.
16374         * math/auto-libm-test-out: Regenerated.
16375         * sysdeps/i386/fpu/libm-test-ulps: Update.
16376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16378 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16380         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16381         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16382         ports/sysdeps/unix/sysv/linux/microblaze.
16383         * README: Add missing listing for microblaze*-*-linux-gnu.
16385 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16388         duplicate code
16390 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16392         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16393         * sysdeps/unix/sysv/linux/ia64: Move directory from
16394         ports/sysdeps/unix/sysv/linux/ia64.
16395         * README: Update listing for ia64-*-linux-gnu.
16397 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16398             Joseph Myers  <joseph@codesourcery.com>
16400         * Makeconfig (test-name): New variable.
16401         (evaluate-test): Likewise.
16402         * Makerules (do-test-clean): Remove .test-result files.
16403         (common-mostlyclean): Likewise.
16404         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16405         * scripts/evaluate-test.sh: New file.
16407 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16409         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16410         separate $(objpfx)tst-fopenloc-cmp.out and
16411         $(objpfx)tst-fopenloc-mem.out targets.
16412         (tests): Update dependencies.
16413         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16414         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16415         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16416         (tst-rxspencer-no-utf8-ARGS): New variable.
16417         (tst-rxspencer-no-utf8-ENV): Likewise.
16418         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16419         instead of $(objpfx)tst-rxspencer-mem.
16420         ($(objpfx)tst-rxspencer-mem): Change target to
16421         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16422         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16423         * posix/tst-rxspencer-no-utf8.c: New file.
16425         * elf/Makefile ($(objpfx)order.out): Remove rule.
16426         [$(run-built-tests) = yes] (tests): Depend on
16427         $(objpfx)order-cmp.out.
16428         ($(objpfx)order-cmp.out): New rule.
16429         [$(run-built-tests) = yes] (tests): Depend on
16430         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16431         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16432         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16433         $(objpfx)tst-array5-static-cmp.out.
16434         ($(objpfx)tst-array1.out): Remove rule.
16435         ($(objpfx)tst-array1-cmp.out): New rule.
16436         ($(objpfx)tst-array1-static.out): Remove rule.
16437         ($(objpfx)tst-array1-static-cmp.out): New rule.
16438         ($(objpfx)tst-array2.out): Remove rule.
16439         ($(objpfx)tst-array2-cmp.out): New rule.
16440         ($(objpfx)tst-array3.out): Remove rule.
16441         ($(objpfx)tst-array3-cmp.out): New rule.
16442         ($(objpfx)tst-array4.out): Remove rule.
16443         ($(objpfx)tst-array4-cmp.out): New rule.
16444         ($(objpfx)tst-array5.out): Remove rule.
16445         ($(objpfx)tst-array5-cmp.out): New rule.
16446         ($(objpfx)tst-array5-static.out): Remove rule.
16447         ($(objpfx)tst-array5-static-cmp.out): New rule.
16448         [$(run-built-tests) = yes] (tests): Depend on
16449         $(objpfx)order2-cmp.out.
16450         ($(objpfx)order2.out): Remove rule.
16451         ($(objpfx)order2-cmp.out): New rule.
16452         ($(objpfx)tst-initorder.out): Remove rule.
16453         [$(run-built-tests) = yes] (tests): Depend on
16454         $(objpfx)tst-initorder-cmp.out.
16455         ($(objpfx)tst-initorder-cmp.out): New rule.
16456         ($(objpfx)tst-initorder2.out): Remove rule.
16457         [$(run-built-tests) = yes] (tests): Depend on
16458         $(objpfx)tst-initorder2-cmp.out.
16459         ($(objpfx)tst-initorder2-cmp.out): New rule.
16460         [$(run-built-tests) = yes] (tests): Depend on
16461         $(objpfx)tst-unused-dep-cmp.out.
16462         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16463         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16464         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16465         on $(objpfx)tst-setvbuf1-cmp.out.
16466         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16467         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16468         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16469         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16470         ($(objpfx)tst-svc.out): Remove rule.
16471         ($(objpfx)tst-svc-cmp.out): New rule.
16473 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16475         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16476         * ctype/ctype.h [__USE_MISC]: Likewise.
16477         * dirent/dirent.h [__USE_MISC]: Likewise.
16478         * grp/grp.h [__USE_MISC]: Likewise.
16479         * io/fcntl.h [__USE_MISC]: Likewise.
16480         * io/sys/stat.h [__USE_MISC]: Likewise.
16481         * libio/stdio.h [__USE_MISC]: Likewise.
16482         * posix/unistd.h [__USE_MISC]: Likewise.
16483         * pwd/pwd.h [__USE_MISC]: Likewise.
16484         * stdlib.h [__USE_MISC]: Likewise.
16485         * string/bits/string2.h [__USE_MISC]: Likewise.
16486         * string/string.h [__USE_MISC]: Likewise.
16487         * time/time.h [__USE_MISC]: Likewise.
16489 2014-02-13  Andreas Schwab  <schwab@suse.de>
16491         [BZ #16574]
16492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16493         second answer buffer if it was separately allocated.
16495 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16497         * sysdeps/mips/math-tests.h: Include <features.h>.
16498         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16499         (ROUNDING_TESTS_long_double): Do not define.
16500         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16501         (EXCEPTION_TESTS_long_double): Likewise.
16502         * sysdeps/mips/mips64/libm-test-ulps: Update.
16504         * include/features.h (__USE_BSD): Remove macro definitions.
16505         (__USE_SVID): Likewise.
16506         (_BSD_SOURCE): Likewise.
16507         (_SVID_SOURCE): Likewise.
16508         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16509         from definition of _DEFAULT_SOURCE.
16510         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16511         [_DEFAULT_SOURCE].
16512         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16513         * bits/mman.h [__USE_BSD]: Likewise.
16514         * bits/termios.h [__USE_BSD]: Likewise.
16515         * bits/waitstatus.h [__USE_BSD]: Likewise.
16516         * ctype/ctype.h [__USE_SVID]: Likewise.
16517         * dirent/dirent.h [__USE_BSD]: Likewise.
16518         * grp/grp.h [__USE_SVID]: Likewise.
16519         [__USE_BSD]: Likewise.
16520         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16521         * io/fcntl.h [__USE_BSD]: Likewise.
16522         * io/ftw.h [__USE_BSD]: Likewise.
16523         * io/sys/stat.h [__USE_BSD]: Likewise.
16524         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16525         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16526         * libio/stdio.h [__USE_SVID]: Likewise.
16527         [__USE_BSD]: Likewise.
16528         * math/math.h [__USE_SVID]: Likewise.
16529         [__USE_BSD]: Likewise.
16530         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16531         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16532         * misc/search.h [__USE_SVID]: Likewise.
16533         * misc/sys/mman.h [__USE_BSD]: Likewise.
16534         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16535         * misc/sys/uio.h [__USE_BSD]: Likewise.
16536         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16537         * posix/glob.h [__USE_BSD]: Likewise.
16538         * posix/regex.h [__USE_BSD]: Likewise.
16539         * posix/sys/types.h [__USE_BSD]: Likewise.
16540         [__USE_SVID]: Likewise.
16541         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16542         * posix/sys/wait.h [__USE_BSD]: Likewise.
16543         [__USE_SVID]: Likewise.
16544         * posix/unistd.h [__USE_BSD]: Likewise.
16545         [__USE_SVID]: Likewise.
16546         * pwd/pwd.h [__USE_SVID]: Likewise.
16547         * resolv/netdb.h [__USE_BSD]: Likewise.
16548         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16549         * signal/signal.h [__USE_BSD]: Likewise.
16550         [__USE_SVID]: Likewise.
16551         * socket/sys/socket.h [__USE_BSD]: Likewise.
16552         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16553         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16554         [__USE_SVID]: Likewise.
16555         * string/bits/string2.h [__USE_BSD]: Likewise.
16556         [__USE_SVID]: Likewise.
16557         * string/bits/string3.h [__USE_BSD]: Likewise.
16558         * string/endian.h [__USE_BSD]: Likewise.
16559         * string/string.h [__USE_SVID]: Likewise.
16560         [__USE_BSD]: Likewise.
16561         * string/strings.h [__USE_BSD]: Likewise.
16562         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16563         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16564         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16565         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16566         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16568         Likewise.
16569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16570         Likewise.
16571         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16573         Likewise.
16574         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16575         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16576         Likewise.
16577         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16578         Likewise.
16579         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16580         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16582         Likewise.
16583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16584         Likewise.
16585         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16586         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16587         * termios/termios.h [__USE_BSD]: Likewise.
16588         * time/sys/time.h [__USE_BSD]: Likewise.
16589         * time/time.h [__USE_BSD]: Likewise.
16590         [__USE_SVID]: Likewise.
16592         * Makefile (subdir_targets): Remove subdir_lint.out.
16594         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16595         (do-tst-printf): Likewise.
16596         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16597         $(objpfx)tst-printf.out.
16599         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16601         * Makerules (check-abi-%): Change target to
16602         $(objpfx)check-abi-%.out.
16603         (check-abi target): Update dependencies.
16604         (check-abi-pattern variable): Redirect output of diff to $@.
16605         (check-abi variable): Likewise.
16606         * elf/Makefile (check-abi): Update dependencies.
16608         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16609         unused.
16610         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16611         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16612         subnormal range.
16613         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16614         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16615         value has largest subnormal exponent.
16616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16617         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16618         * sysdeps/aarch64/soft-fp/sfp-machine.h
16619         (_FP_TININESS_AFTER_ROUNDING): New macro.
16620         * sysdeps/alpha/soft-fp/sfp-machine.h
16621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16623         Likewise.
16624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16626         * sysdeps/mips/soft-fp/sfp-machine.h
16627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16628         * sysdeps/powerpc/soft-fp/sfp-machine.h
16629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16630         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16631         Likewise.
16632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16636         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16637         Likewise.
16639 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16641         [BZ #16545]
16642         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16643         model 1.
16645 2014-02-12  Richard Henderson  <rth@redhat.com>
16647         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16648         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16649         * sysdeps/unix/sysv/linux/alpha: Move directory from
16650         ports/sysdeps/unix/sysv/linux/alpha.
16651         * README: Update listing for alpha-*-linux-gnu.
16653 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16655         * include/features.h: Update comment documenting feature test
16656         macros.
16657         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16658         _DEFAULT_SOURCE.
16659         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16660         (_SVID_SOURCE): Likewise.
16661         (_DEFAULT_SOURCE): Update description of default features.
16662         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16663         with _GNU_SOURCE.
16664         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16665         (S_ISVTX): Likewise.
16666         * manual/math.texi (Mathematical Constants): Likewise.
16667         * manual/signal.texi (Interrupted Primitives): Likewise.
16668         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16669         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16670         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16671         Don't refer to _SVID_SOURCE in warning text.
16673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16675         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16676         already defined.
16677         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16678         * sysdeps/mips/dl-lookup.c: Remove.
16679         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16681 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16683         [BZ #16447]
16684         * math/auto-libm-test-in: Add testcase for expl.
16685         * math/auto-libm-test-out: Regenerate.
16686         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16687         calculation of unsafe.
16688         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16690 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16692         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16693         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16694         ports/sysdeps/unix/sysv/linux/aarch64.
16695         * README: Update listing for aarch64*-*-linux-gnu.
16697 2014-02-11  Will Newton  <will.newton@linaro.org>
16699         * manual/probes.texi (Mathematical Function Probes): Use
16700         "triggered" instead of "hit".
16702         * manual/probes.texi (Internal Probes): Add documentation
16703         of setjmp, longjmp and longjmp_target probes.
16705         * include/stap-probe.h: Add comment about probe argument
16706         format.
16708         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16709         definition.  (tr_where, tr_freehook, tr_mallochook,
16710         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16712 2014-02-11  David S. Miller  <davem@davemloft.net>
16714         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16715         processing int_tests.
16717 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16719         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16720         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16721         * sysdeps/unix/sysv/linux/mips: Move directory from
16722         ports/sysdeps/unix/sysv/linux/mips.
16723         * README: Update listing for mips-*-linux-gnu and
16724         mips64-*-linux-gnu.
16726 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16728         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16729         * sysdeps/unix/sysv/linux/m68k: Move directory from
16730         ports/sysdeps/unix/sysv/linux/m68k.
16731         * README: Update listing for m68k-*-linux-gnu.
16733 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16735         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16736         * sysdeps/unix/sysv/linux/generic: Move directory from
16737         ports/sysdeps/unix/sysv/linux/generic.
16738         * sysdeps/unix/sysv/linux/tile: Move directory from
16739         ports/sysdeps/unix/sysv/linux/tile.
16740         * README: Update listing for tile*-*-linux-gnu.
16742 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16744         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16745         __builtin_expect.
16746         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16747         * catgets/open_catalog.c (__open_catalog): Likewise.
16748         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16749         * debug/confstr_chk.c: Likewise.
16750         * debug/fread_chk.c (__fread_chk): Likewise.
16751         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16752         * debug/getgroups_chk.c: Likewise.
16753         * debug/mbsnrtowcs_chk.c: Likewise.
16754         * debug/mbsrtowcs_chk.c: Likewise.
16755         * debug/mbstowcs_chk.c: Likewise.
16756         * debug/memcpy_chk.c: Likewise.
16757         * debug/memmove_chk.c: Likewise.
16758         * debug/mempcpy_chk.c: Likewise.
16759         * debug/memset_chk.c: Likewise.
16760         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16761         * debug/strcat_chk.c (__strcat_chk): Likewise.
16762         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16763         * debug/strncat_chk.c (__strncat_chk): Likewise.
16764         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16765         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16766         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16767         * debug/wcpncpy_chk.c: Likewise.
16768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16769         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16770         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16771         * debug/wcsncpy_chk.c: Likewise.
16772         * debug/wcsnrtombs_chk.c: Likewise.
16773         * debug/wcsrtombs_chk.c: Likewise.
16774         * debug/wcstombs_chk.c: Likewise.
16775         * debug/wmemcpy_chk.c: Likewise.
16776         * debug/wmemmove_chk.c: Likewise.
16777         * debug/wmempcpy_chk.c: Likewise.
16778         * debug/wmemset_chk.c: Likewise.
16779         * dirent/scandirat.c (SCANDIRAT): Likewise.
16780         * dlfcn/dladdr1.c (dladdr1): Likewise.
16781         * dlfcn/dladdr.c (dladdr): Likewise.
16782         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16783         * dlfcn/dlerror.c (__dlerror): Likewise.
16784         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16785         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16786         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16787         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16788         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16789         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16790         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16791         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16792         Likewise.
16793         * elf/dl-conflict.c: Likewise.
16794         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16795         * elf/dl-dst.h: Likewise.
16796         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16797         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16799         * elf/dl-init.c (call_init, _dl_init): Likewise.
16800         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16801         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16802         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16803         Likewise.
16804         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16805         Likewise.
16806         * elf/dl-minimal.c (__libc_memalign): Likewise.
16807         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16808         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16809         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16810         * elf/dl-sym.c (do_sym): Likewise.
16811         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16812         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16813         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16814         * elf/dl-writev.h (_dl_writev): Likewise.
16815         * elf/ldconfig.c (search_dir): Likewise.
16816         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16817         (dl_main): Likewise.
16818         * elf/setup-vdso.h (setup_vdso): Likewise.
16819         * grp/compat-initgroups.c (compat_call): Likewise.
16820         * grp/fgetgrent.c (fgetgrent): Likewise.
16821         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16822         * grp/putgrent.c (putgrent): Likewise.
16823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16824         Likewise.
16825         * hurd/hurdinit.c: Likewise.
16826         * iconvdata/8bit-gap.c (struct): Likewise.
16827         * iconvdata/ansi_x3.110.c : Likewise.
16828         * iconvdata/big5.c : Likewise.
16829         * iconvdata/big5hkscs.c : Likewise.
16830         * iconvdata/cp1255.c: Likewise.
16831         * iconvdata/cp1258.c : Likewise.
16832         * iconvdata/cp932.c : Likewise.
16833         * iconvdata/euc-cn.c: Likewise.
16834         * iconvdata/euc-jisx0213.c : Likewise.
16835         * iconvdata/euc-jp.c: Likewise.
16836         * iconvdata/euc-jp-ms.c : Likewise.
16837         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16838         * iconvdata/gb18030.c : Likewise.
16839         * iconvdata/gbbig5.c (const): Likewise.
16840         * iconvdata/gbgbk.c: Likewise.
16841         * iconvdata/gbk.c : Likewise.
16842         * iconvdata/ibm1364.c : Likewise.
16843         * iconvdata/ibm930.c : Likewise.
16844         * iconvdata/ibm932.c: Likewise.
16845         * iconvdata/ibm933.c : Likewise.
16846         * iconvdata/ibm935.c : Likewise.
16847         * iconvdata/ibm937.c : Likewise.
16848         * iconvdata/ibm939.c : Likewise.
16849         * iconvdata/ibm943.c: Likewise.
16850         * iconvdata/iso_11548-1.c: Likewise.
16851         * iconvdata/iso-2022-cn.c : Likewise.
16852         * iconvdata/iso-2022-cn-ext.c : Likewise.
16853         * iconvdata/iso-2022-jp-3.c: Likewise.
16854         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16855         * iconvdata/iso-2022-kr.c : Likewise.
16856         * iconvdata/iso646.c (gconv_end): Likewise.
16857         * iconvdata/iso_6937-2.c : Likewise.
16858         * iconvdata/iso_6937.c : Likewise.
16859         * iconvdata/iso8859-1.c: Likewise.
16860         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16861         * iconvdata/shift_jisx0213.c : Likewise.
16862         * iconvdata/sjis.c : Likewise.
16863         * iconvdata/t.61.c : Likewise.
16864         * iconvdata/tcvn5712-1.c : Likewise.
16865         * iconvdata/tscii.c: Likewise.
16866         * iconvdata/uhc.c : Likewise.
16867         * iconvdata/unicode.c (gconv_end): Likewise.
16868         * iconvdata/utf-16.c (gconv_end): Likewise.
16869         * iconvdata/utf-32.c (gconv_end): Likewise.
16870         * iconvdata/utf-7.c (base64): Likewise.
16871         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16872         * iconv/gconv_close.c (__gconv_close): Likewise.
16873         * iconv/gconv_open.c (__gconv_open): Likewise.
16874         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16875         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16876         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16877         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16878         (ucs4le_internal_loop_single): Likewise.
16879         * iconv/iconv.c (iconv): Likewise.
16880         * iconv/iconv_close.c: Likewise.
16881         * iconv/loop.c (SINGLE): Likewise.
16882         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16883         * include/atomic.h: Likewise.
16884         * inet/inet6_option.c (option_alloc): Likewise.
16885         * intl/bindtextdom.c (set_binding_values): Likewise.
16886         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16887         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16888         * intl/localealias.c (read_alias_file): Likewise.
16889         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16890         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16891         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16892         * libio/fmemopen.c (fmemopen): Likewise.
16893         * libio/iofgets.c (_IO_fgets): Likewise.
16894         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16895         * libio/iofgetws.c (fgetws): Likewise.
16896         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16897         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16898         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16899         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16900         * locale/findlocale.c (_nl_find_locale): Likewise.
16901         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16902         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16903         Likewise.
16904         * locale/setlocale.c (setlocale): Likewise.
16905         * login/programs/pt_chown.c (main): Likewise.
16906         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16907         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16908         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16909         (mmap, mmap64, mremap, munmap): Likewise.
16910         * math/e_exp2l.c: Likewise.
16911         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16912         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16913         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16914         * math/s_catan.c (__catan): Likewise.
16915         * math/s_catanf.c (__catanf): Likewise.
16916         * math/s_catanh.c (__catanh): Likewise.
16917         * math/s_catanhf.c (__catanhf): Likewise.
16918         * math/s_catanhl.c (__catanhl): Likewise.
16919         * math/s_catanl.c (__catanl): Likewise.
16920         * math/s_ccosh.c (__ccosh): Likewise.
16921         * math/s_ccoshf.c (__ccoshf): Likewise.
16922         * math/s_ccoshl.c (__ccoshl): Likewise.
16923         * math/s_cexp.c (__cexp): Likewise.
16924         * math/s_cexpf.c (__cexpf): Likewise.
16925         * math/s_cexpl.c (__cexpl): Likewise.
16926         * math/s_clog10.c (__clog10): Likewise.
16927         * math/s_clog10f.c (__clog10f): Likewise.
16928         * math/s_clog10l.c (__clog10l): Likewise.
16929         * math/s_clog.c (__clog): Likewise.
16930         * math/s_clogf.c (__clogf): Likewise.
16931         * math/s_clogl.c (__clogl): Likewise.
16932         * math/s_csin.c (__csin): Likewise.
16933         * math/s_csinf.c (__csinf): Likewise.
16934         * math/s_csinh.c (__csinh): Likewise.
16935         * math/s_csinhf.c (__csinhf): Likewise.
16936         * math/s_csinhl.c (__csinhl): Likewise.
16937         * math/s_csinl.c (__csinl): Likewise.
16938         * math/s_csqrt.c (__csqrt): Likewise.
16939         * math/s_csqrtf.c (__csqrtf): Likewise.
16940         * math/s_csqrtl.c (__csqrtl): Likewise.
16941         * math/s_ctan.c (__ctan): Likewise.
16942         * math/s_ctanf.c (__ctanf): Likewise.
16943         * math/s_ctanh.c (__ctanh): Likewise.
16944         * math/s_ctanhf.c (__ctanhf): Likewise.
16945         * math/s_ctanhl.c (__ctanhl): Likewise.
16946         * math/s_ctanl.c (__ctanl): Likewise.
16947         * math/w_pow.c: Likewise.
16948         * math/w_powf.c: Likewise.
16949         * math/w_powl.c: Likewise.
16950         * math/w_scalb.c (sysv_scalb): Likewise.
16951         * math/w_scalbf.c (sysv_scalbf): Likewise.
16952         * math/w_scalbl.c (sysv_scalbl): Likewise.
16953         * misc/error.c (error_tail): Likewise.
16954         * misc/pselect.c (__pselect): Likewise.
16955         * nis/nis_callback.c (__nis_create_callback): Likewise.
16956         * nis/nis_call.c (__nisfind_server): Likewise.
16957         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16958         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16960         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16961         * nis/nis_lookup.c (nis_lookup): Likewise.
16962         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16963         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16964         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16965         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16966         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16967         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16968         * nis/nss_compat/compat-initgroups.c (add_group)
16969         (internal_getgrent_r): Likewise.
16970         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16971         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16972         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16973         (internal_getspnam_r): Likewise.
16974         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16975         (_nss_nis_getaliasbyname_r): Likewise.
16976         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16977         (_nss_nis_getntohost_r): Likewise.
16978         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16979         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16980         (_nss_nis_getgrgid_r): Likewise.
16981         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16982         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16983         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16984         (_nss_nis_gethostbyname4_r): Likewise.
16985         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16986         (initgroups_netid): Likewise.
16987         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16988         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16989         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16990         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16991         (_nss_nis_getprotobynumber_r): Likewise.
16992         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16993         (_nss_nis_getsecretkey): Likewise.
16994         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16995         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16996         (_nss_nis_getpwuid_r): Likewise.
16997         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16998         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16999         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17000         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17001         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17002         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17003         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17004         Likewise.
17005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17006         (_nss_nisplus_getntohost_r): Likewise.
17007         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17008         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17009         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17010         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17011         Likewise.
17012         * nis/nss_nisplus/nisplus-initgroups.c
17013         (_nss_nisplus_initgroups_dyn): Likewise.
17014         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17015         (_nss_nisplus_getnetbyaddr_r): Likewise.
17016         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17017         (_nss_nisplus_getprotobynumber_r): Likewise.
17018         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17019         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17020         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17021         Likewise.
17022         * nis/nss_nisplus/nisplus-service.c
17023         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17024         (_nss_nisplus_getservbyport_r): Likewise.
17025         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17026         (_nss_nisplus_getspnam_r): Likewise.
17027         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17028         Likewise.
17029         * nscd/aicache.c (addhstaiX): Likewise.
17030         * nscd/cache.c (cache_search, prune_cache): Likewise.
17031         * nscd/connections.c (register_traced_file, send_ro_fd)
17032         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17033         (main_loop_epoll): Likewise.
17034         * nscd/grpcache.c (addgrbyX): Likewise.
17035         * nscd/hstcache.c (addhstbyX): Likewise.
17036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17037         * nscd/mem.c (gc, mempool_alloc): Likewise.
17038         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17039         (addinnetgrX): Likewise.
17040         * nscd/nscd-client.h (__nscd_acquire_maplock)
17041         (__nscd_drop_map_ref): Likewise.
17042         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17045         Likewise.
17046         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17048         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17049         (__nscd_get_map_ref): Likewise.
17050         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17051         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17052         Likewise.
17053         * nscd/pwdcache.c (addpwbyX): Likewise.
17054         * nscd/selinux.c (preserve_capabilities): Likewise.
17055         * nscd/servicescache.c (addservbyX): Likewise.
17056         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17057         * posix/fnmatch.c (fnmatch): Likewise.
17058         * posix/getopt.c (_getopt_internal_r): Likewise.
17059         * posix/glob.c (glob, glob_in_dir): Likewise.
17060         * posix/wordexp.c (exec_comm_child): Likewise.
17061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17062         (getanswer_r, gaih_getanswer_slice): Likewise.
17063         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17064         * resolv/res_init.c: Likewise.
17065         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17066         * resolv/res_query.c (__libc_res_nquery): Likewise.
17067         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17068         Likewise.
17069         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17070         * stdio-common/perror.c (perror): Likewise.
17071         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17072         * stdio-common/tmpnam.c (tmpnam): Likewise.
17073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17074         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17075         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17076         Likewise.
17077         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17078         * stdlib/putenv.c (putenv): Likewise.
17079         * stdlib/setenv.c (__add_to_environ): Likewise.
17080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17081         * stdlib/strtol_l.c (INTERNAL): Likewise.
17082         * string/memmem.c (memmem): Likewise.
17083         * string/strerror.c (strerror): Likewise.
17084         * string/strnlen.c (__strnlen): Likewise.
17085         * string/test-memmem.c (simple_memmem): Likewise.
17086         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17087         * sunrpc/pm_getport.c (__get_socket): Likewise.
17088         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17089         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17090         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17091         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17092         Likewise.
17093         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17098         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17099         Likewise.
17100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17101         Likewise.
17102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17114         Likewise.
17115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17116         Likewise.
17117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17118         Likewise.
17119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17135         Likewise.
17136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17137         Likewise.
17138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17139         Likewise.
17140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17141         Likewise.
17142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17144         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17145         Likewise.
17146         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17147         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17148         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17149         * sysdeps/posix/sleep.c: Likewise.
17150         * sysdeps/posix/tempname.c: Likewise.
17151         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17153         Likewise.
17154         * sysdeps/powerpc/powerpc32/dl-machine.h
17155         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17158         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17159         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17160         Likewise.
17161         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17163         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17165         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17166         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17167         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17168         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17172         (elf_machine_lazy_rel): Likewise.
17173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17175         (elf_machine_lazy_rel): Likewise.
17176         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17177         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17178         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17179         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17180         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17181         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17184         Likewise.
17185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17186         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17187         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17188         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17189         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17191         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17192         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17195         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17196         Likewise.
17197         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17198         (__posix_fallocate64_l64): Likewise.
17199         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17200         (posix_fallocate): Likewise.
17201         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17202         Likewise.
17203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17205         (getifaddrs_internal): Likewise.
17206         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17207         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17208         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17210         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17211         (__posix_fallocate64_l64): Likewise.
17212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17213         Likewise.
17214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17216         (__get_clockfreq): Likewise.
17217         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17219         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17222         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17223         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17225         Likewise.
17226         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17227         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17228         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17231         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17233         Likewise.
17234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17235         (posix_fallocate): Likewise.
17236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17238         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17239         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17240         (elf_machine_rela, elf_machine_rela_relative)
17241         (elf_machine_lazy_rel): Likewise.
17242         * time/asctime.c (asctime_internal): Likewise.
17243         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17244         * time/tzset.c (__tzset_parse_tz): Likewise.
17245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17247         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17248         * wcsmbs/wcsmbsload.h: Likewise.
17250         [BZ #15894]
17251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17253         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17254         (arena_get2): Remove THREAD_STATS conditionals.
17255         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17256         (__malloc_stats, int): Likewise.
17258 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17261         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17263         * manual/setjmp.texi: Fix typos/grammar errors.
17265         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17266         Only return early when n is <= 0.  Delete unused return statement.
17268         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17269         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17270         * debug/tst-longjmp_chk3.c: New file.
17272         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17273         (test_main): Replace code with set_fortify_handler call.
17274         * debug/test-strcpy_chk.c: Likewise.
17275         * debug/tst-chk1.c: Likewise.
17276         * debug/tst-longjmp_chk.c: Likewise.
17277         * test-skeleton.c: Include fcntl.h & paths.h
17278         (set_fortify_handler): Define.
17280         * debug/tst-longjmp_chk.c: Add header comment and include
17281         ../test-skeleton.c.
17282         (do_test): Mark static.
17283         (TEST_FUNCTION): Define.
17285         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17286         (IP_PMTUDISC_INTERFACE): Likewise.
17287         (IP_MULTICAST_IF): Likewise.
17288         (IP_MULTICAST_TTL): Likewise.
17289         (IP_MULTICAST_LOOP): Likewise.
17290         (IP_ADD_MEMBERSHIP): Likewise.
17291         (IP_DROP_MEMBERSHIP): Likewise.
17292         (IP_UNBLOCK_SOURCE): Likewise.
17293         (IP_BLOCK_SOURCE): Likewise.
17294         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17295         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17296         (IP_MSFILTER): Likewise.
17297         (MCAST_JOIN_GROUP): Likewise.
17298         (MCAST_BLOCK_SOURCE): Likewise.
17299         (MCAST_UNBLOCK_SOURCE): Likewise.
17300         (MCAST_LEAVE_GROUP): Likewise.
17301         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17302         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17303         (MCAST_MSFILTER): Likewise.
17304         (IP_MULTICAST_ALL): Likewise.
17305         (IP_UNICAST_IF): Likewise.
17307         * timezone/Makefile: Delete $(have-ksh) check.
17308         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17309         * timezone/tzselect.ksh: Add +x mode bits.
17311         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17312         (ANON_INODE_FS_MAGIC): Likewise.
17313         (BDEVFS_MAGIC): Likewise.
17314         (BINFMTFS_MAGIC): Likewise.
17315         (BTRFS_TEST_MAGIC): Likewise.
17316         (CRAMFS_MAGIC_WEND): Likewise.
17317         (DEBUGFS_MAGIC): Likewise.
17318         (ECRYPTFS_SUPER_MAGIC): Likewise.
17319         (EXT3_SUPER_MAGIC): Likewise.
17320         (EXT4_SUPER_MAGIC): Likewise.
17321         (FUTEXFS_SUPER_MAGIC): Likewise.
17322         (HOSTFS_SUPER_MAGIC): Likewise.
17323         (HUGETLBFS_MAGIC): Likewise.
17324         (MINIX3_SUPER_MAGIC): Likewise.
17325         (MTD_INODE_FS_MAGIC): Likewise.
17326         (NILFS_SUPER_MAGIC): Likewise.
17327         (OPENPROM_SUPER_MAGIC): Likewise.
17328         (PIPEFS_MAGIC): Likewise.
17329         (PSTOREFS_MAGIC): Likewise.
17330         (QNX6_SUPER_MAGIC): Likewise.
17331         (RAMFS_MAGIC): Likewise.
17332         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17333         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17334         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17335         (SECURITYFS_MAGIC): Likewise.
17336         (SELINUX_MAGIC): Likewise.
17337         (SMACK_MAGIC): Likewise.
17338         (SOCKFS_MAGIC): Likewise.
17339         (SQUASHFS_MAGIC): Likewise.
17340         (STACK_END_MAGIC): Likewise.
17341         (TMPFS_MAGIC): Likewise.
17342         (USBDEVICE_SUPER_MAGIC): Likewise.
17343         (V9FS_MAGIC): Likewise.
17344         (XENFS_SUPER_MAGIC): Likewise.
17345         (CRAMFS_MAGIC): Fix typo in comment.
17346         (EXT2_SUPER_MAGIC): Update comment.
17347         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17349 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17351         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17352         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17353         * sysdeps/unix/sysv/linux/arm: Move directory from
17354         ports/sysdeps/unix/sysv/linux/arm.
17355         * README: Update listing for arm-*-linux-gnueabi.
17357         * README: Remove mention of am33.
17359 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17361         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17362         than the comma operator, to avoid "rhs of comma has no effect"
17363         compiler warnings.
17364         (__sigfillset, __sigandset, __sigorset): Likewise.
17365         * include/signal.h (__sigemptyset): Likewise.
17366         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17368 2014-02-07  Allan McRae  <allan@archlinux.org>
17370         * version.h (RELEASE): Set to "development".
17371         (VERSION): Set to "2.19.90"
17372         * NEWS: Add 2.20 section.
17374 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17376         [BZ #16529]
17377         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17379 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17381         * manual/contrib.texi: Update entry for Carlos O'Donell,
17382         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17384 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17386         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17388         * sysdeps/unix/sysv/linux/kernel-features.h
17389         [__LINUX_KERNEL_VERSION >= 0x020621]
17390         (__ASSUME_PROC_PID_TASK_COMM): Define.
17392 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17394         [BZ #16398]
17395         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17396         conversion when destination buffer does not have enough space.
17397         * libio/tst-ftell-partial-wide.c: New test case.
17398         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17400         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17401         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17402         Leonard and Allan McRae.
17404 2014-02-04  David S. Miller  <davem@davemloft.net>
17406         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17407         32-bit.
17409 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17412         New file
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17414         New file
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17416         New file.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17418         New file.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17420         New file.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17422         New file.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17424         New file.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17426         New file.
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17428         New file.
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17430         New file.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17432         New file.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17434         New file.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17436         New file.
17438 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17440         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17441         * shlib-versions: Likewise.
17443 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17446         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17447         (abilist-pattern): New variable, set to %-le.abilist.
17449         * Makerules (abilist-pattern): New variable.
17450         (vpath): Use $(abilist-pattern) in place of %.abilist.
17451         (check-abi-% pattern rule): Likewise.
17452         (check-abi, update-abi): Likewise.
17454 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17458 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17460         * manual/startup.texi: Add next, previous, and top entries for
17461         the `Program Arguments' and `Environment Variables' nodes.
17463 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17465         * manual/macros.texi: Add comments before MTASC-safety macros.
17467         * manual/users.texi: Document MTASC-safety properties.
17469         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17470         (pthread_getspecific, pthread_setspecific): Format with
17471         @deftypefun, and add @safety note.
17472         * manual/signal.texi: Move comments that analyze the above
17473         functions to their home place.
17475 2014-02-03  Allan McRae  <allan@archlinux.org>
17477         * po/sl.po: Update Slovenian translation from translation project.
17479 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17481         * manual/time.texi (timegm): Add missing blank after @c.
17482         Reported by Joseph Myers <joseph@codesourcery.com>.
17484 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17486         * manual/check-safety.sh: New.
17487         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17489         * manual/terminal.texi: Document MTASC-safety properties.
17491         * manual/filesys.texi: Document MTASC-safety properties.
17493         * manual/errno.texi: Document MTASC-safety properties.
17495         * manual/intro.texi: Document safety identifiers and
17496         conditionals.
17498         * manual/string.texi (wcstok): Fix prototype.
17499         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17501         * manual/time.texi: Document MTASC-safety properties.
17503         * manual/string.texi: Document MTASC-safety properties.
17505         * manual/threads.texi: Document MTASC-safety properties.
17507         * manual/stdio.texi: Document MTASC-safety properties.
17509         * manual/syslog.texi: Document MTASC-safety properties.
17511         * manual/sysinfo.texi: Document MTASC-safety properties.
17513         * manual/startup.texi: Document MTASC-safety properties.
17515         * manual/socket.texi: Document MTASC-safety properties.
17517         * manual/signal.texi: Document MTASC-safety properties.
17519 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17521         * manual/setjmp.texi: Document MTASC-safety properties.
17523         * manual/search.texi: Document MTASC-safety properties.
17525         * manual/resource.texi: Document MTASC-safety properties.
17527         * manual/process.texi: Document MTASC-safety properties.
17529         * manual/platform.texi: Document MTASC-safety properties.
17531         * manual/pipe.texi: Document MTASC-safety properties.
17533         * manual/pattern.texi: Document MTASC-safety properties.
17535         * manual/message.texi: Document MTASC-safety properties.
17537         [BZ #12751]
17538         * manual/memory.texi: Document MTASC-safety properties.
17540         * manual/math.texi: Document MTASC-safety properties.
17542         * manual/locale.texi: Document MTASC-safety properties.
17544         * manual/llio.texi: Document MTASC-safety properties.
17546         * manual/libdl.texi: New.
17548         * manual/lang.texi: Document MTASC-safety properties.
17550         * manual/job.texi: Document MTASC-safety properties.
17552         * manual/getopt.texi: Document MTASC-safety properties.
17554         * manual/ctype.texi: Document MTASC-safety properties.
17556 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17558         [BZ #16046]
17559         * csu/libc-tls.c (static_map): Remove variable.
17560         (__libc_setup_tls): Use main executable's link map for TLS data.
17561         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17562         casing for LM_ID_BASE and GL(dl_nns).
17563         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17564         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17565         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17566         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17567         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17568         member.
17569         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17570         l_phnum members.
17572 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17574         * manual/debug.texi: Document MTASC-safety properties.
17576 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17578         [BZ #16510]
17579         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17580         of __x86_64__ when disabling x87 inline functions.
17582 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17584         * manual/charset.texi: Document MTASC-safety properties.
17586         * manual/crypt.texi: Document MTASC-safety properties.
17588         * manual/conf.texi: Document MTASC-safety properties.
17590         * manual/arith.texi: Document MTASC-safety properties.
17592         * manual/argp.texi: Document MTASC-safety properties.
17594         * manual/macros.texi: Introduce macros to document multi
17595         thread, asynchronous signal and asynchronous cancellation
17596         safety properties.
17597         * manual/intro.texi: Introduce the properties themselves.
17599 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17601         * sysdeps/sh/sh4/Makefile: New file.
17603 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17605         * math/gen-libm-test.pl ($srcdir): New variable.
17606         ($auto_input): Use it.
17608 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17610         [BZ #16506]
17611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17612         access beyond array bounds when parsing netgroups file.
17614         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17615         the old buffer before realloc.
17617 2014-01-27  Allan McRae  <allan@archlinux.org>
17619         * po/fr.po: Update French translation from translation project.
17621 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17623         * sysdeps/sh/libm-test-ulps: Regenerate.
17625 2014-01-24  David S. Miller  <davem@davemloft.net>
17627         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17629 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17631         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17632         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17634 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17636         [BZ #16474]
17637         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17638         string pointers after reallocation.
17640 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17643         __SH4A__ instead of __SH_FPU_ANY__.
17645 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17647         * sysdeps/sh/fpu_control.h: New file.
17648         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17650         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17651         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17652         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17653         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17654         * sysdeps/sh/sys/ucontext.h: Remove.
17655         * sysdeps/sh/sys: Remove directory.
17657 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17660         s390/sys/ucontext.h.
17661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17664 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17666         [BZ #15605]
17667         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17669 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17671         [BZ#16431]
17672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17673         Adjust the vDSO correctly for internal calls.
17674         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17676 2014-01-20  Allan McRae  <allan@archlinux.org>
17678         * po/ca.po: Update Catalan translation from translation project.
17680 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17682         * sysdeps/s390/sotruss-lib.c: New file.
17684 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17686         [BZ#16430]
17687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17688         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17689         local calls issues by not having a PLT stub required for IFUNC calls.
17690         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17692 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17694         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17695         * math/test-fpucw-static.c: Likewise.
17697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17699         [BZ #16453]
17700         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17702 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17704         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17705         implementation for powerpc.
17707 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17709         [BZ #14782]
17710         * sysdeps/posix/system.c (__libc_system): Do not enable
17711         asynchronous cancellation.
17713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17715         [BZ #16427]
17716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17717         handling only for numbers special also in the IEEE case.
17719 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17723 2014-01-11  Allan McRae  <allan@archlinux.org>
17725         * po/bg.po: Update Bulgarian translation from translation project.
17727         * po/de.po: Update German translation from translation project.
17729 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17731         * sysdeps/generic/gcc-compat.h: New file.
17733 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17735         * benchtests/asin-inputs: Correct slow inputs.
17736         * benchtests/acos-inputs: Likewise.
17738 2014-01-10  Allan McRae  <allan@archlinux.org>
17740         * po:sv.po: Update Swedish translation from translation project.
17742         * po/vi.po: Update Vietnamese translation from translation project.
17744         * po/eo.po: Update Esperanto translation from translation project.
17746         * po/cs.po: Update Czech translation from translation project.
17748         * po/nl.po: Update Dutch translation from translation project.
17750         * po/pl.po: Update Polish translation from translation project.
17752         * po/ru.po: Update Russian translation from translation project.
17754         * po/uk.po: Update Ukrainian translation from translation project.
17756 2014-01-08  Brooks Moses  <bmoses@google.com>
17758         * elf/dl-load.c: Fix comment typo.
17760 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17762         * po/header.pot: Rename to...
17763         * po/pot.header: ... this.
17764         * po/Makefile: Use pot.header.
17766 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17767             Maxim Kuvyrkov  <maxim@kugelworks.com>
17769         [BZ #16394]
17770         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17771         SRC and DEST against LEN.
17773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17775         [BZ #16414]
17776         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17777         implementation.
17778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17780 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17784 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17786         [BZ #16408]
17787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17788         for large positive arguments.
17790 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17794         * math/auto-libm-test-in: Mark various tests with
17795         xfail-rounding:ldbl-128ibm.
17796         * math/auto-libm-test-out: Regenerated.
17798         [BZ #16407]
17799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17800         Increase overflow threshold.
17802 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17804         [BZ #14286]
17805         * stdio-common/vfprintf.c: Check for integer overflow.
17807 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17809         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17810         the first argument and return value of __tls_get_addr_internal.
17812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17814         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17815         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17819         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17820         * sysdeps/s390/rtld-global-offsets.sym: New file.
17821         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17822         GLIBC_2.19 symbol.
17823         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17826         ... this.
17827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17829         ... this.
17830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17831         Regenerate.
17832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17833         Regenerate.
17834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17835         halfs of GPRs for high_gprs contexts.
17836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17837         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17838         field.
17839         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17840         uc_flags field.
17841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17842         64 bit versions:
17843         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17844         for high GPRs (uc_high_gprs) and for future extensions
17845         (__reserved).
17846         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17847         for future extensions (__reserved).
17848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17849         64 bit versions:
17850         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17851         SC_HIGHGPRS offset definition.
17852         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17853         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17855         * Versions.def: Add GLIBC_2.19 for libpthread.
17856         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17857         siglongjmp for libpthread with GLIBC_2.19 symver.
17858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17859         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17860         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17861         * sysdeps/s390/__longjmp.c: New file.
17862         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17863         * sysdeps/s390/longjmp.c: New file.
17864         * sysdeps/s390/setjmp.S: New file.
17865         * sysdeps/s390/sigjmp.S: New file.
17866         * sysdeps/s390/v1-longjmp.c: New file.
17867         * sysdeps/s390/v1-setjmp.h: New file.
17868         * sysdeps/s390/v1-sigjmp.c: New file.
17869         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17870         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17871         GLIBC_2.19 version.
17872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17873         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17874         versioned symbols for ____longjmp_chk.
17875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17876         Likewise.
17877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17878         Regenerate.
17879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17880         Regenerate.
17881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17882         Regenerate.
17883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17884         Regenerate.
17885         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17886         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17887         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17888         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17889         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17890         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17891         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17892         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17893         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17894         * sysdeps/s390/rtld-__longjmp.c: New file.
17895         * sysdeps/s390/rtld-setjmp.S: New file.
17897 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17899         [BZ #16400]
17900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17901         Return -__logl (x) for small positive arguments without evaluating
17902         a polynomial.
17904 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17906         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17907         Rename to ...
17908         (__ptrace_peeksiginfo_args): ... this.
17909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17913 2014-01-06  Allan McRae  <allan@archlinux.org>
17915         * inet/netinet/in.h: Fix typo in comment.
17917 2014-01-05  Andreas Jaeger  <aj@suse.de>
17919         * sysdeps/i386/fpu/libm-test-ulps: Update.
17921 2014-01-05  Allan McRae  <allan@archlinux.org>
17923         * po/libc.pot: Regenerated.
17925         * malloc/memusagestat.c: Fix gettext call formatting.
17927 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17929         * nscd/nscd.c: Improve usage() output.
17931 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17933         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17934         * sysdeps/unix/sysv/linux/configure: Regenerated.
17935         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17938 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17940         [BZ #16390]
17941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17942         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17944 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17947         extra tokens at end of #undef directive.
17948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17952 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17956         * math/auto-libm-test-in: Mark various tests with
17957         xfail-rounding:ldbl-128ibm.
17958         * math/auto-libm-test-out: Regenerated.
17960 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17962         [BZ #16386]
17963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17964         numbers with subnormal high part when calculating exponent.
17966         [BZ #16385]
17967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17968         fabs.
17970         [BZ #16384]
17971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17972         M_LN2l.
17973         (__ieee754_acoshl): Use __log1pl not __log1p.
17975 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17977         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17978         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17979         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17980         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17981         (reused_arena, arena_get2): Convert to GNU style.
17982         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17983         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17984         (memalign_check, __malloc_set_state): Likewise.
17985         * malloc/mallocbug.c (main): Likewise.
17986         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17987         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17988         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17989         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17990         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17991         (__posix_memalign, malloc_info): Likewise.
17992         * malloc/malloc.h: Likewise.
17993         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17994         (mallochook, memalignhook, reallochook, mabort): Likewise.
17995         * malloc/mcheck.h: Likewise.
17996         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17997         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17998         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17999         * malloc/morecore.c (__default_morecore): Likewise.
18000         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18001         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18002         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18003         (print_and_abort): Likewise.
18004         * malloc/obstack.h: Likewise.
18005         * malloc/set-freeres.c (__libc_freeres): Likewise.
18006         * malloc/tst-mallocstate.c (main): Likewise.
18007         * malloc/tst-mtrace.c (main): Likewise.
18008         * malloc/tst-realloc.c (do_test): Likewise.
18010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18012         [BZ #16366]
18013         * nscd/netgroupcache.c (do_notfound): New function.
18014         (addgetnetgrentX): Use it.
18016         [BZ # 16365]
18017         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18018         NSS_STATUS_NOTFOUND.
18020 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025 2014-01-01  Allan McRae  <allan@archlinux.org>
18027         * scripts/update-copyrights: Update configure input file suffix.
18029         * NEWS: Update copyright year.
18030         * catgets/gencat.c: Likewise.
18031         * csu/version.c: Likewise.
18032         * debug/catchsegv.sh: Likewise.
18033         * debug/pcprofiledump.c: Likewise.
18034         * debug/xtrace.sh: Likewise.
18035         * elf/ldconfig.c: Likewise.
18036         * elf/ldd.bash.in: Likewise.
18037         * elf/pldd.c: Likewise.
18038         * elf/sotruss.ksh: Likewise.
18039         * elf/sprof.c: Likewise.
18040         * iconv/iconv_prog.c: Likewise.
18041         * iconv/iconvconfig.c: Likewise.
18042         * locale/programs/locale.c: Likewise.
18043         * locale/programs/localedef.c: Likewise.
18044         * login/programs/pt_chown.c: Likewise.
18045         * malloc/memusage.sh: Likewise.
18046         * malloc/memusagestat.c: Likewise.
18047         * malloc/mtrace.pl: Likewise.
18048         * manual/libc.texinfo: Likewise.
18049         * nscd/nscd.c: Likewise.
18050         * nss/getent.c: Likewise.
18051         * nss/makedb.c: Likewise.
18052         * posix/getconf.c: Likewise.
18053         * scripts/test-installation.pl: Likewise.
18055         * All files with FSF copyright notices: Update copyright dates
18056         using scripts/update-copyrights.
18057         * intl/plural.c: Regenerated.
18058         * locale/programs/charmap-kw.h: Likewise.
18059         * locale/programs/locfile-kw.h: Likewise.
18061 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18063         * sysdeps/unix/sysv/linux/configure: Regenerated.
18064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18065         the linux/fanotify.h header.
18066         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18067         HAVE_LINUX_FANOTIFY_H is defined.
18069 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18071         * benchtests/cos-inputs: New inputs.
18072         * benchtests/sin-inputs: Likewise.
18074         * benchtests/atan-inputs: New inputs. Fix name of multiple
18075         precision fallback inputs.
18077         * benchtests/atanh-inputs: New inputs.
18078         * benchtests/tanh-inputs: Likewise.
18080         * benchtests/acosh-inputs: New inputs.
18081         * benchtests/asinh-inputs: Likewise.
18083         * benchtests/cosh-inputs: New inputs.
18084         * benchtests/sinh-inputs: Likewise.
18086         * benchtests/acos-inputs: Add more inputs.
18087         * benchtests/asin-inputs: Likewise.
18089 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18091         [BZ #16375]
18092         * manual/arith.texi: Fix spelling.
18093         * manual/charset.texi: Likewise.
18094         * manual/errno.texi: Likewise.
18095         * manual/filesys.texi: Likewise.
18096         * manual/lang.texi: Likewise.
18097         * manual/llio.texi: Likewise.
18098         * manual/locale.texi: Likewise.
18099         * manual/message.texi: Likewise.
18100         * manual/resource.texi: Likewise.
18101         * manual/search.texi: Likewise.
18102         * manual/setjmp.texi: Likewise.
18103         * manual/stdio.texi: Likewise.
18104         * manual/string.texi: Likewise.
18105         * manual/sysinfo.texi: Likewise.
18106         * manual/time.texi: Likewise.
18108 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18110         * po/sl.po: New file.
18112 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18114         * .gitignore: Add core/.gdbinit/.gdb_history.
18116 2013-12-27  Allan McRae  <allan@archlinux.org>
18118         [BZ #16369]
18119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18120         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18122 2013-12-24  Brooks Moses  <bmoses@google.com>
18124         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18125         all compilers that claim C++98 compliance, not just GCC.
18126         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18127         Likewise.
18129 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18131         * NEWS: Restore accidentally deleted bug-fix entries.
18133 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18134             Ondřej Bílka  <neleai@seznam.cz>
18136         [BZ #15073]
18137         * malloc/malloc.c (_int_free): Perform sanity check only if we
18138         have_lock.
18140 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18142         [BZ #12986]
18143         * manual/stdio.texi (String Input Conversions): Clarify that character
18144         classes are not supported.
18146 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18150 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18152         [BZ #16337]
18153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18154         Calculate results for small negative arguments directly rather
18155         than using reflection formula with special underflow handling.
18157         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18158         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18159         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18160         (fchflags): Likewise.
18161         (revoke): Likewise.
18162         (setlogin): Likewise.
18163         (sigaltstack): Likewise.
18164         (wait4): Likewise.
18165         (sigblock): Remove.
18166         (sigsetmask): Likewise.
18167         (wait3): Likewise.
18168         (waitpid): Likewise.
18169         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18170         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18171         file.
18172         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18173         * sysdeps/unix/bsd/Makefile: ... here.
18174         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18175         * sysdeps/unix/bsd/Versions: ... here.
18176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18177         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18178         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18179         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18180         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18181         * sysdeps/unix/bsd/sigblock.c: ... here.
18182         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18183         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18184         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18185         * sysdeps/unix/bsd/sigvec.c: ... here.
18186         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18187         * sysdeps/unix/bsd/tcdrain.c: ... here.
18188         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18189         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18190         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18191         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18192         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18193         * sysdeps/unix/bsd/wait.c: ... here.
18194         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18195         * sysdeps/unix/bsd/wait3.c: ... here.
18196         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18197         * sysdeps/unix/bsd/waitpid.c: ... here.
18199 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18201         [BZ #16356]
18202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18203         round-to-nearest for [!USE_AS_EXPM1L].
18204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18205         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18206         more tests of exp and exp10.  Expect some exp10 tests to miss
18207         exceptions or fail in directed rounding modes.
18208         * math/auto-libm-test-out: Regenerated.
18209         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18210         (exp10_test_tonearest): New function.
18211         (exp10_towardzero_test_data): New array.
18212         (exp10_test_towardzero): New function.
18213         (exp10_downward_test_data): New array.
18214         (exp10_test_downward): New function.
18215         (exp10_upward_test_data): New array.
18216         (exp10_test_upward): New function.
18217         (main): Call the new functions.
18218         * sysdeps/i386/fpu/libm-test-ulps: Update.
18219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18221 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18224         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18225         * math/auto-libm-test-out: Regenerated.
18226         * math/libm-test.inc (acosh_test_data): Add more tests.
18227         (atanh_test_data): Likewise.
18228         (ceil_test_data): Likewise.
18229         (copysign_test_data): Likewise.
18230         * sysdeps/i386/fpu/libm-test-ulps: Update.
18231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18233         * timezone/checktab.awk: Update from tzcode 2013i.
18234         * timezone/private.h: Likewise.
18235         * timezone/scheck.c: Likewise.
18236         * timezone/tzfile.h: Likewise.
18237         * timezone/tzselect.ksh: Likewise.
18238         * timezone/zdump.c: Likewise.
18239         * timezone/zic.c: Likewise.
18241         * math/auto-libm-test-in: Add tests of cpow.
18242         * math/auto-libm-test-out: Regenerated.
18243         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18245         mpc_cc_c.
18246         (func_calc_desc): Add mpc_cc_c union field.
18247         (test_functions): Add cpow.
18248         (special_fill_2pi): New function.
18249         (special_real_inputs): Add 2pi.
18250         (calc_generic_results): Handle mpc_cc_c.
18251         * sysdeps/i386/fpu/libm-test-ulps: Update.
18252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18254         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18255         csqrt, ctan and ctanh.
18256         * math/auto-libm-test-out: Regenerated.
18257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18258         (TEST_COND_x86): Likewise.
18259         (ccos_test_data): Use AUTO_TESTS_c_c.
18260         (ccosh_test_data): Likewise.
18261         (cexp_test_data): Likewise.
18262         (clog_test_data): Likewise.
18263         (csqrt_test_data): Likewise.
18264         (ctan_test_data): Likewise.
18265         (ctan_tonearest_test_data): Likewise.
18266         (ctan_towardzero_test_data): Likewise.
18267         (ctan_downward_test_data): Likewise.
18268         (ctan_upward_test_data): Likewise.
18269         (ctanh_test_data): Likewise.
18270         (ctanh_tonearest_test_data): Likewise.
18271         (ctanh_towardzero_test_data): Likewise.
18272         (ctanh_downward_test_data): Likewise.
18273         (ctanh_upward_test_data): Likewise.
18274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18275         mpc_c_c.
18276         (func_calc_desc): Add mpc_c_c union field.
18277         (FUNC_mpc_c_c): New macro.
18278         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18279         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18280         ctanh.
18281         (special_fill_min_subnorm_p120): New function.
18282         (special_real_inputs): Add min_subnorm_p120.
18283         (calc_generic_results): Handle mpc_c_c.
18284         * sysdeps/i386/fpu/libm-test-ulps: Update.
18285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18287 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18290         (do_sin_slow): New functions.
18291         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18292         (cslow2, csloww1, csloww2): Use the new functions.
18294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18295         Use M to change sign of result instead of X.  Assume X is
18296         positive.
18297         (csloww1): Likewise.
18298         (__sin): Adjust.
18299         (__cos): Adjust.
18301         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18302         arguments A and DA.
18303         (__sin): Adjust.
18304         (__cos): Likewise.
18306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18307         (__cos): Likewise.
18308         (sloww1): Don't adjust sign of DX.
18309         (csloww1): Likewise.
18310         (sloww2): Use X directly and don't adjust sign of DX.
18311         (csloww2): Likewise.
18313 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18315         * math/auto-libm-test-in: Add tests of cabs and carg.
18316         * math/auto-libm-test-out: Regenerated.
18317         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18318         (carg_test_data): Likewise.
18319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18320         mpc_c_f.
18321         (func_calc_desc): Add mpc_c_f union field.
18322         (test_functions): Add cabs and carg.
18323         (calc_generic_results): Handle mpc_c_f.
18325         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18326         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18327         as a macro and a compat symbol.
18328         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18330         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18331         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18332         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18334         not use .hidden.
18335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18336         Likewise.
18337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18338         Likewise.
18339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18340         Likewise.
18341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18342         Likewise.
18343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18344         Likewise.
18345         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18346         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18347         from GLIBC_2.3.2.
18349 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18355         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18356         trailing whitespace removed.
18357         * scripts/config.guess: Update to version 2013-11-29.
18358         * scripts/config.sub: Update to version 2013-10-01.
18360         * math/auto-libm-test-in: Add tests of sincos.
18361         * math/auto-libm-test-out: Regenerated.
18362         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18364         mpfr_f_11.
18365         (func_calc_desc): Add mpfr_f_11 union field.
18366         (test_functions): Add sincos.
18367         (calc_generic_results): Handle mpfr_f_11.
18368         * sysdeps/i386/fpu/libm-test-ulps: Update.
18369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371 2013-12-19  Andreas Schwab  <schwab@suse.de>
18373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18374         CALL_MCOUNT.
18375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18377         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18381         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18382         * sysdeps/i386/fpu/libm-test-ulps: Update.
18383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18385         [BZ #16293]
18386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18387         round-to-nearest mode when using frndint.
18388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18391         Likewise.
18392         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18393         sinh test to fail.
18394         * math/auto-libm-test-out: Regenerated.
18395         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18396         (TEST_COND_x86): Likewise.
18397         (expm1_tonearest_test_data): New array.
18398         (expm1_test_tonearest): New function.
18399         (expm1_towardzero_test_data): New array.
18400         (expm1_test_towardzero): New function.
18401         (expm1_downward_test_data): New array.
18402         (expm1_test_downward): New function.
18403         (expm1_upward_test_data): New array.
18404         (expm1_test_upward): New function.
18405         (main): Run the new test functions.
18406         * sysdeps/i386/fpu/libm-test-ulps: Update.
18407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18409         * include/features.h: Update comment documenting feature test
18410         macros.  Mention _DEFAULT_SOURCE in comment.
18411         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18412         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18413         _BSD_SOURCE and _SVID_SOURCE.
18414         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18415         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18416         !_SVID_SOURCE]: Likewise.
18417         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18418         (__USE_POSIX_IMPLICITLY): Define.
18419         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18420         (_POSIX_SOURCE): Undefine and redefine.
18421         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18422         (_POSIX_C_SOURCE): Likewise.
18423         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18424         (Feature Test Macros): Update documentation of default features.
18426 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18428         * benchtests/Makefile: Add bench-strtok.
18429         * benchtests/bench-strtok.c: New file: strtok benchtest.
18431 2013-12-19  Allan McRae  <allan@archlinux.org>
18433         * manual/install.texi: Suppress menu for plain text output.
18434         * INSTALL: Regenerated.
18436 2013-12-18  Brooks Moses  <bmoses@google.com>
18438         [BZ #15846]
18439         * misc/getauxval.c: Include errno.h.
18440         (__getauxval): Set errno to ENOENT if the requested type is not
18441         found.
18442         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18443         don't declare with __attribute_const__.
18444         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18445         * manual/startup.texi: Document that getauxval sets errno.
18447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18449         * math/auto-libm-test-in: Add tests of jn and yn.
18450         * math/auto-libm-test-out: Regenerated.
18451         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18452         (yn_test_data): Likewise.
18453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18454         mpfr_if_f.
18455         (func_calc_desc): Add mpfr_if_f union field.
18456         (FUNC_mpfr_if_f): New macro.
18457         (test_functions): Add jn and yn.
18458         (calc_generic_results): Assert type of second input for
18459         mpfr_ff_f.  Handle mpfr_if_f.
18460         (output_for_one_input_case): Disable all checking for arguments
18461         fitting floating-point types in case of an integer argument.
18462         * sysdeps/i386/fpu/libm-test-ulps: Update.
18463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18466         Don't expect fegetround reference in libm.so.
18468 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18470         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18471         $(config-cflags-nofma).
18473 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18475         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18476         * math/auto-libm-test-out: Regenerated.
18478         [BZ #16338]
18479         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18480         to determine exponent and adjust argument to have exponent of -1.
18481         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18482         log2.
18483         * math/auto-libm-test-out: Regenerated.
18484         * sysdeps/i386/fpu/libm-test-ulps: Update.
18485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18487 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18489         * manual/probes.texi: Remove cases when per-thread arenas are
18490         disabled.
18492 2013-12-18  Andreas Schwab  <schwab@suse.de>
18494         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18495         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18496         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18498         * sysdeps/i386/i686/multiarch/Makefile: Update.
18499         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18501 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18503         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18504         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18506 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18508         [BZ #15968]
18509         Support TZ transition times < 00:00:00.
18510         This is needed for version-3 tz-format files; it supports time
18511         stamps past 2037 for America/Godthab (the only entry in the tz
18512         database for which this change is relevant).
18513         * manual/time.texi (TZ Variable): Document transition times
18514         from -167:59:59 through -00:00:01.
18515         * time/tzset.c (tz_rule): Time of day is now signed.
18516         (__tzset_parse_tz): Parse negative time of day.
18518         Document TZ transition times >= 25:00:00.
18519         * manual/time.texi (TZ Variable): Document transition times from
18520         25:00:00 through 167:59:59.  These are already supported, and this
18521         support will help with version-3 tz-format files.
18523         * manual/time.texi (TZ Variable): Modernize North America example
18524         to reflect current (i.e., 2007-and-later) daylight saving rules.
18526         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18530         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18531         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18534         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18535         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18536         * sysdeps/unix/bsd/clock.c: Likewise.
18537         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18538         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18539         * sysdeps/unix/bsd/init-posix.c: Likewise.
18540         * sysdeps/unix/bsd/poll.c: Likewise.
18541         * sysdeps/unix/bsd/ptsname.c: Likewise.
18542         * sysdeps/unix/bsd/seekdir.c: Likewise.
18543         * sysdeps/unix/bsd/setegid.c: Likewise.
18544         * sysdeps/unix/bsd/seteuid.c: Likewise.
18545         * sysdeps/unix/bsd/setgid.c: Likewise.
18546         * sysdeps/unix/bsd/setrgid.c: Likewise.
18547         * sysdeps/unix/bsd/setruid.c: Likewise.
18548         * sysdeps/unix/bsd/setsid.c: Likewise.
18549         * sysdeps/unix/bsd/setuid.c: Likewise.
18550         * sysdeps/unix/bsd/sigaction.c: Likewise.
18551         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18552         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18553         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18554         * sysdeps/unix/bsd/telldir.c: Likewise.
18555         * sysdeps/unix/bsd/times.c: Likewise.
18556         * sysdeps/unix/bsd/usleep.c: Likewise.
18558         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18559         ($(objpfx)libbsd-compat.a): Remove rule.
18561         * include/features.h (__FAVOR_BSD): Do not define.
18562         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18563         features conflicting with POSIX.
18564         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18565         (_BSD_SOURCE): Remove description of not being a subset of other
18566         feature test macros.
18567         * manual/job.texi (getpgrp): Do not document BSD version.
18568         (getpgid): Do not document by reference to BSD getpgrp.
18569         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18570         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18571         * signal/signal.h [__FAVOR_BSD]: Likewise.
18572         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18573         instead of making contents conditional on [__FAVOR_BSD].
18574         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18576 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18582         [BZ #16314]
18583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18584         values below 2**-450, not 2**-500.
18585         * math/auto-libm-test-in: Don't allow spurious underflow from
18586         hypot.
18587         * math/auto-libm-test-out: Regenerated.
18589         [BZ #16316]
18590         [BZ #16330]
18591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18592         values of ha and hb and sort them after adjusting subnormal
18593         arguments.
18594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18595         Likewise.
18596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18597         values of ea and eb and sort them after adjusting subnormal
18598         arguments.
18599         * math/auto-libm-test-in: Do not expect some hypot tests of
18600         subnormals to fail.  Add more hypot tests.
18601         * math/auto-libm-test-out: Regenerated.
18603 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18605         [BZ #13304]
18606         * sysdeps/sh/s_fma.c: New file.
18607         * sysdeps/sh/s_fmaf.c: New file.
18608         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18609         version.
18610         * sysdeps/sh/Implies: Add sh/soft-fp.
18612 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18614         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18615         level of indirection to members `objname', `errstring', `malloced'.
18616         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18617         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18618         it as the __longjmp argument (just pass 1 instead).
18619         (_dl_catch_error): Initialize C with argument pointers and address of
18620         volatile local ERRCODE rather than copying values out of C at return.
18622 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18624         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18625         * math/auto-libm-test-out: Regenerated.
18626         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18627         (hypot_test_data): Likewise.
18628         (pow_test_data): Likewise.
18629         (pow_tonearest_test_data): Likewise.
18630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18631         mpfr_ff_f.
18632         (func_calc_desc): Add mpfr_ff_f union field.
18633         (FUNC_mpfr_ff_f): New macro.
18634         (test_functions): Add atan2, hypot and pow.
18635         (special_fill_min): New function.
18636         (special_fill_minus_min): Likewise.
18637         (special_fill_min_subnorm): Likewise.
18638         (special_fill_minus_min_subnorm): Likewise.
18639         (special_real_inputs): Add min, -min, min_subnorm and
18640         -min_subnorm.
18641         (calc_generic_results): Handle mpfr_ff_f.
18642         * sysdeps/i386/fpu/libm-test-ulps: Update.
18643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18645 2013-12-16  Will Newton  <will.newton@linaro.org>
18647         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18648         (Aligned Memory Blocks): Add documentation for aligned_alloc
18649         and suggest it as an alternative to posix_memalign.
18650         (Hooks for Malloc): Document __memalign_hook is also called
18651         for aligned_alloc.  (Summary of Malloc): Add summary for
18652         aligned alloc.  Document __memalign_hook is also called
18653         for aligned_alloc.
18655 2013-12-16  Will Newton  <will.newton@linaro.org>
18657         * manual/memory.texi (Malloc Examples): Clarify default
18658         alignment documentation.  Suggest posix_memalign rather
18659         than memalign or valloc.
18660         (Aligned Memory Blocks): Remove suggestion to use memalign
18661         or valloc.  Remove obsolete comment about BSD.
18662         Document memalign errno values and mark the function obsolete.
18663         Document posix_memalign returned error codes.  Mark valloc
18664         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18665         called for posix_memalign and valloc.
18666         (Summary of Malloc): Add posix_memalign to function summary.
18667         __memalign_hook is also called for posix_memalign and valloc.
18669 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18671         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18672         TAYLOR_SIN.
18673         (__sin): Adjust.
18674         (__cos): Likewise.
18675         (sloww): Use mynumber union.  Expand ternary operator into
18676         if-else statements.
18677         (cslow): use mynumber union.
18679 2013-12-16  Allan McRae  <allan@archlinux.org>
18681         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18682         * configure: Regenerated.
18684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18686         [BZ #14120]
18687         * configure.ac: Added --enable-maintainer-mode. Check for
18688         autoconf when enabled.
18689         * configure: Regenerated.
18691         * nscd/nscd.service: New file.
18692         * nscd/nscd.tmpfiles: New file.
18694 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18696         [BZ #12100]
18697         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18698         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18699         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18700         (strstr): Add __strstr_sse2_unaligned ifunc.
18701         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18702         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18703         (strcasestr): Remove __strcasestr_sse42 ifunc.
18704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18708 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18710         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18711         * sysdeps/sh/bits/fenv.h: ... here.
18712         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18714 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18716         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18719         hypotf multiarch implementations.
18720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18723         multiarch hypot for PPC64.
18724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18727         multiarch hypotf for PPC64.
18729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18730         modff multiarch implementations.
18731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18734         multiarch modf for PPC64.
18735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18738         multiarch modff for PPC64.
18740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18741         and logl multiarch implementations.
18742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18745         multiarch logb for PPC64.
18746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18749         multiarch logb for PPC64.
18750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18753         multiarch logb for PPC64.
18755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18756         isinff multiarch implementation.
18757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18758         file.
18759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18761         multiarch isinf for PPC64.
18762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18763         file.
18764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18765         multiarch isinff for PPC64.
18767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18768         finitef multiarch implementation.
18769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18770         file.
18771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18773         multiarch finite for PPC64.
18774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18775         file.
18776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18777         multiarch finitef for PPC64.
18779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18780         lrint multiarch implementation.
18781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18782         file.
18783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18785         multiarch llrint for PPC64.
18786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18787         multiarch lrint for PPC64.
18789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18790         copysignf multiarch implementation.
18791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18792         file.
18793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18794         file.
18795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18796         multiarch copysign for PPC64.
18797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18798         multiarch copysignf for PPC64.
18800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18801         multiarch implementation.
18802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18803         file.
18804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18805         file.
18806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18807         file.
18808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18809         file.
18810         multiarch llround for PPC64.
18811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18812         multiarch trunc for PPC64.
18813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18814         multiarch truncf for PPC64.
18816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18817         multiarch implementation.
18818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18819         file.
18820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18821         file.
18822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18823         file.
18824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18825         file.
18826         multiarch llround for PPC64.
18827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18828         multiarch round for PPC64.
18829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18830         multiarch roundf for PPC64.
18832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18833         multiarch implementation.
18834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18835         file.
18836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18837         file.
18838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18839         file.
18840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18841         file.
18842         multiarch llround for PPC64.
18843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18844         multiarch floor for PPC64.
18845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18846         multiarch floorf for PPC64.
18848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18849         multiarch implementation.
18850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18851         file.
18852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18853         file.
18854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18855         file.
18856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18857         file.
18858         multiarch llround for PPC64.
18859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18860         multiarch ceil for PPC64.
18861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18862         multiarch ceilf for PPC64.
18864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18865         multiarch implementation.
18866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18867         file.
18868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18869         file.
18870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18871         file.
18872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18873         multiarch llround for PPC64.
18874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18875         multiarch lround for PPC64.
18877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18878         multiarch implementation.
18879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18882         file.
18883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18886         multiarch isnan for PPC64.
18887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18888         multiarch isnanf for PPC64.
18890         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18891         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18892         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18894         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18897         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18903         multiarch implementations.
18904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18905         (__libc_ifunc_impl_list): Likewise.
18906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18909         multiarch stpcpy for PPC64.
18911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18912         multiarch implementations.
18913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18914         (__libc_ifunc_impl_list): Likewise.
18915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18916         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18917         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18918         multiarch strcpy for PPC64.
18920         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18921         redefine function name.
18922         (_wordcopy_fwd_dest_aligned): Likewise.
18923         (_wordcopy_bwd_aligned): Likewise.
18924         (_wordcopy_bwd_dest_aligned): Likewise.
18925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18926         multiarch implementations.
18927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18928         (__libc_ifunc_impl_list): Likewise.
18929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18933         multiarch wcscpy for PPC64.
18935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18936         multiarch implementations.
18937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18938         (__libc_ifunc_impl_list): Likewise.
18939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18943         multiarch wcscpy for PPC64.
18945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18946         multiarch implementations.
18947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18948         (__libc_ifunc_impl_list): Likewise.
18949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18952         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18953         multiarch wcsrchr for PPC64.
18955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18956         multiarch implementations.
18957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18958         (__libc_ifunc_impl_list): Likewise.
18959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18961         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18963         multiarch wcschr for PPC64.
18965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18966         multiarch implementations.
18967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18968         (__libc_ifunc_impl_list): Likewise.
18969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18971         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18972         multiarch strchrnul for PPC64.
18974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18975         implementations.
18976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18977         (__libc_ifunc_impl_list): Likewise.
18978         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18979         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18980         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18981         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18982         strchr for PPC64.
18984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18985         implementations.
18986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18987         (__libc_ifunc_impl_list): Likewise.
18988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18992         strncmp for PPC64.
18994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18995         multiarch implementations.
18996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18997         (__libc_ifunc_impl_list): Likewise.
18998         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18999         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19000         strncasecmp for PPC64.
19001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19003         multiarch strncasecmp_l for PPC64.
19005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19006         multiarch implementations.
19007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19008         (__libc_ifunc_impl_list): Likewise.
19009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19011         multiarch strcasecmp for PPC64.
19012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19013         file.
19014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19015         multiarch strcasecmp_l for PPC64.
19017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19018         implementations.
19019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19020         (__libc_ifunc_impl_list): Likewise.
19021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19024         strnlen for PPC64.
19026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19027         implementations.
19028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19029         (__libc_ifunc_impl_list): Likewise.
19030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19031         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19032         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19033         strlen for PPC64.
19035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19036         implementations.
19037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19038         (__libc_ifunc_impl_list): Likewise.
19039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19041         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19042         rawmemrchr for PPC64.
19044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19045         implementation.
19046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19047         (__libc_ifunc_impl_list): Likewise.
19048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19049         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19051         memrchr for PPC64.
19053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19054         implementation.
19055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19056         (__libc_ifunc_impl_list): Likewise.
19057         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19058         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19060         memchr for PPC64.
19062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19063         implementation.
19064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19065         (__libc_ifunc_impl_list): Likewise.
19066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19069         mempcpy for PPC64.
19071         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19072         avoid cretion of __bzero symbol.
19073         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19074         Likewise.
19075         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19076         Likewise.
19077         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19078         Likewise.
19079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19080         multiarch implementations.
19081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19082         (__libc_ifunc_impl_list): Likewise.
19083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19085         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19086         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19087         bzero for PPC32.
19088         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19089         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19090         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19093         memset for PPC64.
19094         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19096         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19098         implementations.
19099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19100         (__libc_ifunc_impl_list): Likewise.
19101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19105         memcmp for PPC64.
19107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19108         multiarch for POWER/PPC64.
19109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19110         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19116         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19118         memcpy for PPC64.
19120         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19121         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19122         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19124         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19125         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19126         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19127         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19128         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19129         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19130         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19131         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19132         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19133         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19134         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19143 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19147 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19149         * benchtests/Makefile (bench): Add exp2 and log2.
19150         (LDLIBS-bench-exp2): Add -lm.
19151         (LDLIBS-bench-log2): Likewise.
19152         * benchtests/exp2-inputs: New inputs file.
19153         * benchtests/log2-inputs: New inputs file.
19154         * benchtests/log-inputs: Add new inputs.
19155         * benchtests/tan-inputs: Likewise.
19157 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19159         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19160         definition...
19161         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19162         (csloww2): ... from here.
19164         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19165         instead of structures.
19166         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19167         (POLYNOMIAL): Likewise.
19168         (TAYLOR_SLOW): Likewise.
19169         (__sin): Likewise.
19170         (__cos): Likewise.
19171         (slow1): Likewise.
19172         (slow2): Likewise.
19173         (sloww): Likewise.
19174         (sloww1); Likewise.
19175         (sloww2): Likewise.
19176         (bsloww1): Likewise.
19177         (bsloww2): Likewise.
19178         (cslow2): Likewise.
19179         (csloww): Likewise.
19180         (csloww1): Likewise.
19181         (csloww2): Likewise.
19183 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19185         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19186         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19187         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19188         * malloc/hooks.c (realloc_check): Likewise.
19190         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19191         * malloc/arena.c: Remove PER_THREAD conditional.
19192         [!PER_THREAD]: Remove code.
19193         (ptmalloc_unlock_all2): Likewise.
19194         (ptmalloc_init): Likewise.
19195         (_int_new_arena): Likewise.
19196         (arena_get2): Likewise.
19197         * malloc/hooks.c (__malloc_get_state): Likewise.
19198         (__malloc_set_state): Likewise.
19199         * malloc/malloc.c: Likewise.
19200         (struct malloc_state): Likewise.
19201         (struct malloc_par): Likewise.
19202         (__libc_realloc): Likewise.
19203         (__libc_mallopt): Likewise.
19205 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19209 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19211         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19212         macro to a function.  Check for zero perturb_byte.
19213         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19215         * malloc/malloc.c: (force_reg): Remove.
19216         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19217         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19218         force_reg by atomic_forced_read.
19219         * malloc/arena.c (ptmalloc_init): Likewise.
19220         * malloc/hooks.c (top_check): Likewise.
19222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19226 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19230 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19232         * math/auto-libm-test-in: Add tests of lgamma.
19233         * math/auto-libm-test-out: Regenerated.
19234         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19235         (M_LOG_2_SQRT_PIl): Likewise.
19236         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19238         mpfr_f_f1.
19239         (func_calc_desc): Add mpfr_f_f1 union field.
19240         (ARGS1): New macro.
19241         (ARGS2): Likewise.
19242         (ARGS3): Likewise.
19243         (ARGS4): Likewise.
19244         (RET1): Likewise.
19245         (RET2): Likewise.
19246         (CALC): Likewise.
19247         (FUNC): Likewise.
19248         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19249         (test_functions): Add lgamma.
19250         (calc_generic_results): Handle mpfr_f_f1.
19251         * sysdeps/i386/fpu/libm-test-ulps: Update.
19252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19256         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19257         __mpn_add_n for PowerPC64/POWER7.
19258         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19259         __mpn_sub_n for PowerPC64/POWER7.
19261         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19262         __mpn_addmul_1 for PowerPC64.
19263         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19264         __mpn_submul_1 for PowerPC64.
19265         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19266         for PowerPC64.
19267         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19268         for PowerPC64.
19270 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19272         [BZ #15089]
19273         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19277         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19279         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19280         add multiarch folders.
19281         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19282         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19283         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19284         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19285         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19286         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19287         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19288         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19289         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19290         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19291         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19300         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19302         New file.
19303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19304         New file.
19305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19306         multiarch __ieee754_hypot for PowerPC32.
19307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19308         New file.
19309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19310         New file.
19311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19312         multiarch __ieee754_hypotf for PowerPC32.
19314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19315         long_double_symbol only if __logbl is defined.
19316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19323         path for implementation.
19324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19327         logb, and logbl multiarch implementations for PowerPC32.
19328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19329         file.
19330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19331         file.
19332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19333         multiarch logb for PowerPC32.
19334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19335         file.
19336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19337         file.
19338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19339         multiarch logbf for PowerPC32.
19340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19342         file.
19343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19344         multiarch logbl implementation for PowerPC32.
19346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19347         and modff multiarch implementations.
19348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19349         New file.
19350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19351         New file.
19352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19353         multiarch modf for PowerPC32.
19354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19355         New file.
19356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19357         New file.
19358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19359         multiarch modff for PowerPC32.
19361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19362         and lrintf multiarch implementations.
19363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19364         New file.
19365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19366         New file.
19367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19368         multiarch lrint for PowerPC32.
19369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19370         file: multiarch lrintf for PowerPC32.
19372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19373         and lroundf multiarch implementations.
19374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19375         New file.
19376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19377         New file.
19378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19379         New file.
19380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19381         multiarch lround for PowerPC32.
19382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19383         file: multiarch lroundf for PowerPC32.
19385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19386         copysign and copysignf multiarch implementations.
19387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19388         New file.
19389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19390         New file.
19391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19392         file: multiarch copysign for PowerPC32.
19393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19394         file: multiarch copysignf for PowerPC32.
19396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19397         and truncf multiarch implementations.
19398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19399         New file.
19400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19401         file.
19402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19403         multiarch trunc for PowerPC32.
19404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19405         New file.
19406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19407         New file.
19408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19409         multiarch truncf for PowerPC32.
19411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19412         and roundf multiarch implementations.
19413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19414         New file.
19415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19416         file.
19417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19418         multiarch round for PowerPC32.
19419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19420         New file.
19421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19422         New file.
19423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19424         multiarch roundf for PowerPC32.
19426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19427         and floorf multiarch implementations.
19428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19429         New file.
19430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19431         file.
19432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19433         multiarch floor for PowerPC32.
19434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19435         New file.
19436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19437         New file.
19438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19439         multiarch floorf for PowerPC32.
19441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19442         and ceilf multiarch implementations.
19443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19444         New file.
19445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19446         file.
19447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19448         multiarch ceil for PowerPC32.
19449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19450         New file.
19451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19452         file.
19453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19454         multiarch ceilf for PowerPC32.
19456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19457         is defined.
19458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19459         FINITEF is defined.
19460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19461         and finitef multiarch implementations.
19462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19463         New file.
19464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19465         file.
19466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19467         multiarch finite for PowerPC32.
19468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19469         New file.
19470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19471         file: multiarch finitef for PowerPC32.
19473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19474         and isinff multiarch implementations.
19475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19476         file.
19477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19478         file.
19479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19480         multiarch isinf for PowerPC32.
19481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19482         New file.
19483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19484         multiarch isinff for PowerPC32.
19486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19487         alias when __isnan is defined.
19488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19489         and isnanf multiarch implementations.
19490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19491         file.
19492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19493         file.
19494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19495         file.
19496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19497         file.
19498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19499         multiarch isnan for PowerPC32.
19500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19501         New file.
19502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19503         New file.
19504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19505         multiarch isnanf for PowerPC32.
19507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19508         and sqrtf multiarch implementations.
19509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19510         file.
19511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19512         file.
19513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19514         multiarch sqrt for PowerPC32.
19515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19516         file.
19517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19518         file.
19519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19520         multiarch sqrtf for PowerPC32.
19522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19523         and llroundf multiarch implementations.
19524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19525         New file.
19526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19527         New file.
19528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19529         New file.
19530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19531         file: multiarch llround for PowerPC32.
19532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19533         file: multiarch llroundf for PowerPC32.
19535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19536         multiarch PowerPC32 fpu implementations.
19537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19538         New file.
19539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19540         New file.
19541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19542         multiarch llrint for PowerPC32.
19543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19544         New file.
19545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19546         New file.
19547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19548         file.
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19553         file.
19554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19555         file.
19556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19557         file.
19558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19559         multiarch wordcopy for PPC32.
19560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19561         wordcopy objects.
19562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19563         (__libc_ifunc_impl_list): Likewise.
19564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19565         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19567         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19569         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19571         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19573         file.
19574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19575         file.
19576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19577         file.
19578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19579         multiarch wcscpy for PPC32.
19580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19581         multiarch objects.
19582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19583         (__libc_ifunc_impl_list): Likewise.
19584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19585         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19586         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19587         sysdeps/powerpc/power6/wcscpy.c.
19589         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19591         file.
19592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19593         file.
19594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19595         file.
19596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19597         multiarch wcsrchr for PPC32.
19598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19599         multiarch objects.
19600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19601         (__libc_ifunc_impl_list): Likewise.
19602         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19603         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19604         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19605         sysdeps/powerpc/power6/wcsrchr.c.
19607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19608         file.
19609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19610         file.
19611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19613         multiarch wcschr for PPc32.
19614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19615         multiarch objects.
19616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19617         (__libc_ifunc_impl_list): Likewise.
19618         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19619         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19620         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19621         sysdeps/powerpc/power6/wcschr.c.
19623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19625         file.
19626         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19628         file: multiarch strchr for PPC32.
19629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19630         multiarch objects.
19631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19632         (__libc_ifunc_impl_list): Likewise.
19634         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19635         name.
19636         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19637         file.
19638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19639         file.
19640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19641         multiarch strchrnul for PPC32.
19642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19643         multiarch objects.
19644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19645         (__libc_ifunc_impl_list): Likewise.
19647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19648         file.
19649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19650         multiarch strncasecmp for PPC32.
19651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19652         file.
19653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19654         multiarch strncasecmp_l for PPC32.
19655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19656         strncasecmp multiarch objects.
19657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19658         (__libc_ifunc_impl_list): Likewise.
19660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19661         file.
19662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19663         multiarch strncasecmp for PPC32.
19664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19665         New file.
19666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19667         multiarch strcasecmp_l for PPC32.
19668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19669         multiarch objects.
19670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19671         (__libc_ifunc_impl_list): Likewise.
19673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19674         file.
19675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19676         file.
19677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19678         multiarch strncmp for PPC32.
19679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19680         multiarch objects.
19681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19682         (__libc_ifunc_impl_list): Likewise.
19684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19685         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19686         file.
19687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19690         multiarch objects.
19691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19692         (__libc_ifunc_impl_list): Likewise.
19694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19695         file.
19696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19697         file.
19698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19700         multiarch objects.
19701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19702         (__libc_ifunc_impl_list): Likewise.
19704         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19705         file.
19706         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19707         file.
19708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19709         multiarch rawmemchr for PPC32.
19710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19711         multiarch objects.
19712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19713         (__libc_ifunc_impl_list): Likewise.
19715         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19716         file.
19717         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19718         file.
19719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19720         file: memrchr multiarch for PPC32.
19721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19722         multiarch objects.
19723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19724         (__libc_ifunc_impl_list): Likewise.
19726         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19728         file.
19729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19731         multiarch memchr for PPC32.
19732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19733         multiarch objects.
19734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19735         (__libc_ifunc_impl_list): Likewise.
19737         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19739         file.
19740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19741         file.
19742         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19743         file: multiarch mempcpy for PPC32.
19744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19745         multiarch objects.
19746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19747         (__libc_ifunc_impl_list): Likewise.
19749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19753         multiarch bzero for PPC32.
19754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19755         file.
19756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19757         file.
19758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19760         file: multiarch memset for PPC32.
19761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19763         memset multiarch objects.
19764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19765         (__libc_ifunc_impl_list): Likewise.
19767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19768         file.
19769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19771         memcmp for PPC32.
19772         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19774         multiarch objects.
19775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19776         (__libc_ifunc_impl_list): Likewise.
19778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19781         file.
19782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19783         file.
19784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19785         file.
19786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19787         multiarch memcpy for PPC32.
19788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19789         multiarch objects.
19790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19791         (__libc_ifunc_impl_list): Likewise.
19793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19794         support multiarch for POWER/PPC32.
19795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19796         Likewise.
19797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19799         Implies file to make multiarch folder appers before the fpu and
19800         default folder for power4 configuration.
19802 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19804         * scripts/bench.pl: Append volatile keyword to type.
19806 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19808         * sysdeps/sh/sotruss-lib.c: New file.
19809         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19811 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19815 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19817         [BZ #6810]
19818         * math/w_tgamma.c: Include <errno.h>.
19819         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19820         * math/w_tgammaf.c: Include <errno.h>.
19821         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19822         * math/w_tgammal.c: Include <errno.h>.
19823         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19824         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19825         underflow.  Add more tgamma tests.
19826         * math/auto-libm-test-out: Regenerated.
19827         * sysdeps/i386/fpu/libm-test-ulps: Update.
19828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19830         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19831         sin, sinh, tan, tanh, tgamma, y0 and y1.
19832         * math/auto-libm-test-out: Regenerated.
19833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19834         (TEST_COND_x86): Likewise.
19835         (M_E2l): Remove macro.
19836         (M_E3l): Likewise.
19837         (M_2_SQRT_PIl): Likewise.
19838         (M_SQRT_PIl): Likewise.
19839         (M_1_DIV_El): Likewise.
19840         (log_test_data): Use AUTO_TESTS_f_f.
19841         (log10_test_data): Likewise.
19842         (log1p_test_data): Likewise.
19843         (log2_test_data): Likewise.
19844         (sin_test_data): Likewise.
19845         (sin_tonearest_test_data): Likewise.
19846         (sin_towardzero_test_data): Likewise.
19847         (sin_downward_test_data): Likewise.
19848         (sin_upward_test_data): Likewise.
19849         (sinh_test_data): Likewise.
19850         (sinh_tonearest_test_data): Likewise.
19851         (sinh_towardzero_test_data): Likewise.
19852         (sinh_downward_test_data): Likewise.
19853         (sinh_upward_test_data): Likewise.
19854         (tan_test_data): Likewise.
19855         (tan_tonearest_test_data): Likewise.
19856         (tan_towardzero_test_data): Likewise.
19857         (tan_downward_test_data): Likewise.
19858         (tan_upward_test_data): Likewise.
19859         (tanh_test_data): Likewise.
19860         (tgamma_test_data): Likewise.
19861         (y0_test_data): Likewise.
19862         (y1_test_data): Likewise.
19863         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19864         (special_real_inputs): Add pi/4.
19865         * sysdeps/i386/fpu/libm-test-ulps: Update.
19866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19871         "longjmp_target" static probes.
19872         (__longjmp): Rename to __longjmp_symbol.
19873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19874         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19875         on which longjmp to generate.
19876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19878         probe.
19879         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19880         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19883         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19886         __longjmp_symbol based on which __longjmp to generate.
19887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19888         probe.
19889         (setjmp): Rename to setjmp_symbol.
19890         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19891         (_setjmp): Rename to _setjmp_symbol.
19892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19893         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19894         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19895         which setjmp to generate.
19896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19897         "longjmp_target" static probes.
19899 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19901         * benchtests/README: Add note about output arguments.
19902         * benchtests/bench-sincos.c: Remove file.
19903         * benchtests/sincos-inputs: New file.
19904         * scripts/bench.pl: Identify output arguments and define
19905         static variables for them.
19907         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19909         [BZ #15941]
19910         * Makefile (INSTALL): Add install-plain.texi as the primary
19911         dependency.
19912         * manual/install-plain.texi: New file.
19913         * manual/install.texi: Include node directive only for
19914         non-plaintext output.
19916 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19918         * stdlib/longlong.h: Update from GCC.
19920         [BZ #6807]
19921         [BZ #15901]
19922         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19923         * math/w_j0f.c (y0f): Likewise.
19924         * math/w_j0l.c (__y0l): Likewise.
19925         * math/w_j1.c (y1): Likewise.
19926         * math/w_j1f.c (y1f): Likewise.
19927         * math/w_j1l.c (__y1l): Likewise
19928         * math/w_jn.c (yn): Likewise.
19929         * math/w_jnf.c (ynf): Likewise.
19930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19931         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19932         value for Bessel function domain errors outside _SVID_ mode.
19933         Adjust sign of return value for yn (negative integer, 0).
19934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19935         by zero in return for negative x and set sign appropriately for
19936         negative n.
19937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19939         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19940         expectations in error cases.
19941         (y1_test_data): Likewise.
19942         (yn_test_data): Likewise.
19943         * sysdeps/i386/fpu/libm-test-ulps: Update.
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19949         "64" to "64-v1".  Add "64-v2".
19950         (abi-64-options): Rename to ...
19951         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19952         (abi-64-condition): Rename to ...
19953         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19954         (abi-64-ld-soname): Rename to ...
19955         (abi-64-v1-ld-soname): ... this.
19956         (abi-64-v2-options): Define.
19957         (abi-64-v2-condition): Likewise.
19958         (abi-64-v2-ld-soname): Likewise.
19959         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19966             Alan Modra  <amodra@gmail.com>
19968         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19969         New versions for use with the ELFv2 ABI.
19970         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19971         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19972         declaration.
19973         (struct La_ppc64v2_retval): Likewise.
19974         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19975         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19976         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19977         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19978         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19980         Do not save or restore CR.
19981         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19982         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19983         return values for ELFv2 ABI.  Fix location of FPR return registers.
19984         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19985         updated values for _CALL_ELF == 2.
19986         (La_regs, La_retval, int_retval): Likewise.
19988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19990         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19991         (FRAME_MIN_SIZE_PARM): Likewise.
19992         (FRAME_BACKCHAIN): Likewise.
19993         (FRAME_CR_SAVE): Likewise.
19994         (FRAME_LR_SAVE): Likewise.
19995         (FRAME_TOC_SAVE): Likewise.
19996         (FRAME_PARM_SAVE): Likewise.
19997         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19998         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19999         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20000         (call_mcount_parm_offset): New macro.
20001         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20002         (PROF): Use symbolic stack frame offsets.
20003         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20005         Redefine in terms of FRAME_MIN_SIZE.
20006         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20007         (_dl_profile_resolve): Likewise.  Update comment.
20008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20009         symbols stack frame offsets.
20010         (__sigsetjmp): Likewise.
20011         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20012         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20014         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20017         (FRAME_BACKCHAIN): Remove.
20018         (FRAME_CR_SAVE): Likewise.
20019         (FRAME_LR_SAVE): Likewise.
20020         (FRAME_COMPILER_DW): Likewise.
20021         (FRAME_LINKER_DW): Likewise.
20022         (FRAME_TOC_SAVE): Likewise.
20023         (FRAME_PARM_SAVE): Likewise.
20024         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20025         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20026         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20028         (CHECK_SP): Use symbolic stack frame offsets.
20029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20030         zone" instead of caller's parameter save area for temp storage.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20032         Likewise.  Also, use symbolic stack frame offsets.
20033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20034         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20035         our own stack frame instead of the caller's.
20036         (__socket): Use symbolic stack frame offsets.
20038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20039             Alan Modra  <amodra@gmail.com>
20041         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20042         Define.
20043         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20044         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20045         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20046         New function.
20047         (elf_machine_fixup_plt): Call it.
20048         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20049         reloc arguments.
20050         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20052         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20053         r2 before calling target.
20055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20056             Alan Modra  <amodra@gmail.com>
20058         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20059         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20060         versions of macros to support ELFv2 ABI.
20061         (LOCALENTRY): New macro.
20062         (ENTRY, EALIGN): Use it.
20063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20064         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20065         fall through into ENTRY entry point.
20066         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20067         Only define if _CALL_ELF != 2.
20069         (elf_machine_matches_host): Verify ABI version matches.
20070         (RTLD_START): Use LOCALENTRY.
20071         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20072         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20073         (PLT_ENTRY_WORDS): New macro.
20074         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20075         (elf_machine_runtime_setup): Support ELFv2 ABI.
20076         (elf_machine_fixup_plt): Likewise.
20077         (elf_machine_plt_conflict): Likewise.
20078         (resolve_ifunc): Likewise.
20079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20081         Likewise.
20082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20083         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20085         (makecontext): Support ELFv2 ABI.
20086         * elf/elf.h (EF_PPC64_ABI): Define.
20088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20090         * sysdeps/powerpc/powerpc64/sysdep.h
20091         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20092         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20093         (ENTRY) [ASSEMBLER]: ... but instead here ...
20094         (EALIGN) [ASSEMBLER]: ... and here.
20095         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20096         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20097         (ENTRY_2) [!ASSEMBLER]: Use it.
20098         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20099         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20101         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20104         Use PPC64_LOAD_FUNCPTR.
20106         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20108 2013-12-04  Alan Modra  <amodra@gmail.com>
20110         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20111         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20112         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20113         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20116         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20117         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20118         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20119         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20120         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20125         (__makecontext): Fix incorrect CFI when backtracing out of
20126         context created via makecontext.
20127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20128         (__setcontext): Fix incorrect CFI during switch to new context.
20129         (__novec_setcontext): Likewise.
20131 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20133         [BZ #4772]
20134         * time/strptime_l.c (__strptime_internal): Allow modifiers
20135         in strptime.
20136         * time/tst-strptime.c (day_tests): Add testcase.
20138 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20140         * scripts/bench.pl: Skip over blank lines.
20142 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20144         [BZ #926]
20145         * manual/time.texi (Calendar Time): Clarify what timezone functions
20146         use.
20148 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20154         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20155         implementation.
20156         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20157         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20158         * debug/memset_chk.c (__memset_chk): Likewise.
20159         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20160         * debug/strncpy_chk.c: Likewise.
20162 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20164         [BZ #15268]
20165         [BZ #15425]
20166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20167         (__ieee754_exp): For possibly underflowing results, check size of
20168         result and force underflow exception if required.
20169         * math/auto-libm-test-in: Add more tests of exp.
20170         * math/auto-libm-test-out: Regenerated.
20171         * sysdeps/i386/fpu/libm-test-ulps: Update.
20172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20174         [BZ #16283]
20175         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20176         * math/w_exp2f.c (__exp2f): Likewise.
20177         * math/w_exp2l.c (__exp2l): Likewise.
20178         * math/auto-libm-test-in: Do not allow missing errno on exp2
20179         underflow.
20180         * math/auto-libm-test-out: Regenerated.
20182 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20184         [BZ #16274]
20185         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20186         handle filename validation.
20187         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20188         (do_open): Delete.
20190 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20192         [BZ #6786]
20193         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20194         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20195         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20196         <float.h>.
20197         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20198         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20199         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20201         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20203         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20204         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20205         Add more erfc tests.
20206         * math/auto-libm-test-out: Regenerated.
20207         * sysdeps/i386/fpu/libm-test-ulps: Update.
20208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20210         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20211         exp2, expm1, j0 and j1.
20212         * math/auto-libm-test-out: Regenerated.
20213         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20214         (erfc_test_data): Likewise.
20215         (exp_test_data): Likewise.
20216         (exp_tonearest_test_data): Likewise.
20217         (exp_towardzero_test_data): Likewise.
20218         (exp_downward_test_data): Likewise.
20219         (exp_upward_test_data): Likewise.
20220         (exp10_test_data): Likewise.
20221         (exp2_test_data): Likewise.
20222         (expm1_test_data): Likewise.
20223         (j0_test_data): Likewise.
20224         (j1_test_data): Likewise.
20225         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20226         (input_flag_type): Add flag_xfail_rounding.
20227         (input_flags): Add xfail-rounding.
20228         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20229         (output_for_one_input_case): Handle flag_xfail_rounding.
20230         * sysdeps/i386/fpu/libm-test-ulps: Update.
20231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20233 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20235         [BZ #16289]
20236         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20237         division by 0.
20239 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20241         [BZ #16195]
20242         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20243         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20244         (STAP_PROBE0): New macro.
20245         (STAP_PROBE1): Likewise.
20246         (STAP_PROBE2): Likewise.
20247         (STAP_PROBE3): Likewise.
20248         (STAP_PROBE4): Likewise.
20250 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20252         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20254 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20256         * benchtests/Makefile (bench): Add sqrt.
20257         (LDLIBS-bench-sqrt): New.
20258         * benchtests/sqrt-input: New.
20260 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20262         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20263         (GAIH_EAI): Likewise.
20264         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20265         (gaih_inet): Likewise.
20266         (getaddrinfo): Don't use GAIH_EAI.
20268         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20269         (struct gaih): Remove definition.
20271 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20274         Use HERRNOP directly.
20276 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20280 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20282         * math/gen-auto-libm-tests.c (test_functions): Add more
20283         single-argument functions.
20284         (special_fill_pi_2): New function.
20285         (special_fill_minus_pi_2): Likewise.
20286         (special_fill_pi_6): Likewise.
20287         (special_fill_minus_pi_6): Likewise.
20288         (special_fill_pi_3): Likewise.
20289         (special_fill_2pi_3): Likewise.
20290         (special_fill_e): Likewise.
20291         (special_fill_1_e): Likewise.
20292         (special_fill_e_minus_1): Likewise.
20293         (special_real_inputs): Add more special inputs.
20294         (output_for_one_input_case): Do not require ERANGE on underflow to
20295         zero if round-to-nearest result does not underflow to zero, unless
20296         exact results required.
20297         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20298         atan, atanh, cbrt, cos and cosh.
20299         * math/auto-libm-test-out: Regenerated.
20300         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20301         (acos_tonearest_test_data): Likewise.
20302         (acos_towardzero_test_data): Likewise.
20303         (acos_downward_test_data): Likewise.
20304         (acos_upward_test_data): Likewise.
20305         (acosh_test_data): Likewise.
20306         (asin_test_data): Likewise.
20307         (asin_tonearest_test_data): Likewise.
20308         (asin_towardzero_test_data): Likewise.
20309         (asin_upward_test_data): Likewise.
20310         (asinh_test_data): Likewise.
20311         (atan_test_data): Likewise.
20312         (atanh_test_data): Likewise.
20313         (cbrt_test_data): Likewise.
20314         (cos_test_data): Likewise.
20315         (cos_tonearest_test_data): Likewise.
20316         (cos_towardzero_test_data): Likewise.
20317         (cos_downward_test_data): Likewise.
20318         (cos_upward_test_data): Likewise.
20319         (cosh_test_data): Likewise.
20320         (cosh_tonearest_test_data): Likewise.
20321         (cosh_towardzero_test_data): Likewise.
20322         (cosh_downward_test_data): Likewise.
20323         (cosh_upward_test_data): Likewise.
20324         * sysdeps/i386/fpu/libm-test-ulps: Update.
20325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20327 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20329         [BZ #6787]
20330         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20331         * math/w_exp10f.c (__exp10f): Likewise.
20332         * math/w_exp10l.c (__exp10l): Likewise.
20333         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20334         errno settings in existing tests.
20336         [BZ #14032]
20337         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20338         precision control set to double precision.
20339         * sysdeps/i386/fpu/w_sqrt.c: New file.
20340         * math/auto-libm-test-in: Add more tests.
20341         * math/auto-libm-test-out: Update.
20343         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20344         (sqrt_test_tonearest): New function.
20345         (sqrt_towardzero_test_data): New variable.
20346         (sqrt_test_towardzero): New function.
20347         (sqrt_downward_test_data): New variable.
20348         (sqrt_test_downward): New function.
20349         (sqrt_upward_test_data): New variable.
20350         (sqrt_test_upward): New function.
20351         (main): Call the new functions.
20353         * math/gen-auto-libm-tests.c: New file.
20354         * math/auto-libm-test-in: Likewise.
20355         * math/auto-libm-test-out: New generated file.
20356         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20357         variables.
20358         (%beautify): Add generated representations of zero.
20359         (top level): Set $auto_input and call parse_auto_input.
20360         (beautify): Remove trailing "f" from hex float constants.
20361         (parse_args): Handle XFAIL_TEST.
20362         (convert_condition): New function.
20363         (or_value): Likewise.
20364         (or_cond_value): Likewise.
20365         (generate_testfile): Handle AUTO_TESTS_* lines.
20366         (parse_auto_input): New function.
20367         * math/libm-test.inc (XFAIL_TEST): New macro.
20368         (ERRNO_UNCHANGED): Update value.
20369         (ERRNO_EDOM): Likewise.
20370         (ERRNO_ERANGE): Likewise.
20371         (IGNORE_RESULT): Likewise.
20372         (TEST_COND_flt_32): New macro.
20373         (TEST_COND_dbl_64): Likewise.
20374         (TEST_COND_ldbl_96_intel): Likewise.
20375         (TEST_COND_ldbl_96_m68k): Likewise.
20376         (TEST_COND_ldbl_128): Likewise.
20377         (TEST_COND_ldbl_128ibm): Likewise.
20378         (TEST_COND_long32): Likewise.
20379         (TEST_COND_long64): Likewise.
20380         (TEST_COND_before_rounding): Likewise.
20381         (TEST_COND_after_rounding): Likewise.
20382         (enable_test): Handle XFAIL_TEST flag.
20383         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20384         with finite results.
20385         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20386         auto-libm-test-out.
20388 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20391         [BZ #16214]
20392         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20393         __tls_get_addr_internal instead of __tls_get_offset in order to
20394         avoid GOT pointer dependency.  Make rtld export
20395         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20396         __tls_get_addr since we are a __tls_get_offset platform.
20397         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20398         GOT pointer being set up before.
20399         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20401 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20403         * manual/math.texi (Errors in Math Functions): Document accuracy
20404         goals.
20406         [BZ #15004]
20407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20411         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20412         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20413         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20414         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20424         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20425         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20426         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20427         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20428         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20429         Likewise.
20430         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20431         Likewise.
20432         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20433         Likewise.
20434         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20436         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20437         atomic-feupdateenv and flt-rounds.
20438         * sysdeps/powerpc/nofpu/Versions (libc): Add
20439         __atomic_feholdexcept, __atomic_feclearexcept,
20440         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20442         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20444         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20445         here.
20446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20447         Update.
20449         * manual/arith.texi (FP Exceptions): Document that exceptions may
20450         not be raised when matherr is used.
20451         (Math Error Reporting): Document overflow in directed rounding
20452         modes.  Document that errno may not be set when finite values are
20453         returned on overflow.  Document intent to set errno on underflow
20454         only for underflow to zero.
20456         [BZ #16271]
20457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20458         round-to-nearest then adjust result for other rounding modes.
20459         * include/fenv.h (fegetround): Use libm_hidden_proto.
20460         * math/fegetround.c (fegetround): Use libm_hidden_def.
20461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20462         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20465         Likewise.
20466         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20468         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20469         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20471 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20473         [BZ #16077]
20474         * nss/Versions (libnss_files): Add
20475         _nss_files_gethostbyname3_r.
20476         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20477         New function.
20478         (HOST_DB_LOOKUP): Remove macro.
20479         (_nss_files_gethostbyname_r): Implement function without the
20480         HOST_DB_LOOKUP macro.
20481         (_nss_files_gethostbyname2_r): Likewise.
20483 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20485         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20487 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20489         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20490         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20491         warning.
20493 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20496         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20500         __fe_nomask_env_priv and attribute_hidden.
20501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20502         (libc_feupdateenv_test_ppc): Likewise.
20503         (libc_feresetround_ppc): Likewise.
20504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20505         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20506         compat_symbol macro.
20507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20508         (__fe_nomask_env): Likewise.
20509         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20513         * string/Makefile: Remove ifunc tests.
20514         * string/test-string.h: Define TEST_IFUNC.
20515         * string/test-bcopy-ifunc.c: Remove.
20516         * string/test-bzero-ifunc.c: Likewise.
20517         * string/test-memccpy-ifunc.c: Likewise.
20518         * string/test-memchr-ifunc.c: Likewise.
20519         * string/test-memcmp-ifunc.c: Likewise.
20520         * string/test-memcpy-ifunc.c: Likewise.
20521         * string/test-memmem-ifunc.c: Likewise.
20522         * string/test-memmove-ifunc.c: Likewise.
20523         * string/test-mempcpy-ifunc.c: Likewise.
20524         * string/test-memrchr-ifunc.c: Likewise.
20525         * string/test-memset-ifunc.c: Likewise.
20526         * string/test-rawmemchr-ifunc.c: Likewise.
20527         * string/test-stpcpy-ifunc.c: Likewise.
20528         * string/test-stpncpy-ifunc.c: Likewise.
20529         * string/test-strcasecmp-ifunc.c: Likewise.
20530         * string/test-strcasestr-ifunc.c: Likewise.
20531         * string/test-strcat-ifunc.c: Likewise.
20532         * string/test-strchr-ifunc.c: Likewise.
20533         * string/test-strchrnul-ifunc.c: Likewise.
20534         * string/test-strcmp-ifunc.c: Likewise.
20535         * string/test-strcpy-ifunc.c: Likewise.
20536         * string/test-strcspn-ifunc.c: Likewise.
20537         * string/test-strlen-ifunc.c: Likewise.
20538         * string/test-strncasecmp-ifunc.c: Likewise.
20539         * string/test-strncat-ifunc.c: Likewise.
20540         * string/test-strncmp-ifunc.c: Likewise.
20541         * string/test-strncpy-ifunc.c: Likewise.
20542         * string/test-strnlen-ifunc.c: Likewise.
20543         * string/test-strpbrk-ifunc.c: Likewise.
20544         * string/test-strrchr-ifunc.c: Likewise.
20545         * string/test-strspn-ifunc.c: Likewise.
20546         * string/test-strstr-ifunc.c: Likewise.
20548 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20550         * benchtests/Makefile: Remove ifunc tests.
20551         * benchtests/bench-string.h: Define TEST_IFUNC.
20552         * benchtests/bench-bcopy-ifunc.c: Remove.
20553         * benchtests/bench-bzero-ifunc.c: Likewise.
20554         * benchtests/bench-memccpy-ifunc.c: Likewise.
20555         * benchtests/bench-memchr-ifunc.c: Likewise.
20556         * benchtests/bench-memcmp-ifunc.c: Likewise.
20557         * benchtests/bench-memcpy-ifunc.c: Likewise.
20558         * benchtests/bench-memmem-ifunc.c: Likewise.
20559         * benchtests/bench-memmove-ifunc.c: Likewise.
20560         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20561         * benchtests/bench-memrchr-ifunc.c: Likewise.
20562         * benchtests/bench-memset-ifunc.c: Likewise.
20563         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20564         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20565         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20566         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20567         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20568         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20569         * benchtests/bench-strcat-ifunc.c: Likewise.
20570         * benchtests/bench-strchr-ifunc.c: Likewise.
20571         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20572         * benchtests/bench-strcmp-ifunc.c: Likewise.
20573         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20574         * benchtests/bench-strcpy-ifunc.c: Likewise.
20575         * benchtests/bench-strcspn-ifunc.c: Likewise.
20576         * benchtests/bench-strlen-ifunc.c: Likewise.
20577         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20578         * benchtests/bench-strncat-ifunc.c: Likewise.
20579         * benchtests/bench-strncmp-ifunc.c: Likewise.
20580         * benchtests/bench-strncpy-ifunc.c: Likewise.
20581         * benchtests/bench-strnlen-ifunc.c: Likewise.
20582         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20583         * benchtests/bench-strrchr-ifunc.c: Likewise.
20584         * benchtests/bench-strsep-ifunc.c: Likewise.
20585         * benchtests/bench-strspn-ifunc.c: Likewise.
20586         * benchtests/bench-strstr-ifunc.c: Likewise.
20588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20590         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20594         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20595         * rt/aio.h: Likewise.
20596         * sysdeps/gnu/bits/utmp.h: Likewise.
20597         * sysdeps/gnu/bits/utmpx.h: Likewise.
20598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20599         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20600         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20601         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20602         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20603         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20604         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20605         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20607         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20608         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20609         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20610         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20612         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20613         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20614         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20615         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20616         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20617         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20618         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20619         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20620         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20621         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20622         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20625         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20626         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20627         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20629         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20630         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20632         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20633         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20634         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20636         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20637         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20638         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20641 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20643         [BZ #16245]
20644         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20645         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20647 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20649         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20651         Likewise.
20653 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20656         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20657         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20658         (__fesetround): Remove define.
20659         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20660         rounding and exceptions handling.
20661         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20662         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20663         (__fe_nomask_env): Likewise.
20664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20665         __fegetround instead of fegetround.
20666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20667         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20669 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20671         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20672         it's there.
20674         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20676 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20678         [BZ #11157]
20679         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20680         (encrypt_r): Likewise.
20681         * malloc/obstack.h (obstack_free): Likewise.
20682         * posix/unistd.h (encrypt): Likewise.
20684 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20686         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20687         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20688         DL_CALL_DT_FINI() that call the functions directly.
20689         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20690         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20691         * elf/dl-fini.c: Likewise.
20693 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20695         * malloc/hooks.c (memalign_check): Add alignment rounding.
20696         * malloc/malloc.c (_mid_memalign): New function.
20697         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20698         Implement by calling _mid_memalign.
20699         * manual/probes.texi (Memory Allocation Probes): Remove
20700         memory_valloc_retry and memory_pvalloc_retry.
20702 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20704         * locale/programs/locarchive.c (open_archive): Add const
20705         qualifier to ARCHIVEFNAME and copy default fname to
20706         DEFAULT_FNAME.
20708         [BZ #15601]
20709         * libio/tst-widetext.input: Rename Oriya to Odia.
20710         * locale/iso-639.def: Likewise.
20712         * manual/probes.texi (Mathematical Function Probes): Add
20713         documentation for sin, cos, asin and acos probes.
20714         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20715         (__sin32): Add slowasin probe.
20716         (__cos32): Add slowacos probe.
20717         (__mpsin): Add slowsin probe.
20718         (__mpcos): Add slowcos probe.
20720 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20722         [BZ #15483]
20723         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20724         thread-local __sim_exceptions_thread and global
20725         __sim_exceptions_global.
20726         (__sim_disabled_exceptions): Change to thread-local
20727         __sim_disabled_exceptions_thread and global
20728         __sim_disabled_exceptions_global.
20729         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20730         and global __sim_round_mode_global.
20731         (__simulate_exceptions): Use thread-local floating-point state and
20732         set global state from it as needed.
20733         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20734         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20735         __sim_round_mode_thread.
20736         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20737         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20738         and global __sim_exceptions_global.
20739         (__sim_disabled_exceptions): Change to thread-local
20740         __sim_disabled_exceptions_thread and global
20741         __sim_disabled_exceptions_global.
20742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20743         and global __sim_round_mode_global.
20744         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20745         (SIM_SET_GLOBAL): Likewise.
20746         * sysdeps/powerpc/soft-fp/sfp-machine.h
20747         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20748         __sim_round_mode_thread.
20749         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20750         __sim_disabled_exceptions_thread.
20751         (__sim_exceptions): Change to __sim_exceptions_thread.
20752         (__sim_disabled_exceptions): Change to
20753         __sim_disabled_exceptions_thread.
20754         (__sim_round_mode): Change to __sim_round_mode_thread.
20755         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20756         thread-local floating-point state and set global state from it as
20757         needed.
20758         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20759         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20760         (__sim_disabled_exceptions): Remove extern declaration.
20761         (feenableexcept): Use thread-local floating-point state and set
20762         global state from it as needed.
20763         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20764         extern declaration.
20765         (__sim_disabled_exceptions): Likewise.
20766         (__sim_round_mode): Likewise.
20767         (__fegetenv): Use thread-local floating-point state.
20768         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20769         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20770         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20771         floating-point state and set global state from it as needed.
20772         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20773         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20774         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20775         Likewise.
20776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20777         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20778         Likewise.
20779         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20780         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20781         Use __sim_round_mode_thread.
20782         * math/test-fenv-tls.c: New file.
20783         * math/Makefile (tests): Add test-fenv-tls.
20784         ($(objpfx)test-fenv-tls): Depend on
20785         $(common-objpfx)nptl/libpthread.so.
20787 2013-11-19  Andreas Schwab  <schwab@suse.de>
20789         * locale/programs/locale.c (show_info): Decode wordarray elements.
20790         * locale/categories.def (LC_MONETARY): Add element for
20791         _NL_MONETARY_CRNCYSTR.
20792         * locale/C-monetary.c (conversion_rate): New variable.
20793         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20794         element.
20796 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20798         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20799         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20801 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20803         * elf/Makefile (tst-auxv): New test.
20804         * elf/tst-auxv.c: New
20805         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20807 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20809         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20810         (hidden_proto): Caller changed.
20811         (hidden_tls_proto): New macro.
20812         (libc_hidden_tls_proto): Likewise.
20813         (rtld_hidden_tls_proto): Likewise.
20814         (libm_hidden_tls_proto): Likewise.
20815         (libresolv_hidden_tls_proto): Likewise.
20816         (librt_hidden_tls_proto): Likewise.
20817         (libdl_hidden_tls_proto): Likewise.
20818         (libnss_files_hidden_tls_proto): Likewise.
20819         (libnsl_hidden_tls_proto): Likewise.
20820         (libnss_nisplus_hidden_tls_proto): Likewise.
20821         (libutil_hidden_tls_proto): Likewise.
20823 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20825         [BZ #10253]
20826         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20827         (decompose_rpath): Defer expansion to fillin_rpath.
20828         (_dl_init_paths): Pass linkmap to fillin_rpath.
20830 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20832         * benchtests/Makefile: Add strsep.
20833         * benchtests/bench-strsep.c: New file: strsep benchtest.
20834         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20836 2013-11-18  Andreas Schwab  <schwab@suse.de>
20838         * locale/programs/locale.c (show_info) [case byte]: Check for
20839         '\377' instead of '\177'.
20840         * locale/C-monetary.c (not_available): Always use "\377".
20841         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20842         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20843         detect unavailable sign_posn locale elements.
20844         * locale/localeconv.c (__localeconv): For grouping and
20845         mon_grouping handle "\177" and "\377" like no grouping.
20846         (INT_ELEM): New macro.  Use it to set all numeric members.
20847         * locale/programs/ld-monetary.c (monetary_read)
20848         <tok_mon_grouping>: Normalize single -1 to the empty string.
20849         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20850         Likewise.
20852 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20854         [BZ #16055]
20855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20856         when we match (nil).
20857         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20859 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20861         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20862         (NO_TEST_INLINE): Update value.
20863         (ERRNO_UNCHANGED): Likewise.
20864         (ERRNO_EDOM): Likewise.
20865         (ERRNO_ERANGE): Likewise.
20866         (IGNORE_RESULT): Likewise.
20867         (check_float_internal): Check signs of NaN results if
20868         TEST_NAN_SIGN used.
20869         (check_complex): Pass TEST_NAN_SIGN flag through to second
20870         check_float_internal call.
20871         (copysign_test_data): Add tests with quiet NaNs as second
20872         argument.  Use TEST_NAN_SIGN.
20873         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20874         TEST_NAN_SIGN.
20875         (signbit_test_data): Add tests of quiet NaN argument.
20876         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20878         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20879         $ignore_result.
20880         (parse_args): Handle function results specified as IGNORE.
20881         * math/libm-test.inc (IGNORE_RESULT): New macro.
20882         (check_float_internal): Do not check numerical result if flag
20883         IGNORE_RESULT set.
20884         (check_complex): Pass through IGNORE_RESULT to second
20885         check_float_internal call.
20886         (check_int): Do not check numerical result if flag IGNORE_RESULT
20887         set.
20888         (check_long): Likewise.
20889         (check_bool): Likewise.
20890         (check_longlong): Likewise.
20891         (lrint_test_data): Add tests of infinite and NaN arguments.
20892         (lrint_tonearest_test_data): Likewise.
20893         (lrint_towardzero_test_data): Likewise.
20894         (lrint_downward_test_data): Likewise.
20895         (lrint_upward_test_data): Likewise.
20896         (llrint_test_data): Likewise.
20897         (llrint_tonearest_test_data): Likewise.
20898         (llrint_towardzero_test_data): Likewise.
20899         (llrint_downward_test_data): Likewise.
20900         (llrint_upward_test_data): Likewise.
20901         (lround_test_data): Likewise.
20902         (llround_test_data): Likewise.
20904         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20905         (ERRNO_UNCHANGED): Update value.
20906         (ERRNO_EDOM): Likewise.
20907         (ERRNO_ERANGE): Likewise.
20908         (NO_TEST_INLINE_FLOAT): New macro.
20909         (NO_TEST_INLINE_DOUBLE): Likewise.
20910         (enable_test): New function.
20911         (RUN_TEST_f_f): Check enable_test before running test.
20912         (RUN_TEST_2_f): Likewise.
20913         (RUN_TEST_fff_f): Likewise.
20914         (RUN_TEST_c_f): Likewise.
20915         (RUN_TEST_f_f1): Likewise.
20916         (RUN_TEST_fF_f1): Likewise.
20917         (RUN_TEST_fI_f1): Likewise.
20918         (RUN_TEST_ffI_f1): Likewise.
20919         (RUN_TEST_c_c): Likewise.
20920         (RUN_TEST_cc_c): Likewise.
20921         (RUN_TEST_f_i): Likewise.
20922         (RUN_TEST_f_i_tg): Likewise.
20923         (RUN_TEST_ff_i_tg): Likewise.
20924         (RUN_TEST_f_b): Likewise.
20925         (RUN_TEST_f_b_tg): Likewise.
20926         (RUN_TEST_f_l): Likewise.
20927         (RUN_TEST_f_L): Likewise.
20928         (RUN_TEST_fFF_11): Likewise.
20929         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20930         conditionals.
20931         (cosh_test_data): Likewise.
20932         (exp_test_data): Likewise.
20933         (expm1_test_data): Likewise.
20934         (hypot_test_data): Likewise.
20935         (pow_test_data): Likewise.
20936         (sinh_test_data): Likewise.
20937         (tanh_test_data): Likewise.
20938         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20939         flags argument.
20941         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20942         tests with quiet NaN input and output.
20943         (acosh_test_data): Likewise.
20944         (asin_test_data): Likewise.
20945         (asinh_test_data): Likewise.
20946         (atan_test_data): Likewise.
20947         (atanh_test_data): Likewise.
20948         (atan2_test_data): Likewise.
20949         (cbrt_test_data): Likewise.
20950         (cos_test_data): Likewise.
20951         (cosh_test_data): Likewise.
20952         (erf_test_data): Likewise.
20953         (erfc_test_data): Likewise.
20954         (exp_test_data): Likewise.
20955         (exp10_test_data): Likewise.
20956         (exp2_test_data): Likewise.
20957         (expm1_test_data): Likewise.
20958         (hypot_test_data): Likewise.
20959         (j0_test_data): Likewise.
20960         (j1_test_data): Likewise.
20961         (jn_test_data): Likewise.
20962         (lgamma_test_data): Likewise.
20963         (log_test_data): Likewise.
20964         (log10_test_data): Likewise.
20965         (log1p_test_data): Likewise.
20966         (log2_test_data): Likewise.
20967         (pow_test_data): Likewise.
20968         (scalb_test_data): Likewise.
20969         (sin_test_data): Likewise.
20970         (sincos_test_data): Likewise.
20971         (sinh_test_data): Likewise.
20972         (tan_test_data): Likewise.
20973         (tanh_test_data): Likewise.
20974         (tgamma_test_data): Likewise.
20975         (y0_test_data): Likewise.
20976         (y1_test_data): Likewise.
20977         (yn_test_data): Likewise.
20979         [BZ #16167]
20980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20981         argument being NaN and avoid computations with second argument in
20982         that case.
20983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20987 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20989         * locale/iso-639.def: Add Chitwani Tharu (the).
20991 2013-11-14  Andreas Schwab  <schwab@suse.de>
20993         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20994         word instead of empty string.
20996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20999         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21001         (__fe_nomask_env): Likewise.
21003 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21005         * benchtests/bench-timing.h: Include time.h.
21007 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21009         [BZ #15997]
21010         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21011         to 3.4.0 for x32.
21012         * sysdeps/unix/sysv/linux/configure: Regenerated.
21014 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21016         [BZ #16151]
21017         * stdlib/strtod_l.c (round_and_return): Do not consider
21018         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21019         exponent one less than half the least subnormal exponent.
21020         * stdlib/test-strtod-round-data: Add more tests.
21021         * stdlib/tst-strtod-round.c (tests): Regenerated.
21023 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21025         [BZ #14143]
21026         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21027         (__fe_mask_env): Likewise.
21028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21029         libm_hidden_proto and add function prototype.
21030         (__fe_mask_env): Add function prototype.
21031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21032         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21034         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21036         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21038 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21040         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21041         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21043 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21045         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21046         of htab_find_slot().
21048 2013-11-11  David S. Miller  <davem@davemloft.net>
21050         [BZ #16150]
21051         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21052         symbol in the non-vis3 case in static builds.
21053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21058 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21060         [BZ #387]
21061         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21062         it is empty.
21064 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21066         * benchtests/Makefile: Add bench-strtod.
21067         * benchtests/bench-strtod.c: New file: strtod benchtest
21069 2013-11-11  Andreas Schwab  <schwab@suse.de>
21071         [BZ #16153]
21072         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21073         terminating NUL in key length.
21075 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21078         Add artificial ODP entry for vDSO symbol for PPC64.
21079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21080         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21084         [BZ #15374]
21085         * nss/getent.c (services_keys): Recognize services starting with digit.
21087 2013-11-06  David S. Miller  <davem@davemloft.net>
21089         [BZ #15985]
21090         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21091         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21093 2013-11-06  Will Newton  <will.newton@linaro.org>
21095         * manual/memory.texi (Malloc Examples): Remove register
21096         keyword from examples.
21098 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21100         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21102 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21104         [BZ #6981]
21105         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21106         depending on [__GCC_IEC_559 > 0].
21107         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21108         depending on [__GCC_IEC_559_COMPLEX > 0].
21110 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21112         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21113         to iso-639.def.
21115 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21117         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21119 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21121         [BZ #16112]
21122         * malloc/malloc (malloc_info): Do not handle first bin as
21123         special case.
21125 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21127         * locale/iso-639.def: Add Central Nahuatl (nhn).
21129 2013-11-01  Bruno Haible  <bruno@clisp.org>
21131         [BZ #7003]
21132         * manual/math.texi (BSD Random): Specify range upper bound as
21133         in POSIX.
21135 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21137         * locale/iso-639.def: Add Meadow Mari (mhr).
21139 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21141         [BZ #14752], [BZ #15763]
21142         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21143         Validate name.
21144         * rt/tst_shm.c: Add test for escaping directory.
21146 2013-10-31  Andreas Schwab  <schwab@suse.de>
21148         [BZ #15917]
21149         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21150         followed by 'x' as part of digit sequence.
21151         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21153 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21155         [BZ #16037]
21156         * configure.ac: allow GNU Make 4.0 and greater.
21157         * configure: Regenerated.
21159 2013-10-30  Will Newton  <will.newton@linaro.org>
21161         [BZ #16038]
21162         * malloc/hooks.c (memalign_check): Limit alignment to the
21163         maximum representable power of two.
21164         * malloc/malloc.c (__libc_memalign): Likewise.
21165         * malloc/tst-memalign.c (do_test): Add test for very
21166         large alignment values.
21167         * malloc/tst-posix_memalign.c (do_test): Likewise.
21169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21171         [BZ #11087]
21172         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21173         (munmap_chunk): Likewise.
21174         (mremap_chunk): Likewise.
21176 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21178         [BZ #15799]
21179         * stdlib/div.c (div): Remove obsolete code.
21180         * stdlib/ldiv.c (ldiv): Likewise.
21181         * stdlib/lldiv.c (lldiv): Likewise.
21183 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21185         [BZ #16071]
21186         * nss/nss_files/files-XXX.c (get_contents_ret): New
21187         enumerator.
21188         (get_contents): New function.
21189         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21191 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21193         * configure.in: Moved to ...
21194         * configure.ac: ... here. Change reference to configure.in
21195         to configure.ac.
21196         * sysdeps/arm/preconfigure.ac: ... here.
21197         configure.in to configure.ac.
21198         * sysdeps/gnu/configure.in: Moved to ...
21199         * sysdeps/gnu/configure.ac: ... here.
21200         * sysdeps/i386/configure.in: Moved to ...
21201         * sysdeps/i386/configure.ac: ... here.
21202         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21203         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21204         * sysdeps/mach/configure.in: Moved to ...
21205         * sysdeps/mach/configure.ac: ... here.
21206         * sysdeps/mach/hurd/configure.in: Moved to ...
21207         * sysdeps/mach/hurd/configure.ac: ... here.
21208         * sysdeps/powerpc/configure.in: Moved to ...
21209         * sysdeps/powerpc/configure.ac: ... here.
21210         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21211         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21212         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21213         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21214         * sysdeps/s390/s390-32/configure.in: Moved to ...
21215         * sysdeps/s390/s390-32/configure.ac: ... here.
21216         * sysdeps/s390/s390-64/configure.in: Moved to ...
21217         * sysdeps/s390/s390-64/configure.ac: ... here.
21218         * sysdeps/sh/configure.in: Moved to ...
21219         * sysdeps/sh/configure.ac: ... here.
21220         * sysdeps/sparc/configure.in: Moved to ...
21221         * sysdeps/sparc/configure.ac: ... here.
21222         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21223         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21224         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21225         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21226         * sysdeps/x86_64/configure.in: Moved to ...
21227         * sysdeps/x86_64/configure.ac: ... here.
21228         * sysdeps/x86_64/preconfigure.in: Moved to ...
21229         * sysdeps/x86_64/preconfigure.ac: ... here.
21230         * aclocal.m4: Change reference to configure.in to configure.ac.
21231         * config.h.in: Likewise.
21232         * manual/install.texi: Likewise.
21233         * manual/maint.texi: Likewise.
21234         * Makefile: Likewise.
21235         * malloc/Makefile: Likewise.
21236         * nscd/Makefile: Likewise.
21237         * Makeconfig: Change reference to configure.in and
21238         preconfigure.in to configure.ac and preconfigure.ac
21239         respectively.
21240         * INSTALL: Regenerated.
21241         * configure: Likewise.
21242         * sysdeps/gnu/configure: Likewise.
21243         * sysdeps/i386/configure: Likewise.
21244         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21245         * sysdeps/mach/configure: Likewise.
21246         * sysdeps/mach/hurd/configure: Likewise.
21247         * sysdeps/powerpc/configure: Likewise.
21248         * sysdeps/powerpc/powerpc32/configure: Likewise.
21249         * sysdeps/powerpc/powerpc64/configure: Likewise.
21250         * sysdeps/s390/s390-32/configure: Likewise.
21251         * sysdeps/s390/s390-64/configure: Likewise.
21252         * sysdeps/sh/configure: Likewise.
21253         * sysdeps/sparc/configure: Likewise.
21254         * sysdeps/unix/sysv/linux/configure: Likewise.
21255         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21256         * sysdeps/x86_64/configure: Likewise.
21257         * sysdeps/x86_64/preconfigure: Likewise.
21259 2013-10-29  Andreas Schwab  <schwab@suse.de>
21261         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21263 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21265         * benchtests/pow-inputs: Add new inputs.
21267         * benchtests/exp-inputs: Add new inputs.
21269         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21270         conditional check for return value.
21271         (__cos32): Likewise.
21273 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21275         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21276         to provide a boost for large inputs with word alignment.
21277         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21278         implementation based on optimized PPC64 strcpy.
21279         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21280         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21281         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21282         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21284 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21286         [BZ #2801]
21287         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21291         [BZ #14876]
21292         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21293         * time/tst-strptime.c (day_tests): Add testcase.
21295 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21297         [BZ #14029]
21298         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21300 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21302         [BZ #16074]
21303         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21304         MAP_FAILED on error.
21306 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21308         [BZ #16072]
21309         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21310         heap for large requests.
21312 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21314         [BZ #9954]
21315         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21316         result if the result has no associated interface.
21317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21318         interface for all 127.X.Y.Z addresses.
21320 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21322         * locale/iso-639.def: Add Ligurian (lij)
21324 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21326         [BZ #15825]
21327         * sunrpc/rpc_main.c: Document rpcgen -5.
21329 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21331         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21335         [BZ #10278]
21336         * posix/glob.c: Match only directories when trailing slash is present.
21337         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21338         (main): Add testcase.
21340 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21342         [BZ #15670]
21343         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21345 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21347         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21348         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21349         AUTH_DES and cindex for FIPS 140-2.
21350         (DES Encryption): Add cindex FIPS 46-3.
21352         * locale/locarchive.h (struct locarhandle): Add fname.
21353         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21354         if an optional argument was specified to --list-archive,
21355         otherwise NULL.
21356         * locale/programs/locarchive.c (show_archive_content): Take new
21357         argument fname and pass it via ah.fname to open_archive.
21358         * locale/programs/localedef.h: Update decl.
21359         (open_archive): If AH->fname is non-null, open that file
21360         rather than the default file name, and don't ignore ENOENT.
21361         (create_archive): Set AH.fname to NULL.
21362         (delete_locales_from_archive): Likewise.
21363         (add_locales_to_archive): Likewise.
21364         * locale/programs/locfile.c (write_all_categories): Likewise.
21366 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21367             Aldy Hernandez  <aldyh@redhat.com>
21369         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21370         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21371         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21372         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21373         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21384         Likewise.
21385         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21386         Likewise.
21387         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21388         Likewise.
21389         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21390         Likewise.
21391         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21392         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21393         Likewise.
21394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21395         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21396         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21397         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21398         Likewise.
21399         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21400         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21401         * sysdeps/powerpc/preconfigure: Likewise.
21402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21403         Likewise.
21404         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21405         Replace contents of file by #include of <fenv_libc.h>.
21406         * sysdeps/powerpc/soft-fp/sfp-machine.h
21407         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21408         and <sys/prctl.h>.
21409         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21422         Allow copysignl PLT reference to be missing.
21424 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21425             Joseph Myers  <joseph@codesourcery.com
21427         [BZ #15948]
21428         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21429         single character.
21430         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21432 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21434         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21435         * elf/tst-tls1.c: Likewise.
21436         * elf/tst-tls10.h: Likewise.
21437         * elf/tst-tls14.c: Likewise.
21438         * elf/tst-tls2.c: Likewise.
21439         * elf/tst-tls3.c: Likewise.
21440         * elf/tst-tls4.c: Likewise.
21441         * elf/tst-tls5.c: Likewise.
21442         * elf/tst-tls6.c: Likewise.
21443         * elf/tst-tls7.c: Likewise.
21444         * elf/tst-tls8.c: Likewise.
21445         * elf/tst-tls9.c: Likewise.
21446         * elf/tst-tlsmod1.c: Likewise.
21447         * elf/tst-tlsmod13.c: Likewise.
21448         * elf/tst-tlsmod13a.c: Likewise.
21449         * elf/tst-tlsmod14a.c: Likewise.
21450         * elf/tst-tlsmod16a.c: Likewise.
21451         * elf/tst-tlsmod16b.c: Likewise.
21452         * elf/tst-tlsmod2.c: Likewise.
21453         * elf/tst-tlsmod3.c: Likewise.
21454         * elf/tst-tlsmod4.c: Likewise.
21455         * elf/tst-tlsmod5.c: Likewise.
21456         * elf/tst-tlsmod6.c: Likewise.
21458 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21460         [BZ #12486]
21461         * malloc/malloc.c: remove checks for statistics.
21463 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21465         [BZ #15277]
21466         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21467         * inet/tst-network.c: Add testcase.
21469 2013-10-17  Andreas Schwab  <schwab@suse.de>
21471         [BZ #15218]
21472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21473         to determine canonical name.
21475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21477         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21478         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21482         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21483         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21484         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21486         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21495         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21496         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21500         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21501         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21503         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21504         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21529         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21530         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21532         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21534         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21536 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21538         [BZ #16041]
21539         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21540         make result into a quiet NaN.
21542 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21544         * soft-fp/adddf3.c: Fix horizontal whitespace.
21545         * soft-fp/addsf3.c: Likewise.
21546         * soft-fp/addtf3.c: Likewise.
21547         * soft-fp/divdf3.c: Likewise.
21548         * soft-fp/divsf3.c: Likewise.
21549         * soft-fp/divtf3.c: Likewise.
21550         * soft-fp/double.h: Likewise.
21551         * soft-fp/eqdf2.c: Likewise.
21552         * soft-fp/eqsf2.c: Likewise.
21553         * soft-fp/eqtf2.c: Likewise.
21554         * soft-fp/extenddftf2.c: Likewise.
21555         * soft-fp/extended.h: Likewise.
21556         * soft-fp/extendsfdf2.c: Likewise.
21557         * soft-fp/extendsftf2.c: Likewise.
21558         * soft-fp/extendxftf2.c: Likewise.
21559         * soft-fp/fixdfdi.c: Likewise.
21560         * soft-fp/fixdfsi.c: Likewise.
21561         * soft-fp/fixdfti.c: Likewise.
21562         * soft-fp/fixsfdi.c: Likewise.
21563         * soft-fp/fixsfsi.c: Likewise.
21564         * soft-fp/fixsfti.c: Likewise.
21565         * soft-fp/fixtfdi.c: Likewise.
21566         * soft-fp/fixtfsi.c: Likewise.
21567         * soft-fp/fixtfti.c: Likewise.
21568         * soft-fp/fixunsdfdi.c: Likewise.
21569         * soft-fp/fixunsdfsi.c: Likewise.
21570         * soft-fp/fixunsdfti.c: Likewise.
21571         * soft-fp/fixunssfdi.c: Likewise.
21572         * soft-fp/fixunssfsi.c: Likewise.
21573         * soft-fp/fixunssfti.c: Likewise.
21574         * soft-fp/fixunstfdi.c: Likewise.
21575         * soft-fp/fixunstfsi.c: Likewise.
21576         * soft-fp/fixunstfti.c: Likewise.
21577         * soft-fp/floatdidf.c: Likewise.
21578         * soft-fp/floatdisf.c: Likewise.
21579         * soft-fp/floatditf.c: Likewise.
21580         * soft-fp/floatsidf.c: Likewise.
21581         * soft-fp/floatsisf.c: Likewise.
21582         * soft-fp/floatsitf.c: Likewise.
21583         * soft-fp/floattidf.c: Likewise.
21584         * soft-fp/floattisf.c: Likewise.
21585         * soft-fp/floattitf.c: Likewise.
21586         * soft-fp/floatundidf.c: Likewise.
21587         * soft-fp/floatundisf.c: Likewise.
21588         * soft-fp/floatunditf.c: Likewise.
21589         * soft-fp/floatunsidf.c: Likewise.
21590         * soft-fp/floatunsisf.c: Likewise.
21591         * soft-fp/floatunsitf.c: Likewise.
21592         * soft-fp/floatuntidf.c: Likewise.
21593         * soft-fp/floatuntisf.c: Likewise.
21594         * soft-fp/floatuntitf.c: Likewise.
21595         * soft-fp/fmadf4.c: Likewise.
21596         * soft-fp/fmasf4.c: Likewise.
21597         * soft-fp/fmatf4.c: Likewise.
21598         * soft-fp/gedf2.c: Likewise.
21599         * soft-fp/gesf2.c: Likewise.
21600         * soft-fp/getf2.c: Likewise.
21601         * soft-fp/ledf2.c: Likewise.
21602         * soft-fp/lesf2.c: Likewise.
21603         * soft-fp/letf2.c: Likewise.
21604         * soft-fp/muldf3.c: Likewise.
21605         * soft-fp/mulsf3.c: Likewise.
21606         * soft-fp/multf3.c: Likewise.
21607         * soft-fp/negdf2.c: Likewise.
21608         * soft-fp/negsf2.c: Likewise.
21609         * soft-fp/negtf2.c: Likewise.
21610         * soft-fp/op-1.h: Likewise.
21611         * soft-fp/op-2.h: Likewise.
21612         * soft-fp/op-4.h: Likewise.
21613         * soft-fp/op-8.h: Likewise.
21614         * soft-fp/op-common.h: Likewise.
21615         * soft-fp/quad.h: Likewise.
21616         * soft-fp/single.h: Likewise.
21617         * soft-fp/soft-fp.h: Likewise.
21618         * soft-fp/sqrtdf2.c: Likewise.
21619         * soft-fp/sqrtsf2.c: Likewise.
21620         * soft-fp/sqrttf2.c: Likewise.
21621         * soft-fp/subdf3.c: Likewise.
21622         * soft-fp/subsf3.c: Likewise.
21623         * soft-fp/subtf3.c: Likewise.
21624         * soft-fp/truncdfsf2.c: Likewise.
21625         * soft-fp/trunctfdf2.c: Likewise.
21626         * soft-fp/trunctfsf2.c: Likewise.
21627         * soft-fp/trunctfxf2.c: Likewise.
21628         * soft-fp/unorddf2.c: Likewise.
21629         * soft-fp/unordsf2.c: Likewise.
21630         * soft-fp/unordtf2.c: Likewise.
21632 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21635         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21637 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21639         * elf/dl-libc.c: Clear initfini list after freeing.
21641 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21643         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21644         * soft-fp/addsf3.c: Likewise.
21645         * soft-fp/addtf3.c: Likewise.
21646         * soft-fp/divdf3.c: Likewise.
21647         * soft-fp/divsf3.c: Likewise.
21648         * soft-fp/divtf3.c: Likewise.
21649         * soft-fp/double.h: Likewise.
21650         * soft-fp/eqdf2.c: Likewise.
21651         * soft-fp/eqsf2.c: Likewise.
21652         * soft-fp/eqtf2.c: Likewise.
21653         * soft-fp/extenddftf2.c: Likewise.
21654         * soft-fp/extended.h: Likewise.
21655         * soft-fp/extendsfdf2.c: Likewise.
21656         * soft-fp/extendsftf2.c: Likewise.
21657         * soft-fp/extendxftf2.c: Likewise.
21658         * soft-fp/fixdfdi.c: Likewise.
21659         * soft-fp/fixdfsi.c: Likewise.
21660         * soft-fp/fixdfti.c: Likewise.
21661         * soft-fp/fixsfdi.c: Likewise.
21662         * soft-fp/fixsfsi.c: Likewise.
21663         * soft-fp/fixsfti.c: Likewise.
21664         * soft-fp/fixtfdi.c: Likewise.
21665         * soft-fp/fixtfsi.c: Likewise.
21666         * soft-fp/fixtfti.c: Likewise.
21667         * soft-fp/fixunsdfdi.c: Likewise.
21668         * soft-fp/fixunsdfsi.c: Likewise.
21669         * soft-fp/fixunsdfti.c: Likewise.
21670         * soft-fp/fixunssfdi.c: Likewise.
21671         * soft-fp/fixunssfsi.c: Likewise.
21672         * soft-fp/fixunssfti.c: Likewise.
21673         * soft-fp/fixunstfdi.c: Likewise.
21674         * soft-fp/fixunstfsi.c: Likewise.
21675         * soft-fp/fixunstfti.c: Likewise.
21676         * soft-fp/floatdidf.c: Likewise.
21677         * soft-fp/floatdisf.c: Likewise.
21678         * soft-fp/floatditf.c: Likewise.
21679         * soft-fp/floatsidf.c: Likewise.
21680         * soft-fp/floatsisf.c: Likewise.
21681         * soft-fp/floatsitf.c: Likewise.
21682         * soft-fp/floattidf.c: Likewise.
21683         * soft-fp/floattisf.c: Likewise.
21684         * soft-fp/floattitf.c: Likewise.
21685         * soft-fp/floatundidf.c: Likewise.
21686         * soft-fp/floatundisf.c: Likewise.
21687         * soft-fp/floatunsidf.c: Likewise.
21688         * soft-fp/floatunsisf.c: Likewise.
21689         * soft-fp/floatuntidf.c: Likewise.
21690         * soft-fp/floatuntisf.c: Likewise.
21691         * soft-fp/floatuntitf.c: Likewise.
21692         * soft-fp/fmadf4.c: Likewise.
21693         * soft-fp/fmasf4.c: Likewise.
21694         * soft-fp/fmatf4.c: Likewise.
21695         * soft-fp/gedf2.c: Likewise.
21696         * soft-fp/gesf2.c: Likewise.
21697         * soft-fp/getf2.c: Likewise.
21698         * soft-fp/ledf2.c: Likewise.
21699         * soft-fp/lesf2.c: Likewise.
21700         * soft-fp/letf2.c: Likewise.
21701         * soft-fp/muldf3.c: Likewise.
21702         * soft-fp/mulsf3.c: Likewise.
21703         * soft-fp/multf3.c: Likewise.
21704         * soft-fp/negdf2.c: Likewise.
21705         * soft-fp/negsf2.c: Likewise.
21706         * soft-fp/negtf2.c: Likewise.
21707         * soft-fp/op-1.h: Likewise.
21708         * soft-fp/op-2.h: Likewise.
21709         * soft-fp/op-4.h: Likewise.
21710         * soft-fp/op-8.h: Likewise.
21711         * soft-fp/op-common.h: Likewise.
21712         * soft-fp/quad.h: Likewise.
21713         * soft-fp/single.h: Likewise.
21714         * soft-fp/soft-fp.h: Likewise.
21715         * soft-fp/sqrtdf2.c: Likewise.
21716         * soft-fp/sqrtsf2.c: Likewise.
21717         * soft-fp/sqrttf2.c: Likewise.
21718         * soft-fp/subdf3.c: Likewise.
21719         * soft-fp/subsf3.c: Likewise.
21720         * soft-fp/subtf3.c: Likewise.
21721         * soft-fp/truncdfsf2.c: Likewise.
21722         * soft-fp/trunctfdf2.c: Likewise.
21723         * soft-fp/trunctfsf2.c: Likewise.
21724         * soft-fp/trunctfxf2.c: Likewise.
21725         * soft-fp/unorddf2.c: Likewise.
21726         * soft-fp/unordsf2.c: Likewise.
21727         * soft-fp/unordtf2.c: Likewise.
21729 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21731         [BZ #15672]
21732         * misc/error.c (error_tail): Fix possible buffer overflow.
21734 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21736         [BZ #13028]
21737         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21738         address.
21740 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21742         [BZ #832]
21743         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21744         testing pipefail option.
21746 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21748         * soft-fp/double.h: Indent preprocessor directives inside #if.
21749         * soft-fp/extended.h: Likewise.
21750         * soft-fp/op-2.h: Likewise.
21751         * soft-fp/op-4.h: Likewise.
21752         * soft-fp/op-common.h: Likewise.
21753         * soft-fp/quad.h: Likewise.
21754         * soft-fp/single.h: Likewise.
21755         * soft-fp/soft-fp.h: Likewise.
21757 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21759         * iconv/iconv_prog.c: Fix typos.
21760         * stdio-common/psiginfo-data.h: Likewise.
21762 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21764         [BZ #15764]
21765         * locale/setlocale.c: Fix typo.
21767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21769         [BZ #16036]
21770         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21771         signaling NaN arguments.
21772         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21773         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21775         [BZ #14910]
21776         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21777         unordered operands.
21778         * soft-fp/gesf2.c (__gesf2): Likewise.
21779         * soft-fp/getf2.c (__getf2): Likewise.
21780         * soft-fp/ledf2.c (__ledf2): Likewise.
21781         * soft-fp/lesf2.c (__lesf2): Likewise.
21782         * soft-fp/letf2.c (__letf2): Likewise.
21784         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21785         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21786         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21787         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21788         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21789         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21790         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21791         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21792         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21793         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21794         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21795         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21796         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21797         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21798         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21799         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21800         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21801         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21802         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21803         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21804         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21805         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21806         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21807         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21808         * soft-fp/floattidf.c (__floattidf): Likewise.
21809         * soft-fp/floattisf.c (__floattisf): Likewise.
21810         * soft-fp/floattitf.c (__floattitf): Likewise.
21811         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21812         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21813         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21814         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21815         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21816         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21817         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21818         * soft-fp/gesf2.c (__gesf2): Likewise.
21819         * soft-fp/getf2.c (__getf2): Likewise.
21820         * soft-fp/ledf2.c (__ledf2): Likewise.
21821         * soft-fp/lesf2.c (__lesf2): Likewise.
21822         * soft-fp/letf2.c (__letf2): Likewise.
21824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21825         Undefine and redefine.
21826         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21827         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21828         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21829         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21830         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21831         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21832         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21833         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21834         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21835         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21836         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21837         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21838         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21839         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21840         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21842         [BZ #16032]
21843         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21844         without decrementing exponent if mantissa >= that for the
21845         denominator, not >.
21846         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21847         denominator, not >.  Decrement exponent in < case instead of
21848         incrementing in >= case.
21849         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21850         without decrementing exponent if mantissa >= that for the
21851         denominator, not >.
21853         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21854         computing saturated result for unsigned overflow.
21856 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21857             Jeff Law  <law@redhat.com>
21859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21860         (atan2Mp): Add systemtap probe marker.
21861         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21862         (__ieee754_log): Add systemtap probe marker.
21863         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21864         (atanMp): Add systemtap probe marker.
21865         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21866         (tanMp): Add systemtap probe marker.
21867         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21868         (__slowexp): Add systemtap probe marker.
21869         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21870         (__slowpow): Add systemtap probe marker.
21871         * manual/probes.texi: Document probes.
21873 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21875         [BZ #15362]
21876         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21877         written.
21878         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21879         written.
21880         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21881         written to buffer but not flushed.
21882         * libio/iofwrite_u.c:  Likewise.
21883         * libio/iopadn.c:  Return bytes returned even if EOF was
21884         encountered.
21885         * libio/iowpadn.c:  Likewise.
21886         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21887         if _IO_padn does not write the whole buffer.
21888         [!COMPILE_WPRINTF] (PAD): Likewise.
21890 2013-10-10  David S. Miller  <davem@davemloft.net>
21892         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21893         directory block.
21895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21897         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21898         instead of FSF address.
21899         * soft-fp/fixdfti.c: Likewise.
21900         * soft-fp/fixsfti.c: Likewise.
21901         * soft-fp/fixtfti.c: Likewise.
21902         * soft-fp/fixunsdfti.c: Likewise.
21903         * soft-fp/fixunssfti.c: Likewise.
21904         * soft-fp/fixunstfti.c: Likewise.
21905         * soft-fp/floattidf.c: Likewise.
21906         * soft-fp/floattisf.c: Likewise.
21907         * soft-fp/floattitf.c: Likewise.
21908         * soft-fp/floatuntidf.c: Likewise.
21909         * soft-fp/floatuntisf.c: Likewise.
21910         * soft-fp/floatuntitf.c: Likewise.
21911         * soft-fp/trunctfxf2.c: Likewise.
21913         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21914         * soft-fp/fixdfti.c: Likewise.
21915         * soft-fp/fixsfti.c: Likewise.
21916         * soft-fp/fixtfti.c: Likewise.
21917         * soft-fp/fixunsdfti.c: Likewise.
21918         * soft-fp/fixunssfti.c: Likewise.
21919         * soft-fp/fixunstfti.c: Likewise.
21920         * soft-fp/floattidf.c: Likewise.
21921         * soft-fp/floattisf.c: Likewise.
21922         * soft-fp/floattitf.c: Likewise.
21923         * soft-fp/floatuntidf.c: Likewise.
21924         * soft-fp/floatuntisf.c: Likewise.
21925         * soft-fp/floatuntitf.c: Likewise.
21926         * soft-fp/trunctfxf2.c: Likewise.
21928 2013-10-10  David S. Miller  <davem@davemloft.net>
21930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21932 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21935         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21936         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21937         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21938         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21939         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21940         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21943         for NaNs before doing comparisons on argument.
21944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21945         Likewise.
21947 2013-10-10  Will Newton  <will.newton@linaro.org>
21949         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21950         passed to _int_memalign does not overflow.
21952 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21954         * scripts/bench.pl: Add include-sources directive.
21955         * benchtests/README: Update documentation.
21957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21959         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21960         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21961         instead of FP_INIT_ROUNDMODE.
21962         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21963         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21965         [BZ #16034]
21966         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21967         copy class of input value.
21968         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21969         not handle exceptions.
21970         * soft-fp/negsf2.c (__negsf2): Likewise.
21971         * soft-fp/negtf2.c (__negtf2): Likewise.
21972         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21974 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21976         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21977         semicolon.  From Linux kernel.
21979 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21983 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21985         [BZ #156]
21986         * manual/socket.texi: Added statement about buffer
21987         for gethostbyname2_r.
21989 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21991         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21992         Use .p2align directive instead, throughout.
21993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21999         * sysdeps/x86_64/strchr.S: Likewise.
22000         * sysdeps/x86_64/strrchr.S: Likewise.
22002 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22004         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22006         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22008         * sysdeps/generic/math_private.h (__mpsin1): Remove
22009         declaration.
22010         (__mpcos1): Likewise.
22011         (__mpsin): New argument __range_reduce.
22012         (__mpcos): Likewise.
22013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22014         (slow): Use __mpsin and __mpcos.
22015         (slow1): Likewise.
22016         (slow2): Likewise.
22017         (sloww): Likewise.
22018         (sloww1): Likewise.
22019         (sloww2): Likewise.
22020         (bsloww): Likewise.
22021         (bsloww1): Likewise.
22022         (bsloww2): Likewise.
22023         (cslow2): Likewise.
22024         (csloww): Likewise.
22025         (csloww1): Likewise.
22026         (csloww2): Likewise.
22027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22028         range_reduce.  Merge in __mpsin1.
22029         (__mpcos): Likewise.
22030         (__mpsin1): Remove.
22031         (__mpcos1): Likewise.
22033 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22035         * locale/loadlocale.c (_nl_intern_locale_data): Use
22036         LOCFILE_ALIGNED_P.
22037         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22038         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22039         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22040         obstack data is appropriately aligned.
22041         (obstack_int32_grow_fast): Likewise.
22042         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22043         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22044         (add_locale_uint32_array): Likewise.
22046 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22048         * benchtests/Makefile: Remove ARGLIST and RET variables.
22049         ($(objpfx)bench-%.c): Pass only function name to the script.
22050         * benchtests/README: Update documentation.
22051         * benchtests/acos-inputs: Add new directives.
22052         * benchtests/acosh-inputs: Likewise.
22053         * benchtests/asin-inputs: Likewise.
22054         * benchtests/asinh-inputs: Likewise.
22055         * benchtests/atan-inputs: Likewise.
22056         * benchtests/atanh-inputs: Likewise.
22057         * benchtests/cos-inputs: Likewise.
22058         * benchtests/cosh-inputs: Likewise.
22059         * benchtests/exp-inputs: Likewise.
22060         * benchtests/log-inputs: Likewise.
22061         * benchtests/pow-inputs: Likewise.
22062         * benchtests/rint-inputs: Likewise.
22063         * benchtests/sin-inputs: Likewise.
22064         * benchtests/sinh-inputs: Likewise.
22065         * benchtests/tan-inputs: Likewise.
22066         * benchtests/tanh-inputs: Likewise.
22067         * scripts/bench.pl: Add support for new directives.
22069 2013-10-07  Alan Modra  <amodra@gmail.com>
22071         * README: Fix careless merge.
22073 2013-10-05  Alan Modra  <amodra@gmail.com>
22075         * NEWS: Mention powerpc64le support and bugs fixed.
22076         * README: Both big-endian and little-endian powerpc64 supported.
22078 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22080         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22081         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22082         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22083         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22085 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22087         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22088         match prototype.
22090 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22093         Move -mhard-float appending from
22094         ports/sysdeps/powerpc/powerpc32/Makefile.
22095         [$(with-fp) = yes] (ASFLAGS): Likewise.
22096         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22097         * sysdeps/powerpc/nofpu: Move directory from
22098         ports/sysdeps/powerpc/nofpu.
22099         * sysdeps/powerpc/soft-fp: Move directory from
22100         ports/sysdeps/powerpc/soft-fp.
22101         * sysdeps/powerpc/powerpc32/405: Move directory from
22102         ports/sysdeps/powerpc/powerpc32/405.
22103         * sysdeps/powerpc/powerpc32/440: Move directory from
22104         ports/sysdeps/powerpc/powerpc32/440.
22105         * sysdeps/powerpc/powerpc32/464: Move directory from
22106         ports/sysdeps/powerpc/powerpc32/464.
22107         * sysdeps/powerpc/powerpc32/476: Move directory from
22108         ports/sysdeps/powerpc/powerpc32/476.
22109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22114         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22116         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22118         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22119         * README: Update for powerpc-*-linux-gnu software floating point
22120         support in libc.
22122         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22123         case to powerpc/powerpc32*.
22124         * sysdeps/unix/sysv/linux/configure: Regenerated.
22126         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22127         (_FPU_MASK_OM): Define as 0x04.
22128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22130         0x00c10080.
22131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22132         0x0000003c.
22133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22137         getcontext_e500.
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22140         setcontext_e500.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22142         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22143         and setcontext_e500.
22145 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22147         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22149 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22151         * manual/threads.texi (Default Thread Attributes): Fix typo.
22153 2013-10-04  Will Newton  <will.newton@linaro.org>
22155         * malloc/Makefile: Add tst-memalign.
22156         * malloc/tst-memalign.c: New file.
22158         * malloc/tst-posix_memalign.c: Add comments.
22159         (do_test): Add comments and call free on all potentially
22160         allocated pointers. Add space after cast.
22162         * malloc/tst-pvalloc.c: Add comments.
22163         (do_test): Add comments and call free on all potentially
22164         allocated pointers. Remove duplicate check for NULL pointer.
22165         Add space after cast.
22167         * malloc/tst-valloc.c: Add comments.
22168         (do_test): Add comments and call free on all potentially
22169         allocated pointers. Remove duplicate check for NULL pointer.
22170         Add space after cast.
22172 2013-10-04  Alan Modra  <amodra@gmail.com>
22174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22175         Use stdint types in rather than __attribute__((mode())).
22176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22178 2013-10-04  Alan Modra  <amodra@gmail.com>
22180         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22181         Correct handling of unaligned relocs for little-endian.
22182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22184 2013-10-04  Alan Modra  <amodra@gmail.com>
22186         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22187         * configure: Regenerate.
22188         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22189         * shlib-versions: Likewise.
22191 2013-10-04  Alan Modra  <amodra@gmail.com>
22193         * string/tester.c (test_memrchr): Increment reported test cycle.
22195 2013-10-04  Alan Modra  <amodra@gmail.com>
22197         * string/test-memcpy.c (do_one_test): When reporting errors, print
22198         string address and don't overrun end of string.
22200 2013-10-04  Alan Modra  <amodra@gmail.com>
22202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22203         insrdi.  Make better use of reg selection to speed exit slightly.
22204         Schedule entry path a little better.  Remove useless "are we done"
22205         checks on entry to main loop.  Handle wrapping around zero address.
22206         Correct main loop count.  Handle single left-over word from main
22207         loop inline rather than by using loop_small.  Remove extra word
22208         case in loop_small caused by wrong loop count.  Add little-endian
22209         support.
22210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22212         cache hint.
22213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22214         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22215         support.  Avoid rlwimi.
22216         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22218 2013-10-04  Alan Modra  <amodra@gmail.com>
22220         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22221         insrdi.  Formatting.
22222         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22223         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22224         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22226         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22227         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22229 2013-10-04  Alan Modra  <amodra@gmail.com>
22231         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22240         use of regs.  Use power7 mtocrf.  Tidy function tails.
22242 2013-10-04  Alan Modra  <amodra@gmail.com>
22244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22245         Formatting.  Consistently use rXXX register defines or rN defines.
22246         Use early exit labels that avoid restoring unused non-volatile regs.
22247         Make cr field use more consistent with rWORDn compares.  Rename
22248         regs used as shift registers for unaligned loop, using rN defines
22249         for short lifetime/multiple use regs.
22250         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22252         addi 1,1,64 to pop stack frame.  Simplify return value code.
22253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22255 2013-10-04  Alan Modra  <amodra@gmail.com>
22257         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22258         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22259         rather than rlwimi.
22260         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22262         little-endian support.  Correct typos.
22263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22264         rather than rlwimi.
22265         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22266         in loop and entry code to keep "and." results.
22267         (strchr): Add little-endian support.  Comment.  Move cntlzd
22268         earlier in tail.
22269         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22271 2013-10-04  Alan Modra  <amodra@gmail.com>
22273         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22274         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22275         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22276         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22278 2013-10-04  Alan Modra  <amodra@gmail.com>
22280         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22281         (rTMP): Define as r11.
22282         (strcmp): Add little-endian support.  Optimise tail.
22283         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22287         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22291 2013-10-04  Alan Modra  <amodra@gmail.com>
22293         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22294         little-endian support.  Remove unnecessary "are we done" tests.
22295         Handle "s" wrapping around zero and extremely large "size".
22296         Correct main loop count.  Handle single left-over word from main
22297         loop inline rather than by using small_loop.  Correct comments.
22298         Delete "zero" tail, use "end_max" instead.
22299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22301 2013-10-04  Alan Modra  <amodra@gmail.com>
22303         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22304         support.  Don't branch over align.
22305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22306         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22307         support.  Rearrange tmp reg use to suit.  Comment.
22308         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22310 2013-10-04  Alan Modra  <amodra@gmail.com>
22312         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22314 2013-10-04  Alan Modra  <amodra@gmail.com>
22316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22317         conditional form of branch and link when obtaining pc.
22318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22320 2013-10-04  Alan Modra  <amodra@gmail.com>
22322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22323         HIWORD/LOWORD.
22324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22327 2013-10-04  Alan Modra  <amodra@gmail.com>
22329         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22330         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22333         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22335         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22341             Alistair Popple <alistair@ozlabs.au.ibm.com>
22342             Alan Modra <amodra@gmail.com>
22344         [BZ #15723]
22345         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22347         _dl_hwcap access for little-endian.
22348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22349         destroy vmx regs when saving unaligned.
22350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22352         destroy vmx regs when saving unaligned.
22354 2013-10-04  Alan Modra  <amodra@gmail.com>
22356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22357         Don't use a union to pack hi/low value.
22359 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22361         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22362         for little-endian.
22363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22369 2013-10-04  Alan Modra  <amodra@gmail.com>
22371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22372         constants to usual value for .cst8 section, and remove redundant
22373         high address load.
22374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22375         constant for 0x1p52.  Load little-endian words of double from
22376         correct stack offsets.
22378 2013-10-04  Alan Modra  <amodra@gmail.com>
22380         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22382         words of double from correct stack offsets.
22383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22384         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22390         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22401 2013-10-04  Alan Modra  <amodra@gmail.com>
22403         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22404         64-bit int/double union.
22405         (_FPU_SETCW): Likewise.
22406         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22407         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22409 2013-10-04  Alan Modra  <amodra@gmail.com>
22411         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22412         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22414 2013-10-04  Alan Modra  <amodra@gmail.com>
22416         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22417         use vector int constants.
22418         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22422         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22423         array with long long.
22424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22425         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22426         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22429         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22430         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22431         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22432         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22433         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22440         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22441         (__signbit): Likewise.  Correct for little-endian.
22442         (__signbitl): Call __signbit.
22443         (lrint): Correct for little-endian.
22444         (lrintf): Call lrint.
22446 2013-10-04  Alan Modra  <amodra@gmail.com>
22448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22449         union 32-bit int array member with 64-bit int array.
22450         (t515, tm256): Double rather than long double.
22451         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22453 2013-10-04  Alan Modra  <amodra@gmail.com>
22455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22456         Delete.
22457         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22459         version of math_ldbl.h.
22461 2013-10-04  Alan Modra  <amodra@gmail.com>
22463         [BZ #15734], [BZ #15735]
22464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22465         all uses of ieee875 long double macros and unions.  Simplify test
22466         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22467         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22468         normalize after ldbl_extract_mantissa, and don't add hidden bit
22469         already handled.  Don't treat low word of ieee854 mantissa like
22470         low word of IBM long double and mask off bit when testing for
22471         zero.
22472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22473         all uses of ieee875 long double macros and unions.  Simplify tests
22474         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22475         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22476         two1022, instead use their values.  Recognise that tests for large
22477         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22479         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22480         test for 0.0L and nan.  Correct negation.
22481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22482         ieee875 long double macros and unions.  Correct output for large
22483         magnitude x.  Correct absolute value calculation.
22484         (__erfcl): Likewise.
22485         * math/libm-test.inc: Add tests for errors discovered in IBM long
22486         double versions of fmodl, remainderl, erfl and erfcl.
22488 2013-10-04  Alan Modra  <amodra@gmail.com>
22490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22491         all uses of ieee854 long double macros and unions.  Simplify tests
22492         for long doubles that are fully specified by the high double.
22493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22494         Likewise.
22495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22496         Remove dead code too.
22497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22498         (__ieee754_ynl): Likewise.
22499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22502         Remove dead code too.
22503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22507         Simplify.
22508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22509         Simplify.
22510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22513         Comment on variable precision.
22514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22516         Likewise.
22517         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22523 2013-10-04  Alan Modra  <amodra@gmail.com>
22525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22527         all uses of ieee854 long double macros and unions.
22528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22534         Likewise.
22535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22536         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22541         Simplify sign and nan test too.
22542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22543         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22544         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22546         Likewise.
22547         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22549         Likewise.
22550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22551         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22557 2013-10-04  Alan Modra  <amodra@gmail.com>
22559         * stdio-common/printf_size.c (__printf_size): Don't use
22560         union ieee854_long_double in fpnum union.
22561         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22562         signbit macro to retrieve sign from long double.
22563         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22564         retrieve sign from long double.
22565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22566         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22567         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22568         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22569         * math/test-misc.c (main): Don't use union ieee854_long_double.
22571 2013-10-04  Alan Modra  <amodra@gmail.com>
22573         [BZ #15680]
22574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22576         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22577         calculation.  Remove unnecessary test for denormal exponent.
22578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22579         Correct handling of denormals.  Avoid undefined shift behaviour.
22580         Correct normalisation of low mantissa when low double is denormal.
22581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22582         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22583         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22584         Correct normalisation of low mantissa.  Test for overflow of high
22585         mantissa and normalise.
22586         (ldbl_nearbyint): Use more readable constant for two52.
22587         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22588         (__mpn_construct_long_double): Fix test for overflow of high
22589         mantissa and correct normalisation.  Avoid undefined shift.
22591 2013-10-04  Alan Modra  <amodra@gmail.com>
22593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22594         (union ibm_extended_long_double): Define as an array of ieee754_double.
22595         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22597         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22602         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22607 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22609         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22610         page size instead of calling getpagesize.
22612         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22613         (LOCFILE_ALIGN_MASK): Likewise.
22614         (LOCFILE_ALIGN_UP): Likewise.
22615         (LOCFILE_ALIGNED_P): Likewise.
22616         * locale/programs/ld-collate.c (collate_output): Use the new
22617         macros instead of __alignof__ (int32_t).
22618         * locale/weight.h (findidx): Likewise.
22620 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22622         [BZ #431]
22623         * manual/string.texi: Fix strncat and wcsncat.
22625 2013-10-03  Brooks Moses  <bmoses@google.com>
22627         [BZ #15915]
22628         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22629         * Makerules: ...here, and adjust associated comments.
22631 2013-10-02  Will Newton  <will.newton@linaro.org>
22633         * malloc/Makefile: Add tst-pvalloc.
22634         * malloc/tst-pvalloc.c: New file.
22636 2013-10-02  Will Newton  <will.newton@linaro.org>
22638         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22639         improve test coverage.
22641 2013-10-02  Will Newton  <will.newton@linaro.org>
22643         * malloc/Makefile: Add tst-posix_memalign.
22644         * malloc/tst-posix_memalign.c: New file.
22646 2013-10-01  Eric Blake  <eblake@redhat.com>
22648         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22649         Use __THROWNL rather than __THROW on static functions.
22651 2013-09-30  Petr Machata  <pmachata@redhat.com>
22653         * elf/elf.h (R_AARCH64_ABS16): New macro.
22654         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22655         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22656         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22657         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22658         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22659         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22660         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22661         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22662         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22663         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22664         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22665         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22666         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22667         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22668         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22669         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22670         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22671         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22672         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22673         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22674         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22675         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22676         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22677         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22678         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22679         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22680         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22681         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22682         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22683         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22685         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22687         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22688         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22690         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22692         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22694         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22696         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22698         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22700         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22702         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22703         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22704         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22705         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22706         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22707         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22708         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22709         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22710         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22711         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22712         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22713         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22715         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22717         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22719         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22721         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22723         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22724         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22725         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22726         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22727         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22728         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22729         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22730         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22731         (R_AARCH64_TLSDESC_LDR): Likewise.
22732         (R_AARCH64_TLSDESC_ADD): Likewise.
22733         (R_AARCH64_TLSDESC_CALL): Likewise.
22735 2013-09-30  Andreas Schwab  <schwab@suse.de>
22737         [BZ #15048]
22738         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22739         the nss database lookup.
22740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22743 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22745         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22747 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22750         ${Bash-specific parameter/pattern/string} parameter expansion.
22751         * sysdeps/unix/make-syscalls.sh: Likewise.
22753 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22755         * sysdeps/sh/stackguard-macros.h: New file.
22757 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22761         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22764         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22766 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22768         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22769         Fix thread ID register.
22771 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22773         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22774         [POSIX || UNIX98]: Require rather than permitting all symbols from
22775         <time.h>.
22776         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22777         element of struct sched_param.
22778         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22779         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22780         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22781         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22782         constant.
22784 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22786         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22787         argument calculation.
22789 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22791         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22792         Expect macro.
22793         [POSIX] (pthread_attr_t): Do not require type.
22794         [POSIX] (pthread_cond_t): Likewise.
22795         [POSIX] (pthread_condattr_t): Likewise.
22796         [POSIX] (pthread_key_t): Likewise.
22797         [POSIX] (pthread_mutex_t): Likewise.
22798         [POSIX] (pthread_mutexattr_t): Likewise.
22799         [POSIX] (pthread_once_t): Likewise.
22800         [POSIX] (pthread_t): Likewise.
22801         [POSIX-based standards] (pthread_atfork): Expect function.
22803 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22804             Richard Sandiford  <richard@codesourcery.com>
22806         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22807         (swap_endianness_p): New extern variable.
22808         (set_big_endian): New inline function.
22809         (maybe_swap_uint32): Likewise.
22810         (maybe_swap_uint32_array): Likewise.
22811         (maybe_swap_uint32_obstack): Likewise.
22812         * locale/programs/locfile.c: Include <stdbool.h>.
22813         (swap_endianness_p): New variable.
22814         (add_locale_uint32): Call maybe_swap_uint32.
22815         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22816         (write_locale_data): Call maybe_swap_uint32_array.
22817         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22818         maybe_swap_uint32.
22819         (obstack_int32_grow_fast): Likewise.
22820         (output_weightwc): Call maybe_swap_uint32_obstack.
22821         (collate_output): Likewise.
22822         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22823         (OPT_LITTLE_ENDIAN): Likewise.
22824         (options): Add --little-endian and --big-endian options.
22825         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22826         * locale/programs/locarchive.c: Include "locfile.h".
22827         (GET): New macro.
22828         (SET): Likewise.
22829         (INC): Likewise.
22830         (create_archive): Use the new macros to access fields of
22831         structures directly mapped from or written to locale archives.
22832         (oldlocrecentcmp): Likewise.
22833         (enlarge_archive): Likewise.
22834         (insert_name): Likewise.
22835         (add_alias): Likewise.
22836         (add_locale): Likewise.
22837         (delete_locales_from_archive): Likewise.
22838         (show_archive_content): Likewise.
22839         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22840         locale data.
22842 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22844         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22845         http://www.gnu.org/doc/freemanuals.texi.
22846         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22848 2013-09-24  Will Newton  <will.newton@linaro.org>
22850         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22851         macro.
22853 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22855         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22856         unsigned char.
22858 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22860         * manual/threads.texi (POSIX Threads): Fix a typo.
22862 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22864         [BZ #14547]
22865         * string/tst-strcoll-overflow.c: New test case.
22866         * string/Makefile (xtests): Add tst-strcoll-overflow.
22867         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22868         cache if string sizes may cause integer overflow.
22870         [BZ #14547]
22871         * string/strcoll_l.c (coll_seq): New members rule, idx,
22872         save_idx and back_us.
22873         (get_next_seq_nocache): New function.
22874         (do_compare_nocache): New function.
22875         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22876         when malloc fails.
22878 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22880         [BZ #15754]
22881         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22882         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22883         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22885         [BZ #15754]
22886         * elf/Makefile (tests): Add tst-ptrguard1.
22887         (tests-static): Add tst-ptrguard1-static.
22888         (tst-ptrguard1-ARGS): Define.
22889         (tst-ptrguard1-static-ARGS): Define.
22890         * elf/tst-ptrguard1.c: New file.
22891         * elf/tst-ptrguard1-static.c: New file.
22892         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22893         * sysdeps/i386/stackguard-macros.h: Likewise.
22894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22901 2013-09-23  Hector Marco  <hecmargi@upv.es>
22902             Ismael Ripoll  <iripoll@disca.upv.es>
22903             Carlos O'Donell  <carlos@redhat.com>
22905         [BZ #15754]
22906         * sysdeps/generic/stackguard-macros.h: Define
22907         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22908         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22909         Define __pointer_chk_guard_local.
22910         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22911         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22913 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22915         [BZ #15859]
22916         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22918 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22920         * include/string.h (__ffs): Declare as hidden.
22921         * string/ffs.c (__ffs): Define as hidden.
22922         * sysdeps/i386/ffs.c (__ffs): Likewise.
22923         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22924         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22925         * sysdeps/s390/ffs.c (__ffs): Likewise.
22926         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22928 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22930         * NEWS: Mention malloc probes.
22932         * malloc/arena.c (new_heap): New memory_heap_new probe.
22933         (grow_heap): New memory_heap_more probe.
22934         (shrink_heap): New memory_heap_less probe.
22935         (heap_trim): New memory_heap_free probe.
22936         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22937         (systrim): New memory_sbrk_less probe.
22938         * manual/probes.texi: Document them.
22940         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22941         * manual/probes.texi: Document it.
22943         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22944         (__libc_realloc): Add memory_realloc_retry probe.
22945         (__libc_memalign): Add memory_memalign_retry probe.
22946         (__libc_valloc): Add memory_valloc_retry probe.
22947         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22948         (__libc_calloc): Add memory_calloc_retry probe.
22949         * manual/probes.texi: Document them.
22951         * malloc/arena.c (get_free_list): Add probe
22952         memory_arena_reuse_free_list.
22953         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22954         and memory_arena_reuse.
22955         (arena_get2) [!PER_THREAD]: Likewise.
22956         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22957         memory_arena_reuse_realloc.
22958         * manual/probes.texi: Document them.
22960         * malloc/malloc.c (__libc_free): Add
22961         memory_mallopt_free_dyn_thresholds probe.
22962         (__libc_mallopt): Add multiple memory_mallopt probes.
22963         * manual/probes.texi: Document them.
22965         * malloc/malloc.c: Include stap-probe.h.
22966         (__libc_mallopt): Add memory_mallopt probe.
22967         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22968         * manual/probes.texi: New.
22969         * manual/Makefile (chapters): Add probes.
22970         * manual/threads.texi: Set next node.
22972 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22974         [BZ #15963, #13985]
22975         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22976         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22977         Add `Chinese' to `nan' entry name.
22979 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22982         (POLYNOMIAL): Likewise.
22983         (TAYLOR_SINCOS): Likewise.
22984         (TAYLOR_SLOW): Likewise.
22985         (__sin): Use TAYLOR_SINCOS.
22986         (__cos): Likewise.
22987         (slow): Use TAYLOR_SLOW.
22988         (sloww): Likewise.
22989         (bsloww): Likewise.
22990         (csloww): Likewise.
22992 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22994         * stdlib/strtod_l.c: Fix buffer overrun.
22996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22998         * benchtests/Makefile (bench): Add sincos.
22999         * benchtests/bench-sincos.c: New file.
23001         * math/libm-test.inc (cos_test_data): New test inputs.
23002         (sin_test_data): Likewise.
23004         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23005         macro.
23006         (__sin): Use it.
23007         (__cos): Likewise.
23008         (slow1): Likewise.
23009         (slow2): Likewise.
23010         (sloww1): Likewise.
23011         (sloww2): Likewise.
23012         (bsloww1): Likewise.
23013         (bsloww2): Likewise.
23014         (cslow2): Likewise.
23015         (csloww1): Likewise.
23016         (csloww2): Likewise.
23018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23019         function.
23020         (__sin): Use it.
23021         (__cos): Likewise.
23023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23024         gotos.
23025         (__cos): Likewise.
23027 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23029         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23030         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23031         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23032         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23033         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23034         * elf/cache.c (print_entry): Handle the new cache flags.
23036 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23037             Aldy Hernandez  <aldyh@redhat.com>
23039         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23040         Change condition to [_SOFT_FLOAT].
23041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23053         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23056         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23057         declaration.
23059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23061         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23063         (__longjmp): Use LOAD_GP to load saved GPRs.
23064         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23065         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23066         (__sigsetjmp): Use SAVE_GP to save GPRs.
23068         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23069         Do not append -msoft-float.
23070         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23072 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23074         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23076 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23078         [BZ #15966]
23079         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23080         (_FPU_GETCW): Use initial "__" on variable and field names but not
23081         on macro parameter name.
23082         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23083         parentheses around reference to macro parameter.
23085 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23087         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23088         prototype.
23089         (ctype_startup): Use uint32_t in cast and sizeof for
23090         ctype->charnames.
23092 2013-09-11  Jia Liu  <proljc@gmail.com>
23094         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23095         __daddr_t_defined.
23096         [__FreeBSD__]: Likewise.
23098 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23101         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23103         (strchr): Remove __strchr_sse42 ifunc selection.
23104         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23105         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23107 2013-09-11  Will Newton  <will.newton@linaro.org>
23109         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23110         parameter to RES. Remove hardcoded 1000 value.
23111         * benchtests/bench-skeleton.c (main): Pass RES parameter
23112         to TIMING_INIT and multiply result by 1000.
23114 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23118 2013-09-11  Andreas Schwab  <schwab@suse.de>
23120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23121         if not defined.
23122         (O_TMPFILE) [__USE_GNU]: Define.
23123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23124         Define.
23126 2013-09-11  Will Newton  <will.newton@linaro.org>
23128         [BZ #15857]
23129         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23130         does not overflow.
23132 2013-09-11  Will Newton  <will.newton@linaro.org>
23134         [BZ #15856]
23135         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23136         does not overflow.
23138 2013-09-11  Will Newton  <will.newton@linaro.org>
23140         [BZ #15855]
23141         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23142         does not overflow.
23144 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23146         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23152 2013-09-10  Allan McRae  <allan@archlinux.org>
23154         [BZ #15748]
23155         * manual/arith.texi (Parsing of Floats): Clarify
23156         cross-reference.
23158         [BZ #15849]
23159         * manual/install.texi (Running make install): Mention
23160         --enable-pt-chown.
23161         * INSTALL: Regenerated.
23163 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23165         * csu/init-first.c (_init): Remove the !SHARED condition around
23166         FPU control word initialization.
23167         * elf/dl-support.c (_dl_fpu_control): New variable.
23168         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23169         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23170         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23171         * math/test-fpucw-static.c: New file.
23172         * math/test-fpucw-ieee.c: New file.
23173         * math/test-fpucw-ieee-static.c: New file.
23174         * math/Makefile (tests): Add `test-fpucw-ieee' and
23175         `$(tests-static)'.
23176         (tests-static): New variable.
23177         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23178         dependency to...
23179         [($(build-shared),yes)]
23180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23181         ... this.
23182         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23183         New dependency.
23185 2013-09-09  Allan McRae  <allan@archlinux.org>
23187         [BZ #15939]
23188         * manual/string.texi (Collation Functions): Fix typo in
23189         strcoll example.
23190         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23192         [BZ #15893]
23193         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23195         [BZ #15892]
23196         * libio/memstream.c (open_memstream): Fix memory leak.
23197         * libio/wmemstream.c (open_wmemstream): Likewise.
23199         [BZ #15895]
23200         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23202 2013-09-09  Will Newton  <will.newton@linaro.org>
23204         * malloc/Makefile: Add tst-realloc to tests.
23205         * malloc/tst-realloc.c: New file.
23207 2013-09-09  Allan McRae  <allan@archlinux.org>
23209         [BZ #15844]
23210         * COPYING: Update from GNU website to fix FSF address.
23211         * COPYING.LIB: Likewise.
23213 2013-09-06  David S. Miller  <davem@davemloft.net>
23215         * po/zh_TW.po: Update Chinese (traditional) translation from
23216         translation project.
23218 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23219             Joseph Myers  <joseph@codesourcery.com>
23221         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23222         "localeinfo.h".
23223         (obstack_chunk_alloc): New macro.
23224         (obstack_chunk_free): Likewise.
23225         (record_offset): New function.
23226         (init_locale_data): Likewise.
23227         (align_locale_data): Likewise.
23228         (add_locale_empty): Likewise.
23229         (add_locale_raw_data): Likewise.
23230         (add_locale_raw_obstack): Likewise.
23231         (add_locale_string): Likewise.
23232         (add_locale_wstring): Likewise.
23233         (add_locale_uint32): Likewise.
23234         (add_locale_uint32_array): Likewise.
23235         (add_locale_char): Likewise.
23236         (start_locale_structure): Likewise.
23237         (end_locale_structure): Likewise.
23238         (start_locale_prelude): Likewise.
23239         (end_locale_prelude): Likewise.
23240         (write_locale_data): Take locale_file structure rather than an
23241         iovec.
23242         * locale/programs/locfile.h: Include "obstack.h".
23243         (struct locale_file): Change to store locale file contents instead
23244         of header.
23245         (init_locale_data): New prototype.
23246         (align_locale_data): Likewise.
23247         (add_locale_empty): Likewise.
23248         (add_locale_raw_data): Likewise.
23249         (add_locale_raw_obstack): Likewise.
23250         (add_locale_string): Likewise.
23251         (add_locale_wstring): Likewise.
23252         (add_locale_uint32): Likewise.
23253         (add_locale_uint32_array): Likewise.
23254         (add_locale_char): Likewise.
23255         (start_locale_structure): Likewise.
23256         (end_locale_structure): Likewise.
23257         (start_locale_prelude): Likewise.
23258         (end_locale_prelude): Likewise.
23259         (write_locale_data): Update prototype.
23260         * locale/programs/3level.h (struct TABLE): Remove result field.
23261         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23262         Use new locale_file interface.
23263         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23264         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23265         * locale/programs/ld-address.c (address_output): Use new
23266         locale_file interface.
23267         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23268         NO_ADD_LOCALE.
23269         (collate_finish): Don't call collseq_table_finalize.
23270         (collate_output): Use new locale_file interface.
23271         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23272         in file.
23273         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23274         (TABLE): Move defines earlier in file.
23275         (ELEMENT): Likewise.
23276         (DEFAULT): Likewise.
23277         (wctrans_table_add): Move macro and inline function earlier in
23278         file.
23279         (struct wctype_table): Move type earlier in file.
23280         (add_locale_wctype_table): New static prototype.
23281         (struct locale_ctype_t): Use logical types instead of struct iovec
23282         pointers for members.
23283         (ctype_output): Use new locale_file interface.
23284         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23285         new locale_file interface.
23286         (allocate_arrays): Update for use of new locale_file interface.
23287         * locale/programs/ld-identification.c (identification_output): Use
23288         new locale_file interface.
23289         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23290         * locale/programs/ld-messages.c (messages_output): Likewise.
23291         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23292         * locale/programs/ld-name.c (name_output): Likewise.
23293         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23294         * locale/programs/ld-paper.c (paper_output): Likewise.
23295         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23296         * locale/programs/ld-time.c (time_output): Likewise.
23298 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23300         * benchtests/Makefile: Add memrchr benchmark.
23301         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23302         benchmark as memrchr.
23303         * benchtests/bench-memrchr-ifunc.c: New file.
23304         * benchtests/bench-memrchr.c: New file.
23306 2013-09-06   Will Newton  <will.newton@linaro.org>
23308         * benchtests/Makefile (string-bench): Add memcpy.
23310 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23311             Cong Wang  <amwang@redhat.com>
23313         [BZ #15850]
23314         * sysdeps/unix/sysv/linux/bits/in.h
23315         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23316         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23317         before __USE_KERNEL_IPV6_DEFS uses.
23318         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23319         IPPROTO_BEETPH.
23320         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23321         sockaddr_in6, or ipv6_mreq.
23323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23326         memory access for final bytes in some large inputs.
23327         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23329 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23331         * string/test-memrchr.c: New file.
23332         * string/test-memrchr-ifunc.c: New file.
23333         * string/Makefile: Add new memrchr testcase.
23335 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23338         fanotify_init returns EPERM.
23340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23342         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23343         errors.
23344         (top level): Treat second token from macro or constant entries for
23345         allowed headers as allowed.
23346         * include/complex.h: Condition internal declarations on
23347         [!_ISOMAC].
23348         * include/fenv.h: Condition include of <stdbool.h> and internal
23349         declarations on [!_ISOMAC].
23351 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23353         [BZ #15923]
23354         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23358         * configure.in (--enable-versioning): Remove configure option.
23359         (libc_cv_asm_symver_directive): Remove configure test.
23360         (libc_cv_ld_version_script_option): Likewise.
23361         (VERSIONING): Remove variable and AC_SUBST.
23362         (DO_VERSIONING): Remove AC_DEFINE.
23363         * configure: Regenerated.
23364         * config.h.in (DO_VERSIONING): Remove macro.
23365         * Makerules [$(versioning) = yes]: Change conditionals to
23366         [$(build-shared) = yes].
23367         * config.make.in (versioning): Remove variable.
23368         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23369         [$(build-shared) = yes].
23370         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23371         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23372         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23373         [$(build-shared) = yes].
23374         * extra-lib.mk [$(versioning) = yes]: Likewise.
23375         * hurd/Makefile [$(versioning) = yes]: Likewise.
23376         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23377         [SHARED].
23378         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23379         [SHARED].
23380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23381         [SHARED && !NO_HIDDEN].
23382         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23383         [SHARED].
23384         [SHARED && DO_VERSIONING]: Likewise..
23385         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23386         [$(build-shared) = yes].
23387         * manual/install.texi (--disable-versioning): Remove
23388         documentation.
23389         * INSTALL: Regenerated.
23390         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23391         to [SHARED].
23392         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23393         [$(build-shared) = yes].
23394         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23395         * sysdeps/i386/i686/multiarch/strstr-c.c
23396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23397         [SHARED && !NO_HIDDEN].
23398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23399         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23400         * sysdeps/powerpc/powerpc32/dl-machine.c
23401         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23402         * sysdeps/powerpc/powerpc32/sysdep.h
23403         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23404         to [SHARED && PIC && !NO_HIDDEN].
23405         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23406         conditional to [SHARED].
23408 2013-09-04   Will Newton  <will.newton@linaro.org>
23410         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23411         * benchtests/bench-string.h: Include bench-timing.h instead
23412         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23413         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23414         call to HP_TIMING_DIFF_INIT.
23415         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23416         instead of hp-timing.h macros.
23417         * benchtests/bench-memchr.c: Likewise.
23418         * benchtests/bench-memcmp.c: Likewise.
23419         * benchtests/bench-memcpy.c: Likewise.
23420         * benchtests/bench-memmem.c: Likewise.
23421         * benchtests/bench-memmove.c: Likewise.
23422         * benchtests/bench-memset.c: Likewise.
23423         * benchtests/bench-rawmemchr.c: Likewise.
23424         * benchtests/bench-strcasecmp.c: Likewise.
23425         * benchtests/bench-strcasestr.c: Likewise.
23426         * benchtests/bench-strcat.c: Likewise.
23427         * benchtests/bench-strchr.c: Likewise.
23428         * benchtests/bench-strcmp.c: Likewise.
23429         * benchtests/bench-strcpy.c: Likewise.
23430         * benchtests/bench-strcpy_chk.c: Likewise.
23431         * benchtests/bench-strlen.c: Likewise.
23432         * benchtests/bench-strncasecmp.c: Likewise.
23433         * benchtests/bench-strncat.c: Likewise.
23434         * benchtests/bench-strncmp.c: Likewise.
23435         * benchtests/bench-strncpy.c: Likewise.
23436         * benchtests/bench-strnlen.c: Likewise.
23437         * benchtests/bench-strpbrk.c: Likewise.
23438         * benchtests/bench-strrchr.c: Likewise.
23439         * benchtests/bench-strspn.c: Likewise.
23440         * benchtests/bench-strstr.c: Likewise.
23442 2013-09-04  Will Newton  <will.newton@linaro.org>
23444         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23446 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23448         [BZ #15427]
23449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23450         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23451         * math/libm-test.inc (lgamma_test_data): Add more tests.
23452         * sysdeps/i386/fpu/libm-test-ulps: Update.
23453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23455 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23457         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23459         Add ifunc.
23460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23461         Add strcmp-sse2-unaligned
23462         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23464 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23466         * Versions.def (libc): Add GLIBC_2.19.
23468 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23470         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23471         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23473 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23475         [BZ #14155]
23476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23477         intermediate calculations in recurrence.
23478         (__ieee754_ynf): Likewise.
23479         * math/libm-test.inc (jn_test_data): Do not allow spurious
23480         underflow exception.  Add more tests.
23481         (yn_test_data): Add more tests.
23482         * sysdeps/i386/fpu/libm-test-ulps: Update.
23483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23485 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23491         * csu/init-first.c: Fix then/than typos.
23492         * locale/programs/ld-collate.c: Likewise.
23493         * locale/programs/linereader.h: Likewise.
23494         * manual/charset.texi: Likewise.
23495         * manual/filesys.texi: Likewise.
23496         * manual/stdio.texi: Likewise.
23497         * manual/string.texi: Likewise.
23498         * stdlib/fmtmsg.c: Likewise.
23499         * sysdeps/i386/stpncpy.S: Likewise.
23500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23501         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23507         * elf/dl-open.c: Fix typos.
23508         * iconvdata/gbbig5.c: Likewise.
23509         * iconvdata/iso-2022-jp.c: Likewise.
23510         * iconv/gconv_int.h: Likewise.
23511         * iconv/loop.c: Likewise.
23512         * nis/rpcsvc/nis.h: Likewise.
23513         * resolv/ns_name.c: Likewise.
23514         * stdio-common/vfscanf.c: Likewise.
23515         * streams/stropts.h: Likewise.
23516         * sunrpc/rpc_thread.c: Likewise.
23517         * sysdeps/i386/strpbrk.S: Likewise.
23518         * sysdeps/ieee754/k_standard.c: Likewise.
23519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23521         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23522         * sysdeps/mach/hurd/profil.c: Likewise.
23523         * sysdeps/s390/dl-procinfo.h: Likewise.
23524         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23526         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23527         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23530 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23532         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23535 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23538         aix specific files.
23539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23541         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23542         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23543         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23544         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23545         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23546         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23548 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23549             Roland McGrath  <roland@hack.frob.com>
23551         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23552         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23554 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23556         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23557         __executable_start symbol instead of _start.
23559 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23561         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23562         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23563         Move macros to...
23564         * sysdeps/gnu/ldsodefs.h: ... this new file.
23566         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23567         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23568         instead of ELFOSABI_LINUX.
23570         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23571         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23572         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23574         Likewise.
23575         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23576         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23578         Likewise.
23579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23580         (ibm_extended_long_double): Add ieee_nan member.
23581         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23582         (do_test): New function.
23584         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23585         TEST_TRUNC.
23586         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23587         functions, renamed from truncdfsf_test, trunctfsf_test,
23588         trunctfdf_test.
23589         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23590         functions.
23591         (do_test): Run all these.
23593 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23595         * argp/argp-help.c: Fix typos.
23596         * argp/argp-parse.c: Likewise.
23597         * debug/backtracesyms.c: Likewise.
23598         * elf/elf.h: Likewise.
23599         * malloc/malloc.c: Likewise.
23600         * nis/nis_print.c: Likewise.
23601         * resolv/res_comp.c: Likewise.
23602         * stdlib/stdlib.h: Likewise.
23603         * sunrpc/clnt_tcp.c: Likewise.
23604         * sunrpc/clnt_udp.c: Likewise.
23605         * sunrpc/clnt_unix.c: Likewise.
23606         * sysdeps/unix/bsd/ptsname.c: Likewise.
23607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23610         Likewise.
23611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23612         Likewise.
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23614         Likewise.
23615         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23617 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23619         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23622 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23624         [BZ #15897]
23625         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23626         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23627         ($(objpfx)bug-dl-leaf): New rule.
23628         ($(objpfx)bug-dl-leaf.so): Likewise.
23629         ($(objpfx)bug-dl-leaf.out): Likewise.
23630         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23631         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23632         * dlfcn/bug-dl-leaf.c: New test.
23633         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23634         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23635         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23636         (dlclose): Likewise.
23637         (dlmopen): Likewise.
23639 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23641         * include/netdb.h [!_ISOMAC]:
23642         Don't include <tls.h>.
23643         (h_errno, __libc_h_errno): Move declaration and macros out of
23644         [_LIBC_REENTRANT].
23646         * include/resolv.h [_RESOLV_H_]:
23647         Don't include <tls.h>.
23648         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23649         * resolv/res_libc.c: Don't include <tls.h>.
23650         (_res): Use __attribute__ ((nocommon)) in place of
23651         __attribute__ ((section (".bss"))).
23653         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23654         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23656         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23658         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23659         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23661         * resolv/res_mkquery.c: Include <sys/time.h>.
23663         * inet/ifreq.c: Moved to ...
23664         * sysdeps/unix/ifreq.c: ... here.
23665         * inet/ifreq.c: New file, true stub version.
23667         * socket/sa_len.c: New file.
23668         * socket/Makefile (aux): Add it.
23669         * sysdeps/unix/sysv/linux/Makefile
23670         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23671         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23672         and #include <socket/sa_len.c>.
23673         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23674         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23677         * bits/socket.h: ... here.
23679         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23680         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23681         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23683 2013-08-27  Andreas Schwab  <schwab@suse.de>
23685         [BZ #15736]
23686         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23687         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23688         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23689         * string/test-strcasecmp.c (test_main): Run tests in several
23690         locales.
23691         * string/test-strncasecmp.c (test_main): Likewise.
23693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23694         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23695         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23697         (__strncasecmp_ssse3) [PIC]: Likewise.
23699 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23701         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23703         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23704         instead of explicitly declaring xdecrypt.
23705         * nis/nss_nis/nis-publickey.c: Likewise.
23707 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23709         [BZ #15890]
23710         * nscd/aicache.c: Include res_hconf.h.
23711         (addhstaiX): Initialize res_hconf.
23713 2013-08-26  Andreas Schwab  <schwab@suse.de>
23715         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23716         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23718 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23720         * nscd/aicache.c (addhstaiX): Fix indentation.
23722 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23724         * configure.ac: Quote $build_pt_chown test.
23725         * configure: Regenerated.
23727 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23729         [BZ #15532]
23730         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23731         * math/s_cexpf.c (__cexpf): Likewise.
23732         * math/s_cexpl.c (__cexpl): Likewise.
23733         * math/libm-test.inc (cexp_test_data): Correct expected return
23734         value for NaN + i0.  Add another test.
23736 2013-08-22  David S. Miller  <davem@davemloft.net>
23738         * po/ca.po: Update Catalan translation from translation project.
23739         * po/uk.po: Add Ukrainian translations from translation project.
23741 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #15797]
23744         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23745         is infinite, not alongside NaN test.
23746         * math/s_fdimf.c (__fdimf): Likewise.
23747         * math/s_fdiml.c (__fdiml): Likewise.
23748         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23749         errno is unchanged.
23751 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23753         * argp/argp-help.c: Fix typos.
23754         * crypt/speeds.c: Likewise.
23755         * csu/check_fds.c: Likewise.
23756         * elf/dl-load.c: Likewise.
23757         * elf/dl-open.c: Likewise.
23758         * elf/reldep3.c: Likewise.
23759         * elf/reldep.c: Likewise.
23760         * elf/sprof.c: Likewise.
23761         * iconv/iconv_charmap.c: Likewise.
23762         * iconv/skeleton.c: Likewise.
23763         * iconv/strtab.c: Likewise.
23764         * io/lockf64.c: Likewise.
23765         * libio/libioP.h: Likewise.
23766         * resolv/gai_notify.c: Likewise.
23767         * resolv/ns_name.c: Likewise.
23768         * resolv/ns_samedomain.c: Likewise.
23769         * resolv/res_send.c: Likewise.
23770         * stdlib/random.c: Likewise.
23771         * sunrpc/rpc/xdr.h: Likewise.
23772         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23780         * sysdeps/mach/hurd/check_fds.c: Likewise.
23781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23787         * sysdeps/pthread/aio_notify.c: Likewise.
23788         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23789         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23792         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23794 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23796         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23797         version if bit_Slow_SSE4_2 is set.
23798         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23803         [BZ #15867]
23804         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23805         trampoline stack frame information.
23806         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23808         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23809         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23810         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23811         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23812         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23813         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23814         sa_flags value.
23815         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23816         interrupting a syscall and set with option SA_SIGINFO.
23818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23820         [BZ #15531]
23821         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23822         argument is infinite.
23823         * math/s_cprojf.c (__cprojf): Likewise.
23824         * math/s_cprojl.c (__cprojl): Likewise.
23825         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23826         * math/libm-test.inc (cproj_test_data): Add more tests.
23828         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23831         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23832         size.  Use __ffs to determine corresponding shift.
23834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23835             Roland McGrath  <roland@hack.frob.com>
23837         * Makefile (INSTALL): Remove trailing blank lines from output of
23838         makeinfo.
23840 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23842         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23843         Align 32 bit compat elf_greg to 8 bytes.
23845 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23847         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23849 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23851         * string/strcoll_l.c (coll_seq): New structure.
23852         (get_next_seq_cached): New function.
23853         (get_next_seq): New function.
23854         (do_compare): New function.
23855         (STRCOLL): Use GNU style definition.  Simplify implementation
23856         by using get_next_seq, get_next_seq_cached and do_compare.
23858 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23860         [BZ #14699]
23861         CVE-2013-4237
23862         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23863         member.
23864         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23865         member.
23866         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23867         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23868         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23869         conditional.
23870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23871         GETDENTS_64BIT_ALIGNED.
23872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23873         * manual/filesys.texi (Reading/Closing Directory): Document
23874         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23875         strongly.
23876         * manual/conf.texi (Limits for Files): Add portability note to
23877         NAME_MAX, PATH_MAX.
23878         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23880 2013-08-13  Andreas Schwab  <schwab@suse.de>
23882         [BZ #15749]
23883         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23884         of fabs.
23885         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23886         LDBL_MAX_EXP >= 16384]: Add tests for it.
23888 2013-08-12  David S. Miller  <davem@davemloft.net>
23890         * version.h (RELEASE): Set to "development".
23891         (VERSION): Set to "2.18.90".
23892         * NEWS: Add 2.19 section.
23894 2013-08-03  David S. Miller  <davem@davemloft.net>
23896         * po/ko.po: Update Korean translation from translation project.
23898 2013-08-01  David S. Miller  <davem@davemloft.net>
23900         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23901         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23902         Bilka.
23904 2013-07-30  David S. Miller  <davem@davemloft.net>
23906         * po/fr.po: Update French translation from translation project.
23908 2013-07-28  David S. Miller  <davem@davemloft.net>
23910         * po/cs.po: Update Czech translation from translation project.
23912         * po/sv.po: Update Swedish translation from translation project.
23914 2013-07-27  David S. Miller  <davem@davemloft.net>
23916         * po/eo.po: Update Esperanto translation from translation project.
23918         * po/vi.po: Update Vietnamese translation from translation project.
23920         * po/de.po: Update German translation from translation project.
23922 2013-07-26  David S. Miller  <davem@davemloft.net>
23924         * po/bg.po: Update Bulgarian translation from translation project.
23926         * po/nl.po: Update Dutch translation from translation project.
23927         * po/pl.po: Update Polish translation from translation project.
23928         * po/ru.po: Update Russian translation from translation project.
23930 2013-07-24  David S. Miller  <davem@davemloft.net>
23932         * po/libc.pot: Update.
23934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23936         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23937         variable page size.
23938         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23942 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23944         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23946 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23947             Andreas Schwab  <schwab@suse.de>
23948             Roland McGrath  <roland@hack.frob.com>
23949             Joseph Myers  <joseph@codesourcery.com>
23950             Carlos O'Donell  <carlos@redhat.com>
23952         [BZ #15755]
23953         * config.h.in: Define HAVE_PT_CHOWN.
23954         * config.make.in (build-pt-chown): New variable.
23955         * configure.in (--enable-pt_chown): New configure option.
23956         * configure: Regenerate.
23957         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23958         build-pt-chown is enabled.
23959         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23960         pt_chown to fix pty ownership.
23961         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23962         CLOSE_ALL_FDS.
23963         * manual/install.texi (Configuring and compiling): Mention
23964         --enable-pt_chown. Add @findex for grantpt.
23965         * INSTALL: Regenerate.
23967 2013-07-20  David S. Miller  <davem@davemloft.net>
23969         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23970         difference between 32-bit and 64-bit.
23972 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23974         [BZ #15711]
23975         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23976         Avoid system header dependency with -ffreestanding.
23977         ($(objpfx)bits/syscall%d): Likewise.
23979 2013-07-13  David S. Miller  <davem@davemloft.net>
23981         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23982         underflows from atanl/atan2l due to bug 15319.
23983         (casinh_test_data): Likewise.
23985 2013-07-07  David S. Miller  <davem@davemloft.net>
23987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23989 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23991         * sysdeps/i386/fpu/libm-test-ulps: Update.
23992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23994 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * configure.in (--enable-lock-elision): Fix message text.
23997         * INSTALL: Regenerate.
23998         * configure: Regenerate.
24000 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24004 2013-07-03  Andreas Jaeger  <aj@suse.de>
24006         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24007         define.
24008         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24009         (ptrace_peeksiginfo_args): Add.
24010         (__ptrace_peeksiginfo_flags): Add.
24011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24015 2013-07-03  Allan McRae  <allan@archlinux.org>
24017         * sysdeps/i386/fpu/libm-test-ulps: Update.
24019 2013-07-02  David S. Miller  <davem@davemloft.net>
24021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24023 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24029         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24032 2013-07-02  Andi Kleen <ak@linux.intel.com>
24034         * config.h.in (ENABLE_LOCK_ELISION): Add.
24035         * configure.in (--enable-lock-elision): Add option.
24036         * manual/install.texi: Document --enable lock elision.
24037         * configure: Regenerate
24038         * INSTALL: Regenerate.
24040 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24042         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24043         SSE4.2 strcasecmp for libc.a.
24044         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24046 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24048         [BZ #13304]
24049         * soft-fp/op-common.h (_FP_FMA): New macro.
24050         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24051         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24052         (_FP_MUL_MEAT_1_imm): ... here.
24053         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24054         (_FP_MUL_MEAT_1_wide): ... here.
24055         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24056         (_FP_MUL_MEAT_1_hard): ... here.
24057         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24058         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24059         (_FP_MUL_MEAT_2_wide): ... here.
24060         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24061         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24062         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24063         (_FP_MUL_MEAT_2_gmp): ... here.
24064         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24065         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24066         (_FP_MUL_MEAT_4_wide): ... here.
24067         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24068         (_FP_MUL_MEAT_4_gmp): ... here.
24069         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24070         (_FP_WFRACBITS_DW_S): Likewise.
24071         (_FP_WFRACXBITS_DW_S): Likewise.
24072         (_FP_HIGHBIT_DW_S): Likewise.
24073         (FP_FMA_S): Likewise.
24074         (_FP_FRAC_HIGH_DW_S): Likewise.
24075         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24076         (_FP_WFRACBITS_DW_D): Likewise.
24077         (_FP_WFRACXBITS_DW_D): Likewise.
24078         (_FP_HIGHBIT_DW_D): Likewise.
24079         (FP_FMA_D): Likewise.
24080         (_FP_FRAC_HIGH_DW_D): Likewise.
24081         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24082         (_FP_WFRACBITS_DW_E): Likewise.
24083         (_FP_WFRACXBITS_DW_E): Likewise.
24084         (_FP_HIGHBIT_DW_E): Likewise.
24085         (FP_FMA_E): Likewise.
24086         (_FP_FRAC_HIGH_DW_E): Likewise.
24087         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24088         (_FP_WFRACBITS_DW_Q): Likewise.
24089         (_FP_WFRACXBITS_DW_Q): Likewise.
24090         (_FP_HIGHBIT_DW_Q): Likewise.
24091         (FP_FMA_Q): Likewise.
24092         (_FP_FRAC_HIGH_DW_Q): Likewise.
24093         * soft-fp/fmasf4.c: New file.
24094         * soft-fp/fmadf4.c: Likewise.
24095         * soft-fp/fmatf4.c: Likewise.
24097 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24100         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24101         Silvermont.
24102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24103         macro.
24104         (index_Slow_SSE4_2): Likewise.
24105         (index_Prefer_PMINUB_for_stringop): Likewise.
24106         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24107         bit_Slow_SSE4_2 is set.
24108         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24111 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24113         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24114         rtld_global._dl_hwcap2.
24115         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24116         POWER8.
24117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24118         POWER8 feature descriptions defined in _dl_hwcap2.
24119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24120         string handling for POWER8 feature bits.
24121         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24122         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24123         _dl_powerpc_cap_flags.
24124         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24125         * sysdeps/powerpc/rtld-global-offsets.sym
24126         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24127         _dl_hwcap2 in the rtld_global_ro structure.
24129 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24131         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24132         hardware capabilities in support of AT_HWCAP2.
24133         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24134         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24135         GLRO(dl_hwcap2).
24136         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24137         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24138         explicitly the unknown a_type display mechanism is used.
24139         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24140         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24141         struct member.
24142         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24143         to macro prototype for AT_HWCAP2 support.
24144         * sysdeps/i386/dl-procinfo.h: Likewise.
24145         * sysdeps/s390/dl-procinfo.h: Likewise.
24146         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24147         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24148         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24149         return -1 for unknown a_type display fallback.
24150         * sysdeps/sparc/dl-procinfo.h: Likewise.
24151         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24152         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24154 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24157         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24159 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24161         [BZ #12492]
24162         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24163         mprotect making __stack_prot writable.
24165 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24166             Joseph Myers  <joseph@codesourcery.com>
24168         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24169         as being properly aligned.
24171 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24173         * dlfcn/modstatic5.c: New file.
24174         * dlfcn/tststatic5.c: New file.
24175         * dlfcn/Makefile (tests): Add tststatic5.
24176         (tests-static): Likewise.
24177         (modules-names): Add modstatic5.
24178         (tststatic5-ENV): New variable.
24179         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24181         [BZ #15022]
24182         * elf/dl-support.c (_dl_main_map): New variable.
24183         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24184         (_dl_nns, _dl_load_adds): Set to 1.
24185         (_dl_initial_searchlist): Refer to _dl_main_map.
24186         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24187         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24188         call to _dl_get_origin.
24189         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24190         around call_map.
24191         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24192         * dlfcn/modstatic3.c: New file.
24193         * dlfcn/tststatic3.c: New file.
24194         * dlfcn/tststatic4.c: New file.
24195         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24196         (tests-static): Likewise.
24197         (modules-names): Add modstatic3.
24198         (tststatic3-ENV, tststatic4-ENV): New variables.
24199         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24200         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24202 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24204         * configure.in (CC): Require GCC version 4.4 or later.
24205         * configure: Regenerated.
24206         * manual/install.texi (Tools for Compilation): Update GCC version
24207         requirement.
24208         * INSTALL: Regenerated.
24210 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24212         [BZ #15674]
24213         * string/test-memcmp.c (check2): New.
24214         (main): Call check2.
24216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24218 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24220         [BZ #15022]
24221         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24222         over to...
24223         (dl_open_worker) [!SHARED]: ... here.
24225 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24227         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24229 2013-06-25  Richard Henderson  <rth@redhat.com>
24231         * locale/programs/locarchive.c: Include <libc-internal.h>
24233 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24235         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24236         trailing whitespace removed.
24238 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24240         [BZ #10283]
24241         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24242         * locale/programs/locarchive.c: Include libc-mmap.h.
24243         (prepare_address_space): Take two new outputs (the mmap base and len).
24244         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24245         values.
24246         (create_archive): Declare new mmap base and len values for
24247         prepare_address_space, and store the result in ah.
24248         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24249         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24251         Declare new mmap base and len values for
24252         prepare_address_space, and store the result in new_ah.
24253         (open_archive): Declare new mmap base and len values for
24254         prepare_address_space, and store the result in ah.
24255         (close_archive): If ah->mmap_base is not NULL, use that and
24256         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24257         * sysdeps/generic/libc-mmap.h: New file.
24259 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24261         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24262         (ALIGN_UP): Likewise.
24263         (PTR_ALIGN_DOWN): Likewise.
24264         (PTR_ALIGN_UP): Likewise.
24266 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24269         entry mapped to PPC_PLATFORM_POWER8.
24270         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24271         POWER8.
24272         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24273         (_dl_string_platform): Add case for exporting platform position for
24274         POWER8.
24275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24276         search path to sysdeps/powerpc/powerpc32/power8 directory.
24277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24278         search path to sysdeps/powerpc/powerpc64/power8 directory.
24279         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24280         power7 directories.
24281         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24282         power7 directories.
24284 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24286         * INSTALL: Regenerate.
24288         * nscd/connections.c (nscd_init): Fix comment.
24290 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24292         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24294         [BZ #15667]
24295         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24296         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24298 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24300         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24301         DL_DST_REQ_STATIC.
24302         (DL_DST_REQ_STATIC): Remove macro.
24304 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #7006]
24307         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24308         with a shift of 0 bits.
24310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24312         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24313         $(tststatic-ENV).
24315 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24317         [BZ #15655]
24318         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24320 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24322         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24323         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24324         accepts -fno-tree-loop-distribute-patterns.
24325         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24326         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24327         recursive call.
24328         * string/memset.c (memset): Likewise.
24329         * string/test-memmove.c (simple_memmove): Disable loop transformation
24330         to library calls.
24331         * string/test-memset.c (simple_memset): Likewise.
24332         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24333         * benchtests/bench-memset.c (simple_memset): Likewise.
24334         * configure: Regenerated.
24336 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24338         * math/test-misc.c (main): Ignore fesetround failure when failures
24339         of subsequent rounding tests would be ignored.
24341         [BZ #15654]
24342         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24343         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24344         * math/fegetenv.c (__fegetenv): Return 0.
24345         * math/fegetexcept.c (fegetexcept): Return 0.
24346         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24347         FE_TONEAREST.
24348         * math/feholdexcpt.c (feholdexcept): Return 0.
24349         * math/fesetenv.c (__fesetenv): Return 0.
24350         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24351         argument FE_TONEAREST.
24352         * math/feupdateenv.c (__feupdateenv): Return 0.
24353         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24355 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24357         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24358         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24359         ($(objpfx)rtld-%.os rules): Use them.
24361 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24363         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24364         fields.
24366 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24368         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24369         length of target pattern, then descending length of dependency pattern.
24370         * configure.in (AWK): Require gawk 3.1.2 or newer.
24371         * manual/install.texi (Tools for Compilation): Say that we do.
24372         * configure: Regenerated.
24374         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24375         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24376         * scripts/sysd-rules.awk: ... this new script.
24377         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24378         than a glob-style pattern.
24380 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24382         * math/test-misc.c (main): Do not treat incorrectly rounded
24383         conversions as failure unless ROUNDING_TESTS passes.
24385 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #15631]
24388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24389         restore exception state around main square root computation, then
24390         check for inexactness explicitly.
24392         * math/libm-test.inc (fma_test_data): Add another test.
24394 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24396         * manual/threads.texi (Non-POSIX Extensions): New document
24397         node.  Document pthread_getattr_default_np and
24398         pthread_setattr_default_np.
24400         * Versions.def (libpthread): Add GLIBC_2.18.
24401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24403         Likewise.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24405         Likewise.
24406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24407         Likewise.
24408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24409         Likewise.
24410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24411         Likewise.
24412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24413         Likewise.
24414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24415         Likewise.
24416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24417         Likewise.
24418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24419         Likewise.
24421 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24424         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24426 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24427             H.J. Lu  <hjl.tools@gmail.com>
24429         [BZ #15627]
24430         * sysdeps/x86_64/rtld-memset.c: Remove file.
24431         * sysdeps/x86_64/rtld-memset.S: New file.
24433 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24435         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24436         (test_in_one_mode): Take arguments for whether the rounding mode
24437         is supported for each floating-point type.
24438         (do_test): Pass new arguments to test_in_one_mode using
24439         ROUNDING_TESTS.
24441 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24443         * posix/tst-waitid.c (do_test): Distinguish different instances of
24444         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24445         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24446         before entering the kernel for waitpid.
24448 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24450         * NEWS: Fix note on clock function precision.  Text by Roland
24451         McGrath.
24453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24455         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24456         it into place only when and if the sanity check passes.
24458 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24460         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24461         output for whether conversion result is exact.  Take argument
24462         indicating whether type is IBM long double.
24463         (round_for_all): Change need_exact field to ibm_ld.
24464         * stdlib/tst-strtod-round.c (struct exactness): New type.
24465         (struct test): Change bool ld_ok field to struct exactness exact.
24466         (TEST): Update all definitions for change to field.
24467         (tests): Regenerate array contents.
24468         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24469         field value.  Check for IBM long double here.
24470         (do_test): Update calls to test_in_one_mode.
24472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24474         [BZ #12515]
24475         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24476         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24478 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24480         [BZ #15605]
24481         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24482         generated by the compiler on loop optimizations.
24483         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24484         general definitions.
24486 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24488         * math/bug-nextafter.c: Include <math-tests.h>.
24489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24490         the relevant type.
24491         * math/bug-nexttoward.c: Include <math-tests.h>.
24492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24493         the relevant type.
24494         * math/test-misc.c: Include <math-tests.h>.
24495         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24496         the relevant type.
24498 2013-06-12  Andreas Jaeger  <aj@suse.de>
24500         * po/ia.po: Update Interlingua translation from translation
24501         project.
24503 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24505         * include/fenv.h: Include stdbool.h.
24506         (struct rm_ctx): New structure.
24507         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24508         Define macro.
24509         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24510         (SET_RESTORE_ROUNDF): Likewise.
24511         (SET_RESTORE_ROUNDL): Likewise.
24512         (SET_RESTORE_ROUND_NOEX): Likewise.
24513         (SET_RESTORE_ROUND_NOEXF): Likewise.
24514         (SET_RESTORE_ROUND_NOEXL): Likewise.
24515         (SET_RESTORE_ROUND_53BIT): Likewise.
24516         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24517         (libc_feresetround_noexf_ctx): Likewise.
24518         (libc_feresetround_noexl_ctx): Likewise.
24519         (libc_feholdsetround_53bit_ctx): Likewise.
24520         (libc_feresetround_53bit_ctx): Likewise.
24521         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24522         (libc_feholdexcept_setround_sse_ctx): New function.
24523         (libc_fesetenv_sse_ctx): Likewise.
24524         (libc_feupdateenv_sse_ctx): Likewise.
24525         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24526         (libc_feholdexcept_setround_387_ctx): Likewise.
24527         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24528         (libc_feholdsetround_387_prec_ctx): Likewise.
24529         (libc_feholdsetround_387_ctx): Likewise.
24530         (libc_feholdsetround_387_53bit_ctx): Likewise.
24531         (libc_feholdsetround_sse_ctx): Likewise.
24532         (libc_feresetround_sse_ctx): Likewise.
24533         (libc_feresetround_387_ctx): Likewise.
24534         (libc_feupdateenv_387_ctx): Likewise.
24535         (libc_feholdexcept_setroundf_ctx): Define macro.
24536         (libc_fesetenvf_ctx): Likewise.
24537         (libc_feupdateenvf_ctx): Likewise.
24538         (libc_feholdsetroundf_ctx): Likewise.
24539         (libc_feresetroundf_ctx): Likewise.
24540         (libc_feholdexcept_setround_ctx): Likewise.
24541         (libc_fesetenv_ctx): Likewise.
24542         (libc_feupdateenv_ctx): Likewise.
24543         (libc_feholdsetround_ctx): Likewise.
24544         (libc_feresetround_ctx): Likewise.
24545         (libc_feholdexcept_setroundl_ctx): Likewise.
24546         (libc_feupdateenvl_ctx): Likewise.
24547         (libc_feholdsetroundl_ctx): Likewise.
24548         (libc_feresetroundl_ctx): Likewise.
24549         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24550         (libc_feresetround_53bit_ctx): Likewise.
24552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24554         * locale/iso-639.def: Convert to UTF-8.
24556 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24558         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24559         (EXCEPTION_TESTS_double): Likewise.
24560         (EXCEPTION_TESTS_long_double): Likewise.
24561         (EXCEPTION_TESTS): Likewise.
24562         * math/libm-test.inc (test_exceptions): Only test exceptions if
24563         EXCEPTION_TESTS (FLOAT).
24565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24567         * benchtests/Makefile (string-bench): Add strcpy_chk and
24568         stpcpy_chk.
24569         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24570         * benchtests/bench-stpcpy_chk.c: New file.
24571         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24572         * benchtests/bench-strcpy_chk.c: New file.
24573         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24574         code.
24575         (do_test): Likewise.
24577 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24580         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24581         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24582         with tabs where appropriate.
24583         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24584         dl-procinfo.h.
24585         [PPC_PLATFORM_PPC440]: Likewise.
24586         [PPC_PLATFORM_PPC464]: Likewise.
24587         [PPC_PLATFORM_PPC476]: Likewise.
24588         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24589         ppc464, and ppc476 platform strings merging from ports/
24590         dl-procinfo.h.
24592 2013-06-11  Andreas Schwab  <schwab@suse.de>
24594         [BZ #14991]
24595         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24596         (from_ucs4_idx): Regenerate.
24597         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24598         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24599         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24600         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24601         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24602         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24603         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24604         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24605         from FROM_LOOP and TO_LOOP specific macros.
24606         (BODY): Handle combining characters.
24607         * iconvdata/BIG5HKSCS.irreversible: Update.
24608         * iconvdata/BIG5HKSCS.precomposed: New file.
24609         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24610         characters.
24611         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * include/sys/time.h: Fix indentation and add copyright header.
24617         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24618         (do_test): Likewise.
24619         * string/test-memchr.c (do_one_test): Likewise.
24620         (do_test): Likewise.
24621         * string/test-memcmp.c (do_one_test): Likewise.
24622         (do_test): Likewise.
24623         * string/test-memcpy.c (do_one_test): Likewise.
24624         (do_test): Likewise.
24625         * string/test-memmem.c (do_one_test): Likewise.
24626         (do_test): Likewise.
24627         (do_random_tests): Likewise.
24628         * string/test-memmove.c (do_one_test): Likewise.
24629         (do_test): Likewise.
24630         * string/test-memset.c (do_one_test): Likewise.
24631         (do_test): Likewise.
24632         * string/test-rawmemchr.c (do_one_test): Likewise.
24633         (do_test): Likewise.
24634         * string/test-strcasecmp.c (do_one_test): Likewise.
24635         (do_test): Likewise.
24636         * string/test-strcasestr.c (do_one_test): Likewise.
24637         (do_test): Likewise.
24638         * string/test-strcat.c (do_one_test): Likewise.
24639         (do_test): Likewise.
24640         * string/test-strchr.c (do_one_test): Likewise.
24641         (do_test): Likewise.
24642         * string/test-strcmp.c (do_one_test): Likewise.
24643         (do_test): Likewise.
24644         * string/test-strcpy.c (do_one_test): Likewise.
24645         (do_test): Likewise.
24646         * string/test-string.h: Likewise.
24647         (test_init): Likewise.
24648         * string/test-strlen.c (do_one_test): Likewise.
24649         (do_test): Likewise.
24650         * string/test-strncasecmp.c (do_one_test): Likewise.
24651         (do_test): Likewise.
24652         * string/test-strncat.c (do_one_test): Likewise.
24653         (do_test): Likewise.
24654         * string/test-strncmp.c (do_one_test): Likewise.
24655         (do_test_limit): Likewise.
24656         (do_test): Likewise.
24657         * string/test-strncpy.c (do_one_test): Likewise.
24658         (do_test): Likewise.
24659         * string/test-strnlen.c (do_one_test): Likewise.
24660         (do_test): Likewise.
24661         * string/test-strpbrk.c (do_one_test): Likewise.
24662         (do_test): Likewise.
24663         * string/test-strrchr.c (do_one_test): Likewise.
24664         (do_test): Likewise.
24665         * string/test-strspn.c (do_one_test): Likewise.
24666         (do_test): Likewise.
24667         * string/test-strstr.c (do_one_test): Likewise.
24668         (do_test): Likewise.
24670         * benchtests/Makefile (string-bench): Add string benchmarks.
24671         * benchtests/bench-bcopy-ifunc.c: New file.
24672         * benchtests/bench-bcopy.c: New file.
24673         * benchtests/bench-bzero-ifunc.c: New file.
24674         * benchtests/bench-bzero.c: New file.
24675         * benchtests/bench-memccpy-ifunc.c: New file.
24676         * benchtests/bench-memccpy.c: New file.
24677         * benchtests/bench-memchr-ifunc.c: New file.
24678         * benchtests/bench-memchr.c: New file.
24679         * benchtests/bench-memcmp-ifunc.c: New file.
24680         * benchtests/bench-memcmp.c: New file.
24681         * benchtests/bench-memmem-ifunc.c: New file.
24682         * benchtests/bench-memmem.c: New file.
24683         * benchtests/bench-memmove-ifunc.c: New file.
24684         * benchtests/bench-memmove.c: New file.
24685         * benchtests/bench-mempcpy-ifunc.c: New file.
24686         * benchtests/bench-mempcpy.c: New file.
24687         * benchtests/bench-memset-ifunc.c: New file.
24688         * benchtests/bench-memset.c: New file.
24689         * benchtests/bench-rawmemchr-ifunc.c: New file.
24690         * benchtests/bench-rawmemchr.c: New file.
24691         * benchtests/bench-stpcpy-ifunc.c: New file.
24692         * benchtests/bench-stpcpy.c: New file.
24693         * benchtests/bench-stpncpy-ifunc.c: New file.
24694         * benchtests/bench-stpncpy.c: New file.
24695         * benchtests/bench-strcasecmp-ifunc.c: New file.
24696         * benchtests/bench-strcasecmp.c: New file.
24697         * benchtests/bench-strcasestr-ifunc.c: New file.
24698         * benchtests/bench-strcasestr.c: New file.
24699         * benchtests/bench-strcat-ifunc.c: New file.
24700         * benchtests/bench-strcat.c: New file.
24701         * benchtests/bench-strchr-ifunc.c: New file.
24702         * benchtests/bench-strchr.c: New file.
24703         * benchtests/bench-strchrnul-ifunc.c: New file.
24704         * benchtests/bench-strchrnul.c: New file.
24705         * benchtests/bench-strcmp-ifunc.c: New file.
24706         * benchtests/bench-strcmp.c: New file.
24707         * benchtests/bench-strcpy-ifunc.c: New file.
24708         * benchtests/bench-strcpy.c: New file.
24709         * benchtests/bench-strcspn-ifunc.c: New file.
24710         * benchtests/bench-strcspn.c: New file.
24711         * benchtests/bench-strlen-ifunc.c: New file.
24712         * benchtests/bench-strlen.c: New file.
24713         * benchtests/bench-strncasecmp-ifunc.c: New file.
24714         * benchtests/bench-strncasecmp.c: New file.
24715         * benchtests/bench-strncat-ifunc.c: New file.
24716         * benchtests/bench-strncat.c: New file.
24717         * benchtests/bench-strncmp-ifunc.c: New file.
24718         * benchtests/bench-strncmp.c: New file.
24719         * benchtests/bench-strncpy-ifunc.c: New file.
24720         * benchtests/bench-strncpy.c: New file.
24721         * benchtests/bench-strnlen-ifunc.c: New file.
24722         * benchtests/bench-strnlen.c: New file.
24723         * benchtests/bench-strpbrk-ifunc.c: New file.
24724         * benchtests/bench-strpbrk.c: New file.
24725         * benchtests/bench-strrchr-ifunc.c: New file.
24726         * benchtests/bench-strrchr.c: New file.
24727         * benchtests/bench-strspn-ifunc.c: New file.
24728         * benchtests/bench-strspn.c: New file.
24729         * benchtests/bench-strstr-ifunc.c: New file.
24730         * benchtests/bench-strstr.c: New file.
24732         * benchtests/Makefile: Disable parallel execution of targets.
24733         (string-bench): Add memcpy.
24734         (benchset): New variable to store a list of benchmark sets.
24735         (bench-func): Renamed from bench.
24736         (bench-set): New target.
24737         (bench): Depend on bench-func and bench-set.
24738         * benchtests/README: Add section on benchmark sets.
24739         * benchtests/bench-memcpy-ifunc.c: New file.
24740         * benchtests/bench-memcpy.c: New file.
24741         * benchtests/bench-string.h: New file.
24743 2013-06-11  Andreas Schwab  <schwab@suse.de>
24745         [BZ #15577]
24746         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24747         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24748         values in the triple.
24749         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24750         terminator in the group key.
24752 2013-06-11  Andreas Jaeger  <aj@suse.de>
24754         * po/zh_TW.po: Update Chinese (traditional) translation from
24755         translation project.
24757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24759         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24760         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24761         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24763         (clock_getcpuclockid): Likewise.
24764         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24765         Add weak_alias and libc_hidden_def.
24766         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24767         * rt/clock_gettime.c (clock_gettime): Rename to
24768         __clock_gettime.  Add weak_alias and libc_hidden_def.
24769         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24770         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24771         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24772         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24773         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24774         Likewise.
24775         * rt/clock_settime.c (clock_settime): Rename to
24776         __clock_settime.  Add weak_alias and libc_hidden_def.
24777         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24779 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24781         * mach/err_boot.sub: Remove trailing whitespace.
24782         * mach/err_ipc.sub: Likewise.
24783         * mach/err_mach.sub: Likewise.
24785         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24786         (ROUNDING_TESTS_double): Likewise.
24787         (ROUNDING_TESTS_long_double): Likewise.
24788         (ROUNDING_TESTS): Likewise.
24789         * math/libm-test.inc: Include <math-tests.h>.
24790         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24791         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24792         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24793         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24795 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24797         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24798         of assigning.
24800 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24802         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24803         otherwise empty TRANS lines.
24804         * sysdeps/gnu/errlist.c: Regenerated.
24806         * catgets/gencat.c (error_print): Use (void) in function
24807         definition.
24808         * crypt/crypt_util.c (__init_des): Likewise.
24809         * crypt/speeds.c (Stop): Likewise.
24810         (main): Likewise.
24811         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24812         * inet/ruserpass.c (token): Likewise.
24813         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24814         * intl/localealias.c (extend_alias_table): Likewise.
24815         * intl/plural-exp.c (init_germanic_plural): Likewise.
24816         * libio/fcloseall.c (__fcloseall): Likewise.
24817         * libio/genops.c (_IO_flush_all): Likewise.
24818         (_IO_flush_all_linebuffered): Likewise.
24819         (_IO_cleanup): Likewise.
24820         (_IO_iter_begin): Likewise.
24821         (_IO_iter_end): Likewise.
24822         (_IO_list_lock): Likewise.
24823         (_IO_list_unlock): Likewise.
24824         (_IO_list_resetlock): Likewise.
24825         * libio/getchar.c (getchar): Likewise.
24826         * libio/getchar_u.c (getchar_unlocked): Likewise.
24827         * libio/getwchar.c (getwchar): Likewise.
24828         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24829         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24830         * login/getpt.c (__getpt): Likewise.
24831         * login/tst-utmp.c (main): Likewise.
24832         * malloc/hooks.c (__malloc_check_init): Likewise.
24833         * malloc/malloc.c (__malloc_stats): Likewise.
24834         * malloc/mtrace.c (tr_break): Likewise.
24835         (mtrace): Likewise.
24836         (muntrace): Likewise.
24837         * misc/fstab.c (endfsent): Likewise.
24838         * misc/getclktck.c (__getclktck): Likewise.
24839         * misc/getdtsz.c (__getdtablesize): Likewise.
24840         * misc/gethostid.c (gethostid): Likewise.
24841         * misc/getpagesize.c (__getpagesize): Likewise.
24842         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24843         (__get_nprocs): Likewise.
24844         (__get_phys_pages): Likewise.
24845         (__get_avphys_pages): Likewise.
24846         * misc/getttyent.c (getttyent): Likewise.
24847         (setttyent): Likewise.
24848         (endttyent): Likewise.
24849         * misc/getusershell.c (getusershell): Likewise.
24850         (endusershell): Likewise.
24851         (setusershell): Likewise.
24852         (initshells): Likewise.
24853         * misc/hsearch.c (__hdestroy): Likewise.
24854         * misc/sync.c (sync): Likewise.
24855         * misc/syslog.c (closelog_internal): Likewise.
24856         (closelog): Likewise.
24857         * misc/ttyslot.c (ttyslot): Likewise.
24858         * misc/vhangup.c (vhangup): Likewise.
24859         * posix/fork.c (__fork): Likewise.
24860         * posix/getegid.c (__getegid): Likewise.
24861         * posix/geteuid.c (__geteuid): Likewise.
24862         * posix/getgid.c (__getgid): Likewise.
24863         * posix/getpid.c (__getpid): Likewise.
24864         * posix/getppid.c (__getppid): Likewise.
24865         * posix/getuid.c (__getuid): Likewise.
24866         * posix/pause.c (pause): Likewise.
24867         * posix/setpgrp.c (setpgrp): Likewise.
24868         * posix/setsid.c (__setsid): Likewise.
24869         * posix/test-vfork.c (noop): Likewise.
24870         * resolv/gethnamaddr.c (_endhtent): Likewise.
24871         (_gethtent): Likewise.
24872         (ht_endhostent): Likewise.
24873         (gethostent): Likewise.
24874         (dns_service): Likewise.
24875         * stdlib/drand48.c (drand48): Likewise.
24876         * stdlib/lrand48.c (lrand48): Likewise.
24877         * stdlib/mrand48.c (mrand48): Likewise.
24878         * stdlib/rand.c (rand): Likewise.
24879         * stdlib/random.c (__random): Likewise.
24880         * stdlib/setenv.c (clearenv): Likewise.
24881         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24882         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24883         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24884         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24885         (__get_nprocs): Likewise.
24886         (__get_phys_pages): Likewise.
24887         (__get_avphys_pages): Likewise.
24888         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24889         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24890         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24891         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24892         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24893         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24894         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24895         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24896         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24897         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24898         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24899         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24900         * sysdeps/posix/clock.c (clock): Likewise.
24901         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24902         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24903         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24904         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24905         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24907         (__get_nprocs_conf): Likewise.
24908         (__get_phys_pages): Likewise.
24909         (__get_avphys_pages): Likewise.
24910         * time/clock.c (clock): Likewise.
24911         * time/tzset.c (__tzname_max): Likewise.
24913 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24915         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24916         (__bswap_32): Do not use "register".
24917         * crypt/crypt.c (_ufc_doit_r): Likewise.
24918         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24920         * gmon/gmon.c (__monstartup): Likewise.
24921         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24922         * hurd/hurdmalloc.c (more_memory): Likewise.
24923         (malloc): Likewise.
24924         (free): Likewise.
24925         (realloc): Likewise.
24926         (malloc_fork_prepare): Likewise.
24927         (malloc_fork_parent): Likewise.
24928         (malloc_fork_child): Likewise.
24929         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24930         (_svcauth_des): Likewise.
24931         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24932         * inet/inet_net.c (inet_network): Likewise.
24933         * inet/inet_netof.c (inet_netof): Likewise.
24934         * inet/rcmd.c (__validuser2_sa): Likewise.
24935         * io/fts.c (fts_open): Likewise.
24936         (fts_load): Likewise.
24937         (fts_close): Likewise.
24938         (fts_read): Likewise.
24939         (fts_children): Likewise.
24940         (fts_build): Likewise.
24941         (fts_stat): Likewise.
24942         (fts_sort): Likewise.
24943         (fts_alloc): Likewise.
24944         (fts_lfree): Likewise.
24945         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24946         (_IO_file_xsgetn): Likewise.
24947         (_IO_file_xsgetn_mmap): Likewise.
24948         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24949         (_IO_cookie_write): Likewise.
24950         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24951         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24952         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24953         * malloc/obstack.c (_obstack_begin): Likewise.
24954         (_obstack_begin_1): Likewise.
24955         (_obstack_newchunk): Likewise.
24956         (_obstack_allocated_p): Likewise.
24957         (obstack_free): Likewise.
24958         (_obstack_memory_used): Likewise.
24959         * misc/getttyent.c (getttynam): Likewise.
24960         (getttyent): Likewise.
24961         (skip): Likewise.
24962         (value): Likewise.
24963         * misc/getusershell.c (initshells): Likewise.
24964         * misc/syslog.c (__vsyslog_chk): Likewise.
24965         * misc/ttyslot.c (ttyslot): Likewise.
24966         * nis/nis_hash.c (__nis_hash): Likewise.
24967         * posix/fnmatch_loop.c (FCT): Likewise.
24968         * posix/getconf.c (print_all): Likewise.
24969         (main): Likewise.
24970         * posix/getopt.c (exchange): Likewise.
24971         * posix/glob.c (globfree): Likewise.
24972         (prefix_array): Likewise.
24973         (__glob_pattern_type): Likewise.
24974         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24975         (NS_GET32): Likewise.
24976         (NS_PUT16): Likewise.
24977         (NS_PUT32): Likewise.
24978         * resolv/gethnamaddr.c (getanswer): Likewise.
24979         (gethostbyname2): Likewise.
24980         (gethostbyaddr): Likewise.
24981         (_gethtent): Likewise.
24982         (_gethtbyname2): Likewise.
24983         (_gethtbyaddr): Likewise.
24984         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24986         * resolv/res_init.c (__res_vinit): Likewise.
24987         (net_mask): Likewise.
24988         * resolv/res_mkquery.c (outchar): Likewise.
24989         (PRINT): Likewise.
24990         * stdio-common/printf_fp.c (outchar): Likewise.
24991         (PRINT): Likewise.
24992         * stdio-common/printf_fphex.c (outchar): Likewise.
24993         (PRINT): Likewise.
24994         * stdio-common/printf_size.c (outchar): Likewise.
24995         (PRINT): Likewise.
24996         * stdio-common/test_rdwr.c (main): Likewise.
24997         * stdio-common/tfformat.c (matches): Likewise.
24998         * stdio-common/vfprintf.c (outchar): Likewise.
24999         (printf_unknown): Likewise.
25000         (buffered_vfprintf): Likewise.
25001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25002         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25003         (ReadFile): Likewise.
25004         * stdlib/qsort.c (SWAP): Likewise.
25005         (_quicksort): Likewise.
25006         * stdlib/setenv.c (__add_to_environ): Likewise.
25007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25008         * stdlib/strtol_l.c (__strtol_l): Likewise.
25009         * stdlib/tst-strtod.c (main): Likewise.
25010         * stdlib/tst-strtol.c (main): Likewise.
25011         * stdlib/tst-strtoll.c (main): Likewise.
25012         * string/bits/string2.h (__strcmp_cc): Likewise.
25013         (__strcmp_cg): Likewise.
25014         (__strcspn_c1): Likewise.
25015         (__strcspn_c2): Likewise.
25016         (__strcspn_c3): Likewise.
25017         (__strspn_c1): Likewise.
25018         (__strspn_c2): Likewise.
25019         (__strspn_c3): Likewise.
25020         (__strsep_1c): Likewise.
25021         (__strsep_2c): Likewise.
25022         (__strsep_3c): Likewise.
25023         * string/memccpy.c (__memccpy): Likewise.
25024         * string/stpcpy.c (__stpcpy): Likewise.
25025         * string/strcmp.c (strcmp): Likewise.
25026         * string/strrchr.c (strrchr): Likewise.
25027         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25028         Likewise.
25029         * sysdeps/mach/hurd/getcwd.c
25030         (_hurd_canonicalize_directory_name_internal): Likewise.
25031         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25032         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25034         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25035         Likewise, in both definitions.
25036         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25037         definitions.
25038         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25039         64] (__bswap_64): Likewise.
25040         * time/test_time.c (main): Likewise.
25041         * time/tzfile.c (__tzfile_read): Likewise.
25042         (__tzfile_compute): Likewise.
25043         * time/tzset.c (__tzset_parse_tz): Likewise.
25044         (tzset_internal): Likewise.
25045         (compute_change): Likewise.
25046         * wcsmbs/wcscat.c (__wcscat): Likewise.
25047         * wcsmbs/wcschr.c (wcschr): Likewise.
25048         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25049         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25050         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25051         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25052         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25053         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25054         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25056         * wcsmbs/wmemset.c (wmemset): Likewise.
25058 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25060         * scripts/config.guess: Update to version 2013-05-16.
25061         * scripts/config.sub: Update to version 2013-04-24.
25062         * scripts/install-sh: Update to version 2011-11-20.07.
25063         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25064         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25066 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25068         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25069         * elf/sln.c: Likewise.
25070         * hurd/hurd/ioctl.h: Likewise.
25071         * hurd/hurdmalloc.c: Likewise.
25072         * hurd/xattr.c: Likewise.
25073         * include/shlib-compat.h: Likewise.
25074         * inet/ruserpass.c: Likewise.
25075         * libio/iofgets_u.c: Likewise.
25076         * libio/iofgetws_u.c: Likewise.
25077         * locale/programs/ld-identification.c: Likewise.
25078         * locale/programs/ld-time.c: Likewise.
25079         * mach/msg-destroy.c: Likewise.
25080         * nss/nss_files/files-netgrp.c: Likewise.
25081         * resolv/res_data.c: Likewise.
25082         * soft-fp/op-1.h: Likewise.
25083         * soft-fp/op-2.h: Likewise.
25084         * soft-fp/op-4.h: Likewise.
25085         * soft-fp/op-common.h: Likewise.
25086         * stdio-common/printf_fphex.c: Likewise.
25087         * stdlib/strtod_l.c: Likewise.
25088         * sunrpc/rpc/clnt.h: Likewise.
25089         * sysdeps/generic/framestate.c: Likewise.
25090         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25091         * sysdeps/i386/bsd-setjmp.S: Likewise.
25092         * sysdeps/i386/__longjmp.S: Likewise.
25093         * sysdeps/i386/setjmp.S: Likewise.
25094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25097         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25110         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25111         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25112         * sysdeps/ieee754/support.c: Likewise.
25113         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25114         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25115         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25119         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25120         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25121         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25122         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25123         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25124         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25127         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25128         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25132 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25134         * posix/transbug.c: Remove executable mode.
25136 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25138         * crypt/speeds.c: Remove trailing whitespace.
25139         * dlfcn/default.c: Likewise.
25140         * elf/ifuncdep2.c: Likewise.
25141         * elf/ifuncmain1.c: Likewise.
25142         * elf/ifuncmain1vis.c: Likewise.
25143         * elf/testobj.h: Likewise.
25144         * elf/tst-stackguard1.c: Likewise.
25145         * gmon/sys/gmon.h: Likewise.
25146         * hurd/hurdmsg.c: Likewise.
25147         * hurd/new-fd.c: Likewise.
25148         * hurd/ports-get.c: Likewise.
25149         * iconvdata/ibm1008_420.c: Likewise.
25150         * inet/tst-getni1.c: Likewise.
25151         * inet/tst-getni2.c: Likewise.
25152         * libio/ioungetc.c: Likewise.
25153         * libio/wfiledoalloc.c: Likewise.
25154         * manual/libm-err-tab.pl: Likewise.
25155         * math/w_dremf.c: Likewise.
25156         * misc/ftruncate.c: Likewise.
25157         * posix/bug-glob2.c: Likewise.
25158         * posix/tst-pcre.c: Likewise.
25159         * posix/wait4.c: Likewise.
25160         * resolv/README: Likewise.
25161         * resolv/res_debug.h: Likewise.
25162         * resolv/tst-inet_ntop.c: Likewise.
25163         * setjmp/bug269-setjmp.c: Likewise.
25164         * soft-fp/extended.h: Likewise.
25165         * soft-fp/op-1.h: Likewise.
25166         * soft-fp/op-2.h: Likewise.
25167         * soft-fp/op-4.h: Likewise.
25168         * soft-fp/op-8.h: Likewise.
25169         * soft-fp/testit.c: Likewise.
25170         * stdio-common/bug16.c: Likewise.
25171         * stdlib/random.c: Likewise.
25172         * sunrpc/rpcsvc/rquota.x: Likewise.
25173         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25180         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25182         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25186         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25202         * sysdeps/ieee754/s_lib_version.c: Likewise.
25203         * sysdeps/mach/hurd/check_fds.c: Likewise.
25204         * sysdeps/mach/hurd/getsockname.c: Likewise.
25205         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25206         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25207         * sysdeps/powerpc/bits/link.h: Likewise.
25208         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25209         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25210         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25211         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25214         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25215         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25216         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25217         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25220         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25222         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25223         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25228         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25229         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25231         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25234         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25241         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25242         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25243         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25244         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25247         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25249         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25250         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25251         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25253         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25254         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25255         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25256         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25257         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25262         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25263         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25264         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25270         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25271         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25272         * sysdeps/powerpc/sysdep.h: Likewise.
25273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25274         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25275         * sysdeps/sh/dl-trampoline.S: Likewise.
25276         * sysdeps/sh/memset.S: Likewise.
25277         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25278         * sysdeps/sh/strlen.S: Likewise.
25279         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25280         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25281         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25282         * sysdeps/sparc/sparc32/rem.S: Likewise.
25283         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25284         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25285         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25286         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25287         * sysdeps/sparc/sparc32/urem.S: Likewise.
25288         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25290         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25291         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25293         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25294         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25295         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25296         * sysdeps/unix/bsd/times.c: Likewise.
25297         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25298         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25304         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25309         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25310         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25312         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25314         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25315         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25316         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25317         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25318         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25322         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25323         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25325         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25326         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25327         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25328         * sysdeps/x86_64/strcspn.S: Likewise.
25330 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25332         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25333         generated file.  Regenerate properly from gen-translit.pl.
25334         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25335         locale/C-translit.h.
25337 2013-06-05  Andreas Schwab  <schwab@suse.de>
25339         [BZ #15100]
25340         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25341         week as 6 instead of -1.
25342         * time/tst-strptime.c (day_tests): Add test case.
25344 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25346         * sysdeps/generic/math_private.h
25347         (libc_feholdexcept_setround_53bit): Replace with
25348         libc_feholdsetround_53bit.
25349         (libc_feupdateenv_53bit): Replace with
25350         libc_feresetround_53bit.
25351         (SET_RESTORE_ROUND_53BIT): Adjust.
25353 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25355         * string/test-strchrnul.c: Add copyright header.
25357         * posix/tst-getaddrinfo4.c: Increase test timeout.
25359 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25361         [BZ #15536]
25362         * math/libm-test.inc (MAX_EXP): Remove
25363         (MIN_EXP): Define.
25364         (ulp): Use MIN_EXP - MANT_DIG.
25365         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25367 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25369         * po/be.po: Revert last change.
25370         * po/zh_CN.po: Likewise.
25371         * po/header.pot: Likewise.
25373 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25375         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25376         link-libc-deps to empty as target-specific variable.
25377         * Makerules (link-libc-args): New variable.
25378         (libc-for-link): Likewise.
25379         (link-libc-deps): Likewise.
25380         (lib%.so): Depend on $(link-libc-deps).  Link with
25381         $(link-libc-args).
25382         (build-module): Link with $(link-libc-args).
25383         (build-module-asneeded): Likewise.
25384         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25385         list of objects.
25386         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25387         target-specific variable.
25388         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25389         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25390         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25391         libc.
25392         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25393         libc and ld.so.
25394         ($(objpfx)libpcprofile.so): Likewise.
25395         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25396         libc_nonshared.a.
25397         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25398         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25399         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25400         $(link-libc-deps).
25401         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25402         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25403         * login/Makefile ($(objpfx)libutil.so): Likewise.
25404         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25405         * math/Makefile ($(objpfx)libm.so): Likewise.
25406         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25407         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25408         variable instead of depending directly on libc.
25409         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25410         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25411         $(link-libc-deps).
25412         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25413         libc.
25414         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25415         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25416         ($(objpfx)libanl.so): Likewise.
25417         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25418         ld.so.
25419         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25420         $(link-libc-deps).
25421         * sysdeps/i386/fpu/Makefile: Remove file.
25422         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25423         ($(objpfx)libm.so): Remove dependency on ld.so.
25425 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25427         [BZ # 15553]
25428         * nis/yp_xdr.c (XDRMAXNAME): Define.
25429         (XDRMAXRECORD): Define.
25430         (xdr_domainname): Use XDRMAXNAME.
25431         (xdr_mapname): Likewise.
25432         (xdr_peername): Likewise.
25433         (xdr_keydat): Use XDRMAXRECORD.
25434         (xdr_valdat): Likewise.
25436 2013-05-30  Jeff Law  <law@redhat.com>
25438         [BZ #14256]
25439         * manual/errno.texi (ESTALE): Update to account for more than
25440         just NFS file systems.
25441         * sysdeps/gnu/errlist.c: Regenerated.
25443 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25445         [BZ #15465]
25446         * elf/Makefile (tests): Add tst-null-argv.
25447         (modules-names):  Add tst-null-argv-lib.
25448         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25449         (tst-null-argv-ENV): Set environment for tst-null-argv.
25450         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25451         (RTLD_PROGNAME): New macro.
25452         * elf/tst-null-argv.c: New test case.
25453         * elf/tst-null-argv-lib.c: Library for test case.
25454         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25455         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25456         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25457         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25458         * elf/dl-init.c (call_init): Likewise.
25459         (_dl_init): Likewise.
25460         * elf/dl-load.c (print_search_path): Likewise.
25461         (_dl_map_object): Likewise.
25462         * elf/dl-lookup.c (do_lookup_x): Likewise.
25463         (add_dependency): Likewise.
25464         (_dl_lookup_symbol_x): Likewise.
25465         (_dl_debug_bindings): Likewise.
25466         * elf/dl-open.c (_dl_show_scope): Likewise.
25467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25468         * elf/dl-version.c (match_symbol): Likewise.
25469         (_dl_check_map_versions): Likewise.
25470         * elf/rtld.c (dl_main): Likewise.
25471         (print_unresolved): Use RTLD_PROGNAME.
25472         (print_missing_version): Likewise.
25473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25474         (elf_machine_rela): Likewise.
25475         * sysdeps/powerpc/powerpc32/dl-machine.c
25476         (__process_machine_rela): Likewise.
25477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25478         Likewise.
25479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25480         Likewise.
25481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25482         Likewise.
25483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25485         Likewise.
25486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25487         Likewise.
25488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25490 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25492         * po/be.po: Add descriptive title.
25493         * po/zh_CN.po: Likewise.
25494         * po/header.pot: Likewise.
25496 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25498         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25499         error message.
25500         (enlarge_archive): Likewise.
25502 2013-05-28  Ben North  <ben@redfrontdoor.org>
25504         * manual/arith.texi (frexp): It is the magnitude of the return
25505         value which lies in [0.5, 1), not the return value itself.
25507 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25511 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25513         * stdio-common/bug26.c (main): Correct fscanf template.
25515         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25516         declare _dl_skip_args.
25518         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25519         Don't declare.
25521         * manual/platform.texi: Add missing @end deftypefun.
25523 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25525         [BZ #15529]
25526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25527         bit of mantissa of 2^16382.
25528         * math/libm-test.inc (hypot_test_data): Add more tests.
25530         * math/libm-test.inc: Add drem and pow10 to list of tested
25531         functions.
25532         (pow10_test): New function.
25533         (drem_test): Likewise.
25534         (drem_test_tonearest): Likewise.
25535         (drem_test_towardzero): Likewise.
25536         (drem_test_downward): Likewise.
25537         (drem_test_upward): Likewise.
25538         (main): Call the new functions.
25540         * math/libm-test.inc (finite_test_data): Remove.
25541         (finite_test): Run tests from isfinite_test_data.
25542         (gamma_test_data): Remove.
25543         (gamma_test): Run tests from lgamma_test_data.
25544         * sysdeps/i386/fpu/libm-test-ulps: Update.
25545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25547 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25549         * manual/platform.texi: Add PowerPC PPR function set documentation.
25550         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25551         implementation.
25553 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25555         * math/libm-test.inc (MAX_EXP): Define.
25556         (ULPDIFF): Define.
25557         (ulp): New function.
25558         (check_float_internal): Use ULPDIFF.
25559         (cpow_test): Disable failing test.
25560         (check_ulp): Test ulp() implemetnation.
25561         (main): Call check_ulp before starting tests.
25563 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25565         * math/gen-libm-test.pl (generate_testfile): Do not handle
25566         START_DATA and END_DATA.
25567         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25568         END_DATA.
25569         (acos_tonearest_test_data): Likewise.
25570         (acos_towardzero_test_data): Likewise.
25571         (acos_downward_test_data): Likewise.
25572         (acos_upward_test_data): Likewise.
25573         (acosh_test_data): Likewise.
25574         (asin_test_data): Likewise.
25575         (asin_tonearest_test_data): Likewise.
25576         (asin_towardzero_test_data): Likewise.
25577         (asin_downward_test_data): Likewise.
25578         (asin_upward_test_data): Likewise.
25579         (asinh_test_data): Likewise.
25580         (atan_test_data): Likewise.
25581         (atanh_test_data): Likewise.
25582         (atan2_test_data): Likewise.
25583         (cabs_test_data): Likewise.
25584         (cacos_test_data): Likewise.
25585         (cacosh_test_data): Likewise.
25586         (carg_test_data): Likewise.
25587         (casin_test_data): Likewise.
25588         (casinh_test_data): Likewise.
25589         (catan_test_data): Likewise.
25590         (catanh_test_data): Likewise.
25591         (cbrt_test_data): Likewise.
25592         (ccos_test_data): Likewise.
25593         (ccosh_test_data): Likewise.
25594         (ceil_test_data): Likewise.
25595         (cexp_test_data): Likewise.
25596         (cimag_test_data): Likewise.
25597         (clog_test_data): Likewise.
25598         (clog10_test_data): Likewise.
25599         (conj_test_data): Likewise.
25600         (copysign_test_data): Likewise.
25601         (cos_test_data): Likewise.
25602         (cos_tonearest_test_data): Likewise.
25603         (cos_towardzero_test_data): Likewise.
25604         (cos_downward_test_data): Likewise.
25605         (cos_upward_test_data): Likewise.
25606         (cosh_test_data): Likewise.
25607         (cosh_tonearest_test_data): Likewise.
25608         (cosh_towardzero_test_data): Likewise.
25609         (cosh_downward_test_data): Likewise.
25610         (cosh_upward_test_data): Likewise.
25611         (cpow_test_data): Likewise.
25612         (cproj_test_data): Likewise.
25613         (creal_test_data): Likewise.
25614         (csin_test_data): Likewise.
25615         (csinh_test_data): Likewise.
25616         (csqrt_test_data): Likewise.
25617         (ctan_test_data): Likewise.
25618         (ctan_tonearest_test_data): Likewise.
25619         (ctan_towardzero_test_data): Likewise.
25620         (ctan_downward_test_data): Likewise.
25621         (ctan_upward_test_data): Likewise.
25622         (ctanh_test_data): Likewise.
25623         (ctanh_tonearest_test_data): Likewise.
25624         (ctanh_towardzero_test_data): Likewise.
25625         (ctanh_downward_test_data): Likewise.
25626         (ctanh_upward_test_data): Likewise.
25627         (erf_test_data): Likewise.
25628         (erfc_test_data): Likewise.
25629         (exp_test_data): Likewise.
25630         (exp_tonearest_test_data): Likewise.
25631         (exp_towardzero_test_data): Likewise.
25632         (exp_downward_test_data): Likewise.
25633         (exp_upward_test_data): Likewise.
25634         (exp10_test_data): Likewise.
25635         (exp2_test_data): Likewise.
25636         (expm1_test_data): Likewise.
25637         (fabs_test_data): Likewise.
25638         (fdim_test_data): Likewise.
25639         (finite_test_data): Likewise.
25640         (floor_test_data): Likewise.
25641         (fma_test_data): Likewise.
25642         (fma_towardzero_test_data): Likewise.
25643         (fma_downward_test_data): Likewise.
25644         (fma_upward_test_data): Likewise.
25645         (fmax_test_data): Likewise.
25646         (fmin_test_data): Likewise.
25647         (fmod_test_data): Likewise.
25648         (fpclassify_test_data): Likewise.
25649         (frexp_test_data): Likewise.
25650         (gamma_test_data): Likewise.
25651         (hypot_test_data): Likewise.
25652         (ilogb_test_data): Likewise.
25653         (isfinite_test_data): Likewise.
25654         (isgreater_test_data): Likewise.
25655         (isgreaterequal_test_data): Likewise.
25656         (isinf_test_data): Likewise.
25657         (isless_test_data): Likewise.
25658         (islessequal_test_data): Likewise.
25659         (islessgreater_test_data): Likewise.
25660         (isnan_test_data): Likewise.
25661         (isnormal_test_data): Likewise.
25662         (issignaling_test_data): Likewise.
25663         (isunordered_test_data): Likewise.
25664         (j0_test_data): Likewise.
25665         (j1_test_data): Likewise.
25666         (jn_test_data): Likewise.
25667         (ldexp_test_data): Likewise.
25668         (lgamma_test_data): Likewise.
25669         (lrint_test_data): Likewise.
25670         (lrint_tonearest_test_data): Likewise.
25671         (lrint_towardzero_test_data): Likewise.
25672         (lrint_downward_test_data): Likewise.
25673         (lrint_upward_test_data): Likewise.
25674         (llrint_test_data): Likewise.
25675         (llrint_tonearest_test_data): Likewise.
25676         (llrint_towardzero_test_data): Likewise.
25677         (llrint_downward_test_data): Likewise.
25678         (llrint_upward_test_data): Likewise.
25679         (log_test_data): Likewise.
25680         (log10_test_data): Likewise.
25681         (log1p_test_data): Likewise.
25682         (log2_test_data): Likewise.
25683         (logb_test_data): Likewise.
25684         (logb_downward_test_data): Likewise.
25685         (lround_test_data): Likewise.
25686         (llround_test_data): Likewise.
25687         (modf_test_data): Likewise.
25688         (nearbyint_test_data): Likewise.
25689         (nextafter_test_data): Likewise.
25690         (nexttoward_test_data): Likewise.
25691         (pow_test_data): Likewise.
25692         (pow_tonearest_test_data): Likewise.
25693         (pow_towardzero_test_data): Likewise.
25694         (pow_downward_test_data): Likewise.
25695         (pow_upward_test_data): Likewise.
25696         (remainder_test_data): Likewise.
25697         (remainder_tonearest_test_data): Likewise.
25698         (remainder_towardzero_test_data): Likewise.
25699         (remainder_downward_test_data): Likewise.
25700         (remainder_upward_test_data): Likewise.
25701         (remquo_test_data): Likewise.
25702         (rint_test_data): Likewise.
25703         (rint_tonearest_test_data): Likewise.
25704         (rint_towardzero_test_data): Likewise.
25705         (rint_downward_test_data): Likewise.
25706         (rint_upward_test_data): Likewise.
25707         (round_test_data): Likewise.
25708         (scalb_test_data): Likewise.
25709         (scalbn_test_data): Likewise.
25710         (scalbln_test_data): Likewise.
25711         (signbit_test_data): Likewise.
25712         (sin_test_data): Likewise.
25713         (sin_tonearest_test_data): Likewise.
25714         (sin_towardzero_test_data): Likewise.
25715         (sin_downward_test_data): Likewise.
25716         (sin_upward_test_data): Likewise.
25717         (sincos_test_data): Likewise.
25718         (sinh_test_data): Likewise.
25719         (sinh_tonearest_test_data): Likewise.
25720         (sinh_towardzero_test_data): Likewise.
25721         (sinh_downward_test_data): Likewise.
25722         (sinh_upward_test_data): Likewise.
25723         (sqrt_test_data): Likewise.
25724         (tan_test_data): Likewise.
25725         (tan_tonearest_test_data): Likewise.
25726         (tan_towardzero_test_data): Likewise.
25727         (tan_downward_test_data): Likewise.
25728         (tan_upward_test_data): Likewise.
25729         (tanh_test_data): Likewise.
25730         (tgamma_test_data): Likewise.
25731         (trunc_test_data): Likewise.
25732         (y0_test_data): Likewise.
25733         (y1_test_data): Likewise.
25734         (yn_test_data): Likewise.
25735         (significand_test_data): Likewise.
25737         * math/gen-libm-test.pl (@functions): Remove variable.
25738         (generate_testfile): Don't handle START and END lines.
25739         * math/libm-test.inc (START): New macro.
25740         (END): Likewise.
25741         (END_COMPLEX): Likewise.
25742         (acos_test): Use END macro without arguments.
25743         (acos_test_tonearest): Likewise.
25744         (acos_test_towardzero): Likewise.
25745         (acos_test_downward): Likewise.
25746         (acos_test_upward): Likewise.
25747         (acosh_test): Likewise.
25748         (asin_test): Likewise.
25749         (asin_test_tonearest): Likewise.
25750         (asin_test_towardzero): Likewise.
25751         (asin_test_downward): Likewise.
25752         (asin_test_upward): Likewise.
25753         (asinh_test): Likewise.
25754         (atan_test): Likewise.
25755         (atanh_test): Likewise.
25756         (atan2_test): Likewise.
25757         (cabs_test): Likewise.
25758         (cacos_test): Use END_COMPLEX macro without arguments.
25759         (cacosh_test): Likewise.
25760         (carg_test): Use END macro without arguments.
25761         (casin_test): Use END_COMPLEX macro without arguments.
25762         (casinh_test): Likewise.
25763         (catan_test): Likewise.
25764         (catanh_test): Likewise.
25765         (cbrt_test): Use END macro without arguments.
25766         (ccos_test): Use END_COMPLEX macro without arguments.
25767         (ccosh_test): Likewise.
25768         (ceil_test): Use END macro without arguments.
25769         (cexp_test): Use END_COMPLEX macro without arguments.
25770         (cimag_test): Use END macro without arguments.
25771         (clog_test): Use END_COMPLEX macro without arguments.
25772         (clog10_test): Likewise.
25773         (conj_test): Likewise.
25774         (copysign_test): Use END macro without arguments.
25775         (cos_test): Likewise.
25776         (cos_test_tonearest): Likewise.
25777         (cos_test_towardzero): Likewise.
25778         (cos_test_downward): Likewise.
25779         (cos_test_upward): Likewise.
25780         (cosh_test): Likewise.
25781         (cosh_test_tonearest): Likewise.
25782         (cosh_test_towardzero): Likewise.
25783         (cosh_test_downward): Likewise.
25784         (cosh_test_upward): Likewise.
25785         (cpow_test): Use END_COMPLEX macro without arguments.
25786         (cproj_test): Likewise.
25787         (creal_test): Use END macro without arguments.
25788         (csin_test): Use END_COMPLEX macro without arguments.
25789         (csinh_test): Likewise.
25790         (csqrt_test): Likewise.
25791         (ctan_test): Likewise.
25792         (ctan_test_tonearest): Likewise.
25793         (ctan_test_towardzero): Likewise.
25794         (ctan_test_downward): Likewise.
25795         (ctan_test_upward): Likewise.
25796         (ctanh_test): Likewise.
25797         (ctanh_test_tonearest): Likewise.
25798         (ctanh_test_towardzero): Likewise.
25799         (ctanh_test_downward): Likewise.
25800         (ctanh_test_upward): Likewise.
25801         (erf_test): Use END macro without arguments.
25802         (erfc_test): Likewise.
25803         (exp_test): Likewise.
25804         (exp_test_tonearest): Likewise.
25805         (exp_test_towardzero): Likewise.
25806         (exp_test_downward): Likewise.
25807         (exp_test_upward): Likewise.
25808         (exp10_test): Likewise.
25809         (exp2_test): Likewise.
25810         (expm1_test): Likewise.
25811         (fabs_test): Likewise.
25812         (fdim_test): Likewise.
25813         (finite_test): Likewise.
25814         (floor_test): Likewise.
25815         (fma_test): Likewise.
25816         (fma_test_towardzero): Likewise.
25817         (fma_test_downward): Likewise.
25818         (fma_test_upward): Likewise.
25819         (fmax_test): Likewise.
25820         (fmin_test): Likewise.
25821         (fmod_test): Likewise.
25822         (fpclassify_test): Likewise.
25823         (frexp_test): Likewise.
25824         (gamma_test): Likewise.
25825         (hypot_test): Likewise.
25826         (ilogb_test): Likewise.
25827         (isfinite_test): Likewise.
25828         (isgreater_test): Likewise.
25829         (isgreaterequal_test): Likewise.
25830         (isinf_test): Likewise.
25831         (isless_test): Likewise.
25832         (islessequal_test): Likewise.
25833         (islessgreater_test): Likewise.
25834         (isnan_test): Likewise.
25835         (isnormal_test): Likewise.
25836         (issignaling_test): Likewise.
25837         (isunordered_test): Likewise.
25838         (j0_test): Likewise.
25839         (j1_test): Likewise.
25840         (jn_test): Likewise.
25841         (ldexp_test): Likewise.
25842         (lgamma_test): Likewise.
25843         (lrint_test): Likewise.
25844         (lrint_test_tonearest): Likewise.
25845         (lrint_test_towardzero): Likewise.
25846         (lrint_test_downward): Likewise.
25847         (lrint_test_upward): Likewise.
25848         (llrint_test): Likewise.
25849         (llrint_test_tonearest): Likewise.
25850         (llrint_test_towardzero): Likewise.
25851         (llrint_test_downward): Likewise.
25852         (llrint_test_upward): Likewise.
25853         (log_test): Likewise.
25854         (log10_test): Likewise.
25855         (log1p_test): Likewise.
25856         (log2_test): Likewise.
25857         (logb_test): Likewise.
25858         (logb_test_downward): Likewise.
25859         (lround_test): Likewise.
25860         (llround_test): Likewise.
25861         (modf_test): Likewise.
25862         (nearbyint_test): Likewise.
25863         (nextafter_test): Likewise.
25864         (nexttoward_test): Likewise.
25865         (pow_test): Likewise.
25866         (pow_test_tonearest): Likewise.
25867         (pow_test_towardzero): Likewise.
25868         (pow_test_downward): Likewise.
25869         (pow_test_upward): Likewise.
25870         (remainder_test): Likewise.
25871         (remainder_test_tonearest): Likewise.
25872         (remainder_test_towardzero): Likewise.
25873         (remainder_test_downward): Likewise.
25874         (remainder_test_upward): Likewise.
25875         (remquo_test): Likewise.
25876         (rint_test): Likewise.
25877         (rint_test_tonearest): Likewise.
25878         (rint_test_towardzero): Likewise.
25879         (rint_test_downward): Likewise.
25880         (rint_test_upward): Likewise.
25881         (round_test): Likewise.
25882         (scalb_test): Likewise.
25883         (scalbn_test): Likewise.
25884         (scalbln_test): Likewise.
25885         (signbit_test): Likewise.
25886         (sin_test): Likewise.
25887         (sin_test_tonearest): Likewise.
25888         (sin_test_towardzero): Likewise.
25889         (sin_test_downward): Likewise.
25890         (sin_test_upward): Likewise.
25891         (sincos_test): Likewise.
25892         (sinh_test): Likewise.
25893         (sinh_test_tonearest): Likewise.
25894         (sinh_test_towardzero): Likewise.
25895         (sinh_test_downward): Likewise.
25896         (sinh_test_upward): Likewise.
25897         (sqrt_test): Likewise.
25898         (tan_test): Likewise.
25899         (tan_test_tonearest): Likewise.
25900         (tan_test_towardzero): Likewise.
25901         (tan_test_downward): Likewise.
25902         (tan_test_upward): Likewise.
25903         (tanh_test): Likewise.
25904         (tgamma_test): Likewise.
25905         (trunc_test): Likewise.
25906         (y0_test): Likewise.
25907         (y1_test): Likewise.
25908         (yn_test): Likewise.
25909         (significand_test): Likewise.
25911 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25913         [BZ #15381]
25914         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25916 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25918         [BZ #14894]
25919         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25920         __ppc_mdoio and __ppc_mdoom.
25921         * manual/platform.texi: Document new functions __ppc_yield,
25922         __ppc_mdoio and __ppc_mdoom.
25924 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25926         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25927         (main): Mention "tls" pseudo-hwcap is legacy.
25928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25930 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25932         * math/gen-libm-test.pl (parse_args): Output only string of
25933         arguments as text for test name, not full call or descriptions of
25934         tests for extra outputs.
25935         (generate_testfile): Do not pass function name to parse_args.
25936         Generate this_func variable from START.
25937         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25938         field to arg_str.
25939         (struct test_ff_f_data): Likewise.
25940         (test_ff_f_data_nexttoward): Likewise.
25941         (struct test_fi_f_data): Likewise.
25942         (struct test_fl_f_data): Likewise.
25943         (struct test_if_f_data): Likewise.
25944         (struct test_fff_f_data): Likewise.
25945         (struct test_c_f_data): Likewise.
25946         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25947         (struct test_fF_f1_data): Likewise.
25948         (struct test_ffI_f1_data): Likewise.
25949         (struct test_c_c_data): Rename test_name field to arg_str.
25950         (struct test_cc_c_data): Likewise.
25951         (struct test_f_i_data): Likewise.
25952         (struct test_ff_i_data): Likewise.
25953         (struct test_f_l_data): Likewise.
25954         (struct test_f_L_data): Likewise.
25955         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25956         and extra2_name.
25957         (COMMON_TEST_SETUP): New macro.
25958         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25959         (COMMON_TEST_CLEANUP): Likewise.
25960         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25961         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25962         macros.
25963         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25964         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25965         macros.
25966         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25967         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25968         cleanup macros.
25969         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25970         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25971         macros.
25972         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25973         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25974         macros.
25975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25976         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25977         cleanup macros.
25978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25979         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25980         cleanup macros.
25981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25982         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25983         cleanup macros.
25984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25985         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25986         macros.
25987         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25988         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25989         macros.
25990         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25991         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25992         macros.
25993         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25994         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25995         cleanup macros.
25996         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25997         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25998         cleanup macros.
25999         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26000         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26001         macros.
26002         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26003         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26004         cleanup macros.
26005         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26006         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26007         macros.
26008         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26009         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26010         macros.
26011         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26012         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26013         cleanup macros.
26014         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26016 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26018         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26019         to _sifields.sigfault.
26020         (si_addr_lsb): Define new macro.
26021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26025 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26027         [BZ #15441]
26028         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26029         returns -1.
26030         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26031         null return -1.
26032         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26033         loading the domain.
26035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26037         * math/gen-libm-test.pl (parse_args): Do not include expected
26038         result in test name.
26039         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26046 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26048         * benchtests/Makefile: Sort function entries.
26050         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26051         tanh, asinh, acosh, atanh.
26052         * benchtests/acos-inputs: New file.
26053         * benchtests/acosh-inputs: New file.
26054         * benchtests/asin-inputs: New file.
26055         * benchtests/asinh-inputs: New file.
26056         * benchtests/atanh-inputs: New file.
26057         * benchtests/cosh-inputs: New file.
26058         * benchtests/log-inputs: New file.
26059         * benchtests/sinh-inputs: New file.
26060         * benchtests/tanh-inputs: New file.
26062 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26064         [BZ #15339]
26065         * posix/tst-getaddrinfo4.c: New test.
26066         * posix/Makefile (tests): Add it.
26068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26070         [BZ #15339]
26071         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26072         when no services were used.
26073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26074         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26076 2013-05-21  Andreas Schwab  <schwab@suse.de>
26078         [BZ #15014]
26079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26080         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26081         successful.
26082         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26083         redundant variable declarations and reallocation of buffer when
26084         parsing as IPv6 address.  Always set NSS status when called from
26085         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26086         buffer too small.  Correct computation of needed size.
26087         * nss/Makefile (tests): Add test-digits-dots.
26088         * nss/test-digits-dots.c: New test.
26090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26092         * benchtests/Makefile: Remove instructions for adding
26093         benchmark tests.
26094         * benchtests/README: New file to explain how to execute and
26095         enhance the benchmark tests.
26097 2013-05-21  Andreas Schwab  <schwab@suse.de>
26099         [BZ #15493]
26100         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26101         * setjmp/tst-sigsetjmp.c: New test.
26103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26105         * sysdeps/x86_64/memset.S (memset): New implementation.
26106         (__bzero): Likewise.
26107         (__memset_tail): New function.
26109 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26113         __memcpy_sse2_unaligned ifunc selection.
26114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26115         Add memcpy-sse2-unaligned.S.
26116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26117         Add: __memcpy_sse2_unaligned.
26119 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26121         [BZ #15490]
26122         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26123         math_force_eval before restoring floating-point envrionment.
26124         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26126         Likewise.
26127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26128         <math_private.h>.
26129         (__nearbyintl): Use math_force_eval before restoring
26130         floating-point environment.
26131         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26133         * math/gen-libm-test.pl (special_functions): Remove.
26134         (parse_args): Don't handle TEST_extra.  Handle functions with no
26135         return value.
26136         * math/libm-test.inc (struct test_sincos_data): Replace with
26137         struct test_fFF_11_data.
26138         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26139         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26140         (sincos_test_data): Change element type to struct
26141         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26142         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26143         RUN_TEST_LOOP_sincos.
26144         * math/README.libm-test: Don't mention special handling of
26145         individual functions.
26146         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153         * math/gen-libm-test.pl (get_variable): Remove function.
26154         (parse_args): Don't show pointer parameters to call in test
26155         names.  Use "extra output N" in test names for extra outputs
26156         rather than naming variables.
26158 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26160         [BZ #15488]
26161         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26162         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26163         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26164         double tests.
26165         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26166         disable.
26167         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26168         check_long_double.
26170         * math/gen-libm-test.pl (@tests): Remove variable.
26171         ($count): Likewise.
26172         (new_test): Remove function.
26173         (show_exceptions): New function.
26174         (special_functions): Use show_exceptions instead of new_test.
26175         (parse_args): Likewise.
26176         (generate_testfile): Pass only function name in generated call to
26177         print_max_error or print_complex_max_error.
26178         (get_ulps): Do not handle complex tests specially.
26179         (output_test): Rename to ...
26180         (get_all_ulps_for_test): ... this.  Return a string rather than
26181         printing to a file.  Require ulps to be present.
26182         (output_ulps): Generate arrays rather than #defines.
26183         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26184         (struct ulp_data): New type.
26185         (BUILD_COMPLEX_ULP): Remove macro.
26186         (compare_ulp_data): New function.
26187         (find_ulps): Likewise.
26188         (find_test_ulps): Likewise.
26189         (find_function_ulps): Likewise.
26190         (find_complex_function_ulps): Likewise.
26191         (print_max_error): Determine allowed ulps using
26192         find_function_ulps.
26193         (print_complex_max_error): Determine allowed ulps using
26194         find_complex_function_ulps.
26195         (check_float_internal): Determine max ulps using find_test_ulps.
26196         (check_float): Do not take max_ulp parameter.  Update call to
26197         check_float_internal.
26198         (check_complex): Likewise.
26199         (check_int): Do not take max_ulp parameter.
26200         (check_long): Likewise.
26201         (check_bool): Likewise.
26202         (check_longlong): Likewise.
26203         (struct test_f_f_data): Remove max_ulp field.
26204         (struct test_ff_f_data): Likewise.
26205         (struct test_ff_f_data_nexttoward): Likewise.
26206         (struct test_fi_f_data): Likewise.
26207         (struct test_fl_f_data): Likewise.
26208         (struct test_if_f_data): Likewise.
26209         (struct test_fff_f_data): Likewise.
26210         (struct test_c_f_data): Likewise.
26211         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26212         (struct test_fF_f1_data): Likewise.
26213         (struct test_ffI_f1_data): Likewise.
26214         (struct test_c_c_data): Remove max_ulp field.
26215         (struct test_cc_c_data): Likewise.
26216         (struct test_f_i_data): Likewise.
26217         (struct test_ff_i_data): Likewise.
26218         (struct test_f_l_data): Likewise.
26219         (struct test_f_L_data): Likewise.
26220         (struct test_sincos_data): Likewise.
26221         (RUN_TEST_f_f): Do not handle ulps.
26222         (RUN_TEST_LOOP_f_f): Likewise.
26223         (RUN_TEST_2_f): Likewise.
26224         (RUN_TEST_LOOP_2_f): Likewise.
26225         (RUN_TEST_fff_f): Likewise.
26226         (RUN_TEST_LOOP_fff_f): Likewise.
26227         (RUN_TEST_c_f): Likewise.
26228         (RUN_TEST_LOOP_c_f): Likewise.
26229         (RUN_TEST_f_f1): Likewise.
26230         (RUN_TEST_LOOP_f_f1): Likewise.
26231         (RUN_TEST_fF_f1): Likewise.
26232         (RUN_TEST_LOOP_fF_f1): Likewise.
26233         (RUN_TEST_fI_f1): Likewise.
26234         (RUN_TEST_LOOP_fI_f1): Likewise.
26235         (RUN_TEST_ffI_f1): Likewise.
26236         (RUN_TEST_LOOP_ffI_f1): Likewise.
26237         (RUN_TEST_c_c): Likewise.
26238         (RUN_TEST_LOOP_c_c): Likewise.
26239         (RUN_TEST_cc_c): Likewise.
26240         (RUN_TEST_LOOP_cc_c): Likewise.
26241         (RUN_TEST_f_i): Likewise.
26242         (RUN_TEST_LOOP_f_i): Likewise.
26243         (RUN_TEST_f_i_tg): Likewise.
26244         (RUN_TEST_LOOP_f_i_tg): Likewise.
26245         (RUN_TEST_ff_i_tg): Likewise.
26246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26247         (RUN_TEST_f_b): Likewise.
26248         (RUN_TEST_LOOP_f_b): Likewise.
26249         (RUN_TEST_f_b_tg): Likewise.
26250         (RUN_TEST_LOOP_f_b_tg): Likewise.
26251         (RUN_TEST_f_l): Likewise.
26252         (RUN_TEST_LOOP_f_l): Likewise.
26253         (RUN_TEST_f_L): Likewise.
26254         (RUN_TEST_LOOP_f_L): Likewise.
26255         (RUN_TEST_sincos): Likewise.
26256         (RUN_TEST_LOOP_sincos): Likewise.
26258 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26260         [BZ #15480]
26261         [BZ #15485]
26262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26263         main case of finite arguments, set rounding mode to FE_TONEAREST
26264         and discard exceptions.
26265         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26266         exceptions.
26267         (remainder_tonearest_test_data): New variable.
26268         (remainder_test_tonearest): New function.
26269         (remainder_towardzero_test_data): New variable.
26270         (remainder_test_towardzero): New function.
26271         (remainder_downward_test_data): New variable.
26272         (remainder_test_downward): New function.
26273         (remainder_upward_test_data): New variable.
26274         (remainder_test_upward): New function.
26275         (main): Call the new test functions.
26277         * math/libm-test.inc (struct test_f_f1_data): Remove field
26278         extra_init.
26279         (struct test_fF_f1_data): Likewise.
26280         (struct test_ffI_f1_data): Likewise.
26281         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26282         based on value of EXTRA_EXPECTED.
26283         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26284         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26285         EXTRA_VAR based on value of EXTRA_EXPECTED.
26286         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26287         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26288         EXTRA_VAR based on value of EXTRA_EXPECTED.
26289         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26290         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26291         EXTRA_VAR based on value of EXTRA_EXPECTED.
26292         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26293         * math/gen-libm-test.pl (parse_args): Don't output initializers
26294         for extra output values.
26296         * math/libm-test.inc (check_int): Expect result to be exactly
26297         equal to expected value and do not handle ulps.
26298         (check_long): Likewise.
26299         (check_longlong): Likewise.
26301         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26302         exceptions.
26303         (cimag_test_data): Likewise.
26304         (conj_test_data): Likewise.
26305         (copysign_test_data): Likewise.
26306         (cproj_test_data): Likewise.
26307         (creal_test_data): Likewise.
26308         (fabs_test_data): Likewise.
26309         (fdim_test_data): Likewise.
26310         (finite_test_data): Likewise.
26311         (floor_test_data): Likewise.
26312         (fmax_test_data): Likewise.
26313         (fmin_test_data): Likewise.
26314         (fmod_test_data): Likewise.
26315         (fpclassify_test_data): Likewise.
26316         (frexp_test_data): Likewise.
26317         (ilogb_test_data): Likewise.
26318         (isfinite_test_data): Likewise.
26319         (isgreater_test_data): Likewise.
26320         (isgreaterequal_test_data): Likewise.
26321         (isinf_test_data): Likewise.
26322         (isless_test_data): Likewise.
26323         (islessequal_test_data): Likewise.
26324         (islessgreater_test_data): Likewise.
26325         (isnan_test_data): Likewise.
26326         (isnormal_test_data): Likewise.
26327         (issignaling_test_data): Likewise.
26328         (isunordered_test_data): Likewise.
26329         (ldexp_test_data): Likewise.
26330         (lrint_test_data): Likewise.
26331         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26332         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26333         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26334         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26335         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26336         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26337         test input.
26338         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26339         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26340         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26341         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26342         that test input.
26343         (lrint_downward_test_data): Test for "inexact" exceptions.
26344         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26345         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26346         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26347         test input.
26348         (lrint_upward_test_data): Test for "inexact" exceptions.
26349         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26350         test input.
26351         (llrint_test_data): Test for "inexact" exceptions.
26352         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26353         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26354         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26355         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26356         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26357         (llrint_downward_test_data): Test for "inexact" exceptions.
26358         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26359         (llrint_upward_test_data): Test for "inexact" exceptions.
26360         (logb_test_data): Likewise.
26361         (logb_downward_test_data): Likewise.
26362         (nextafter_test_data): Likewise.
26363         (nexttoward_test_data): Likewise.
26364         (remainder_test_data): Likewise.
26365         (remquo_test_data): Likewise.
26366         (scalbn_test_data): Likewise.
26367         (scalbln_test_data): Likewise.
26368         (signbit_test_data): Likewise.
26369         (sqrt_test_data): Likewise.
26370         (significand_test_data): Likewise.
26372 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26374         [BZ #15424]
26375         * benchtests/bench-modf.c (struct args): Mark arg0 as
26376         volatile.
26377         * scripts/bench.pl: Mark members of struct args as volatile.
26379 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26381         [BZ # 15497]
26382         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26383         negative infinity on POWER6 or lower.
26384         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26386 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26388         [BZ #15442]
26389         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26390         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26391         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26392         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26393         (_FP_SETQNAN): New macro.
26394         (_FP_SETQNAN_SEMIRAW): Likewise.
26395         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26396         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26397         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26398         (FP_EXTEND): Use _FP_FRAC_SNANP.
26399         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26400         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26401         into account.
26402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26403         New macro.
26404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26405         Likewise.
26407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26409         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26410         with DIVIDE_BY_ZERO_EXCEPTION.
26411         (gamma_test_data): Likewise.
26412         (lgamma_test_data): Likewise.
26413         (log_test_data): Likewise.
26414         (log10_test_data): Likewise.
26415         (log2_test_data): Likewise.
26416         (tgamma_test_data): Likewise.
26418         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26419         (acos_test_tonearest): Likewise.
26420         (acos_test_towardzero): Likewise.
26421         (acos_test_downward): Likewise.
26422         (acos_test_upward): Likewise.
26423         (acosh_test): Likewise.
26424         (asin_test): Likewise.
26425         (asin_test_tonearest): Likewise.
26426         (asin_test_towardzero): Likewise.
26427         (asin_test_downward): Likewise.
26428         (asin_test_upward): Likewise.
26429         (asinh_test): Likewise.
26430         (atan_test): Likewise.
26431         (atanh_test): Likewise.
26432         (atan2_test): Likewise.
26433         (cabs_test): Likewise.
26434         (cacos_test): Likewise.
26435         (cacosh_test): Likewise.
26436         (casin_test): Likewise.
26437         (casinh_test): Likewise.
26438         (catan_test): Likewise.
26439         (catanh_test): Likewise.
26440         (cbrt_test): Likewise.
26441         (ccos_test): Likewise.
26442         (ccosh_test): Likewise.
26443         (cexp_test): Likewise.
26444         (clog_test): Likewise.
26445         (clog10_test): Likewise.
26446         (cos_test): Likewise.
26447         (cos_test_tonearest): Likewise.
26448         (cos_test_towardzero): Likewise.
26449         (cos_test_downward): Likewise.
26450         (cos_test_upward): Likewise.
26451         (cosh_test): Likewise.
26452         (cosh_test_tonearest): Likewise.
26453         (cosh_test_towardzero): Likewise.
26454         (cosh_test_downward): Likewise.
26455         (cosh_test_upward): Likewise.
26456         (cpow_test): Likewise.
26457         (csin_test): Likewise.
26458         (csinh_test): Likewise.
26459         (csqrt_test): Likewise.
26460         (ctan_test): Likewise.
26461         (ctan_test_tonearest): Likewise.
26462         (ctan_test_towardzero): Likewise.
26463         (ctan_test_downward): Likewise.
26464         (ctan_test_upward): Likewise.
26465         (ctanh_test): Likewise.
26466         (ctanh_test_tonearest): Likewise.
26467         (ctanh_test_towardzero): Likewise.
26468         (ctanh_test_downward): Likewise.
26469         (ctanh_test_upward): Likewise.
26470         (erf_test): Likewise.
26471         (erfc_test): Likewise.
26472         (exp_test): Likewise.
26473         (exp_test_tonearest): Likewise.
26474         (exp_test_towardzero): Likewise.
26475         (exp_test_downward): Likewise.
26476         (exp_test_upward): Likewise.
26477         (exp10_test): Likewise.
26478         (exp2_test): Likewise.
26479         (expm1_test): Likewise.
26480         (fmod_test): Likewise.
26481         (gamma_test): Likewise.
26482         (hypot_test): Likewise.
26483         (j0_test): Likewise.
26484         (j1_test): Likewise.
26485         (jn_test): Likewise.
26486         (lgamma_test): Likewise.
26487         (log_test): Likewise.
26488         (log10_test): Likewise.
26489         (log1p_test): Likewise.
26490         (log2_test): Likewise.
26491         (logb_test_downward): Likewise.
26492         (pow_test): Likewise.
26493         (pow_test_tonearest): Likewise.
26494         (pow_test_towardzero): Likewise.
26495         (pow_test_downward): Likewise.
26496         (pow_test_upward): Likewise.
26497         (remainder_test): Likewise.
26498         (remquo_test): Likewise.
26499         (sin_test): Likewise.
26500         (sin_test_tonearest): Likewise.
26501         (sin_test_towardzero): Likewise.
26502         (sin_test_downward): Likewise.
26503         (sin_test_upward): Likewise.
26504         (sincos_test): Likewise.
26505         (sinh_test): Likewise.
26506         (sinh_test_tonearest): Likewise.
26507         (sinh_test_towardzero): Likewise.
26508         (sinh_test_downward): Likewise.
26509         (sinh_test_upward): Likewise.
26510         (sqrt_test): Likewise.
26511         (tan_test): Likewise.
26512         (tan_test_tonearest): Likewise.
26513         (tan_test_towardzero): Likewise.
26514         (tan_test_downward): Likewise.
26515         (tan_test_upward): Likewise.
26516         (tanh_test): Likewise.
26517         (tgamma_test): Likewise.
26518         (y0_test): Likewise.
26519         (y1_test): Likewise.
26520         (yn_test): Likewise.
26522         * math/gen-libm-test.pl (adjust_arg): Remove function.
26523         (special_function): Remove argument $in_func.  Only handle
26524         generating output for tables of tests, not inside functions.
26525         (parse_args): Likewise.
26526         (generate_testfile): Remove variable $in_func.  Update call to
26527         parse_args.
26528         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26529         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26530         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26531         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26532         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26533         (MAX_VALUE_INIT): Rename macro to max_value.
26534         (MIN_VALUE_INIT): Rename macro to min_value.
26535         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26536         (plus_zero): Remove variable.
26537         (minus_zero): Likewise.
26538         (plus_infty): Likewise.
26539         (minus_infty): Likewise.
26540         (qnan_value): Likewise.
26541         (max_value): Likewise.
26542         (min_value): Likewise.
26543         (min_subnorm_value): Likewise.
26545 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26547         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26548         uint64_t or uint32_t usage.
26549         * crypt/sha256-block.c: Likewise.
26550         * crypt/sha256-crypt.c: Likewise.
26551         * crypt/sha256.c: Likewise.
26552         * crypt/sha512-block.c: Likewise.
26553         * crypt/sha512-crypt.c: Likewise.
26554         * crypt/sha512.c: Likewise.
26555         * debug/backtrace-tst.c: Likewise.
26556         * debug/pcprofiledump.c: Likewise.
26557         * elf/cache.c: Likewise.
26558         * elf/dl-cache.c: Likewise.
26559         * elf/dl-misc.c: Likewise.
26560         * elf/dl-profile.c: Likewise.
26561         * elf/dl-support.c: Likewise.
26562         * elf/ldconfig.c: Likewise.
26563         * elf/sprof.c: Likewise.
26564         * iconv/dummy-repertoire.c: Likewise.
26565         * iconv/iconv_charmap.c: Likewise.
26566         * iconv/skeleton.c: Likewise.
26567         * iconvdata/8bit-generic.c: Likewise.
26568         * iconvdata/cp737.h: Likewise.
26569         * iconvdata/cp775.h: Likewise.
26570         * iconvdata/ibm1008.h: Likewise.
26571         * iconvdata/ibm1025.h: Likewise.
26572         * iconvdata/ibm1046.h: Likewise.
26573         * iconvdata/ibm1097.h: Likewise.
26574         * iconvdata/ibm1112.h: Likewise.
26575         * iconvdata/ibm1122.h: Likewise.
26576         * iconvdata/ibm1123.h: Likewise.
26577         * iconvdata/ibm1124.h: Likewise.
26578         * iconvdata/ibm1129.h: Likewise.
26579         * iconvdata/ibm1130.h: Likewise.
26580         * iconvdata/ibm1132.h: Likewise.
26581         * iconvdata/ibm1133.h: Likewise.
26582         * iconvdata/ibm1137.h: Likewise.
26583         * iconvdata/ibm1140.h: Likewise.
26584         * iconvdata/ibm1141.h: Likewise.
26585         * iconvdata/ibm1142.h: Likewise.
26586         * iconvdata/ibm1143.h: Likewise.
26587         * iconvdata/ibm1144.h: Likewise.
26588         * iconvdata/ibm1145.h: Likewise.
26589         * iconvdata/ibm1146.h: Likewise.
26590         * iconvdata/ibm1147.h: Likewise.
26591         * iconvdata/ibm1148.h: Likewise.
26592         * iconvdata/ibm1149.h: Likewise.
26593         * iconvdata/ibm1153.h: Likewise.
26594         * iconvdata/ibm1154.h: Likewise.
26595         * iconvdata/ibm1155.h: Likewise.
26596         * iconvdata/ibm1156.h: Likewise.
26597         * iconvdata/ibm1157.h: Likewise.
26598         * iconvdata/ibm1158.h: Likewise.
26599         * iconvdata/ibm1160.h: Likewise.
26600         * iconvdata/ibm1161.h: Likewise.
26601         * iconvdata/ibm1162.h: Likewise.
26602         * iconvdata/ibm1163.h: Likewise.
26603         * iconvdata/ibm1164.h: Likewise.
26604         * iconvdata/ibm1166.h: Likewise.
26605         * iconvdata/ibm1167.h: Likewise.
26606         * iconvdata/ibm12712.h: Likewise.
26607         * iconvdata/ibm1390.h: Likewise.
26608         * iconvdata/ibm1399.h: Likewise.
26609         * iconvdata/ibm16804.h: Likewise.
26610         * iconvdata/ibm4517.h: Likewise.
26611         * iconvdata/ibm4899.h: Likewise.
26612         * iconvdata/ibm4909.h: Likewise.
26613         * iconvdata/ibm4971.h: Likewise.
26614         * iconvdata/ibm5347.h: Likewise.
26615         * iconvdata/ibm803.h: Likewise.
26616         * iconvdata/ibm856.h: Likewise.
26617         * iconvdata/ibm901.h: Likewise.
26618         * iconvdata/ibm902.h: Likewise.
26619         * iconvdata/ibm9030.h: Likewise.
26620         * iconvdata/ibm9066.h: Likewise.
26621         * iconvdata/ibm921.h: Likewise.
26622         * iconvdata/ibm922.h: Likewise.
26623         * iconvdata/ibm9448.h: Likewise.
26624         * iconvdata/isiri-3342.h: Likewise.
26625         * iconvdata/jis0201.h: Likewise.
26626         * include/link.h: Likewise.
26627         * include/netdb.h: Likewise.
26628         * inet/check_native.c: Likewise.
26629         * inet/check_pf.c: Likewise.
26630         * inet/getipv4sourcefilter.c: Likewise.
26631         * inet/getnameinfo.c: Likewise.
26632         * inet/getsourcefilter.c: Likewise.
26633         * inet/htonl.c: Likewise.
26634         * inet/setipv4sourcefilter.c: Likewise.
26635         * inet/setsourcefilter.c: Likewise.
26636         * inet/test-inet6_opt.c: Likewise.
26637         * inet/tst-network.c: Likewise.
26638         * locale/C-collate.c: Likewise.
26639         * locale/C-ctype.c: Likewise.
26640         * locale/C-time.c: Likewise.
26641         * locale/C-translit.h: Likewise.
26642         * locale/loadarchive.c: Likewise.
26643         * locale/programs/3level.h: Likewise.
26644         * locale/programs/charmap.c: Likewise.
26645         * locale/programs/charmap.h: Likewise.
26646         * locale/programs/ld-address.c: Likewise.
26647         * locale/programs/ld-collate.c: Likewise.
26648         * locale/programs/ld-ctype.c: Likewise.
26649         * locale/programs/ld-identification.c: Likewise.
26650         * locale/programs/ld-measurement.c: Likewise.
26651         * locale/programs/ld-messages.c: Likewise.
26652         * locale/programs/ld-monetary.c: Likewise.
26653         * locale/programs/ld-name.c: Likewise.
26654         * locale/programs/ld-numeric.c: Likewise.
26655         * locale/programs/ld-paper.c: Likewise.
26656         * locale/programs/ld-telephone.c: Likewise.
26657         * locale/programs/ld-time.c: Likewise.
26658         * locale/programs/linereader.c: Likewise.
26659         * locale/programs/locale.c: Likewise.
26660         * locale/programs/locarchive.c: Likewise.
26661         * locale/programs/locfile.h: Likewise.
26662         * locale/programs/repertoire.c: Likewise.
26663         * locale/programs/simple-hash.c: Likewise.
26664         * locale/programs/simple-hash.h: Likewise.
26665         * malloc/memusage.c: Likewise.
26666         * malloc/memusagestat.c: Likewise.
26667         * nis/nis_defaults.c: Likewise.
26668         * nis/nis_hash.c: Likewise.
26669         * nis/nis_print.c: Likewise.
26670         * nis/nis_xdr.c: Likewise.
26671         * nscd/connections.c: Likewise.
26672         * nscd/hstcache.c: Likewise.
26673         * nscd/nscd_gethst_r.c: Likewise.
26674         * nscd/nscd_getserv_r.c: Likewise.
26675         * nscd/nscd_helper.c: Likewise.
26676         * nscd/servicescache.c: Likewise.
26677         * nss/makedb.c: Likewise.
26678         * nss/nss_db/db-XXX.c: Likewise.
26679         * nss/nss_db/db-initgroups.c: Likewise.
26680         * nss/nss_db/db-netgrp.c: Likewise.
26681         * nss/nss_files/files-network.c: Likewise.
26682         * nss/nss_files/files-parse.c: Likewise.
26683         * posix/bug-regex5.c: Likewise.
26684         * posix/fnmatch_loop.c: Likewise.
26685         * posix/regcomp.c: Likewise.
26686         * posix/regexec.c: Likewise.
26687         * posix/tst-rfc3484-2.c: Likewise.
26688         * posix/tst-rfc3484-3.c: Likewise.
26689         * posix/tst-rfc3484.c: Likewise.
26690         * resolv/nss_dns/dns-canon.c: Likewise.
26691         * resolv/nss_dns/dns-network.c: Likewise.
26692         * resolv/res_init.c: Likewise.
26693         * resolv/res_mkquery.c: Likewise.
26694         * resolv/tst-aton.c: Likewise.
26695         * stdlib/cxa_atexit.c: Likewise.
26696         * stdlib/cxa_finalize.c: Likewise.
26697         * stdlib/gen-fpioconst.c: Likewise.
26698         * stdlib/strtol_l.c: Likewise.
26699         * string/tst-endian.c: Likewise.
26700         * sunrpc/auth_des.c: Likewise.
26701         * sunrpc/clnt_udp.c: Likewise.
26702         * sunrpc/rtime.c: Likewise.
26703         * sunrpc/svcauth_des.c: Likewise.
26704         * sunrpc/xdr.c: Likewise.
26705         * sunrpc/xdr_intXX_t.c: Likewise.
26706         * sunrpc/xdr_rec.c: Likewise.
26707         * sysdeps/generic/ldconfig.h: Likewise.
26708         * sysdeps/generic/ldsodefs.h: Likewise.
26709         * sysdeps/generic/memusage.h: Likewise.
26710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26716         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26720         * sysdeps/posix/getaddrinfo.c: Likewise.
26721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26723         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26724         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26725         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26726         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26727         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26728         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26729         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26730         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26731         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26733         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26734         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26735         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26736         * sysdeps/x86_64/dl-tls.h: Likewise.
26737         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26738         * time/alt_digit.c: Likewise.
26739         * time/era.c: Likewise.
26740         * wcsmbs/tst-c16c32-1.c: Likewise.
26742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26744         * math/libm-test.inc (struct test_sincos_data): New type.
26745         (RUN_TEST_LOOP_sincos): New macro.
26746         (sincos_test_data): New variable.
26747         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26749 2013-05-16  Richard Henderson  <rth@redhat.com>
26751         * math/atest-exp2.c (LIMB64): New macro.
26752         (CONSTSZ): New macro.
26753         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26754         (hexdig): Move ...
26755         (print_mpn_fp): ... to function scope.
26756         (read_mpn_hex): Remove.
26757         (get_log2): Remove.
26758         (exp2_mpn): Use mp_log2.
26759         (main): Use mp_exp1.
26761 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26763         * math/libm-test.inc: Remove comment about not testing "inexact"
26764         exceptions.
26765         (INEXACT_EXCEPTION): New macro.
26766         (NO_INEXACT_EXCEPTION): Likewise.
26767         (INVALID_EXCEPTION_OK): Update value.
26768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26769         (OVERFLOW_EXCEPTION_OK): Likewise.
26770         (UNDERFLOW_EXCEPTION_OK): Likewise.
26771         (IGNORE_ZERO_INF_SIGN): Likewise.
26772         (ERRNO_UNCHANGED): Likewise.
26773         (ERRNO_EDOM): Likewise.
26774         (ERRNO_ERANGE): Likewise.
26775         (test_exceptions): Handle testing "inexact" exceptions.
26776         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26777         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26778         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26779         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26780         INEXACT_EXCEPTION.
26781         (rint_towardzero_test_data): Likewise.
26782         (rint_downward_test_data): Likewise.
26783         (rint_upward_test_data): Likewise.
26785         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26786         with OVERFLOW_EXCEPTION.
26787         (exp10_test_data): Likewise.
26788         (exp2_test_data): Likewise.
26789         (expm1_test_data): Likewise.
26790         (lgamma_test_data): Likewise.
26791         (pow_test_data): Likewise.
26792         (tgamma_test_data): Likewise.
26793         (yn_test_data): Remove duplicate test of overflow.
26795         * math/libm-test.inc (struct test_cc_c_data): New type.
26796         (RUN_TEST_LOOP_cc_c): New macro.
26797         (cpow_test_data): New variable.
26798         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26800         * math/libm-test.inc (struct test_f_L_data): New type.
26801         (RUN_TEST_LOOP_f_L): New macro.
26802         (llrint_test_data): New variable.
26803         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26804         (llrint_tonearest_test_data): New variable.
26805         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26806         (llrint_towardzero_test_data): New variable.
26807         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26808         (llrint_downward_test_data): New variable.
26809         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26810         (llrint_upward_test_data): New variable.
26811         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26812         (llround_test_data): New variable.
26813         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26815 2013-05-13  Peter Collingbourne  <pcc@google.com>
26817         * math/atest-exp2.c (get_log2): Remove const attribute.
26819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26821         * math/libm-test.inc (struct test_f_l_data): New type.
26822         (RUN_TEST_LOOP_f_l): New macro.
26823         (lrint_test_data): New variable.
26824         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26825         (lrint_tonearest_test_data): New variable.
26826         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26827         (lrint_towardzero_test_data): New variable.
26828         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26829         (lrint_downward_test_data): New variable.
26830         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26831         (lrint_upward_test_data): New variable.
26832         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26833         (lround_test_data): New variable.
26834         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26836 2013-05-15  Peter Collingbourne  <pcc@google.com>
26838         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26839         (EXTRACT_WORDS64) Use where appropriate.
26840         (INSERT_WORDS64) Likewise.
26842         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26843         constraints with x constraints.
26844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26846         * malloc/obstack.c (_obstack_compat): Add initializer.
26848 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26851         si_trapno and add si_addr_lsb to _sifields.sigfault.
26852         (si_trapno): Remove macro.
26853         (si_addr_lsb): Define new macro.
26854         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26856 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26858         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26859         instead of TEST_f_l.
26860         (llrint_test_tonearest): Likewise.
26861         (llrint_test_towardzero): Likewise.
26862         (llrint_test_downward): Likewise.
26863         (llrint_test_upward): Likewise.
26864         (llround_test): Likewise.
26866         * math/libm-test.inc (struct test_f_i_data): Add comment.
26867         (RUN_TEST_LOOP_f_b): New macro.
26868         (RUN_TEST_LOOP_f_b_tg): Likewise.
26869         (finite_test_data): New variable.
26870         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26871         (isfinite_test_data): New variable.
26872         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26873         (isinf_test_data): New variable.
26874         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26875         (isnan_test_data): New variable.
26876         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26877         (isnormal_test_data): New variable.
26878         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26879         (issignaling_test_data): New variable.
26880         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26881         (signbit_test_data): New variable.
26882         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26884         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26885         with INVALID_EXCEPTION.
26886         (acosh_test_data): Likewise.
26887         (asin_test_data): Likewise.
26888         (atanh_test_data): Likewise.
26889         (fmod_test_data): Likewise.
26890         (log_test_data): Likewise.
26891         (log10_test_data): Likewise.
26892         (log2_test_data): Likewise.
26893         (pow_test_data): Likewise.
26894         (sqrt_test_data): Likewise.
26895         (y0_test_data): Likewise.
26896         (y1_test_data): Likewise.
26897         (yn_test_data): Likewise.
26899         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26900         function contents.
26902         * math/libm-test.inc (struct test_ff_i_data): New type.
26903         (RUN_TEST_LOOP_ff_i_tg): New macro.
26904         (isgreater_test_data): New variable.
26905         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26906         (isgreaterequal_test_data): New variable.
26907         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26908         (isless_test_data): New variable.
26909         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26910         (islessequal_test_data): New variable.
26911         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26912         (islessgreater_test_data): New variable.
26913         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26914         (isunordered_test_data): New variable.
26915         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26917 2013-05-14  David S. Miller  <davem@davemloft.net>
26919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26921 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26923         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26925         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26926         extra_test to int.
26927         (struct test_f_i_data): Change type of max_ulp to int.
26929         * math/libm-test.inc (test_ffI_f1_data): New type.
26930         (RUN_TEST_LOOP_ffI_f1): New macro.
26931         (remquo_test_data): New variable.
26932         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26934         * setjmp/tst-setjmp-fp.c: New file.
26935         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26936         (link-libm): New variable.
26937         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26939         * math/libm-test.inc (struct test_f_i_data): New type.
26940         (RUN_TEST_LOOP_f_i): New macro.
26941         (RUN_TEST_LOOP_f_i_tg): Likewise.
26942         (fpclassify_test_data): New variable.
26943         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26944         (ilogb_test_data): New variable.
26945         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26947         * math/libm-test.inc (scalbln_test): Correct function name in END
26948         call.
26950         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26951         (RUN_TEST_LOOP_fI_f1): New macro.
26952         (frexp_test_data): New variable.
26953         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26955         * math/libm-test.inc (struct test_fF_f1_data): New type.
26956         (RUN_TEST_LOOP_fF_f1): New macro.
26957         (modf_test_data): New variable.
26958         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26960         * math/libm-test.inc (struct test_f_f1_data): New type.
26961         (RUN_TEST_LOOP_f_f1): New macro.
26962         (gamma_test_data): New variable.
26963         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26964         (lgamma_test_data): New variable.
26965         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26967 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26970         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26971         (main): Comment "tls" pseudo-hwcap.
26973 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26975         * math/libm-test.inc (struct test_fl_f_data): New type.
26976         (RUN_TEST_LOOP_fl_f): New variable.
26977         (scalbln_test_data): New variable.
26978         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26980         * math/libm-test.inc (struct test_fi_f_data): New type.
26981         (RUN_TEST_LOOP_fi_f): New macro.
26982         (ldexp_test_data): New variable.
26983         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26984         (scalbn_test_data): New variable.
26985         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26987         * math/libm-test.inc (struct test_c_f_data): New type.
26988         (RUN_TEST_LOOP_c_f): New macro.
26989         (cabs_test_data): New variable.
26990         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26991         (carg_test_data): New variable.
26992         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26993         (cimag_test_data): New variable.
26994         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26995         (creal_test_data): New variable.
26996         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26998         * math/libm-test.inc (struct test_if_f_data): New type.
26999         (RUN_TEST_LOOP_if_f): New macro.
27000         (jn_test_data): New variable.
27001         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27002         (yn_test_data): New variable.
27003         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27005         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27007 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27009         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27010         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27012 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27014         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27015         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27016         (bench-deps): Add bench-timing.h.
27017         * benchtests-bench-skeleton.c: Include bench-timing.h.
27018         (main): Use TIMING_* macros instead of clock_gettime.
27019         * benchtests/bench-timing.h: New file.
27021         [BZ #14582]
27022         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27023         Renamed from _LIB_VERSION.
27024         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27026 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27028         * math/libm-test.inc (struct test_fff_f_data): New type.
27029         (RUN_TEST_LOOP_fff_f): New macro.
27030         (fma_test_data): New variable.
27031         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27032         (fma_towardzero_test_data): New variable.
27033         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27034         (fma_downward_test_data): New variable.
27035         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27036         (fma_upward_test_data): New variable.
27037         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27039         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27040         (struct test_c_c_data): New type.
27041         (RUN_TEST_LOOP_c_c): New macro.
27042         (cacos_test_data): New variable.
27043         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27044         (cacosh_test_data): New variable.
27045         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27046         (casin_test_data): New variable.
27047         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27048         (casinh_test_data): New variable.
27049         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27050         (catan_test_data): New variable.
27051         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27052         (catanh_test_data): New variable.
27053         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27054         (ccos_test_data): New variable.
27055         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27056         (ccosh_test_data): New variable.
27057         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27058         (cexp_test_data): New variable.
27059         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27060         (clog_test_data): New variable.
27061         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27062         (clog10_test_data): New variable.
27063         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27064         (conj_test_data): New variable.
27065         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27066         (cproj_test_data): New variable.
27067         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27068         (csin_test_data): New variable.
27069         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27070         (csinh_test_data): New variable.
27071         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27072         (csqrt_test_data): New variable.
27073         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27074         (ctan_test_data): New variable.
27075         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27076         (ctan_tonearest_test_data): New variable.
27077         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27078         (ctan_towardzero_test_data): New variable.
27079         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27080         (ctan_downward_test_data): New variable.
27081         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27082         (ctan_upward_test_data): New variable.
27083         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27084         (ctanh_test_data): New variable.
27085         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27086         (ctanh_tonearest_test_data): New variable.
27087         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27088         (ctanh_towardzero_test_data): New variable.
27089         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27090         (ctanh_downward_test_data): New variable.
27091         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27092         (ctanh_upward_test_data): New variable.
27093         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27094         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27095         of BUILD_COMPLEX.
27097         * math/libm-test.inc (struct test_ff_f_data): New type.
27098         (struct test_ff_f_data_nexttoward): Likewise.
27099         (RUN_TEST_LOOP_2_f): New macro.
27100         (RUN_TEST_LOOP_ff_f): Likewise.
27101         (atan2_test_data): New variable.
27102         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27103         (copysign_test_data): New variable.
27104         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27105         (fdim_test_data): New variable.
27106         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27107         (fmax_test_data): New variable.
27108         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27109         (fmin_test_data): New variable.
27110         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27111         (fmod_test_data): New variable.
27112         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27113         (hypot_test_data): New variable.
27114         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27115         (nextafter_test_data): New variable.
27116         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27117         (nexttoward_test_data): New variable.
27118         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27119         (pow_test_data): New variable.
27120         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27121         (pow_tonearest_test_data): New variable.
27122         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27123         (pow_towardzero_test_data): New variable.
27124         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27125         (pow_downward_test_data): New variable.
27126         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27127         (pow_upward_test_data): New variable.
27128         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27129         (remainder_test_data): New variable.
27130         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27131         (scalb_test_data): New variable.
27132         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27133         * sysdeps/i386/fpu/libm-test-ulps: Update.
27135 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27137         * math/libm-test.inc (fma_test): Use max_value instead of local
27138         variable fltmax.
27139         (nextafter_test): Likewise.
27141         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27142         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27143         (acos_downward_test_data): New variable.
27144         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27145         (acos_upward_test_data): New variable.
27146         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27147         (acosh_test_data): New variable.
27148         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27149         (asin_test_data): New variable.
27150         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27151         (asin_tonearest_test_data): New variable.
27152         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27153         (asin_towardzero_test_data): New variable.
27154         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27155         (asin_downward_test_data): New variable.
27156         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27157         (asin_upward_test_data): New variable.
27158         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27159         (asinh_test_data): New variable.
27160         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27161         (atan_test_data): New variable.
27162         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27163         (atanh_test_data): New variable.
27164         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27165         (cbrt_test_data): New variable.
27166         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27167         (ceil_test_data): New variable.
27168         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27169         (cos_test_data): New variable.
27170         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27171         (cos_tonearest_test_data): New variable.
27172         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27173         (cos_towardzero_test_data): New variable.
27174         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27175         (cos_downward_test_data): New variable.
27176         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27177         (cos_upward_test_data): New variable.
27178         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27179         (cosh_test_data): New variable.
27180         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27181         (cosh_tonearest_test_data): New variable.
27182         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27183         (cosh_towardzero_test_data): New variable.
27184         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27185         (cosh_downward_test_data): New variable.
27186         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27187         (cosh_upward_test_data): New variable.
27188         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27189         (erf_test_data): New variable.
27190         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27191         (erfc_test_data): New variable.
27192         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27193         (exp_test_data): New variable.
27194         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27195         (exp_tonearest_test_data): New variable.
27196         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27197         (exp_towardzero_test_data): New variable.
27198         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27199         (exp_downward_test_data): New variable.
27200         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27201         (exp_upward_test_data): New variable.
27202         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27203         (exp10_test_data): New variable.
27204         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27205         (exp2_test_data): New variable.
27206         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27207         (expm1_test_data): New variable.
27208         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27209         (fabs_test_data): New variable.
27210         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27211         (floor_test_data): New variable.
27212         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27213         (j0_test_data): New variable.
27214         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27215         (j1_test_data): New variable.
27216         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27217         (log_test_data): New variable.
27218         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27219         (log10_test_data): New variable.
27220         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27221         (log1p_test_data): New variable.
27222         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27223         (log2_test_data): New variable.
27224         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27225         (logb_test_data): New variable.
27226         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27227         (logb_downward_test_data): New variable.
27228         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27229         (nearbyint_test_data): New variable.
27230         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27231         (rint_test_data): New variable.
27232         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27233         (rint_tonearest_test_data): New variable.
27234         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27235         (rint_towardzero_test_data): New variable.
27236         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27237         (rint_downward_test_data): New variable.
27238         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27239         (rint_upward_test_data): New variable.
27240         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27241         (round_test_data): New variable.
27242         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27243         (sin_test_data): New variable.
27244         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27245         (sin_tonearest_test_data): New variable.
27246         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27247         (sin_towardzero_test_data): New variable.
27248         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27249         (sin_downward_test_data): New variable.
27250         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27251         (sin_upward_test_data): New variable.
27252         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27253         (sinh_test_data): New variable.
27254         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27255         (sinh_tonearest_test_data): New variable.
27256         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27257         (sinh_towardzero_test_data): New variable.
27258         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27259         (sinh_downward_test_data): New variable.
27260         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27261         (sinh_upward_test_data): New variable.
27262         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27263         (sqrt_test_data): New variable.
27264         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27265         (tan_test_data): New variable.
27266         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27267         (tan_tonearest_test_data): New variable.
27268         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27269         (tan_towardzero_test_data): New variable.
27270         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27271         (tan_downward_test_data): New variable.
27272         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27273         (tan_upward_test_data): New variable.
27274         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27275         (tanh_test_data): New variable.
27276         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27277         (tgamma_test_data): New variable.
27278         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27279         (trunc_test_data): New variable.
27280         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27281         (y0_test_data): New variable.
27282         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27283         (y1_test_data): New variable.
27284         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27285         (significand_test_data): New variable.
27286         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27288 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27290         [BZ #12387]
27291         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27293 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27295         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27297 2013-05-10  Andreas Jaeger  <aj@suse.de>
27299         [BZ #15448]
27300         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27301         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27303 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27305         * math/gen-libm-test.pl (adjust_arg): New function.
27306         (special_functions): Handle generating output in both functions
27307         and arrays.
27308         (parse_args): Likewise.
27309         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27310         $in_func argument to parse_args.
27311         * math/libm-test.inc (struct test_f_f_data): New type.
27312         (IF_ROUND_INIT_): New macro.
27313         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27317         (ROUND_RESTORE_): Likewise.
27318         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27319         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27320         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27321         (ROUND_RESTORE_FE_UPWARD): Likewise.
27322         (RUN_TEST_LOOP_f_f): New macro.
27323         (acos_test_data): New variable.
27324         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27325         (acos_tonearest_test_data): New variable.
27326         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27328 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27330         * benchtests/bench-skeleton.c (startup): Fix coding style.
27332 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27334         [BZ #6809]
27335         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27336         negative infinity argument.
27337         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27338         negative infinity argument.
27339         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27340         negative infinity argument.
27341         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27342         domain errors.
27344 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27346         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27347         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27348         * iconv/iconv_prog.c (main): Likewise.
27349         * locale/programs/charmap-dir.c (charmap_readdir)
27350         (fopen_uncompressed): Likewise.
27351         * locale/programs/locfile.c (siblings_uncached)
27352         (write_locale_data): Use lstat64 instead of lstat.
27353         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27354         stat.
27356 2013-05-10  Andreas Jaeger  <aj@suse.de>
27358         [BZ #15395]
27359         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27360         localization.
27361         Include <locale.h>.
27363 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27365         * elf/dl-close.c (_dl_close_worker): Add comments.
27367 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27369         [BZ #15359]
27370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27371         high part of pi/2.
27372         (__ieee754_rem_pio2l): Update comments.
27374         [BZ #15429]
27375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27376         high part of pi/2.
27377         (__ieee754_rem_pio2l): Update comments.
27379         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27380         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27382         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27383         M_PI_4l.
27385         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27386         (M_PI_34_LOG10El): Likewise.
27387         (M_PI2_LOG10El): Likewise.
27388         (M_PI4_LOG10El): Likewise.
27389         (M_PI_LOG10El): Likewise.
27391 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27395 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27397         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27398         (MINUS_ZERO_INIT): Likewise.
27399         (PLUS_INFTY_INIT): Likewise.
27400         (MINUS_INFTY_INIT): Likewise.
27401         (QNAN_VALUE_INIT): Likewise.
27402         (MAX_VALUE_INIT): Likewise.
27403         (MIN_VALUE_INIT): Likewise.
27404         (MIN_SUBNORM_VALUE_INIT): Likewise.
27405         (plus_zero): Initialize with PLUS_ZERO_INIT.
27406         (minus_zero): Initialize with MINUS_ZERO_INIT.
27407         (plus_infty): Initialize with PLUS_INFTY_INIT.
27408         (minus_infty): Initialize with MINUS_INFTY_INIT.
27409         (qnan_value): Initialize with QNAN_VALUE_INIT.
27410         (max_value): Initialize with MAX_VALUE_INIT.
27411         (min_value): Initialize with MIN_VALUE_INIT.
27412         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27414         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27415         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27416         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27417         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27419         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27420         (RUN_TEST_2_f): Likewise.
27421         (RUN_TEST_ff_f): Likewise.
27422         (RUN_TEST_fi_f): Likewise.
27423         (RUN_TEST_fl_f): Likewise.
27424         (RUN_TEST_fff_f): Likewise.
27425         (RUN_TEST_c_f): Likewise.
27426         (RUN_TEST_f_f1): Likewise.
27427         (RUN_TEST_fF_f1): Likewise.
27428         (RUN_TEST_fI_f1): Likewise.
27429         (RUN_TEST_ffI_f1): Likewise.
27430         (RUN_TEST_c_c): Likewise.
27431         (RUN_TEST_cc_c): Likewise.
27432         (RUN_TEST_f_i): Likewise.
27433         (RUN_TEST_f_i_tg): Likewise.
27434         (RUN_TEST_ff_i_tg): Likewise.
27435         (RUN_TEST_f_b): Likewise.
27436         (RUN_TEST_f_b_tg): Likewise.
27437         (RUN_TEST_f_l): Likewise.
27438         (RUN_TEST_f_L): Likewise.
27439         (RUN_TEST_sincos): Likewise.
27440         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27441         whether to show exceptions.  Do not include ");\n" in return
27442         value.
27443         (special_functions): Output call to RUN_TEST_sincos instead of
27444         check_float calls.  Update calls to new_test.
27445         (parse_args): Output call to single RUN_TEST_* macro instead of
27446         check_* calls and other assignments.  Update calls to new_test.
27448         [BZ #2546]
27449         [BZ #2560]
27450         [BZ #5159]
27451         [BZ #15426]
27452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27453         input to result for tgamma overflow.
27454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27455         (gamma_coeff): New variable.
27456         (NCOEFF): New macro.
27457         (gamma_positive): New function.
27458         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27459         underflow here.  Use gamma_positive instead of exp (lgamma) for
27460         other arguments.
27461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27462         (gamma_coeff): New variable.
27463         (NCOEFF): New macro.
27464         (gammaf_positive): New function.
27465         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27466         underflow here.  Use gamma_positive instead of exp (lgamma) for
27467         other arguments.
27468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27469         (gamma_coeff): New variable.
27470         (NCOEFF): New macro.
27471         (gammal_positive): New function.
27472         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27473         underflow here.  Use gamma_positive instead of exp (lgamma) for
27474         other arguments.
27475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27476         (gamma_coeff): New variable.
27477         (NCOEFF): New macro.
27478         (gammal_positive): New function.
27479         (__ieee754_gammal_r): Handle positive infinity, overflow and
27480         underflow here.  Handle NaN the same as positive infinity.  Remove
27481         check x < 0xffffffff for negative integers.  Use gamma_positive
27482         instead of exp (lgamma) for other arguments.
27483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27484         (gamma_coeff): New variable.
27485         (NCOEFF): New macro.
27486         (gammal_positive): New function.
27487         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27488         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27491         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27492         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27493         * sysdeps/generic/math_private.h (__gamma_productf): New
27494         prototype.
27495         (__gamma_product): Likewise.
27496         (__gamma_productl): Likewise.
27497         * math/Makefile (libm-calls): Add gamma_product.
27498         * math/libm-test.inc (tgamma_test): Add more tests.
27499         * sysdeps/i386/fpu/libm-test-ulps: Update.
27500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27502 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27504         * benchtests/bench-skeleton.c (main): Preheat CPU.
27506 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27508         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27510 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27512         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27513         and _dl_skip_args_internal.
27515 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27517         * manual/message.texi (Message Translation): Talk about users.
27518         Message to key mapping impacts design.
27520 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27522         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27524         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27526         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27527         * sysdeps/wordsize-64/glob64.c: ... here.
27529         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27530         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27531         New macros.
27533         * debug/getlogin_r_chk.c: Moved to ...
27534         * login/getlogin_r_chk.c: ... here.
27535         * debug/Makefile (routines): Move getlogin_r_chk to ...
27536         * login/Makefile (routines): ... here.
27537         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27538         * login/Versions (libc: GLIBC_2.4): ... here.
27540         * io/poll.c (__poll): Renamed from poll.
27541         Add libc_hidden_def.
27542         (poll): Define as weak alias.
27544         * debug/ptsname_r_chk.c: Moved to ...
27545         * login/ptsname_r_chk.c: ... here.
27546         * debug/Makefile (routines): Move ptsname_r_chk to ...
27547         * login/Makefile (routines): ... here.
27548         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27549         * login/Versions (libc: GLIBC_2.4): ... here.
27551         * posix/getlogin.c: Moved to ...
27552         * login/getlogin.c: ... here.
27553         * posix/getlogin_r.c: Moved to ...
27554         * login/getlogin_r.c: ... here.
27555         * posix/getlogin_r.c: Moved to ...
27556         * login/getlogin_r.c: ... here.
27557         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27558         * login/Makefile (routines): ... here.
27559         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27560         * login/Versions (libc: GLIBC_2.0): ... here.
27562         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27563         (setrlimit): Define as weak alias.
27565         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27566         Call __ names for open, ftruncate, and close.
27567         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27568         (truncate): Define as weak alias.
27570 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27572         * math/gen-libm-test.pl (parse_args): Initialize x before each
27573         test of frexp, modf and remquo.
27575         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27576         test signgam value.
27578 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27580         [BZ #15418]
27581         [BZ #15419]
27582         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27583         internal tests.
27584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27588         * elf/dl-writev.h: New file.
27589         * elf/dl-misc.c: Include it.
27590         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27591         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27593 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27595         * math/libm-test.inc (noXFails): Remove variable.
27596         (noXPasses): Likewise.
27597         (BUILD_COMPLEX_INT): Remove macro.
27598         (print_screen): Remove xfail argument.
27599         (print_screen_max_error): Likewise.
27600         (update_stats): Likewise.
27601         (print_max_error): Likewise.  Update calls to other affected
27602         functions.
27603         (print_complex_max_error): Likewise.
27604         (test_single_exception): Update calls to print_screen.
27605         (test_single_errno): Likewise.
27606         (check_float_internal): Remove xfail argument.  Update calls to
27607         other affected functions.
27608         (check_float): Likewise.
27609         (check_complex): Likewise.
27610         (check_int): Likewise.
27611         (check_long): Likewise.
27612         (check_bool): Likewise.
27613         (check_longlong): Likewise.
27614         (main): Don't print noXFails and noXPasses.
27615         * math/gen-libm-test.pl (top level): Don't mention expected
27616         failure handling in comment.
27617         (new_test): Don't handle expected failures.
27618         (parse_args): Don't mention expected failure handling in comment.
27619         (generate_testfile): Don't handle expected failures.
27620         (parse_ulps): Likewise.
27621         (print_ulps_file): Likewise.
27622         (get_failure): Remove function.
27623         (output_test): Don't handle expected failures.
27624         * make/README.libm-test: Don't mention expected failure handling.
27626         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27627         (minus_zero): Likewise.
27628         (plus_infty): Likewise.
27629         (minus_infty): Likewise.
27630         (qnan_value): Likewise.
27631         (max_value): Likewise.
27632         (min_value): Likewise.
27633         (min_subnorm_value): Likewise.
27634         (initialize): Do not initialize those variables dynamically.
27636 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27638         * io/open.c (__open_2): Moved to ...
27639         * io/open_2.c: ... this new file.
27640         * io/open64.c (__open64_2): Moved to ...
27641         * io/open64_2.c: ... this new file.
27642         * io/openat.c (__openat_2): Moved to ...
27643         * io/openat_2.c: ... this new file.
27644         * io/openat64.c (__openat64_2): Moved to ...
27645         * io/openat64_2.c: ... this new file.
27646         * io/Makefile (routines): Add them.
27647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27648         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27649         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27650         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27651         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27652         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27653         (__openat64): Add hidden_ver.
27654         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27655         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27657         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27658         Separately conditionalize setting of GLRO(dl_sysinfo) so
27659         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27660         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27666         definition.
27667         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27669         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27670         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27671         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27673 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27675         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27676         test signgam value.
27678         * math/libm-test.inc (hypot_test): Do not use
27679         IGNORE_ZERO_INF_SIGN.
27681 2013-05-03  Andreas Jaeger  <aj@suse.de>
27683         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27684         Linux 3.9.
27685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27686         (PF_MAX): Adjust for VSOCK change.
27688 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27692 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27694         [BZ #15264]
27695         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27696         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27697         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27699 2013-05-02  David S. Miller  <davem@davemloft.net>
27701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27703 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27705         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27707 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27709         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27711 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27713         [BZ #14952]
27714         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27715         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27716         Use __attribute__ ((__gnu_inline__)).
27717         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27718         Don't use __attribute__ ((__gnu_inline__)).
27720 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27722         [BZ #15423]
27723         * math/s_catan.c (__catan): Handle small real or imaginary part of
27724         input specially to avoid spurious underflow.
27725         * math/s_catanf.c (__catanf): Likewise.
27726         * math/s_catanh.c (__catanh): Likewise.
27727         * math/s_catanhf.c (__catanhf): Likewise.
27728         * math/s_catanhl.c (__catanhl): Likewise.
27729         * math/s_catanl.c (__catanl): Likewise.
27730         * math/libm-test.inc (catan_test): Add more tests.
27731         (catanh_test): Likewise.
27732         * sysdeps/i386/fpu/libm-test-ulps: Update.
27733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27735 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27739 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27741         [BZ #15416]
27742         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27743         accurately for denominator in atan2.
27744         * math/s_catanf.c (__catanf): Likewise.
27745         * math/s_catanh.c (__catanh): Likewise.
27746         * math/s_catanhf.c (__catanhf): Likewise.
27747         * math/s_catanhl.c (__catanhl): Likewise.
27748         * math/s_catanl.c (__catanl): Likewise.
27749         * math/libm-test.inc (catan_test): Add more tests.
27750         (catanh_test): Likewise.
27751         * sysdeps/i386/fpu/libm-test-ulps: Update.
27752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27754 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27756         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27758         * benchtests/Makefile (bench): Remove slow benchmarks.
27759         * benchtests/atan-inputs: Add slow benchmark inputs.
27760         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27761         (BENCH_FUNC): Accept variant offset.
27762         (VARIANT): Define.
27763         * benchtests/bench-skeleton.c (main): Run benchmark for each
27764         variant.
27765         * benchtests/cos-inputs: Add slow benchmark inputs.
27766         * benchtests/exp-inputs: Likewise.
27767         * benchtests/pow-inputs: Likewise.
27768         * benchtests/sin-inputs: Likewise.
27769         * benchtests/slowatan-inputs: Remove.
27770         * benchtests/slowatan.c: Remove.
27771         * benchtests/slowcos-inputs: Remove.
27772         * benchtests/slowcos.c: Remove.
27773         * benchtests/slowexp-inputs: Remove.
27774         * benchtests/slowexp.c: Remove.
27775         * benchtests/slowpow-inputs: Remove.
27776         * benchtests/slowpow.c: Remove.
27777         * benchtests/slowsin-inputs: Remove.
27778         * benchtests/slowsin.c: Remove.
27779         * benchtests/slowtan-inputs: Remove.
27780         * benchtests/slowtan.c: Remove.
27781         * benchtests/tan-inputs: Add slow benchmark inputs.
27782         * scripts/bench.pl: Parse comments and directives.
27784         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27785         in CPPFLAGS.
27786         ($(objpfx)bench-%.c): Remove *-ITER.
27787         * benchtests/bench-modf.c: Remove definition of ITER.
27788         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27789         (main): Loop for DURATION seconds instead of fixed number of
27790         iterations.
27791         * scripts/bench.pl: Don't expect iterations in parameters.
27793 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27795         * io/fchdir.c (__fchdir): Renamed from fchdir.
27796         (fchdir): Define as weak alias.
27798 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27800         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27801         (ERRNO_EDOM): Likewise.
27802         (ERRNO_ERANGE): Likewise.
27803         (noErrnoTests): New variable.
27804         (init_max_error): Set errno to 0.
27805         (test_single_errno): New function.
27806         (test_errno): Likewise.
27807         (check_float_internal): Call test_errno.  Set errno to 0.
27808         (check_complex): Refer to errno tests in comment.
27809         (check_int): Call test_errno.  Set errno to 0.
27810         (check_long): Likewise.
27811         (check_bool): Likewise.
27812         (check_longlong): Likewise.
27813         (cos_test): Use ERRNO_* flags for errno tests instead of
27814         check_int.
27815         (expm1_test): Likewise.
27816         (fmod_test): Likewise.
27817         (ilogb_test): Likewise.
27818         (lgamma_test): Likewise.
27819         (pow_test): Likewise.
27820         (remainder_test): Likewise.
27821         (sin_test): Likewise.
27822         (tan_test): Likewise.
27823         (yn_test): Likewise.
27824         (initialize): Set errno to 0.
27825         (main): Print number of errno tests.
27826         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27828 2013-04-29  Andreas Jaeger  <aj@suse.de>
27830         [BZ #15084]
27831         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27832         and RES_USEVC.
27834         [BZ #15085]
27835         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27836         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27837         unimplemented.
27839         [BZ #15380]
27840         * stdlib/random.c (__initstate): Return NULL if
27841         __initstate fails.
27843         [BZ #15086]
27844         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27845         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27846         RES_SNGLKUPREOP.
27848 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27852 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27854         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27855         of individual tests.
27856         (casin_test): Likewise.
27857         (casinh_test): Likewise.
27859 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27861         [BZ #15409]
27862         * math/s_catan.c (__catan): Handle arguments with large real or
27863         imaginary part separately without squaring.
27864         * math/s_catanf.c (__catanf): Likewise.
27865         * math/s_catanh.c (__catanh): Likewise.
27866         * math/s_catanhf.c (__catanhf): Likewise.
27867         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27868         and redefine.
27869         (__catanhl): Handle arguments with large real or imaginary part
27870         separately without squaring.
27871         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27872         and redefine.
27873         (__catanl): Handle arguments with large real or imaginary part
27874         separately without squaring.
27875         * math/libm-test.inc (catan_test): Add more tests.
27876         (catanh_test): Likewise.
27877         * sysdeps/i386/fpu/libm-test-ulps: Update.
27878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27880 2013-04-27  Andreas Jaeger  <aj@suse.de>
27882         [BZ #15007]
27883         * stdlib/stdlib.h: Update guards for qecvt.
27884         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27885         <stdlib.h>.
27887 2013-04-27  Allan McRae  <allan@archlinux.org>
27889         * sysdeps/i386/fpu/libm-test-ulps: Update.
27891 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27893         [BZ #15406]
27894         * math/s_catan.c: Include <float.h>.
27895         (__catan): Ensure underflow exception occurs for underflowed
27896         result.
27897         * math/s_catanf.c: Include <float.h>.
27898         (__catanf): Ensure underflow exception occurs for underflowed
27899         result.
27900         * math/s_catanh.c: Include <float.h>.
27901         (__catanh): Ensure underflow exception occurs for underflowed
27902         result.
27903         * math/s_catanhf.c: Include <float.h>.
27904         (__catanhf): Ensure underflow exception occurs for underflowed
27905         result.
27906         * math/s_catanhl.c: Include <float.h>.
27907         (__catanhl): Ensure underflow exception occurs for underflowed
27908         result.
27909         * math/s_catanl.c: Include <float.h>.
27910         (__catanl): Ensure underflow exception occurs for underflowed
27911         result.
27912         * math/libm-test.inc (catan_test): Add more tests.
27913         (catanh_test): Likewise.
27915         [BZ #15405]
27916         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27917         underflowed result.
27918         * math/s_ccoshf.c (__ccoshf): Likewise.
27919         * math/s_ccoshl.c (__ccoshl): Likewise.
27920         * math/s_csin.c (__csin): Likewise.
27921         * math/s_csinf.c (__csinf): Likewise.
27922         * math/s_csinh.c (__csinh): Likewise.
27923         * math/s_csinhf.c (__csinhf): Likewise.
27924         * math/s_csinhl.c (__csinhl): Likewise.
27925         * math/s_csinl.c (__csinl): Likewise.
27926         * math/libm-test.inc (ccos_test): Add more tests.
27927         (ccosh_test): Likewise.
27928         (csin_test): Likewise.
27929         (csinh_test): Likewise.
27931 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27933         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27934         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27935         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27936         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27937         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27938         powerpc/power5+/fpu folders.
27939         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27942 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27946 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27948         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27949         additions to variable.
27950         [$(config-machine) = x86_64] (modules-names): Likewise.
27951         ($(objpfx)tst-audit3): Remove dependency.
27952         ($(objpfx)tst-audit3.out): Likewise.
27953         ($(objpfx)tst-audit4): Likewise.
27954         ($(objpfx)tst-audit4.out): Likewise.
27955         ($(objpfx)tst-audit5): Likewise.
27956         ($(objpfx)tst-audit5.out): Likewise.
27957         ($(objpfx)tst-audit6): Likewise.
27958         ($(objpfx)tst-audit6.out): Likewise.
27959         ($(objpfx)tst-audit7): Likewise.
27960         ($(objpfx)tst-audit7.out): Likewise.
27961         (tst-audit3-ENV): Remove variable.
27962         (tst-audit4-ENV): Likewise.
27963         (tst-audit5-ENV): Likewise.
27964         (tst-audit6-ENV): Likewise.
27965         (tst-audit7-ENV): Likewise.
27966         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27967         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27968         addition to variable.
27969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27973         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27974         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27975         tst-audit3, tst-audit4 and tst-audit5.
27976         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27977         tst-audit6 and tst-audit7.
27978         [$(subdir) = elf] (modules-names): Add audit modules for those
27979         tests.
27980         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27981         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27982         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27983         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27984         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27985         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27986         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27987         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27988         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27989         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27990         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27991         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27992         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27993         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27994         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27995         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27996         Likewise.
27997         [$(subdir) = elf && $(config-cflags-avx) = yes]
27998         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27999         [$(subdir) = elf && $(config-cflags-avx) = yes]
28000         (CFLAGS-tst-auditmod4a.c): Likewise.
28001         [$(subdir) = elf && $(config-cflags-avx) = yes]
28002         (CFLAGS-tst-auditmod4b.c): Likewise.
28003         [$(subdir) = elf && $(config-cflags-avx) = yes]
28004         (CFLAGS-tst-auditmod6b.c): Likewise.
28005         [$(subdir) = elf && $(config-cflags-avx) = yes]
28006         (CFLAGS-tst-auditmod6c.c): Likewise.
28007         [$(subdir) = elf && $(config-cflags-avx) = yes]
28008         (CFLAGS-tst-auditmod7b.c): Likewise.
28009         * elf/tst-audit3.c: Move to ...
28010         * sysdeps/x86_64/tst-audit3.c: ... here.
28011         * elf/tst-audit4.c: Move to ...
28012         * sysdeps/x86_64/tst-audit4.c: ... here.
28013         * elf/tst-audit5.c: Move to ...
28014         * sysdeps/x86_64/tst-audit5.c: ... here.
28015         * elf/tst-audit6.c: Move to ...
28016         * sysdeps/x86_64/tst-audit6.c: ... here.
28017         * elf/tst-audit7.c: Move to ...
28018         * sysdeps/x86_64/tst-audit7.c: ... here.
28019         * elf/tst-auditmod3a.c: Move to ...
28020         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28021         * elf/tst-auditmod3b.c: Move to ...
28022         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28023         * elf/tst-auditmod4a.c: Move to ...
28024         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28025         * elf/tst-auditmod4b.c: Move to ...
28026         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28027         * elf/tst-auditmod5a.c: Move to ...
28028         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28029         * elf/tst-auditmod5b.c: Move to ...
28030         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28031         * elf/tst-auditmod6a.c: Move to ...
28032         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28033         * elf/tst-auditmod6b.c: Move to ...
28034         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28035         * elf/tst-auditmod6c.c: Move to ...
28036         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28037         * elf/tst-auditmod7a.c: Move to ...
28038         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28039         * elf/tst-auditmod7b.c: Move to ...
28040         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28042 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28044         [BZ #15366]
28045         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28046         define unconditionally.
28047         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28048         define unconditionally.
28049         (INT8_C, INT16_C, etc.): Likewise.
28051 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28053         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28054         __ehdr_start with hidden visibility.
28056         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28058 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28060         * math/libm-test.inc (cos_test): Use accurate hex constants.
28061         (sincost_test): Likewise.
28063 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28065         * math/libm-test.inc (catan_test): Add more tests.
28066         (catanh_test): Likewise.
28068         * math/s_catanf.c (__catanf): Use suffixed floating-point
28069         constants.
28070         * math/s_catanhf.c (__catanhf): Likewise.
28071         * math/s_catanhl.c (__catanhl): Likewise.
28072         * math/s_catanl.c (__catanl): Likewise.
28074         [BZ #15394]
28075         * math/s_catan.c (__catan): Calculate imaginary part of result
28076         with log1p not log unless computing log of number close to 0.
28077         * math/s_catanf.c (__catanf): Likewise.
28078         * math/s_catanl.c (__catanl): Likewise.
28079         * math/s_catanh.c (__catanh): Calculate real part of result with
28080         log1p not log unless computing log of number close to 0.
28081         * math/s_catanhf.c (__catanhf): Likewise.
28082         * math/s_catanhl.c (__catanhl): Likewise.
28083         * math/libm-test.inc (catan_test): Add more tests.
28084         (catanh_test): Likewise.
28085         * sysdeps/i386/fpu/libm-test-ulps: Update.
28086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28088 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28090         * benchtests/Makefile: Mention files in which fast and slow
28091         paths of math functions are implemented.
28093 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28095         * sysdeps/posix/timespec_get.c: New file.
28097 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28099         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28100         POWER.
28101         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28102         for POWER.
28103         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28104         powerpc/power5/fpu folders.
28105         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28106         * benchtests/Makefile: Add modf testcase.
28107         * benchtests/bench-modf.c: New file: Benchmark test for mo
28109 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28111         [BZ #14888]
28112         * time/Makefile (tests): Add tst-strptime-whitespace.
28113         * time/strptime_l.c (get_number): Use ISSPACE.
28114         (__strptime_internal): Likewise.
28115         * time/tst-strptime-whitespace.c: New test case.
28117 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28119         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28120         member.
28121         (_nss_files_init): Set it here.
28123 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28125         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28126         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28127         unsigned.
28129 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28131         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28133 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28136         size just once.
28138 2013-04-21  David S. Miller  <davem@davemloft.net>
28140         * po/ru.po: Update Russion translation from translation project.
28142 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28144         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28145         and setfsgid.
28147 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28149         * configure.in: Remove i386 configure warning. Remove i386 case.
28150         * configure: Regenerate.
28151         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28152         Add example to error message.
28153         * sysdeps/i386/configure: Regenerate.
28155 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28157         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28158         slowtan.
28159         * benchtests/cos-inputs: New file.
28160         * benchtests/slowcos-inputs: New file.
28161         * benchtests/slowcos.c: New file.
28162         * benchtests/slowtan-inputs: New file.
28163         * benchtests/slowtan.c: New file.
28164         * benchtests/tan-inputs: New file.
28166 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28168         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28169         considered kosher.
28171 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28173         * benchtests/Makefile: Include cppflags-iterator.mk to add
28174         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28176         * Makefile.in (bench-clean): New target.
28177         * benchtests/Makefile (bench-clean): Likewise.
28179 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28181         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28183 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28185         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28187 2013-04-15  Andreas Schwab  <schwab@suse.de>
28189         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28191         * nscd/pwdcache.c (cache_addpw): Likewise.
28192         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28193         more than recsize.
28195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28197         * benchtests/Makefile (bench): Write all output to
28198         bench-out.tmp together.
28200 2013-04-15  Andreas Schwab  <schwab@suse.de>
28202         * nscd/nscd.c (main): Don't fork again after closing files.
28204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28208         * benchtests/Rules (bench-deps): Collect dependencies into a
28209         single variable.  Add Makefile to dependencies.
28210         ($(objpfx)bench-%.c): Depend on bench-deps.
28212 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28213             Xavier Roche  <roche+kml2@exalead.com>
28215         [BZ #15361]
28216         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28217         just that it's a file descriptor.
28218         * manual/llio.texi (Synchronizing AIO Operations): Update description
28219         for EBADF error from aio_fsync.
28221 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28223         * Rules (bench): Move target definition...
28224         * benchtests/Makefile: ... here.
28226 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28228         * math/libm-test.inc (cos_test): Fix PI/2 test.
28229         (sincos_test): Likewise.
28230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28231         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28233 2013-04-11  Andreas Schwab  <schwab@suse.de>
28235         [BZ #13988]
28236         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28237         accept exponent character only when digits were seen.
28238         * stdio-common/Makefile (tests): Add bug26.
28239         * stdio-common/bug26.c: New file.
28241         [BZ #14293]
28242         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28243         non-freeable.
28245 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28247         * Makeconfig (rtld-prefix): Define built linker prefix.
28248         * Rules (run-bench): Use it.
28249         * math/Makefile (run-regen-ulps): Likewise.
28251         * Rules (bench): Remove eval.
28253 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28254             Roland McGrath  <roland@hack.frob.com>
28255             Ondrej Bilka  <neleai@seznam.cz>
28257         [BZ #15346]
28258         * time/getdate.c: Include ctype.h and alloca.h.
28259         (__getdate_r): Trim leading and trailing spaces of input.
28260         * time/tst-getdate.c (tests): Add tests with leading and
28261         trailing spaces.
28263 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28265         [BZ #14280]
28266         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28267         when computing value.
28269 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28271         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28272         Use testrun.sh to run libm tests.
28274         [BZ #15309]
28275         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28277 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28279         [BZ #15264]
28280         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28284         * Makefile.in (regen-ulps): New target.
28285         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28286         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28287         [ifneq (no,$(PERL)] (regen-ulps): New target.
28288         [ifeq (no,$(PERL)] (regen-ulps): New target.
28289         * math/libm-test.inc (ulps_file_name): Define.
28290         (output_dir): New variable.
28291         (options): Add "output-dir" option.
28292         (parse_opt): Handle 'o' case.
28293         (main): If output_dir is non-NULL use it as a prefix
28294         otherwise use "".
28295         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28297 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28299         [BZ #10060, #10062]
28300         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28301         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28302         fail configure if __sync_val_compare_and_swap is not inlined.
28303         * sysdeps/i386/configure: Regenerate.
28304         * configure.in: Build for i686 when configured for i386.
28305         * configure: Regenerate.
28306         * README: Remove i386 reference.
28308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28310         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28313 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28315         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28316         (lmsnanval): New variables.
28317         (F): Add conversion tests.
28318         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28319         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28321         * stdio-common/tstdiomisc.c (F): Properly collect individual
28322         tests' results.
28324         [BZ #14686, #15336]
28325         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28327         Instead, use input NaN values or generate a qNaN by arithmetic
28328         operation.  Also fix bugs to comply with the standard.
28329         * math/libm-test.inc (remainder_test): Add more tests.
28331         [BZ #15335, #15342]
28332         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28334         input NaN values or generate a qNaN by arithmetic operation.
28336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28337         unreachable code.
28339         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28340         definitions.
28342 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28344         [BZ #14478]
28345         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28346         underflowed result.
28347         * math/s_cexpf.c (__cexpf): Likewise.
28348         * math/s_cexpl.c (__cexpl): Likewise.
28349         * math/libm-test.inc (cexp_test): Add more tests.
28351 2013-04-03  Andreas Schwab  <schwab@suse.de>
28353         [BZ #15330]
28354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28355         order arrays from heap if bigger than alloca cutoff.
28357 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28359         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28360         (SNAN_TESTS_double): Refer to GCC PR56831.
28361         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28362         GCC PR56828.
28364 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28366         * Rules (bench): Move bench.out after the run is complete.
28368         * Rules (bench): Echo currently running benchmark.
28370         * benchtests/Makefile (bench): Add atan and slowatan.
28371         * benchtests/atan-inputs: New file.
28372         * benchtests/slowatan-inputs: New file.
28373         * benchtests/slowatan.c: New file.
28375         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28377         its value.
28379         [BZ #15305]
28380         * sysdeps/unix/sysv/linux/kernel-features.h
28381         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28382         __ASSUME_XFS_RESTRICTED_CHOWN.
28383         * sysdeps/unix/sysv/linux/pathconf.c
28384         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28385         Save and restore errno.
28387 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28389         [BZ #15327]
28390         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28391         arguments using __kernel_casinh.
28392         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28393         arguments using __kernel_casinhf.
28394         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28395         arguments using __kernel_casinhl.
28396         * math/libm-test.inc (cacosh_test): Add more tests.
28397         * sysdeps/i386/fpu/libm-test-ulps: Update.
28398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28400 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28402         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28405         * bench/Makefile (bench): Add sin and slowsin.
28406         * benchtests/sin-inputs: New file.
28407         * benchtests/slowsin-inputs: New file.
28408         * benchtests/slowsin.c: New file.
28410         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28411         (bench): Add slowexp and slowpow.
28412         (exp-ITER): Increase iterations.
28413         (pow-ITER): Likewise.
28414         * benchtests/exp-inputs: Change input.
28415         * benchtests/pow-inputs: Likewise.
28416         * benchtests/slowexp-inputs: New file.
28417         * benchtests/slowexp.c: New file.
28418         * benchtests/slowpow-inputs: New file.
28419         * benchtests/slowpow.c: New file.
28421 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28423         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28424         instructions.
28425         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28428         * benchtests/Makefile: Add rint benchtest.
28429         * benchtests/rint-inputs: Input for rint benchtest.
28431 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28433         * Versions.def (libm): Add GLIBC_2.18.
28434         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28435         hidden libm prototypes.
28436         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28437         * math/Makefile (libm-calls): Add s_issignaling.
28438         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28439         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28440         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28441         declaration.
28442         * math/math.h [__USE_GNU] (issignaling): New macro.
28443         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28444         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28446         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28447         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28448         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28449         * manual/arith.texi (issignaling): New section.
28450         * manual/libm-err-tab.pl (@all_functions): Update comment.
28451         * math/gen-libm-test.pl (parse_args): Apply special handling for
28452         issignaling.
28453         * math/libm-test.inc (print_float, issignaling_test): New
28454         functions.
28455         (check_float_internal): Add issignaling checks.
28456         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28457         default definition.
28458         * sysdeps/powerpc/math-tests.h: New file.
28459         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28460         tests.
28461         * math/test-snan.c (TEST_FUNC): Likewise.
28463 2013-03-30  David S. Miller  <davem@davemloft.net>
28465         * po/de.po: Update from translation team.
28467 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28469         [BZ #10357]
28470         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28471         imaginary part less than 1.0 and real part less than 0.5
28472         specially.
28473         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28474         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28476         (cacos_test): Add more tests.
28477         (casin_test): Likewise.
28478         (casinh_test): Likewise.
28479         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28482 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28484         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28485         ONE with its value.
28487         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28488         (__pow_mp): Replace ONE and MONE with their values.
28489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28493         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28496         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28498         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28499         (__pow_mp): Replace ZERO and MZERO with their values.
28500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28505         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28506         (__sqr): Likewise.
28508         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28510         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28514         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28515         Declare with __attribute__ ((weak)).
28516         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28517         Call __call_tls_dtors only if it's not NULL.
28519 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28521         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28522         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28523         magic __ehdr_start linker symbol if it's defined.
28524         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28525         them up here if it was already done.
28527         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28528         (_dl_aux_init): Use const in cast when setting it.
28529         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28531         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28533         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28534         Declare them here.
28535         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28536         * csu/libc-tls.c: Nor here.
28537         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28539         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28540         (__libc_message): Never call vsyslog.
28542 2013-03-28  Alan Modra  <amodra@gmail.com>
28544         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28545         Define as empty.
28546         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28547         Likewise.
28549 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28551         [BZ #15214]
28552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28553         underflow.
28554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28556 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28558         [BZ #15304]
28559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28560         Don't add gid passed as argument.
28562         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28564 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28566         [BZ #15307]
28567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28568         imaginary part between 1.0 and 1.5 and real part less than 0.5
28569         specially.
28570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28572         * math/libm-test.inc (cacos_test): Add more tests.
28573         (casin_test): Likewise.
28574         (casinh_test): Likewise.
28575         * sysdeps/i386/fpu/libm-test-ulps: Update.
28576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28578 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28580         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28581         constants.
28582         (norm): Likewise.
28583         (denorm): Likewise.
28584         (__dbl_mp): Likewise.
28585         (add_magnitudes): Likewise.
28586         (sub_magnitudes): Likewise.
28587         (__add): Likewise.
28588         (__sub): Likewise.
28589         (__mul): Likewise.
28590         (__sqr): Likewise.
28591         (__inv): Likewise.
28592         (__dvd): Likewise.
28594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28595         commented code.
28596         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28597         (__dubcos): Likewise.
28598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28599         (__ieee754_acos): Likewise.
28600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28602         (__exp1): Likewise.
28603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28605         (log1): Likewise.
28606         (my_log2): Likewise.
28607         (checkint): Likewise.
28608         * sysdeps/ieee754/dbl-64/e_remainder.c
28609         (__ieee754_remainder): Likewise.
28610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28612         (bsloww): Likewise.
28613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28615         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28617         MANTISSA_STORE_T to store computations on mantissa.  Use
28618         macros for rounding and division.
28619         (denorm): Likewise.
28620         (__dbl_mp): Likewise.
28621         (add_magnitudes): Likewise.
28622         (sub_magnitudes): Likewise.
28623         (__mul): Likewise.
28624         (__sqr): Likewise.
28625         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28626         powers of two in terms of TWOPOW macro.
28627         (mp_no): Make type of mantissa as MANTISSA_T.
28628         [!RADIXI]: Define RADIXI.
28629         [!TWO52]: Define TWO52.
28630         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28632 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28634         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28635         llroundl symbol when building for PPC32.
28637 2013-03-24  Mark H Weaver  <mhw@netris.org>
28639         * manual/arith.texi (Normalization Functions): Fix prototypes for
28640         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28642 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28644         [BZ #13889]
28645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28646         high value to check if expl overflow.
28647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28648         to check for underflow and overflow.
28649         * math/libm-test.inc: Add exp test.
28651 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28653         [BZ #11120]
28654         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28655         with NOT_IN_libc.
28657 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28659         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28660         symbol.
28662 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28664         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28665         wrap blocks consisting of several statements.
28667         * sysdeps/generic/math-tests.h: New file.
28668         * sysdeps/i386/fpu/math-tests.h: Likewise.
28669         * math/test-snan.c: Include it.
28670         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #15285]
28675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28676         (__ieee754_j0l): Do not improve calculations using cos of twice
28677         input for inputs above LDBL_MAX / 2.0L.
28678         (__ieee754_y0l): Likewise.
28679         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28680         (__ieee754_j1l): Do not improve calculations using cos of twice
28681         input for inputs above LDBL_MAX / 2.0L.
28682         (__ieee754_y1l): Likewise.
28683         * math/libm-test.inc (j0_test): Add another test.
28684         (j1_test): Likewise.
28685         (y0_test): Likewise.
28686         (y1_test): Likewise.
28687         * sysdeps/i386/fpu/libm-test-ulps: Update.
28689 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28691         * Rules ($(objpfx)bench-%.c): Include code from a C source
28692         file.
28694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28696         [BZ #15287]
28697         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28698         imaginary part 1.0 and real part less than 0.5 specially.
28699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28701         * math/libm-test.inc (cacos_test): Add more tests.
28702         (casin_test): Likewise.
28703         (casinh_test): Likewise.
28704         * sysdeps/i386/fpu/libm-test-ulps: Update.
28705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28712 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28714         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28715         * config.make.in (config-cflags-sse4): Remove variable.
28716         (config-cflags-avx): Likewise.
28717         (config-cflags-sse2avx): Likewise.
28718         (config-cflags-novzeroupper): Likewise.
28719         (config-asflags-i686): Likewise.
28720         (have-mfma4): Likewise.
28721         (have-as-vis3): Likewise.
28722         (MIG): Likewise.
28723         * configure.in (MIG): Do not AC_SUBST.
28724         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28725         (libc_cv_cc_sse4): Do not AC_SUBST.
28726         (libc_cv_cc_avx): Likewise.
28727         (libc_cv_cc_sse2avx): Likewise.
28728         (libc_cv_cc_novzeroupper): Likewise.
28729         (libc_cv_cc_fma4): Likewise.
28730         (libc_cv_as_i686): Likewise.
28731         (libc_cv_sparc_as_vis3): Likewise.
28732         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28733         LIBC_CONFIG_VAR.
28734         (config-asflags-i686): Likewise.
28735         (config-cflags-avx): Likewise.
28736         (config-cflags-sse2avx): Likewise.
28737         (have-mfma4): Likewise.
28738         (config-cflags-novzeroupper): Likewise.
28739         * sysdeps/mach/configure.in (MIG): Likewise.
28740         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28741         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28742         LIBC_CONFIG_VAR.
28743         (config-cflags-avx): Likewise.
28744         (config-cflags-sse2avx): Likewise.
28745         (have-mfma4): Likewise.
28746         (config-cflags-novzeroupper): Likewise.
28747         * configure: Regenerated.
28748         * sysdeps/i386/configure: Likewise.
28749         * sysdeps/mach/configure: Likewise.
28750         * sysdeps/sparc/configure: Likewise.
28751         * sysdeps/x86_64/configure: Likewise.
28753 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28755         [BZ #14812]
28756         * locale/programs/localedef.c (options): Put N_ translation marker
28757         on argument names, not just descriptions.
28759 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28761         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28763 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28765         [BZ #14176]
28766         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28768 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28770         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28771         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28772         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28773         [!BEFORE_ABORT] (before_abort): New function.
28774         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28775         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28776         (writev_for_fatal): New function.
28777         (WRITEV_FOR_FATAL): New macro; call that.
28778         (backtrace_and_maps): New function.
28779         (BEFORE_ABORT): New macro; call that.
28780         (struct str_list): Type removed.
28781         (__libc_message, __libc_fatal): Functions removed.
28782         Include <sysdeps/posix/libc_fatal.c> instead.
28784 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28786         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28787         constants.
28788         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28789         double constants.
28791 2013-03-19  Andreas Schwab  <schwab@suse.de>
28793         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28794         * sysdeps/gnu/configure: Regenerate.
28796         * configure.in: Substitute libc_cv_rtlddir.
28797         * configure: Regenerate.
28798         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28799         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28800         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28801         * elf/Makefile (install-others, CFLAGS-interp.c)
28802         (ldso_install, common-ldd-rewrite): Likewise.
28803         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28804         $(inst_slibdir)/$(rtld-installed-name).
28805         * scripts/rellns-sh: Add -p option.
28806         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28807         for source.
28809 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28811         * manual/nptl.texi: Renamed to ...
28812         * manual/threads.texi: ... this.
28813         * manual/Makefile (chapters): Update.
28815 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28817         [BZ #14812]
28818         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28819         on argument names, not just descriptions.
28820         * malloc/memusagestat.c (options): Likewise.
28821         * nss/getent.c (options): Likewise.
28823 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28825         [BZ #14812]
28826         * iconv/iconv_prog.c (options): Put N_ translation marker
28827         on argument names, not just descriptions.
28828         * iconv/iconvconfig.c (options): Likewise.
28830 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28832         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28833         implementation which is faster on all x86_64 architectures.
28834         Tested on AMD, Intel Nehalem, SNB, IVB.
28835         * sysdeps/x86_64/strnlen.S: Likewise.
28837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28838         Remove all multiarch strlen and strnlen versions.
28839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28840         Remove strlen and strnlen related parts.
28842         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28843         Inline strlen part.
28844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28846         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28849         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28850         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28853 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28855         * manual/memory.texi (Malloc Tunable Parameters):
28856         Sort parameters alphabetically. Add comments for missing entries.
28858 2013-03-17  David S. Miller  <davem@davemloft.net>
28860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28862 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28864         [BZ #15283]
28865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28866         for arguments at most half maximum finite value.
28867         * math/libm-test.inc (j0_test): Add more tests.
28868         (j1_test): Likewise.
28869         (y0_test): Likewise.
28870         (y1_test): Likewise.
28871         * sysdeps/i386/fpu/libm-test-ulps: Update.
28872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28874         [BZ #14155]
28875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28876         1 / x and functions P and Q for arguments above 0x1p256L.
28877         (__ieee754_y0l): Likewise.
28878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28879         (__ieee754_y1l): Likewise.
28880         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28881         (j1_test): Likewise.
28882         (y0_test): Likewise.
28883         (y1_test): Likewise.
28885 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28887         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28888         variable.
28890 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28892         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28893         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28894         zero since it's initialized to EXEC_PAGESIZE.
28896         * sysdeps/unix/sysv/linux/ldsodefs.h
28897         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28898         * sysdeps/generic/ldsodefs.h: ... here.
28900 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28902         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28904         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28905         math/test-snan.c.
28906         * math/test-snan.c: Renamed from
28907         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28908         * math/Makefile (tests): Add test-snan.
28909         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28910         test-powerpc-snan.
28912         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28913         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28914         functions.
28915         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28916         __builtin_nan family of functions.
28917         * math/libm-test.inc (initialize): Initialize qnan_value with
28918         __builtin_nan family of functions.
28919         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28920         Remove variables.
28921         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28922         Remove functions.
28923         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28924         storage class.  Initialize qNaN_var and sNaN_var with
28925         __builtin_nan and __builtin_nans families of functions,
28926         respectively.
28928         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28929         (sqrt_test): Remove duplicate test with qNaN input.
28930         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28931         (round_test, signbit_test, significand_test): Note missing +/-Inf
28932         as well as qNaN tests.
28934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28935         qNaN_var.  Fix a few strings, too.
28936         * math/libm-test.inc (nan_value): Rename to qnan_value.
28937         * math/gen-libm-test.pl (%beautify): Adjust to that.
28938         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28939         * math/test-misc.c (main): Likewise.
28940         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28941         to __qnan_bytes, and __qnan_union, respectively.
28942         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28943         Likewise.
28944         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28945         and lqnanval, respectively.
28946         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28947         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28948         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28949         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28951         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28952         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28953         doubles.
28955         * math/test-misc.c (main): Fix copy'n'pastos.
28956         * misc/tst-efgcvt.c (special): Likewise.
28958         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28959         Remove declarations.
28961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28964         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28965         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28968 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28971         macro to return vdso values correctly in IFUNC implementations.
28972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28973         Optimization by using IFUNC.
28975 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28976             Richard Henderson  <rth@redhat.com>
28977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28979         * Makefile.in (bench): New target.
28980         * NEWS: Mention the benchmark framework.
28981         * Rules (bench): Likewise.
28982         (binaries-bench): Generate binaries for functions to
28983         benchmark.
28984         * benchtests/Makefile: New makefile for benchmark tests.
28985         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28986         programs.
28987         * benchtests/exp-inputs: New input file for EXP function.
28988         * benchtests/pow-inputs: New input file for POW function.
28989         * scripts/bench.pl: New script to generate source files for
28990         benchmark programs.
28992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28994         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28996         computations on mantissa.  Use macros for rounding and
28997         division.
28998         (denorm): Likewise.
28999         (__dbl_mp): Likewise.
29000         (add_magnitudes): Likewise.
29001         (sub_magnitudes): Likewise.
29002         (__mul): Likewise.
29003         (__sqr): Likewise.
29004         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29005         powers of two in terms of TWOPOW macro.
29006         (mp_no): Make type of mantissa as MANTISSA_T.
29007         [!RADIXI]: Define RADIXI.
29008         [!TWO52]: Define TWO52.
29009         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29011         * manual/nptl.texi (cindex): Modify threads to pthreads.
29013 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29015         * sysdeps/x86_64/preconfigure: Regenerated.
29017 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29019         [BZ #14155]
29020         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29021         0x1p28 and above.
29022         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29023         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29024         0x1p28 and above.
29025         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29026         * math/libm-test.inc (j0_test): Do not allow one spurious
29027         underflow exception.
29028         (y1_test): Likewise.
29030 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29032         * manual/Makefile (chapters): Add nptl.
29033         * manual/debug.texi (Debugging Support): Add link to Threads
29034         chapter.
29035         * manual/nptl.texi: New file.
29037         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29039 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29041         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29042         for non-NULL pointer before the memory validity test. Pointed
29043         out by Holger Brunck <holger.brunck@keymile.com>.
29045 2013-03-13  Andreas Schwab  <schwab@suse.de>
29047         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29048         instead of .os.
29050 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29052         * timezone/zic.c: Update from tzcode 2013b.
29054 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29056         * manual/install.texi (Configuring and compiling):
29057         Mention i686 and i586.
29058         * INSTALL: Regenerate.
29060 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29062         * sysdeps/init_array/elf-init.c: New file.
29063         * csu/elf-init.c
29064         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29065         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29067         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29068         __gmon_start__ as global, but as static with a .preinit_array pointer.
29069         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29070         * sysdeps/init_array/crti.S: New file, empty except for comments.
29071         * sysdeps/init_array/crtn.S: Likewise.
29073 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29075         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29076         definining bcopy.
29077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29078         Remove Prefer_SSE_for_memop.
29079         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29080         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29081         HAS_PREFER_SSE_FOR_MEMOP.
29082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29083         memset-x86-64.
29084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29085         Remove bzero, memset ifunc support.
29086         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29087         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29091 2013-03-11  Andreas Schwab  <schwab@suse.de>
29093         [BZ #15234]
29094         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29095         by SHLIB_COMPAT.
29096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29097         (GLIBC_2.16): Remove pthread_atfork.
29099 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29101         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29102         (ptestcases.h): Likewise.
29104 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29106         * Makeconfig ($(common-objpfx)config.status): Depend on
29107         sysdeps/*/preconfigure{,.in} too.
29109 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29111         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29112         (__free_hook): Use void * instead of __malloc_ptr_t.
29113         (__malloc_hook): Likewise.
29114         (__realloc_hook): Likewise.
29115         (__memalign_hook): Likewise.
29116         (__after_morecore_hook): Likewise.
29117         * malloc/arena.c (save_malloc_hook): Likewise.
29118         (save_free_hook): Likewise.
29119         * malloc/hooks.c (malloc_hook_ini): Likewise.
29120         (realloc_hook_ini): Likewise.
29121         (memalign_hook_ini): Likewise.
29122         * malloc/malloc.c (malloc_hook_ini): Likewise.
29123         (realloc_hook_ini): Likewise.
29124         (memalign_hook_ini): Likewise.
29125         (__free_hook): Likewise.
29126         (__malloc_hook): Likewise.
29127         (__realloc_hook): Likewise.
29128         (__memalign_hook): Likewise.
29129         (__libc_malloc): Likewise.
29130         (__libc_free): Likewise.
29131         (__libc_realloc): Likewise.
29132         (__libc_memalign): Likewise.
29133         (__libc_valloc): Likewise.
29134         (__libc_pvalloc): Likewise.
29135         (__libc_calloc): Likewise.
29136         (__posix_memalign): Likewise.
29137         * malloc/morecore.c (__sbrk): Likewise.
29138         (__default_morecore): Likewise.
29140         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29142         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29143         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29144         __malloc_ptrdiff_t.
29146         * malloc/malloc.h (__malloc_size_t): Remove macro.
29147         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29148         __malloc_size_t.
29149         (old_memalign_hook): Likewise.
29150         (old_realloc_hook): Likewise.
29151         (struct hdr): Likewise.
29152         (flood): Likewise.
29153         (mallochook): Likewise.
29154         (memalignhook): Likewise.
29155         (reallochook): Likewise.
29156         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29157         (tr_old_realloc_hook): Likewise.
29158         (tr_old_memalign_hook): Likewise.
29159         (tr_mallochook): Likewise.
29160         (tr_reallochook): Likewise.
29161         (tr_memalignhook): Likewise.
29163 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29166         default_ldbl_pack and using as default implementation.
29167         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29168         implementation.
29169         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29170         redundant definition.
29171         (ldbl_insert_mantissa): Likewise.
29172         (ldbl_canonicalize): Likewise.
29173         (ldbl_nearbyint): Likewise.
29174         (ldbl_pack): Rename to ldbl_pack_ppc.
29175         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29176         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29177         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29179 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29182         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29184         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29187         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29188         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29190 2013-03-07  Andreas Jaeger  <aj@suse.de>
29192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29193         bits/mman-linux.h.
29195 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29197         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29198         Include mpa.h and declare __MPEXP.
29199         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29204         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29207         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29208         (__slowpow): Use long double EXPL and LOGL functions to
29209         compute POW.
29210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29212         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29214         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29218         intermediate variable to calculate exponent.
29219         (__sqr): Likewise.
29220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29221         Likewise.
29222         (__sqr): Likewise.
29224         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29225         [!NO__SQR]: Define __sqr.
29226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29227         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29228         sysdeps/ieee754/dbl-64/mpa.c.
29229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29231         [BZ #12723]
29232         * posix/Makefile (tests): Add tst-pathconf.
29233         * posix/tst-pathconf.c: New test case.
29234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29235         _PC_PIPE_BUF.
29236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29238 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29240         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29242 2013-03-06  Andreas Jaeger  <aj@suse.de>
29244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29245         definition via __MAP_ANONYMOUS.
29247         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29248         it's not part of Linux headers.
29250         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29251         (MAP_HUGE_MASK): Define.
29253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29254         Define.
29255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29257         Define.
29258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29259         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29260         Define.
29261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29263         Define.
29264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29266         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29267         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29268         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29269         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29270         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29271         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29274         Handle f2fs.
29276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29277         Handle f2fs and efivarfs.
29279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29280         f2fs.
29282         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29283         (EFIVARFS_MAGIC): Add.
29284         (F2FS_LINK_MAX): Add.
29286 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29288         * stdio-common/vfprintf.c: Replace __builtin_expect with
29289         __glibc_unlikely.
29291 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29293         [BZ #13550]
29294         * sysdeps/generic/bp-sym.h: Remove file.
29295         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29297         <bp-sym.h> and <bp-asm.h>.
29298         (__longjmp): Don't use BP_SYM.
29299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29300         and <bp-asm.h>.
29301         (memcpy): Don't use BP_SYM.
29302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29303         <bp-sym.h> and <bp-asm.h>.
29304         (memcpy): Don't use BP_SYM.
29305         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29306         <bp-asm.h>.
29307         (memcpy): Don't use BP_SYM.
29308         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29309         <bp-asm.h>.
29310         (memset): Don't use BP_SYM.
29311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29313         (__bzero): Don't use BP_SYM.
29314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29317         <bp-sym.h> and <bp-asm.h>.
29318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29319         pointers.
29320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29321         <bp-sym.h> and <bp-asm.h>.
29322         (memcpy): Don't use BP_SYM.
29323         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29324         <bp-sym.h> and <bp-asm.h>.
29325         (memset): Don't use BP_SYM.
29326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29328         (__bzero): Don't use BP_SYM.
29329         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29330         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29332         <bp-sym.h> and <bp-asm.h>.
29333         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29334         pointers.
29335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29336         <bp-sym.h> and <bp-asm.h>.
29337         (memcpy): Don't use BP_SYM.
29338         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29339         <bp-sym.h> and <bp-asm.h>.
29340         (memset): Don't use BP_SYM.
29341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29343         (__bzero): Don't use BP_SYM.
29344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29347         <bp-sym.h> and <bp-asm.h>.
29348         (__memchr): Don't use BP_SYM.
29349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29350         <bp-sym.h> and <bp-asm.h>.
29351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29352         pointers.
29353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29354         <bp-sym.h> and <bp-asm.h>.
29355         (memcpy): Don't use BP_SYM.
29356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29357         <bp-sym.h> and <bp-asm.h>.
29358         (__mempcpy): Don't use BP_SYM.
29359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29360         <bp-sym.h> and <bp-asm.h>.
29361         (__memrchr): Don't use BP_SYM.
29362         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29363         <bp-sym.h> and <bp-asm.h>.
29364         (memset): Don't use BP_SYM.
29365         (__bzero): Likewise.
29366         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29367         <bp-sym.h> and <bp-asm.h>.
29368         (__rawmemchr): Don't use BP_SYM.
29369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29370         <bp-sym.h> and <bp-asm.h>.
29371         (__STRCMP): Don't use BP_SYM.
29372         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29373         <bp-sym.h> and <bp-asm.h>.
29374         (strchr): Don't use BP_SYM.
29375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29376         <bp-sym.h> and <bp-asm.h>.
29377         (__strchrnul): Don't use BP_SYM.
29378         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29379         <bp-sym.h> and <bp-asm.h>.
29380         (strlen): Don't use BP_SYM.
29381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29382         <bp-sym.h> and <bp-asm.h>.
29383         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29384         pointers.
29385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29386         <bp-sym.h> and <bp-asm.h>.
29387         (__strnlen): Don't use BP_SYM.
29388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29389         <bp-sym.h> and <bp-asm.h>.
29390         (__GI__setjmp): Don't use BP_SYM.
29391         (_setjmp): Likewise.
29392         (__sigsetjmp): Likewise.
29393         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29394         (L(start_addresses)): Don't use BP_SYM.
29395         (_start): Likewise.
29396         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29397         <bp-asm.h>.
29398         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29399         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29402         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29403         <bp-asm.h>.
29404         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29405         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29406         about bounded pointers.
29407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29409         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29410         <bp-asm.h>.
29411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29412         about bounded pointers.  Remove GKM FIXME comments.
29413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29414         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29415         <bp-asm.h>.
29416         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29417         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29418         Remove GKM FIXME comments.
29419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29421         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29422         <bp-asm.h>.
29423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29424         about bounded pointers.  Remove GKM FIXME comment.
29425         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29426         and <bp-asm.h>.
29427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29428         pointers.
29429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29430         <bp-sym.h> and <bp-asm.h>.
29431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29433         <bp-sym.h> and <bp-asm.h>.
29434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29435         comment.
29437 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29439         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29440         call free(NULL).
29442 2013-03-05  David S. Miller  <davem@davemloft.net>
29444         * po/es.po: Update from translation team.
29446 2013-03-05  Andreas Jaeger  <aj@suse.de>
29448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29449         <bits/mman-linux.h>.
29450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29451         is fine.
29452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29453         <bits/mman-linux.h> to end of file.
29454         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29455         is fine.
29456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29457         <bits/mman-linux.h> to end of file.
29458         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29459         is fine.
29460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29461         <bits/mman-linux.h> to end of file.
29463         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29464         (MCL_CURRENT, MCL_FUTURE): Define here.
29466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29468         [BZ #15232]
29469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29470         attribute_hidden.
29471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29473 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29476         fourth parameter needed for rt_sigprocmask syscall.
29477         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29478         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29482         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29484 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29486         [BZ #13550]
29487         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29488         comment about bounded pointers.
29489         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29490         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29492 2013-03-04  Andreas Jaeger  <aj@suse.de>
29494         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29495         common definitions.
29497         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29498         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29499         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29504 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29506         [BZ #15055]
29507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29508         __ieee754_sqrl instead of __sqrl.
29510 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29512         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29513         * sysdeps/powerpc/fpu_control.h: ... here.
29514         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29515         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29516         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29517         * sysdeps/powerpc/bits/mathinline.h: ... here.
29519 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29521         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29522         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29523         to just [NEED_DL_SYSINFO_DSO].
29524         * elf/dl-support.c: Likewise.
29525         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29526         * elf/rtld.c (dl_main): Likewise.
29527         * elf/setup-vdso.h (setup_vdso): Likewise.
29528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29529         * sysdeps/unix/sysv/linux/dl-sysdep.c
29530         (_dl_discover_osversion): Likewise.
29532 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29534         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29537 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29539         * NEWS: Mention libm performance improvements and non-x86 PI
29540         futex support.
29542         * csu/libc-start.c (__pthread_initialize_minimal): Change
29543         function arguments.
29544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29546 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29548         [BZ #13550]
29549         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29551         <bp-sym.h> and <bp-asm.h>.
29552         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29554         and <bp-asm.h>.
29555         (memcpy): Don't use BP_SYM.
29556         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29557         <bp-asm.h>.
29558         (__mpn_add_n): Don't use BP_SYM.
29559         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29560         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29561         and <bp-asm.h>.
29562         (__mpn_addmul_1): Don't use BP_SYM.
29563         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29564         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29565         <bp-sym.h>.
29566         (_setjmp): Don't use BP_SYM.
29567         (__novmx_setjmp): Likewise.
29568         (__GI__setjmp): Likewise.
29569         (__vmx_setjmp): Likewise.
29570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29571         <bp-sym.h>.
29572         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29573         (__bzero): Don't use BP_SYM.
29574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29577         <bp-sym.h> and <bp-asm.h>.
29578         (memcpy): Don't use BP_SYM.
29579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29580         <bp-sym.h> and <bp-asm.h>.
29581         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29583         <bp-sym.h> and <bp-asm.h>.
29584         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29585         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29586         <bp-asm.h>.
29587         (__mpn_lshift): Don't use BP_SYM.
29588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29589         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29590         <bp-asm.h>.
29591         (memset): Don't use BP_SYM.
29592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29594         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29595         <bp-asm.h>.
29596         (__mpn_mul_1): Don't use BP_SYM.
29597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29599         <bp-sym.h> and <bp-asm.h>.
29600         (memcmp): Don't use BP_SYM.
29601         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29602         <bp-sym.h> and <bp-asm.h>.
29603         (memcpy): Don't use BP_SYM.
29604         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29605         <bp-sym.h> and <bp-asm.h>.
29606         (memset): Don't use BP_SYM.
29607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29608         <bp-sym.h> and <bp-asm.h>.
29609         (strncmp): Don't use BP_SYM.
29610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29611         <bp-sym.h> and <bp-asm.h>.
29612         (memcpy): Don't use BP_SYM.
29613         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29614         <bp-sym.h> and <bp-asm.h>.
29615         (memset): Don't use BP_SYM.
29616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29617         <bp-sym.h> and <bp-asm.h>.
29618         (__memchr): Don't use BP_SYM.
29619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29620         <bp-sym.h> and <bp-asm.h>.
29621         (memcmp): Don't use BP_SYM.
29622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29623         <bp-sym.h> and <bp-asm.h>.
29624         (memcpy): Don't use BP_SYM.
29625         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29626         <bp-sym.h> and <bp-asm.h>.
29627         (__mempcpy): Don't use BP_SYM.
29628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29629         <bp-sym.h> and <bp-asm.h>.
29630         (__memrchr): Don't use BP_SYM.
29631         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29632         <bp-sym.h> and <bp-asm.h>.
29633         (memset): Don't use BP_SYM.
29634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29635         <bp-sym.h> and <bp-asm.h>.
29636         (__rawmemchr): Don't use BP_SYM.
29637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29638         <bp-sym.h> and <bp-asm.h>.
29639         (__STRCMP): Don't use BP_SYM.
29640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29641         <bp-sym.h> and <bp-asm.h>.
29642         (strchr): Don't use BP_SYM.
29643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29644         <bp-sym.h> and <bp-asm.h>.
29645         (__strchrnul): Don't use BP_SYM.
29646         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29647         <bp-sym.h> and <bp-asm.h>.
29648         (strlen): Don't use BP_SYM.
29649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29650         <bp-sym.h> and <bp-asm.h>.
29651         (strncmp): Don't use BP_SYM.
29652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29653         <bp-sym.h> and <bp-asm.h>.
29654         (__strnlen): Don't use BP_SYM.
29655         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29656         <bp-asm.h>.
29657         (__mpn_rshift): Don't use BP_SYM.
29658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29660         <bp-sym.h> and <bp-asm.h>.
29661         (__sigsetjmp): Don't use BP_SYM.
29662         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29663         (L(start_addresses)): Don't use BP_SYM.
29664         (_start): Likewise.
29665         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29666         <bp-asm.h>.
29667         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29670         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29671         <bp-asm.h>.
29672         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29673         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29674         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29675         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29676         <bp-asm.h>.
29677         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29678         comments.
29679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29680         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29681         <bp-asm.h>.
29682         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29683         FIXME comments.
29684         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29685         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29686         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29687         <bp-asm.h>.
29688         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29689         comment.
29690         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29691         and <bp-asm.h>.
29692         (strncmp): Don't use BP_SYM,
29693         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29694         <bp-asm.h>.
29695         (__mpn_sub_n): Don't use BP_SYM.
29696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29697         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29698         and <bp-asm.h>.
29699         (__mpn_submul_1): Don't use BP_SYM.
29700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29702         <bp-sym.h> and <bp-asm.h>.
29703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29705         <bp-sym.h> and <bp-asm.h>.
29706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29707         comment.
29709 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29712         Use ZK to minimize writes to Z.
29713         (sub_magnitudes): Simplify code a bit.
29714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29715         Use ZK to minimize writes to Z.
29716         (sub_magnitudes): Simplify code a bit.
29718 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29720         * csu/gmon-start.c: Add special exception to license text.
29722 2013-02-27  Richard Henderson  <rth@redhat.com>
29724         * scripts/config.guess: Update from config.git.
29725         * scripts/config.sub: Likewise.
29727 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29731         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29733         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29735         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29737         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29739 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29741         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29742         [$(build-shared = yes].
29744 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29746         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29747         (__mul): Reduce iterations for calculating mantissa.
29749         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29750         MPTWO.
29751         (__mpranred): Likewise.
29753         [BZ #15160]
29754         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29755         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29757 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29759         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29760         Define __attribute__.
29762 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29764         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29765         unused.
29766         * posix/regex_internal.h (__attribute): Remove.
29767         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29768         (re_string_context_at): Likewise.
29769         (bitset_not): Use __attribute__ and mark function as possibly
29770         unused.
29771         (bitset_merge): Likewise.
29772         (bitset_mask): Likewise.
29773         (re_string_char_size_at): Likewise.
29774         (re_string_wchar_at): Likewise.
29775         (re_string_elem_size_at): Likewise.
29777 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29780         code.
29781         (cc32): Likewise.
29783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29784         (__acr): Likewise.
29785         (__cpy): Likewise.
29786         (norm): Likewise.
29787         (denorm): Likewise.
29788         (__dbl_mp): Likewise.
29789         (add_magnitudes): Likewise.
29790         (sub_magnitudes): Likewise.
29791         (__mul): Likewise.
29792         (__inv): Likewise.
29794         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29795         style.
29797         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29798         style.
29800         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29801         code.
29803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29804         up changes with default code.
29805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29806         Likewise.
29808 2013-02-24  Allan McRae  <allan@archlinux.org>
29810         * manual/socket.texi (The Internet Namespace): Order menu items
29811         to match that in the file.
29813         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29814         node listing of the info page menu.
29816 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29818         [BZ #13550]
29819         * sysdeps/i386/bp-asm.h: Remove file.
29820         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29821         (PARMS): Do not use macros from bp-asm.h.
29822         (S1): Likewise.
29823         (S2): Likewise.
29824         (SIZE): Likewise.
29825         (__mpn_add_n): Do not use BP_SYM
29826         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29827         "bp-asm.h".
29828         (PARMS): Do not use macros from bp-asm.h.
29829         (S1): Likewise.
29830         (SIZE): Likewise.
29831         (__mpn_addmul_1): Do not use BP_SYM
29832         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29833         "bp-asm.h".
29834         (PARMS): Do not use macros from bp-asm.h.
29835         (SIGMSK): Likewise.
29836         (_setjmp): Likewise.  Do not use BP_SYM.
29837         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29838         "bp-asm.h".
29839         (PARMS): Do not use macros from bp-asm.h.
29840         (SIGMSK): Likewise.
29841         (setjmp): Likewise.  Do not use BP_SYM.
29842         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29843         "bp-asm.h".
29844         (PARMS): Do not use macros from bp-asm.h.
29845         (__frexp): Do not use BP_SYM.
29846         (frexp): Likewise.
29847         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29848         "bp-asm.h".
29849         (PARMS): Do not use macros from bp-asm.h.
29850         (__frexpf): Do not use BP_SYM.
29851         (frexpf): Likewise.
29852         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29853         "bp-asm.h".
29854         (PARMS): Do not use macros from bp-asm.h.
29855         (__frexpl): Do not use BP_SYM.
29856         (frexpl): Likewise.
29857         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29858         "bp-asm.h".
29859         (PARMS): Do not use macros from bp-asm.h.
29860         (__remquo): Do not use BP_SYM.
29861         (remquo): Likewise.
29862         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29863         "bp-asm.h".
29864         (PARMS): Do not use macros from bp-asm.h.
29865         (__remquof): Do not use BP_SYM.
29866         (remquof): Likewise.
29867         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29868         "bp-asm.h".
29869         (PARMS): Do not use macros from bp-asm.h.
29870         (__remquol): Do not use BP_SYM.
29871         (remquol): Likewise.
29872         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29873         "bp-asm.h".
29874         (PARMS): Do not use macros from bp-asm.h.
29875         (DEST): Likewise.
29876         (SRC): Likewise.
29877         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29878         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29879         "bp-asm.h".
29880         (PARMS): Do not use macros from bp-asm.h.
29881         (strlen): Do not use BP_SYM.
29882         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29883         "bp-asm.h".
29884         (PARMS): Do not use macros from bp-asm.h.
29885         (S1): Likewise.
29886         (S2): Likewise.
29887         (SIZE): Likewise.
29888         (__mpn_add_n): Do not use BP_SYM.
29889         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29890         "bp-asm.h".
29891         (PARMS): Do not use macros from bp-asm.h.
29892         (S1): Likewise.
29893         (SIZE): Likewise.
29894         (__mpn_addmul_1): Do not use BP_SYM.
29895         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29896         weak_alias.
29897         (bzero): Likewise.
29898         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29899         "bp-asm.h".
29900         (PARMS): Do not use macros from bp-asm.h.
29901         (S): Likewise.
29902         (SIZE): Likewise.
29903         (__mpn_lshift): Do not use BP_SYM.
29904         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29905         "bp-asm.h".
29906         (PARMS): Do not use macros from bp-asm.h.
29907         (DEST): Likewise.
29908         (SRC): Likewise.
29909         (LEN): Likewise.
29910         (memcpy): Likewise.  Do not use BP_SYM.
29911         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29912         libc_hidden_def and weak_alias.
29913         (mempcpy): Do not use BP_SYM in weak_alias.
29914         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29915         "bp-asm.h".
29916         (PARMS): Do not use macros from bp-asm.h.
29917         (DEST): Likewise.
29918         (LEN): Likewise.
29919         [!BZERO_P] (CHR): Likewise.
29920         (memset): Likewise.  Do not use BP_SYM.
29921         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29922         "bp-asm.h".
29923         (PARMS): Do not use macros from bp-asm.h.
29924         (S1): Likewise.
29925         (SIZE): Likewise.
29926         (__mpn_mul_1): Do not use BP_SYM.
29927         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29928         "bp-asm.h".
29929         (PARMS): Do not use macros from bp-asm.h.
29930         (S): Likewise.
29931         (SIZE): Likewise.
29932         (__mpn_rshift): Do not use BP_SYM.
29933         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29934         "bp-asm.h".
29935         (PARMS): Do not use macros from bp-asm.h.
29936         (STR): Likewise.
29937         (CHR): Likewise.
29938         (strchr): Likewise.  Do not use BP_SYM.
29939         (index): Do not use BP_SYM in weak_alias.
29940         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29941         "bp-asm.h".
29942         (PARMS): Do not use macros from bp-asm.h.
29943         (DEST): Likewise.
29944         (SRC): Likewise.
29945         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29946         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29947         "bp-asm.h".
29948         (PARMS): Do not use macros from bp-asm.h.
29949         (strlen): Do not use BP_SYM.
29950         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29951         "bp-asm.h".
29952         (PARMS): Do not use macros from bp-asm.h.
29953         (S1): Likewise.
29954         (S2): Likewise.
29955         (SIZE): Likewise.
29956         (__mpn_sub_n): Do not use BP_SYM.
29957         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29958         "bp-asm.h".
29959         (PARMS): Do not use macros from bp-asm.h.
29960         (S1): Likewise.
29961         (SIZE): Likewise.
29962         (__mpn_submul_1): Do not use BP_SYM.
29963         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29964         "bp-asm.h".
29965         (PARMS): Do not use macros from bp-asm.h.
29966         (S1): Likewise.
29967         (S2): Likewise.
29968         (SIZE): Likewise.
29969         (__mpn_add_n): Do not use BP_SYM.
29970         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29971         weak_alias.
29972         (bzero): Likewise.
29973         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29974         "bp-asm.h".
29975         (PARMS): Do not use macros from bp-asm.h.
29976         (BLK2): Likewise.
29977         (LEN): Likewise.
29978         (memcmp): Do not use BP_SYM.
29979         (bcmp): Do not use BP_SYM in weak_alias.
29980         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29981         "bp-asm.h".
29982         (PARMS): Do not use macros from bp-asm.h.
29983         (DEST): Likewise.
29984         (SRC): Likewise.
29985         (LEN): Likewise.
29986         (memcpy): Likewise.  Do not use BP_SYM.
29987         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29988         "bp-asm.h".
29989         (PARMS): Do not use macros from bp-asm.h.
29990         (DEST): Likewise.
29991         (SRC): Likewise.
29992         (LEN): Likewise.
29993         (memmove): Likewise.  Do not use BP_SYM.
29994         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29995         "bp-asm.h".
29996         (PARMS): Do not use macros from bp-asm.h.
29997         (DEST): Likewise.
29998         (SRC): Likewise.
29999         (LEN): Likewise.
30000         (__mempcpy): Likewise.  Do not use BP_SYM.
30001         (mempcpy): Do not use BP_SYM in weak_alias.
30002         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30003         "bp-asm.h".
30004         (PARMS): Do not use macros from bp-asm.h.
30005         (DEST): Likewise.
30006         (LEN): Likewise.
30007         [!BZERO_P] (CHR): Likewise.
30008         (memset): Likewise.  Do not use BP_SYM.
30009         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30010         "bp-asm.h".
30011         (PARMS): Do not use macros from bp-asm.h.
30012         (STR2): Likewise.
30013         (strcmp): Do not use BP_SYM.
30014         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30015         "bp-asm.h".
30016         (PARMS): Do not use macros from bp-asm.h.
30017         (STR): Likewise.
30018         (DELIM): Likewise.
30019         [USE_AS_STRTOK_R] (SAVE): Likewise.
30020         (FUNCTION): Likewise.  Do not use BP_SYM.
30021         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30022         aliases.
30023         (strtok_r): Likewise.
30024         (__GI___strtok_r): Likewise.
30025         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30026         (PARMS): Do not use macros from bp-asm.h.
30027         (S): Likewise.
30028         (SIZE): Likewise.
30029         (__mpn_lshift): Do not use BP_SYM.
30030         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30031         (PARMS): Do not use macros from bp-asm.h.
30032         (STR): Likewise.
30033         (CHR): Likewise.
30034         (__memchr): Do not use BP_SYM.
30035         (memchr): Do not use BP_SYM in weak_alias.
30036         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30037         (PARMS): Do not use macros from bp-asm.h.
30038         (BLK2): Likewise.
30039         (LEN): Likewise.
30040         (memcmp): Do not use BP_SYM.
30041         (bcmp): Do not use BP_SYM in weak_alias.
30042         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30043         (PARMS): Do not use macros from bp-asm.h.
30044         (S1): Likewise.
30045         (SIZE): Likewise.
30046         (__mpn_mul_1): Do not use BP_SYM.
30047         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30048         "bp-asm.h".
30049         (PARMS): Do not use macros from bp-asm.h.
30050         (STR): Likewise.
30051         (CHR): Likewise.
30052         (__rawmemchr): Do not use BP_SYM.
30053         (rawmemchr): Do not use BP_SYM in weak_alias.
30054         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30055         (PARMS): Do not use macros from bp-asm.h.
30056         (S): Likewise.
30057         (SIZE): Likewise.
30058         (__mpn_rshift): Do not use BP_SYM.
30059         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30060         (PARMS): Do not use macros from bp-asm.h.
30061         (SIGMSK): Likewise.
30062         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30063         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30064         (_start): Do not use BP_SYM.
30065         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30066         (PARMS): Do not use macros from bp-asm.h.
30067         (DEST): Likewise.
30068         (SRC): Likewise.
30069         (__stpcpy): Likewise.  Do not use BP_SYM.
30070         (stpcpy): Do not use BP_SYM in weak_alias.
30071         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30072         "bp-asm.h".
30073         (PARMS): Do not use macros from bp-asm.h.
30074         (DEST): Likewise.
30075         (SRC): Likewise.
30076         (LEN): Likewise.
30077         (__stpncpy): Likewise.  Do not use BP_SYM.
30078         (stpncpy): Do not use BP_SYM in weak_alias.
30079         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30080         (PARMS): Do not use macros from bp-asm.h.
30081         (STR): Likewise.
30082         (CHR): Likewise.
30083         (strchr): Likewise.  Do not use BP_SYM.
30084         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30085         "bp-asm.h".
30086         (PARMS): Do not use macros from bp-asm.h.
30087         (STR): Likewise.
30088         (CHR): Likewise.
30089         (__strchrnul): Likewise.  Do not use BP_SYM.
30090         (strchrnul): Do not use BP_SYM in weak_alias.
30091         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30092         "bp-asm.h".
30093         (PARMS): Do not use macros from bp-asm.h.
30094         (STOP): Likewise.
30095         (strcspn): Do not use BP_SYM.
30096         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30097         "bp-asm.h".
30098         (PARMS): Do not use macros from bp-asm.h.
30099         (STR): Likewise.
30100         (STOP): Likewise.
30101         (strpbrk): Likewise.  Do not use BP_SYM.
30102         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30103         "bp-asm.h".
30104         (PARMS): Do not use macros from bp-asm.h.
30105         (STR): Likewise.
30106         (CHR): Likewise.
30107         (strrchr): Likewise.  Do not use BP_SYM.
30108         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30109         (PARMS): Do not use macros from bp-asm.h.
30110         (SKIP): Likewise.
30111         (strspn): Do not use BP_SYM.
30112         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30113         (PARMS): Do not use macros from bp-asm.h.
30114         (STR): Likewise.
30115         (DELIM): Likewise.
30116         (SAVE): Likewise.
30117         (FUNCTION): Likewise.  Do not use BP_SYM.
30118         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30119         aliases.
30120         (strtok_r): Likewise.
30121         (__GI___strtok_r): Likewise.
30122         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30123         (PARMS): Do not use macros from bp-asm.h.
30124         (S1): Likewise.
30125         (S2): Likewise.
30126         (SIZE): Likewise.
30127         (__mpn_sub_n): Do not use BP_SYM.
30128         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30129         "bp-asm.h".
30130         (PARMS): Do not use macros from bp-asm.h.
30131         (S1): Likewise.
30132         (SIZE): Likewise.
30133         (__mpn_submul_1): Do not use BP_SYM.
30134         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30135         <bp-sym.h>.
30136         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30137         and <bp-asm.h>.
30138         (PARMS): Do not use macros from bp-asm.h.
30139         (FLAGS): Likewise.
30140         (PTID): Likewise.
30141         (TLS): Likewise.
30142         (CTID): Likewise.
30143         (__clone): Do not use BP_SYM.
30144         (clone): Do not use BP_SYM in weak_alias.
30145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30146         and <bp-asm.h>.
30147         (PARMS): Do not use macros from bp-asm.h.
30148         (LEN): Likewise.
30149         (__mmap64): Do not use BP_SYM.
30150         (mmap64): Do not use BP_SYM in weak_alias.
30151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30152         <bp-sym.h> and <bp-asm.h>.
30153         (PARMS): Do not use macros from bp-asm.h.
30154         (__posix_fadvise64_l64): Do not use BP_SYM.
30155         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30156         (PARMS): Do not use macros from bp-asm.h.
30157         (NSOPS): Likewise.
30158         (semtimedop): Do not use BP_SYM.
30159         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30160         and <bp-asm.h>.
30162 2013-02-21  Allan McRae  <allan@archlinux.org>
30164         * manual/message.texi (Charset conversion in gettext):
30165         Move @end statement to beginning of line.
30167 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30170         static.
30171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30172         Likewise.
30174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30175         (denorm): Likewise.
30176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30179 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30181         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30182         tail-call to the resolved function if pltexit isn't needed.
30184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30187         or Y being zero as being unlikely.
30188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30189         Likewise.
30191 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30193         * manual/nss.texi (System Databases and Name Service Switch):
30194         Remove frobnicate @pxref.
30196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30199         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30201 2013-02-20  Petr Machata  <pmachata@redhat.com>
30203         * elf/elf.h (R_ARM_TARGET1): New macro.
30204         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30205         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30206         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30207         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30208         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30209         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30210         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30211         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30212         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30213         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30214         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30215         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30216         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30217         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30218         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30219         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30220         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30221         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30222         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30223         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30224         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30225         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30226         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30227         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30228         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30229         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30230         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30231         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30232         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30233         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30234         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30235         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30236         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30237         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30238         (R_ARM_THM_GOT_BREL12): Likewise.
30239         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30240         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30241         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30242         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30243         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30244         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30245         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30246         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30247         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30252         __attribute_used__ to __attribute__ ((unused)).
30254 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30257         powerpc mpa.c.
30258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30259         comment formatting.
30260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30262 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30264         [BZ #13550]
30265         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30266         Remove macro.
30267         (ENTER): Remove both macro definitions.
30268         (LEAVE): Likewise.
30269         (CHECK_BOUNDS_LOW): Likewise.
30270         (CHECK_BOUNDS_HIGH): Likewise.
30271         (CHECK_BOUNDS_BOTH): Likewise.
30272         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30273         (RETURN_BOUNDED_POINTER): Likewise.
30274         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30275         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30276         (POP_ERRNO_LOCATION_RETURN): Likewise.
30277         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30278         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30279         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30280         macros.
30281         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30282         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30283         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30284         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30285         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30286         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30287         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30288         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30289         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30290         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30291         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30292         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30293         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30294         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30295         removed macros.
30296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30297         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30298         macros.
30299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30300         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30301         * sysdeps/i386/i586/memset.S (memset): Likewise.
30302         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30304         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30305         macros.
30306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30307         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30308         Change uses of L(2) to L(out).
30309         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30310         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30311         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30312         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30313         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30314         removed macros.
30315         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30316         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30317         macros.
30318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30319         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30320         (RETURN): Do not use macro LEAVE.
30321         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30322         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30323         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30324         * sysdeps/i386/i686/memset.S (memset): Likewise.
30325         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30326         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30328         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30329         Likewise.
30330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30331         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30332         L(1_2) and L(1_3) into L(1).
30333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30334         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30336         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30337         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30338         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30339         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30340         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30341         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30342         macros.
30343         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30345         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30346         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30347         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30348         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30349         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30350         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30351         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30352         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30353         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30354         * sysdeps/i386/strspn.S (strspn): Likewise.
30355         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30356         conditional code.
30357         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30358         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30359         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30360         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30361         L(1_3) into L(1_1).
30362         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30364         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30365         macros.
30366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30368 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30370         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30371         macro.
30373 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30375         * math/atest-exp.c (exp_mpn): Remove ROUND.
30376         * math/atest-exp2.c (exp_mpn): Likewise.
30377         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30379         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30380         * stdlib/tst-tls-atexit-lib.c: Likewise.
30381         * stdlib/tst-tls-atexit.c: Likewise.
30383 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30385         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30386         and __attribute_alloc_size__.
30388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30390         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30391         __attribute_alloc_size__.
30392         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30393         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30397         * include/programs/xmalloc.h: New file.
30398         * catgets/gencat.c: Include it.
30399         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30400         * elf/pldd.c: Likewise.
30401         * iconv/iconv_charmap.c: Likewise.
30402         * iconv/iconvconfig.c: Likewise.
30403         * iconv/strtab.c: Likewise.
30404         * locale/programs/locale.c: Likewise.
30405         * locale/programs/localedef.h: Likewise.
30406         * locale/programs/simple-hash.c: Likewise.
30407         * nscd/nscd.h: Likewise.
30408         * nss/makedb.c: Likewise.
30409         * sysdeps/generic/ldconfig.h: Likewise.
30411 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30413         * Versions.def: Add GLIBC_2.18.
30414         * include/link.h (struct link_map): New member l_tls_dtor_count.
30415         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30416         (__call_tls_dtors): Likewise.
30417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30418         __cxa_thread_atexit_impl.
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30420         Likewise.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30422         Likewise.
30423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30424         Likewise.
30425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30426         Likewise.
30427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30429         Likewise.
30430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30431         Likewise.
30432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30434         Likewise.
30435         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30436         (tests): Add test case tst-tls-atexit.
30437         (modules-names): Add shared library for tst-tls-atexit.
30438         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30439         (GLIBC_PRIVATE): Add __call_tls_dtors.
30440         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30441         for libstdc++.
30442         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30443         * stdlib/tst-tls-atexit.c: New test case.
30444         * stdlib/tst-tls-atexit-lib.c: New test case.
30446         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30448         * elf/Versions (ld): Add _dl_find_dso_for_object.
30449         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30450         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30451         (dl_open_worker): Use _dl_find_dso_for_object.
30452         * elf/dl-sym.c (do_sym): Likewise.
30453         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30455 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30457         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30458         Syntactic changes only.
30459         (_dl_runtime_profile): Do a tail-call to the resolved function.
30461 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30463         [BZ #13550]
30464         * sysdeps/x86_64/bp-asm.h: Remove file.
30465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30466         <bp-sym.h> and <bp-asm.h>.
30467         (__clone): Do not use BP_SYM.
30468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30469         <bp-sym.h> and <bp-asm.h>.
30470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30471         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30472         "bp-asm.h".
30473         (_setjmp): Do not use BP_SYM.
30474         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30475         "bp-asm.h".
30476         (setjmp): Do not use BP_SYM.
30477         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30478         libc_hidden_def.
30479         (mempcpy): Do not use BP_SYM in weak_alias.
30480         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30481         "bp-asm.h".
30482         (strchr): Do not use BP_SYM.
30483         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30484         "bp-asm.h".
30485         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30486         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30487         (_start): Do not use BP_SYM.
30488         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30489         "bp-asm.h".
30490         (strcat): Do not use BP_SYM.
30491         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30492         "bp-asm.h".
30493         (STRCMP): Do not use BP_SYM.
30494         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30495         "bp-asm.h".
30496         (STRCPY): Do not use BP_SYM.
30497         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30498         "bp-asm.h".
30499         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30500         "bp-asm.h".
30501         (FUNCTION): Do not use BP_SYM.
30502         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30503         weak_alias.
30504         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30506 2013-02-17  Andreas Jaeger  <aj@suse.de>
30508         * time/Versions: Sort entries.
30509         * string/Versions: Likewise.
30510         * resolv/Versions: Likewise.
30511         * posix/Versions: Likewise.
30512         * iconv/Versions: Likewise.
30513         * elf/Versions: Likewise.
30514         * wcsmbs/Versions: Likewise.
30516 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30519         loop termination condition.
30521         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30522         variable to calculate EZ.
30523         (__sqr): Likewise.
30525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30526         the lower precision input.
30528 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30530         [BZ #13550]
30531         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30532         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30533         (run-via-rtld-prefix): Do not handle %-bp tests.
30534         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30535         (all-object-suffixes): Remove .ob.
30536         (bppfx): Remove variable.
30537         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30538         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30539         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30540         [$(build-bounded) = yes] (libtype.ob): Likewise.
30541         * Makerules (elide-routines.ob): Remove variable.
30542         (do-tests-clean): Do not handle *-bp.out.
30543         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30544         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30545         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30546         (tests): Do not include $(tests-bp.out).
30547         (xtests): Do not include $(xtests-bp.out).
30548         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30549         [$(build-bounded) = yes] ($(addprefix
30550         $(objpfx),$(binaries-bounded))): Remove rule.
30551         ($(objpfx)%-bp.out): Remove rule.
30552         * config.make.in (build-bounded): Remove variable.
30553         * crypt/Makefile [$(build-bounded) = yes]
30554         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30555         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30556         append to variable.
30557         [$(build-bounded) = yes] (install-lib): Likewise.
30558         [$(build-bounded) = yes] (generated): Likewise.
30559         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30560         Remove rule.
30561         * intl/Makefile [$(build-bounded) = yes]
30562         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30563         * math/Makefile [$(build-bounded) = yes]
30564         ($(tests:%=$(objpfx)%-bp): Likewise.
30565         * misc/Makefile [$(build-bounded) = yes]
30566         ($(objpfx)tst-tsearch-bp): Likewise.
30567         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30568         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30569         Remove dependency.
30570         * string/Makefile (o-objects.ob): Remove variable.
30571         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30572         (CFLAGS-.ob): Remove variable.
30573         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30574         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30575         both definitions of variable.
30576         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30577         (ASFLAGS-.ob): Remove variable.
30579 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30581         [BZ #13550]
30582         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30583         Remove __BOUNDED_POINTERS__ from condition.
30584         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30585         * string/bits/string2.h [!__NO_STRING_INLINES &&
30586         !__BOUNDED_POINTERS__]: Likewise.
30587         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30588         Likewise.
30589         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30590         Remove conditional code.
30591         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30592         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30593         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30594         condition.
30596         [BZ #13550]
30597         * csu/libc-start.c: Do not include <bp-sym.h>.
30598         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30599         * elf/dl-open.c: Do not include <bp-sym.h>.
30600         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30601         * math/fegetenv.c: Do not include <bp-sym.h>.
30602         (fegetenv): Do not use BP_SYM in versioned symbols.
30603         * nptl/sysdeps/pthread/bits/libc-lockP.h
30604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30605         <bp-sym.h>.
30606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30607         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30609         (__pthread_mutex_destroy): Likewise.
30610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30611         (__pthread_mutex_lock): Likewise.
30612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30613         (__pthread_mutex_trylock): Likewise.
30614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30615         (__pthread_mutex_unlock): Likewise.
30616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30617         (__pthread_mutexattr_init): Likewise.
30618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30619         (__pthread_mutexattr_destroy): Likewise.
30620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30621         (__pthread_mutexattr_settype): Likewise.
30622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30623         (__pthread_rwlock_init): Likewise.
30624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30625         (__pthread_rwlock_destroy): Likewise.
30626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30627         (__pthread_rwlock_rdlock): Likewise.
30628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30629         (__pthread_rwlock_tryrdlock): Likewise.
30630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30631         (__pthread_rwlock_wrlock): Likewise.
30632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30633         (__pthread_rwlock_trywrlock): Likewise.
30634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30635         (__pthread_rwlock_unlock): Likewise.
30636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30637         (__pthread_key_create): Likewise.
30638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30639         (__pthread_setspecific): Likewise.
30640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30641         (__pthread_getspecific): Likewise.
30642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30643         Likewise.
30644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30645         (_pthread_cleanup_push_defer): Likewise.
30646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30647         (_pthread_cleanup_pop_restore): Likewise.
30648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30649         (pthread_setcancelstate): Likewise.
30650         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30651         <bp-sym.h>.
30652         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30653         (memchr): Do not use BP_SYM in weak_alias.
30654         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30655         (fegetenv): Do not use BP_SYM in versioned symbols.
30656         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30657         (fesetenv): Do not use BP_SYM in versioned symbols.
30658         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30659         (feupdateenv): Do not use BP_SYM in versioned symbols.
30660         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30661         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30662         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30663         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30664         (open64): Do not use BP_SYM in weak_alias.
30665         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30666         (fegetenv): Do not use BP_SYM in versioned symbols.
30667         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30668         (fesetenv): Do not use BP_SYM in versioned symbols.
30669         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30670         (feupdateenv): Do not use BP_SYM in versioned symbols.
30671         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30672         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30673         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30674         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30675         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30676         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30678         <bp-sym.h>.
30679         (__libc_start_main): Do not use BP_SYM.
30681 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30684         redundant return line.
30685         (norm): Likewise.
30686         (denorm): Likewise.
30687         (dbl_mp): Likewise.
30688         (sub_magnitudes): Likewise.
30689         (__add): Likewise.
30690         (__sub): Likewise.
30691         (__mul): Likewise.
30692         (__inv): Likewise.
30693         (__dvd): Likewise.
30694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30695         (norm): Likewise.
30696         (denorm): Likewise.
30697         (dbl_mp): Likewise.
30698         (sub_magnitudes): Likewise.
30699         (__add): Likewise.
30700         (__sub): Likewise.
30701         (__mul): Likewise.
30702         (__inv): Likewise.
30703         (__dvd): Likewise.
30705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30706         instead of __mul.
30707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30708         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30709         (cc32): Likewise.
30711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30712         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30714         of __mul for squares.
30715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30716         function
30717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30718         Likewise.
30719         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30722 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30724         [BZ #13550]
30725         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30726         code.
30727         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30728         prototype or function definition.  Rename ubp_* variables and
30729         parameters.  Remove argv definitions conditional on
30730         [__BOUNDED_POINTERS__].
30731         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30732         * elf/dl-runtime.c (_dl_fixup): Likewise.
30733         * include/set-hooks.h (RUN_HOOK): Likewise.
30734         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30735         definition.
30736         * string/strcpy.c (strcpy): Do not use __unbounded.
30737         * sysdeps/generic/frame.h (struct layout): Likewise.
30738         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30739         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30740         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30741         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30742         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30743         (__backtrace): Likewise.
30744         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30745         use __ptrvalue.
30746         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30748         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30749         Likewise.
30750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30753         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30754         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30755         Do not use __unbounded.
30756         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30757         Rename __unboundedrlimits parameter to rlimits in prototype.
30758         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30759         Do not use __unbounded.
30760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30761         not use __ptrvalue.
30762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30763         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30765         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30766         __ptrvalue or __unbounded.
30767         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30768         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30769         use __unbounded.
30770         (__new_msgctl): Do not use __ptrvalue.
30771         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30772         __unbounded.
30773         (__libc_msgrcv): Do not use __ptrvalue.
30774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30775         startup_info): Do not use __unbounded.
30776         (__libc_start_main): Likewise.  Rename ubp_* variables and
30777         parameters.  Remove argv definitions conditional on
30778         [__BOUNDED_POINTERS__].
30779         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30780         __ptrvalue.
30781         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30782         use __unbounded.
30783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30784         or __ptrvalue.
30785         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30786         use __unbounded.
30787         (__new_shmctl): Do not use __ptrvalue.
30788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30790         Likewise.
30791         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30793         (__libc_sigaction): Likewise.
30794         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30796         Likewise.
30797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30799 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30801         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30803         * string/mempcpy.c: Implement by calling memcpy.
30805 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30810         evaluation.
30812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30813         values in the mantissa.
30815         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30816         minimize writes to Z.
30817         (sub_magnitudes): Simplify code a bit.
30819 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30821         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30822         from the message.  The linker prefixes all warnings with that already.
30824 2013-02-12  Andreas Schwab  <schwab@suse.de>
30826         [BZ #15078]
30827         * posix/regexec.c (extend_buffers): Add parameter min_len.
30828         (check_matching): Pass minimum needed length.
30829         (clean_state_log_if_needed): Likewise.
30830         (get_subexp): Likewise.
30831         * posix/Makefile (tests): Add bug-regex34.
30832         (bug-regex34-ENV): Define.
30833         * posix/bug-regex34.c: New file.
30835         [BZ #11561]
30836         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30837         elements compare against the byte sequence of it, not its name.
30838         * posix/Makefile (tests): Add bug-regex35.
30839         (bug-regex35-ENV): Define.
30840         * posix/bug-regex35.c: New file.
30842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30844         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30845         comment.
30846         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30847         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30848         (CHECK_EOL): Add undef.
30850 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30852         * bits/stdlib-bsearch.h: New file.
30853         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30854         * stdlib/stdlib.h: Likewise.
30856 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30858         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30859         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30860         declaration.
30861         * manual/search.texi (Array Search Function): Add missing const in
30862         lfind prototype.
30863         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30864         declaration to use rlim_t.
30865         (Basic Scheduling Functions): Remove erroneous const from
30866         sched_getparam prototype.  Remove erroneous * from
30867         sched_get_priority_max and sched_get_priority_min prototypes.
30868         (Resource Usage): Fix summary @comment on vtimes to refer to
30869         sys/vtimes.h rather than vtimes.h.
30870         Add missing *s in vtimes prototype.
30871         (Limits on Resources): Fix ulimit prototype to return long int.
30872         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30873         prototypes to use long int rather than double.
30874         (BSD Random): Fix initstate and setstate to use char *, not void *.
30875         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30876         prototype to make second argument 'struct aiocb64 *const[]'.
30877         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30878         (Status of AIO Operations): Remove erroneous const in aio_return and
30879         aio_return64 prototypes.
30880         (Synchronizing I/O): Fix sync prototype to return void.
30881         * manual/startup.texi (Suboptions): Remove an erroneous const in
30882         getsubopt prototype.
30883         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30884         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30885         use size_t rather than int.
30886         (Scanning All Users): Likewise for getpwent_r.
30887         (Setting Groups): Add missing const to setgroups prototype.
30888         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30889         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30890         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30891         'const void *' rather than 'const char *'.
30892         (Host Address Functions): Likewise for inet_ntop.
30893         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30894         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30895         ssize_t for return value.
30896         (Sending Data): Likewise for send, sendto, sendmsg.
30897         (Socket Option Functions): Add a missing const in setsockopt prototype.
30898         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30899         use wchar_t for the argument.
30900         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30901         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30902         take no arguments.
30903         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30904         double/float/long double for second argument.
30905         Fix return types of significand, significandf, significandl.
30906         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30907         argument in fchmod prototype.
30908         (File Owner): Use uid_t and gid_t in fchown prototype.
30909         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30910         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30911         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30912         use 'const struct dirent **' as argument types to CMP function pointer
30913         argument.
30914         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30915         (File Times): Fix summary magic @comment for struct utimbuf and utime
30916         to refer to utime.h, not time.h.
30917         * manual/string.texi (Argz Functions): Add missing const in
30918         argz_extract and argz_next prototypes.
30919         (Finding Tokens in a String): Likewise for basename.
30920         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30921         (Copying and Concatenation): Fix typo in wmemmove prototype.
30922         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30923         (Signal Stack): Remove erroneous const in sigstack prototype.
30924         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30925         prototype.
30926         (Simple Calendar Time): Likewise for stime.
30927         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30928         prototype.
30929         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30930         say sys/sysctl.h instead.
30931         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30932         and vsyslog prototypes.
30934 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30936         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30937         Remove.
30939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30941         * misc/sys/mman.h: Fix typo in mremap comment.
30943 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30945         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30946         the '\0' terminator.
30948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30950         [BZ #13550]
30951         * debug/segfault.c: Don't include <bp-checks.h>.
30952         * sysdeps/generic/bp-checks.h: Remove file.
30953         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30954         (__GETDENTS): Don't use CHECK_N.
30955         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30957         (__getgroups): Don't use CHECK_N.
30958         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30959         (setgroups): Don't use CHECK_N.
30960         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30961         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30962         (__libc_msgrcv): Don't use CHECK_N.
30963         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30964         (__libc_msgsnd): Don't use CHECK_N.
30965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30966         <bp-checks.h>.
30967         (__libc_pread): Don't use CHECK_N.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30969         include <bp-checks.h>.
30970         (__libc_pread64): Don't use CHECK_N.
30971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30972         include <bp-checks.h>.
30973         (__libc_pwrite): Don't use CHECK_N.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30975         include <bp-checks.h>.
30976         (__libc_pwrite64): Don't use CHECK_N.
30977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30978         <bp-checks.h>.
30979         (__libc_pread): Don't use CHECK_N.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30981         include <bp-checks.h>.
30982         (__libc_pread64): Don't use CHECK_N.
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30984         include <bp-checks.h>.
30985         (__libc_pwrite): Don't use CHECK_N.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30987         include <bp-checks.h>.
30988         (__libc_pwrite64): Don't use CHECK_N.
30989         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30990         (do_pread): Don't use CHECK_N.
30991         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30992         (do_pread64): Don't use CHECK_N.
30993         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30994         (do_pwrite): Don't use CHECK_N.
30995         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30996         (do_pwrite64): Don't use CHECK_N.
30997         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30998         (__libc_readv): Don't use CHECK_N.
30999         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31000         (semop): Don't use CHECK_N.
31001         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31002         <bp-checks.h>.
31003         (semtimedop): Don't use CHECK_N.
31004         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31005         (__libc_pread): Don't use CHECK_N.
31006         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31007         <bp-checks.h>.
31008         (__libc_pread64): Don't use CHECK_N.
31009         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31010         <bp-checks.h>.
31011         (__libc_pwrite): Don't use CHECK_N.
31012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31013         <bp-checks.h>.
31014         (__libc_pwrite64): Don't use CHECK_N.
31015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31016         <bp-checks.h>.
31017         (__libc_msgrcv): Don't use CHECK_N.
31018         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31019         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31020         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31021         (__libc_writev): Don't use CHECK_N.
31023 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31025         * string/strcpy.c: Removed unused variable.
31027         * Makeconfig (+sysdep-includes): Define with := rather than =.
31028         Use an existing include/ subdir of each sysdeps dir before it.
31030 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31032         * nscd/connection.c (register_traced_file): Comment function.
31033         [HAVE_INOTIFY] (union __inev): Define.
31034         [HAVE_INOTIFY] (inotify_check_files): New function.
31035         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31036         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31037         clear_db_cache.
31038         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31042         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31043         loaded if not already and that a failure is permanent.
31045 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31047         [BZ #15006]
31048         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31049         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31053         [BZ #13550]
31054         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31055         (CHECK_1_NULL_OK): Likewise.
31056         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31057         (__fxstat): Do not use CHECK_1.
31058         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31059         <bp-checks.h>.
31060         (___fxstat64): Do not use CHECK_1.
31061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31062         <bp-checks.h>.
31063         (__fxstatat): Do not use CHECK_1.
31064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31065         <bp-checks.h>.
31066         (__fxstatat64): Do not use CHECK_1.
31067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31068         <bp-checks.h>.
31069         (__fxstat): Do not use CHECK_1.
31070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31071         <bp-checks.h>.
31072         (__fxstatat): Do not use CHECK_1.
31073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31074         <bp-checks.h>.
31075         (__getresgid): Do not use CHECK_1.
31076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31077         <bp-checks.h>.
31078         (__getresuid): Do not use CHECK_1.
31079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31080         <bp-checks.h>.
31081         (__lxstat): Do not use CHECK_1.
31082         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31083         <bp-checks.h>.
31084         (__old_msgctl): Do not use CHECK_1.
31085         (__new_msgctl): Likewise.
31086         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31087         <bp-checks.h>.
31088         (__new_setrlimit): Do not use CHECK_1.
31089         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31090         <bp-checks.h>.
31091         (__old_shmctl): Do not use CHECK_1.
31092         (__new_shmctl): Likewise.
31093         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31094         <bp-checks.h>.
31095         (__xstat): Do not use CHECK_1.
31096         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31097         (__lxstat): Do not use CHECK_1.
31098         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31099         <bp-checks.h>.
31100         (___lxstat64): Do not use CHECK_1.
31101         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31102         (__old_msgctl): Do not use CHECK_1.
31103         (__new_msgctl): Likewise.
31104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31105         <bp-checks.h>.
31106         (__gettimeofday): Do not use CHECK_1.
31107         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31108         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31109         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31110         <bp-checks.h>.
31111         (__gettimeofday): Do not use CHECK_1.
31112         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31113         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31114         (__new_shmctl): Do not use CHECK_1.
31115         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31116         <bp-checks.h>.
31117         (do_sigtimedwait): Do not use CHECK_1.
31118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31119         <bp-checks.h>.
31120         (do_sigwaitinfo): Do not use CHECK_1.
31121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31122         <bp-checks.h>.
31123         (msgctl): Do not use CHECK_1.
31124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31125         <bp-checks.h>.
31126         (shmctl): Do not use CHECK_1.
31127         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31128         (ustat): Do not use CHECK_1.
31129         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31130         <bp-checks.h>.
31131         (__fxstat): Do not use CHECK_1.
31132         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31133         <bp-checks.h>.
31134         (__fxstatat): Do not use CHECK_1.
31135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31136         <bp-checks.h>.
31137         (__lxstat): Do not use CHECK_1.
31138         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31139         <bp-checks.h>.
31140         (__xstat): Do not use CHECK_1.
31141         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31142         (__xstat): Do not use CHECK_1.
31143         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31144         (___xstat64): Do not use CHECK_1.
31146         [BZ #13550]
31147         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31148         definitions.
31149         (CHECK_BOUNDS_HIGH): Likewise.
31150         * string/strcpy.c: Do not include <bp-checks.h>.
31151         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31153 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31155         * nscd/nscd-client.h (__nscd_drop_map_ref):
31156         Add __attribute__ ((unused)).
31157         * nis/nss-nisplus.h (niserr2nss): Likewise.
31159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31160         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31162         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31163         Remove inline keyword.
31164         * include/rounding-mode.h (round_away): Likewise.
31165         * libio/wfileops.c (adjust_wide_data): Likewise.
31166         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31167         (__m128i_strloadu_tolower): Likewise.
31168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31169         (__m128i_strloadu_tolower): Likewise.
31170         * time/mktime.c (ydhms_diff): Likewise.
31171         * locale/elem-hash.h (elem_hash): Likewise.
31172         * locale/setlocale.c (setdata): Likewise.
31173         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31174         (re_string_wchar_at): Likewise.
31175         (bitset_not, bitset_merge, bitset_mask): Likewise.
31176         [!(__GNUC__ > 3)] (inline): Remove macro.
31177         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31178         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31179         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31180         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31181         * string/memcmp.c (memcmp_bytes): Likewise.
31182         * locale/programs/locarchive.c (compute_hashval): Likewise.
31183         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31184         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31185         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31186         * nss/getent.c (print_rpc, print_protocols): Likewise.
31187         (print_passwd, print_group, print_aliases): Likewise.
31188         * nis/nss-nisplus.h (niserr2nss): Likewise.
31189         * nscd/connections.c (restart_p): Likewise.
31190         Change return type to bool.
31192 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31194         * Makeconfig (all-Depend-files): Add existing
31195         $(sorted-subdirs:=/Depend) files.
31196         (all-subdirs): Remove nss.
31197         * sysdeps/unix/inet/Subdirs: Add it here instead.
31198         * hesiod/Depend: New file.
31200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31201         instead of calling alloca.
31203         * io/lseek.c (__lseek): Rename to __libc_lseek.
31204         Define __lseek as an alias.
31206         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31208 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31210         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31211         else clause and remove check for non-standard endianness.
31213 2013-02-04  David S. Miller  <davem@davemloft.net>
31215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31217 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31219         [BZ #13550]
31220         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31221         (__ubp_memchr): Remove prototype.
31222         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31223         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31224         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31225         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31226         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31227         Remove alias.
31228         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31229         (__ubp_memchr): Likewise.
31230         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31231         (__ubp_memchr): Likewise.
31232         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31233         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31234         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31236         CHECK_STRING.
31237         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31238         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31239         (__getcwd): Do not use CHECK_STRING.
31240         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31241         <bp-checks.h>.
31242         (__real_chown): Do not use CHECK_STRING.
31243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31244         <bp-checks.h>.
31245         (fchownat): Do not use CHECK_STRING.
31246         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31247         CHECK_STRING.
31248         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31249         <bp-checks.h>.
31250         (__lchown): Do not use CHECK_STRING.
31251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31252         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31254         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31256         include <bp-checks.h>.
31257         (truncate64): Do not use CHECK_STRING.
31258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31259         <bp-checks.h>.
31260         (__real_chown): Do not use CHECK_STRING.
31261         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31262         <bp-checks.h>.
31263         (__lchown): Do not use CHECK_STRING.
31264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31265         <bp-checks.h>.
31266         (__chown): Do not use CHECK_STRING.
31267         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31268         <bp-checks.h>.
31269         (truncate64): Do not use CHECK_STRING.
31270         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31271         Likewise.
31272         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31273         (__xmknod): Do not use CHECK_STRING.
31274         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31275         <bp-checks.h>.
31276         (__xmknodat): Do not use CHECK_STRING.
31277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31278         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31280 2013-02-04  Andreas Schwab  <schwab@suse.de>
31282         [BZ #14142]
31283         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31284         * include/netdb.h: Likewise for h_errno.
31285         * elf/tst-stackguard1.c: Include <tls.h>.
31287 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31289         * elf/link.h (struct link_map): Extend the l_addr comment.
31290         * include/link.h (struct link_map): Likewise.
31292 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31294         [BZ #13550]
31295         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31296         (BOUNDED_1): Remove macro.
31297         * debug/backtrace.c: Don't include <bp-checks.h>.
31298         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31299         (__backtrace): Likewise.
31300         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31301         <bp-checks.h>.
31302         (__backtrace): Don't use BOUNDED_1.
31303         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31304         <bp-checks.h>.
31305         (__backtrace): Don't use BOUNDED_1.
31306         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31307         (__backtrace): Don't use BOUNDED_1.
31308         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31309         (shmat): Don't use BOUNDED_N.
31311 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31313         [BZ #13550]
31314         * sysdeps/generic/bp-start.h: Remove file.
31315         * csu/libc-start.c: Don't include <bp-start.h>.
31316         (LIBC_START_MAIN): Set up __environ directly instead of using
31317         INIT_ARGV_and_ENVIRON.
31318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31319         <bp-start.h>.
31321         [BZ #13550]
31322         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31323         definitions.
31324         (CHECK_FCNTL): Likewise.
31325         (CHECK_N_PAGES): Likewise.
31327         [BZ #13550]
31328         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31329         definitions.
31330         (CHECK_SIGSET_NULL_OK): Likewise.
31331         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31332         <bp-checks.h>.
31333         (sigpending): Don't use CHECK_SIGSET.
31334         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31335         <bp-checks.h>.
31336         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31337         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31338         <bp-checks.h>.
31339         (do_sigsuspend): Don't use CHECK_SIGSET.
31340         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31341         use CHECK_SIGSET.
31342         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31343         (do_sigwait): Don't use CHECK_SIGSET.
31344         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31345         use CHECK_SIGSET.
31346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31347         include <bp-checks.h>.
31348         (sigpending): Don't use CHECK_SIGSET.
31349         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31350         include <bp-checks.h>.
31351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31352         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31353         <bp-checks.h>.
31354         (sigpending): Don't use CHECK_SIGSET.
31355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31356         <bp-checks.h>.
31357         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31359         [BZ #13550]
31360         * sysdeps/generic/bp-semctl.h: Remove file.
31361         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31362         <bp-checks.h> and <bp-semctl.h>.
31363         (__old_semctl): Don't use CHECK_SEMCTL.
31364         (__new_semctl): Likewise.
31365         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31366         and <bp-semctl.h>.
31367         (__old_semctl): Don't use CHECK_SEMCTL.
31368         (__new_semctl): Likewise.
31369         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31370         <bp-checks.h> and <bp-semctl.h>.
31371         (__old_semctl): Don't use CHECK_SEMCTL.
31372         (__new_semctl): Likewise.
31373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31374         <bp-checks.h> and <bp-semctl.h>.
31375         (semctl): Don't use CHECK_SEMCTL.
31377         [BZ #13550]
31378         * Makerules (elide-bp-thunks): Remove variable.
31379         (elide-routines.oS): Don't use $(elide-bp-thunks).
31380         (elide-routines.os): Likewise.
31381         (elide-routines.o): Likewise.
31382         (elide-routines.op): Likewise.
31383         (elide-routines.og): Likewise.
31384         (objects): Don't use $(bp-thunks).
31385         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31386         include.
31387         (common-generated): Do not add s-proto-bp.d.
31388         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31389         (int): Likewise.
31390         (typ): Likewise.
31391         Do not generate makefile rules for bounded-pointer thunks.
31392         * sysdeps/generic/bp-thunks.h: Remove file.
31393         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31394         * sysdeps/unix/s-proto-bp.S: Likewise.
31396         [BZ #15062]
31397         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31398         parts of result separately when argument is not close to line from
31399         -i to i and one part of argument is small.
31400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31402         * math/libm-test.inc (cacos_test): Add more tests.
31403         (casin_test): Likewise.
31404         (casinh_test): Likewise.
31405         * sysdeps/i386/fpu/libm-test-ulps: Update.
31406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31408 2013-01-31  David S. Miller  <davem@davemloft.net>
31410         * po/de.po: Update from translation team.
31412 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31414         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31416 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31418         * configure.in (_AC_PROG_CC_C89): New definition.
31419         * configure: Regenerate.
31421         * configure.in (AC_PROG_CPP): New definition.
31422         * configure: Regenerate.
31424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31426         * debug/tst-backtrace.h: New file.
31427         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31428         (ret): Remove variable.
31429         (x): Likewise.
31430         (FAIL): Remove macro.
31431         (NO_INLINE): Likewise.
31432         (fn1): Use match function instead of strstr.
31433         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31434         (ret): Remove variable.
31435         (x): Likewise.
31436         (FAIL): Remove macro.
31437         (NO_INLINE): Likewise.
31438         (fn): Use match function instead of strstr.
31439         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31440         (ret): Remove variable.
31441         (x): Likewise.
31442         (FAIL): Remove macro.
31443         (NO_INLINE): Likewise.
31444         (handle_signal): Use match function instead of strstr.
31445         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31446         (ret): Remove variable.
31447         (x): Likewise.
31448         (FAIL): Remove macro.
31449         (NO_INLINE): Likewise.
31450         (handle_signal): Use match function instead of strstr.
31452 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31454         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31456 2013-01-23  David S. Miller  <davem@davemloft.net>
31458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31459         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31460         argument of CAS if possible.
31461         * sysdeps/sparc/sparc64/bits/atomic.h
31462         (__arch_compare_and_exchange_val_32_acq): Likewise.
31463         (__arch_compare_and_exchange_val_64_acq): Likewise.
31465 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31467         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31468         * sysdeps/posix/ulimit.c: ... this.
31469         Include <limits.h>.
31470         * sysdeps/unix/bsd/ulimit.c: Remove file.
31472 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31474         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31475         (LDFLAGS-tst-array5): Likewise.
31477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31479         [BZ #15036]
31480         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31481         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31482         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31485 2013-01-21  David S. Miller  <davem@davemloft.net>
31487         * sysdeps/sparc/backtrace.c: New file.
31488         * sysdeps/sparc/sparc32/backtrace.h: New file.
31489         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31490         * sysdeps/sparc/sparc64/backtrace.h: New file.
31491         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31492         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31493         -funwind-tables.
31495 2013-01-21  Andreas Schwab  <schwab@suse.de>
31497         [BZ #15020]
31498         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31499         closed its stdout.
31501 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31504         "mpa2.h".
31505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31507 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31508             Mark Mitchell  <mark@codesourcery.com>
31509             Tom de Vries  <tom@codesourcery.com>
31510             Paul Pluzhnikov  <ppluzhnikov@google.com>
31512         * debug/tst-backtrace2.c: New file.
31513         * debug/tst-backtrace3.c: Likewise.
31514         * debug/tst-backtrace4.c: Likewise.
31515         * debug/tst-backtrace5.c: Likewise.
31516         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31517         (CFLAGS-tst-backtrace3.c): Likewise.
31518         (CFLAGS-tst-backtrace4.c): Likewise.
31519         (CFLAGS-tst-backtrace5.c): Likewise.
31520         (LDFLAGS-tst-backtrace2): Likewise.
31521         (LDFLAGS-tst-backtrace3): Likewise.
31522         (LDFLAGS-tst-backtrace4): Likewise.
31523         (LDFLAGS-tst-backtrace5): Likewise.
31524         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31525         tst-backtrace4 and tst-backtrace5.
31527 2013-01-18  Anton Blanchard  <anton@samba.org>
31528             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31531         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31533         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31535         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31536         "+r" and remove output regs list as redundant.  Add explicit inline
31537         asm to specify register of return val to work around compiler codegen
31538         bug.  Remove (int) cast on return value.  Add return type parameter to
31539         use in macro so that this macro does not truncate return value for
31540         64-bit values.
31541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31542         pass to INTERNAL_VSYSCALL_NCS.
31543         (INLINE_VSYSCALL): Add 'long int' as return type to
31544         INTERNAL_VSYSCALL_NCS macro invocation.
31545         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31546         INTERNAL_VSYSCALL_NCS macro invocation.
31547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31549 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31551         [BZ #14496]
31552         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31553         Fix application of SIMD FP exception mask.
31555         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31556         mp_no from a power of two.
31557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31558         __mpexp_twomm1.  Use __pow_mp.
31560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31561         multiplication.
31563 2013-01-17  David S. Miller  <davem@davemloft.net>
31565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31567 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31569         [BZ #15023]
31570         * include/complex.h: Condition contents on [!_COMPLEX_H].
31571         (__kernel_casinhf): New prototype.
31572         (__kernel_casinh): Likewise.
31573         (__kernel_casinhl): Likewise.
31574         * math/Makefile (libm_calls): Add k_casinh.
31575         * math/k_casinh.c: New file.
31576         * math/k_casinhf.c: Likewise.
31577         * math/k_casinhl.c: Likewise.
31578         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31579         finite nonzero arguments.
31580         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31581         finite nonzero arguments.
31582         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31583         finite nonzero arguments.
31584         * math/s_casinh.c: Do not include <float.h>.
31585         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31586         * math/s_casinhf.c: Do not include <float.h>.
31587         (__casinhf): Move code for finite nonzero arguments to
31588         k_casinhf.c.
31589         * math/s_casinhl.c: Do not include <float.h>.
31590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31591         redefine.
31592         (__casinhl): Move code for finite nonzero arguments to
31593         k_casinhl.c.
31594         * math/libm-test.inc (cacos_test): Add more tests.
31595         * sysdeps/i386/fpu/libm-test-ulps: Update.
31596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31598 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31600         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31601         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31602         [!HAVE_MREMAP]: Remove [defined linux] case.
31603         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31605 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31607         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31609 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31611         * elf/elf.h (R_386_SIZE32): New relocation.
31612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31613         R_386_SIZE32.
31614         (elf_machine_rela): Likewise.
31615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31616         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31620         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31621         (FP_FAST_FMA): Do not define.
31622         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31623         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31624         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31625         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31626         !_SOFT_FLOAT]: Likewise.
31627         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31628         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31629         value.
31630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31631         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31633         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31634         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31635         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31636         file.
31638 2013-01-16  Andreas Schwab  <schwab@suse.de>
31640         [BZ #14327]
31641         * include/stdlib.h (__mktemp): Add declaration.
31642         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31643         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31645 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31647         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31648         definitions.
31649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31650         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31651         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31652         definitions here.
31653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31654         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31655         definitions.
31656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31657         and ONE.
31658         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31659         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31661         definitions.
31662         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31663         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31664         definitions.
31665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31667         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31669 2013-01-15  David S. Miller  <davem@davemloft.net>
31671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31672         trunc{,f} to libm-sysdep_routes.
31673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31675         file.
31676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31678         file.
31679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31680         file.
31681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31687         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31688         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31691         nearbyint{,f} to libm-sysdep_routes.
31692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31694         New file.
31695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31696         file.
31697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31698         New file.
31699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31700         file.
31701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31704         file.
31705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31706         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31707         file.
31708         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31709         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31710         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31713         libc_feholdexcept and libc_fesetenv.
31715 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31717         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31719 2013-01-14  David S. Miller  <davem@davemloft.net>
31721         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31722         (SPARC_ASM_VIS2_IFUNC): Likewise.
31723         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31725         use of 'siam' instruction.
31726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31727         Likewise.
31728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31729         Likewise.
31730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31731         Likewise.
31732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31737         file.
31738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31739         file.
31740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31741         file.
31742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31743         file.
31744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31749         new VIS2 routines.
31750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31753         Likewise.
31754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31759         routines to libm-sysdep_routines.
31760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31763         fdim/fdimf to libm-sysdep_routines.
31764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31765         file.
31766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31768         file.
31769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31772         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31773         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31774         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31775         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31777 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31780         to optimize copies.
31782         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31787         local variable MPTWO.
31788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31789         Likewise.
31791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31793         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31794         GLOB_NOESCAPE.
31796 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31798         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31802         * manual/pattern.texi (glob_t): Document gl_flags.
31803         (glob64_t): Likewise.
31805 2013-01-11  David S. Miller  <davem@davemloft.net>
31807         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31808         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31809         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31810         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31811         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31812         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31813         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31814         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31815         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31816         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31818         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31819         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31822         sparc V9 rather than using V8 code.
31823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31826         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31827         Move to...
31828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31829         Here.
31831 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31833         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31834         not in the main loop.
31835         * configure: Regenerated.
31837 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31839         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31840         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31841         to just #else.
31842         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31843         [!__GLIBC_HAVE_LONG_LONG] case.
31844         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31845         condition to just #else.
31846         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31847         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31848         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31849         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31850         unconditional.
31851         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31852         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31853         #elif condition to just #else.
31854         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31855         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31856         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31857         #elif condition to just #else.
31859 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31861         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31862         (EF_MIPS_ARCH_64): Fix value.
31863         (EF_MIPS_ARCH_32R2): New.
31864         (EF_MIPS_ARCH_64R2): New.
31866 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31868         * Makeconfig (+link-pie-before-libc): New.
31869         (+link-pie-after-libc): Likewise.
31870         (+link-pie-tests): Likewise.
31871         (+link-pie): Rewritten.
31872         (link-before-libc): Remove $(config-LDFLAGS).
31873         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31874         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31875         (config-LDFLAGS): Renamed to ...
31876         (rtld-LDFLAGS): This.
31877         (rtld-tests-LDFLAGS): New macro.
31878         (link-libc-rpath-link): Likewise.
31879         (link-libc-tests-rpath-link): Likewise.
31880         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31881         (link-libc): Prepand $(link-libc-rpath-link).
31882         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31883         (test-program-prefix): New macro.
31884         (test-via-rtld-prefix): Likewise.
31885         (test-program-cmd): Likewise.
31886         (host-test-program-cmd): Likewise.
31887         * Makefile ($(common-objpfx)testrun.sh): Replace
31888         $(run-program-prefix) with $(test-program-prefix).
31889         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31890         $(rtld-LDFLAGS).
31891         ($(common-objpfx)shlib.lds): Likewise.
31892         (build-module-helper): Likewise.
31893         ($(common-objpfx)format.lds): Likewise.
31894         * Rules (binaries-pie-tests): New.
31895         (binaries-pie-notests): Likewise.
31896         (binaries-pie): Rewritten.
31897         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31898         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31899         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31900         (make-test-out): Replace $(host-built-program-cmd) with
31901         $(host-test-program-cmd).
31902         * config.make.in (build-hardcoded-path-in-tests): New variable.
31903         * configure.in (--enable-hardcoded-path-in-tests): New configure
31904         option.
31905         (hardcoded_path_in_tests): New AC_SUBST.
31906         * configure: Regenerated.
31907         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31908         $(built-program-cmd) with $(test-program-cmd).
31909         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31910         (test_program_cmd): This.
31911         * elf/Makefile ($(objpfx)order.out): Run test with
31912         $(test-program-prefix).
31913         ($(objpfx)order2.out): Likewise.
31914         ($(objpfx)tst-initorder.out): Likewise.
31915         ($(objpfx)tst-initorder2.out): Likewise.
31916         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31917         $(test-program-cmd).
31918         ($(objpfx)tst-array1-static.out): Likewise.
31919         ($(objpfx)tst-array2.out): Likewise.
31920         ($(objpfx)tst-array3.out): Likewise.
31921         ($(objpfx)tst-array4.out): Likewise.
31922         ($(objpfx)tst-array5.out): Likewise.
31923         ($(objpfx)tst-array5-static.out): Likewise.
31924         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31925         $(test-program-cmd).
31926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31927         $(run-program-prefix) with $(test-program-prefix).
31928         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31929         (test_program_prefix): This.
31930         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31931         $(run-program-prefix) with $(test-program-prefix).
31932         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31933         (test_program_prefix): This.
31934         * iconvdata/tst-tables.sh: Likewise.
31935         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31936         $(run-program-prefix) with $(test-program-prefix).
31937         ($(objpfx)tst-translit.out): Likewise.
31938         ($(objpfx)tst-gettext2.out): Likewise.
31939         ($(objpfx)tst-gettext4.out): Likewise.
31940         ($(objpfx)tst-gettext6.out): Likewise.
31941         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31942         (test_program_prefix): This.
31943         * intl/tst-gettext2.sh: Likewise.
31944         * intl/tst-gettext4.sh  Likewise.
31945         * intl/tst-gettext6.sh: Likewise.
31946         * intl/tst-translit.sh: Likewise.
31947         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31948         with $(test-program-cmd).
31949         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31950         $(run-program-prefix) with $(test-program-prefix).
31951         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31952         (test_program_prefix): This.
31953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31954         $(run-program-prefix) with $(test-program-prefix).
31955         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31956         (test_program_prefix): This.
31957         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31958         * posix/Makefile ($(objpfx)globtest.out): Replace
31959         $(run-via-rtld-prefix) and $(test-wrapper) with
31960         $(test-program-prefix) and $(test-via-rtld-prefix).
31961         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31962         $(test-program-prefix).
31963         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31964         $(host-test-program-cmd).
31965         (tst-spawn-ARGS): Likewise.
31966         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31967         $(test-program-prefix).
31968         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31969         (test_via_rtld_prefix): This.
31970         (test_wrapper): Renamed to ...
31971         (test_program_prefix): This.
31972         (run_program_prefix): Replaced by test_program_prefix.
31973         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31974         (test_program_prefix): This.
31975         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31976         with $(host-test-program-cmd).
31977         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31978         $(run-program-prefix) with $(test-program-prefix).
31979         ($(objpfx)tst-printf.out): Likewise.
31980         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31981         $(test-program-cmd).
31982         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31983         (test_program_prefix): This.
31984         * stdio-common/tst-unbputc.sh: Likewise.
31985         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31986         $(run-program-prefix) with $(test-program-prefix).
31987         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31988         (test_program_prefix): This.
31989         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31990         $(built-program-cmd) with $(test-program-cmd).
31992 2013-01-11  Andreas Jaeger  <aj@suse.de>
31994         [BZ #15003]
31995         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31996         value. Sync with Linux 3.7.
31998 2013-01-10  David S. Miller  <davem@davemloft.net>
32000         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32004 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32006         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32007         never set.
32008         * configure: Regenerated.
32010 2013-01-10  David S. Miller  <davem@davemloft.net>
32012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32013         sparc V9 rather than using V8 code.
32014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32019         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32020         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32021         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32022         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32023         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32024         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32025         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32026         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32027         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32028         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32029         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32030         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32031         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32032         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32033         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32034         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32035         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32036         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32037         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32038         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32039         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32040         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32041         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32042         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32043         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32044         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32045         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32047 2013-01-10  David S. Miller  <davem@davemloft.net>
32049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32051 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32053         * posix/Makefile (tests-static): New variable.
32054         (tests): Add $(tests-static).
32055         (tst-exec-static-ARGS): New variable.
32056         (tst-spawn-static-ARGS): Likewise.
32057         * posix/tst-exec-static.c: New file.
32058         * posix/tst-spawn-static.c: Likewise.
32059         * posix/tst-exec.c: Support run directly.
32060         * posix/tst-spawn.c: Likewise.
32062 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32064         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32065         long.
32066         * math/bits/mathcalls.h (llrint): Likewise.
32067         (llround): Likewise.
32068         * stdlib/stdlib.h (struct drand48_data): Likewise.
32069         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32070         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32071         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32072         Likewise.
32073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32074         Likewise.
32075         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32076         (elf_greg_t): Likewise.
32077         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32078         (__jmp_buf): Likewise.
32079         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32080         definitions.
32081         (llrint): Likewise, for all definitions.
32082         (llrintl): Likewise.
32084         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32085         Remove [__GNUC__] condition.
32086         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32087         condition to just [__USE_ISOC99].
32088         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32090 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32092         [BZ #14200]
32093         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32094         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32095         defined.
32096         (_POSIX_V6_ILP32_OFF32): Likewise.
32097         (_XBS5_ILP32_OFF32): Likewise.
32098         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32099         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32101 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32103         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32106         doubles __mpexp_twomm1.  Adjust usage.
32107         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32108         Remove.
32110 2013-01-10  Andreas Schwab  <schwab@suse.de>
32112         [BZ #14964]
32113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32114         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32116 2013-01-09  David S. Miller  <davem@davemloft.net>
32118         [BZ #15003]
32119         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32120         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32121         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32122         (TCP_FASTOPEN): Define.
32123         (tcp_repair_opt): New structure.
32124         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32125         enum values.
32126         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32127         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32128         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32129         (tcp_cookie_transactions): New structure.
32131 2013-01-09  Anton Blanchard  <anton@samba.org>
32133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32138 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32140         * include/features.h (__USE_ANSI): Remove.
32142 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32144         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32146         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32148 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32150         * sysdeps/s390/fpu/libm-test-ulps: Update.
32152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32154         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32155         (__acr): Likewise.
32156         (__cpy): Likewise.
32157         (norm): Likewise.
32158         (denorm): Likewise.
32159         (__mp_dbl): Likewise.
32160         (__dbl_mp): Likewise.
32161         (add_magnitudes): Likewise.
32162         (sub_magnitudes): Likewise.
32163         (__add): Likewise.
32164         (__sub): Likewise.
32165         (__mul): Likewise.
32166         (__inv): Likewise.
32167         (__dvd): Likewise.
32168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32169         (__acr): Likewise.
32170         (__cpy): Likewise.
32171         (norm): Likewise.
32172         (denorm): Likewise.
32173         (__mp_dbl): Likewise.
32174         (__dbl_mp): Likewise.
32175         (add_magnitudes): Likewise.
32176         (sub_magnitudes): Likewise.
32177         (__add): Likewise.
32178         (__sub): Likewise.
32179         (__mul): Likewise.
32180         (__inv): Likewise.
32181         (__dvd): Likewise.
32182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32183         (__acr): Likewise.
32184         (__cpy): Likewise.
32185         (norm): Likewise.
32186         (denorm): Likewise.
32187         (__mp_dbl): Likewise.
32188         (__dbl_mp): Likewise.
32189         (add_magnitudes): Likewise.
32190         (sub_magnitudes): Likewise.
32191         (__add): Likewise.
32192         (__sub): Likewise.
32193         (__mul): Likewise.
32194         (__inv): Likewise.
32195         (__dvd): Likewise.
32197 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32199         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32200         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32201         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32202         2 && __USE_EXTERN_INLINES]: Likewise.
32204 2013-01-08  Andreas Jaeger  <aj@suse.de>
32206         [BZ# 14985]
32207         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32208         Remove.
32209         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32210         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32212 2013-01-07  Anton Blanchard  <anton@samba.org>
32214         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32215         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32216         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32217         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32218         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32219         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32220         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32221         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32232         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32235         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32236         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32237         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32239         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32240         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32241         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32256         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32258 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32260         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32261         (__MALLOC_PMT): Likewise.
32262         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32263         [__GNUC__], only on [_LIBC].
32264         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32265         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32266         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32267         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32268         forward declaration.
32269         (realloc_hook_ini): Likewise.
32270         (memalign_hook_ini): Likewise.
32271         (__libc_memalign): Do not use __MALLOC_PMT in variable
32272         declaration.
32273         (__libc_valloc): Likewise.
32274         (__libc_pvalloc): Likewise.
32275         (__libc_calloc): Likewise.
32276         (__posix_memalign): Likewise.
32278         [BZ #14996]
32279         * math/s_casinh.c: Include <float.h>.
32280         (__casinh): Do not do computation with squaring and square root
32281         for large arguments.
32282         * math/s_casinhf.c: Include <float.h>.
32283         (__casinhf): Do not do computation with squaring and square root
32284         for large arguments.
32285         * math/s_casinhl.c: Include <float.h>.
32286         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32287         (__casinhl): Do not do computation with squaring and square root
32288         for large arguments.
32289         * math/libm-test.inc (casin_test): Add more tests.
32290         (casinh_test): Likewise.
32291         * sysdeps/i386/fpu/libm-test-ulps: Update.
32292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32294 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32296         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32297         (__x86_64_raw_data_cache_size): Likewise.
32298         (__x86_64_data_cache_size_half): Likewise.
32299         (__x86_64_raw_data_cache_size_half): Likewise.
32300         (__x86_64_shared_cache_size): Likewise.
32301         (__x86_64_raw_shared_cache_size): Likewise.
32302         (__x86_64_shared_cache_size_half): Likewise.
32303         (__x86_64_raw_shared_cache_size_half): Likewise.
32304         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32305         to ...
32306         (__x86_data_cache_size): This.
32307         (__x86_64_raw_data_cache_size): Renamed to ...
32308         (__x86_raw_data_cache_size): This.
32309         (__x86_64_data_cache_size_half): Renamed to ...
32310         (__x86_data_cache_size_half): This.
32311         (__x86_64_raw_data_cache_size_half): Renamed to ...
32312         (__x86_raw_data_cache_size_half): This.
32313         (__x86_64_shared_cache_size): Renamed to ...
32314         (__x86_shared_cache_size): This.
32315         (__x86_64_raw_shared_cache_size): Renamed to ...
32316         (__x86_raw_shared_cache_size): This.
32317         (__x86_64_shared_cache_size_half): Renamed to ...
32318         (__x86_shared_cache_size_half): This.
32319         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32320         (__x86_raw_shared_cache_size_half): This.
32321         * sysdeps/x86_64/memcpy.S: Updated.
32322         * sysdeps/x86_64/memset.S: Likewise.
32323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32327 2013-01-04  David S. Miller  <davem@davemloft.net>
32329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32331 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32334         1 to avoid redefinition warning.
32335         (__USE_GNU): Don't define.
32336         (init_signaling_nan): Protoize.
32338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32340 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32342         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32344         (__cpymn): Likewise.
32345         (norm): Remove commented code.
32346         (denorm): Likewise.
32347         (__mp_dbl): Likewise.
32348         (__inv): Likewise.
32349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32350         (__cpymn): Likewise.
32351         (norm): Remove commented code.
32352         (denorm): Likewise.
32353         (__mp_dbl): Likewise.
32354         (__inv): Likewise.
32356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32357         mp_no value for 1.0 and 2.0.
32358         (norm): Use RADIXI instead of radixi.d.
32359         (denorm): Likewise.
32360         (__mul): Use 0.0 instead of zero.d.
32361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32362         mp_no value for 1.0 and 2.0.
32363         (norm): Use RADIXI instead of radixi.d.
32364         (denorm): Likewise.
32365         (__mul): Use 0.0 instead of zero.d.
32367 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32369         [BZ #14994]
32370         * math/s_casinh.c (__casinh): Reduce finite argument to first
32371         quadrant then set signs of results at the end.
32372         * math/s_casinhf.c (__casinhf): Likewise.
32373         * math/s_casinhl.c (__casinhl): Likewise.
32374         * math/libm-test.inc (casin_test): Add more tests.
32375         (casinh_test): Likewise.
32376         * sysdeps/i386/fpu/libm-test-ulps: Update.
32377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32381         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32383         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32385         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32386         declarations.
32387         (denorm): Likewise.
32388         (__mp_dbl): Likewise.
32389         (__inv): Likewise.
32391         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32392         and adjust the header comment.
32394         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32395         variable name from declaration.
32397 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32400         Initialize COMMON_CPUID_INDEX_7 element.
32401         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32402         (CPUID_RTM): Likewise.
32403         (HAS_RTM): Likewise.
32404         (COMMON_CPUID_INDEX_7): New enum.
32406 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32408         [BZ #14981]
32409         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32410         size is zero, record memory as freed.
32412 2013-01-03  Andreas Jaeger  <aj@suse.de>
32414         * po/ia.po: Add new Interlingua translation.
32416 2012-01-03  Allan McRae  <allan@archlinux.org>
32418         * locale/programs/localedef.c: Fix description of '--posix' flag.
32420 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32422         * NEWS: Update dates in second copyright notice.
32423         * README: Update copyright dates in example.
32424         * manual/libc.texinfo: Update copyright dates.
32425         * scripts/test-installation.pl: Update copyright date in --version
32426         output.
32428         * hurd/ctty-input.c: Fix copyright notice formatting.
32429         * hurd/ctty-output.c: Likewise.
32430         * hurd/dtable.c: Likewise.
32431         * hurd/hurd-raise.c: Likewise.
32432         * hurd/hurdprio.c: Likewise.
32433         * hurd/msgportdemux.c: Likewise.
32434         * misc/sys/file.h: Likewise.
32435         * misc/sys/ioctl.h: Likewise.
32436         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32437         * sysdeps/mach/hurd/chdir.c: Likewise.
32438         * sysdeps/mach/hurd/fchdir.c: Likewise.
32439         * sysdeps/mach/hurd/rename.c: Likewise.
32440         * sysdeps/mach/hurd/rmdir.c: Likewise.
32441         * sysdeps/mach/hurd/seekdir.c: Likewise.
32442         * sysdeps/mach/hurd/setsid.c: Likewise.
32443         * sysdeps/posix/wait3.c: Likewise.
32445         * All files with FSF copyright notices: Update copyright dates
32446         using scripts/update-copyrights.
32447         * intl/plural.c: Regenerated.
32448         * locale/programs/charmap-kw.h: Likewise.
32449         * locale/programs/locfile-kw.h: Likewise.
32451 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32454         four values.
32456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32457         calculation loop and add branch prediction.
32459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32460         check access beyond bounds of m1np.
32462         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32463         MPTWO.
32464         (__inv): Remove local variable MPTWO to use the global
32465         constant.
32466         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32468         variable MPTWO.
32469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32470         MP3HALFS static const.
32472 2013-01-01  David S. Miller  <davem@davemloft.net>
32474         * po/ca.po: Update from translation team.
32476 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32478         * scripts/update-copyrights: New file.
32479         * Makeconfig: Reformat copyright notice.
32480         * ctype/ctype.h: Likewise.
32481         * debug/swprintf_chk.c: Likewise.
32482         * elf/dl-cache.c: Likewise.
32483         * elf/dl-debug.c: Likewise.
32484         * elf/dl-object.c: Likewise.
32485         * grp/initgroups.c: Likewise.
32486         * hurd/Makefile: Likewise.
32487         * hurd/hurd/signal.h: Likewise.
32488         * hurd/hurdfault.c: Likewise.
32489         * hurd/hurdioctl.c: Likewise.
32490         * hurd/hurdlookup.c: Likewise.
32491         * hurd/intr-msg.c: Likewise.
32492         * iconv/gconv_open.c: Likewise.
32493         * libio/swprintf.c: Likewise.
32494         * locale/lc-ctype.c: Likewise.
32495         * locale/nl_langinfo.c: Likewise.
32496         * mach/Machrules: Likewise.
32497         * mach/Makefile: Likewise.
32498         * malloc/obstack.h: Likewise.
32499         * manual/Makefile: Likewise.
32500         * manual/tsort.awk: Likewise.
32501         * misc/bits/stab.def: Likewise.
32502         * nis/nis_print_group_entry.c: Likewise.
32503         * nis/nis_table.c: Likewise.
32504         * nis/nss_compat/compat-pwd.c: Likewise.
32505         * nis/nss_compat/compat-spwd.c: Likewise.
32506         * po/Makefile: Likewise.
32507         * posix/fnmatch.c: Likewise.
32508         * posix/regex.h: Likewise.
32509         * resolv/Makefile: Likewise.
32510         * resolv/nss_dns/dns-network.c: Likewise.
32511         * resolv/res_hconf.c: Likewise.
32512         * scripts/gen-sorted.awk: Likewise.
32513         * soft-fp/soft-fp.h: Likewise.
32514         * stdio-common/printf.h: Likewise.
32515         * stdlib/monetary.h: Likewise.
32516         * stdlib/random.c: Likewise.
32517         * stdlib/random_r.c: Likewise.
32518         * sysdeps/generic/Makefile: Likewise.
32519         * sysdeps/gnu/Makefile: Likewise.
32520         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32522         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32527         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32530         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32531         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32532         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32533         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32534         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32535         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32538         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32539         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32540         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32541         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32542         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32543         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32544         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32548         * sysdeps/mach/hurd/errnos.awk: Likewise.
32549         * sysdeps/mach/hurd/fork.c: Likewise.
32550         * sysdeps/mach/hurd/getcwd.c: Likewise.
32551         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32552         * sysdeps/mach/hurd/mmap.c: Likewise.
32553         * sysdeps/mach/hurd/utimes.c: Likewise.
32554         * sysdeps/mach/hurd/xmknod.c: Likewise.
32555         * sysdeps/posix/profil.c: Likewise.
32556         * sysdeps/posix/readdir_r.c: Likewise.
32557         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32558         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32560         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32568         * sysdeps/pthread/lio_listio.c: Likewise.
32569         * sysdeps/sparc/dl-procinfo.h: Likewise.
32570         * sysdeps/unix/i386/sysdep.S: Likewise.
32571         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32572         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32573         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32574         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32576         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32577         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32578         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32579         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32580         * sysdeps/wordsize-32/divdi3.c: Likewise.
32581         * time/sys/time.h: Likewise.
32582         * wcsmbs/Makefile: Likewise.
32584 2013-01-01  David S. Miller  <davem@davemloft.net>
32586         * po/fr.po: Update from translation team.
32588         * catgets/gencat.c: Update copyright year.
32589         * csu/version.c: Likewise.
32590         * debug/catchsegv.sh: Likewise.
32591         * debug/pcprofiledump.c: Likewise.
32592         * debug/xtrace.sh: Likewise.
32593         * elf/ldconfig.c: Likewise.
32594         * elf/ldd.bash.in: Likewise.
32595         * elf/pldd.c: Likewise.
32596         * elf/sotruss.ksh: Likewise.
32597         * elf/sprof.c: Likewise.
32598         * iconv/iconv_prog.c: Likewise.
32599         * iconv/iconvconfig.c: Likewise.
32600         * locale/programs/locale.c: Likewise.
32601         * locale/programs/localedef.c: Likewise.
32602         * login/programs/pt_chown.c: Likewise.
32603         * malloc/memusage.sh: Likewise.
32604         * malloc/memusagestat.c: Likewise.
32605         * malloc/mtrace.pl: Likewise.
32606         * nscd/nscd.c: Likewise.
32607         * nss/getent.c: Likewise.
32608         * nss/makedb.c: Likewise.
32609         * posix/getconf.c: Likewise.
32611 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32613         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32614         numbers.
32616 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32618         * math/bits/mathcalls.h (modf): Use __nonnull.
32620 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32622         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32623         (split): Use macro CN instead of the bare value.
32624         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32625         could be used.
32626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32627         instead of the bare value.
32628         (power1): Likewise.
32630 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32633         __ATAN_TWOM.
32634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32636         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32637         their values.
32638         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32640         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32641         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32643 2012-12-28  Andreas Jaeger  <aj@suse.de>
32645         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32646         values are from Linux 3.7.
32648         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32649         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32651 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32653         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32654         TRUE case.
32656         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32657         (norm): Likewise.
32658         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32659         variables with preprocessor constants.
32660         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32661         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32662         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32664 2012-12-27  Bruno Haible  <bruno@clisp.org>
32666         [BZ #14317]
32667         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32668         only if needed.
32670 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32673         and use variable directly.
32674         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32676         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32677         MPONE.
32678         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32680         variable MPONE.
32681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32683         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32684         include directive.  Remove local variable MPONE.
32685         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32686         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32689 2012-12-25  David S. Miller  <davem@davemloft.net>
32691         * version.h (RELEASE): Set to "development".
32692         (VERSION): Set to "2.17.90".
32693         * NEWS: Add 2.18 section.
32695 2012-12-21  David S. Miller  <davem@davemloft.net>
32697         * po/hr.po: Update from translation team.
32699 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32701         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32703 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32705         * NEWS:  Mention new memcpy for MIPS.
32707 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32709         * manual/contrib.texi (Contributors): Spelling correction.
32711 2012-12-15  David S. Miller  <davem@davemloft.net>
32713         * po/ru.po: Update from translation team.
32715 2012-12-13  David S. Miller  <davem@davemloft.net>
32717         * NEWS: Mention IFUNC testsuite enhancements.
32719         * po/pl.po: Update from translation team.
32720         * po/bg.po: Likewise.
32722         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32723         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32725 2012-12-11  David S. Miller  <davem@davemloft.net>
32727         * po/sv.po: Update from translation team.
32729         * po/vi.po: Update from translation team.
32731         * po/cs.po: Update from translation team.
32733         * po/de.po: Update from translation team.
32734         * po/eo.po: Likewise.
32735         * po/nl.po: Likewise.
32737 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32739         [BZ #14246]
32740         * manual/argp.texi (Argp Helper Functions): Move node to follow
32741         Argp Parsing State.
32743         [BZ #14872]
32744         * manual/conf.texi (Limits on File System Capacity): Mention if
32745         terminating null is included in the max size.
32747 2012-12-10  Andreas Jaeger  <aj@suse.de>
32749         * po/cs.po: Update from translation team.
32751 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32753         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32754         void pointer and cast to uintptr_t.
32755         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32756         path.
32757         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32758         * sysdeps/s390/s390-64/memset.S: Likewise.
32760 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32762         [BZ #14833]
32763         * menual/message.texi (Message Translation): Fix typos.
32764         (Helper programs for gettext): Likewise.
32766 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32768         [BZ #14898]
32769         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32770         Change to -1.
32772 2012-12-07  David S. Miller  <davem@davemloft.net>
32774         * po/libc.pot: Update.
32776 2012-12-07  Richard Henderson  <rth@redhat.com>
32778         [BZ #10114]
32779         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32780         normal/normal case to before the switch.
32781         (_FP_DIV): Likewise.
32783 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32784             Mike Frysinger  <vapier@gentoo.org>
32786         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32787         check for __NR_fadvise64_64.
32789 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32791         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32792         0, not just to plain "0" as a statement.
32793         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32794         with cw.
32796 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32798         * NEWS: Use sourceware.org in Bugzilla URL.
32800 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32803         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32805         * stdio-common/tst-put-error.c (do_test): Add newline to the
32806         padded test to ensure flush.
32808 2012-12-05  Jeff Law  <law@redhat.com>
32810         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32812 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32814         * README: Don't refer to ports add-on as distributed separately.
32815         Mention AArch64 in list of systems supported in the ports add-on.
32817         * LICENSES: Add more non-FSF copyright and license notices.
32819         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32820         ((unused)).
32822         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32824         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32825         10000 as width of padded output.
32827 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32829         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32832         variable LX with __attribute__ ((unused)).
32833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32834         Likewise.
32835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32838         with __attribute__ ((unused)).
32840 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32842         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32844 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32846         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32847         (CFLAGS-nldbl-acos.c): New variable.
32848         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32849         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32850         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32851         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32852         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32853         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32854         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32855         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32856         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32857         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32858         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32859         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32860         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32861         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32862         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32863         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32864         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32865         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32866         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32867         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32868         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32869         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32870         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32871         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32872         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32873         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32874         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32875         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32876         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32877         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32878         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32879         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32880         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32881         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32882         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32883         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32884         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32885         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32886         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32887         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32888         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32889         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32890         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32891         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32892         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32893         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32894         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32895         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32896         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32897         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32898         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32899         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32900         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32901         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32902         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32903         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32904         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32905         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32906         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32907         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32908         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32909         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32910         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32911         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32912         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32913         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32914         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32915         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32916         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32917         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32918         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32919         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32920         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32921         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32922         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32923         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32924         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32925         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32926         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32927         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32928         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32929         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32930         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32931         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32932         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32933         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32934         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32935         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32936         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32937         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32938         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32939         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32940         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32941         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32942         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32943         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32944         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32947         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32949         [BZ #14914]
32950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32951         whole low double instead of just low 47 bits when splitting values
32952         into two parts.
32954 2012-12-03  Allan McRae  <allan@archlinux.org>
32956         * manual/stdio.texi (Predefined Printf Handlers): Remove
32957         @hsep and @vsep usage.
32959 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32961         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32962         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32964 2012-12-03  Jeff Law  <law@redhat.com>
32966         * time/sys/time.h (settimeofday): Do not mark TV argument
32967         as __nonnull.
32969 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32971         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32972         when currently writing and seek to current position when not.
32973         * libio/Makefile (tests): Remove bug-fclose1.
32974         * libio/bug-fclose1.c: Delete.
32976 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32978         * manual/arith.texi (feenableexcept): Fix typo.
32979         (fedisableexcept): Likewise.
32981 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32983         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32984         second, differently-typed declaration, rather than a cast.
32986 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32988         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32989         * include/rpc/svc.h: ... here.
32991 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32993         [BZ #13013]
32994         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32995         depending n and resplen2 to catch cases where answer
32996         equals answerp2.
32998 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33000         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33001         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33003 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33007 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33009         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33011 2012-11-28  Jeff Law  <law@redhat.com>
33013         [BZ #13761]
33014         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33015         dataset_temporary.  Track alloca usage into alloca_used.
33016         If dataset is large allocate and release it via malloc/free.
33018 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33020         [BZ #14197]
33021         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33023 2012-11-28  David S. Miller  <davem@davemloft.net>
33025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33027 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33029         [BZ #14803]
33030         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33031         of pi/2 rounded to nearest to 64 bits.
33032         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33033         nearest to 64 bits.
33034         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33035         bits.
33037 2012-11-28  Jeff Law <law@redhat.com>
33038             Martin Osvald <mosvald@redhat.com>
33040         [BZ #14889]
33041         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33042         * sunrpc/svc.c: Include time.h.
33043         (__svc_accept_failed): New function.
33044         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33045         any reason other than EINTR, call __svc_accept_failed.
33046         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33047         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33049 2012-11-28  Andreas Schwab  <schwab@suse.de>
33051         * scripts/abilist.awk: Also handle indirect functions in .opd
33052         section.
33054 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33056         [BZ #13881]
33057         * sysdeps/x86/fpu/powl_helper.c: New file.
33058         * sysdeps/x86/fpu/Makefile: Likewise.
33059         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33060         (p3): New object.
33061         (__ieee754_powl): Use __powl_helper for finite arguments except
33062         integer exponents below 8.
33063         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33064         (p3): New object.
33065         (__ieee754_powl): Use __powl_helper for finite arguments except
33066         integer exponents below 8.
33067         * math/libm-test.inc (pow_test): Add more tests and enable some
33068         previously disabled tests.
33069         * sysdeps/i386/fpu/libm-test-ulps: Update.
33070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33072 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33073             Carlos O'Donell  <carlos_odonell@mentor.com>
33075         * nss/makedb.c (is_prime): Assert that input is odd and greater
33076         than 4.  Note that fact in a comment too.
33077         (next_prime): Add 4 to input.
33079 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33081         [BZ #11741]
33082         * libio/Makefile (tests): Add test case tst-fwrite-error.
33083         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33084         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33085         * libio/tst-fwrite-error.c: New test case.
33087 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33089         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33090         before casting to void *.
33091         * include/libc-internal.h (__pointer_type): New macro.
33092         (__integer_if_pointer_type_sub): Likewise.
33093         (__integer_if_pointer_type): Likewise.
33094         (cast_to_integer): Likewise.
33095         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33096         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33097         before casting to atomic64_t.
33098         (atomic_exchange_acq): Likewise.
33099         (__arch_exchange_and_add_body): Likewise.
33100         (__arch_add_body): Likewise.
33101         (atomic_add_negative): Likewise.
33102         (atomic_add_zero): Likewise.
33104 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33106         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33107         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33108         (add_fdes): Likewise.
33109         (linear_search_fdes): Likewise.
33110         (binary_search_unencoded_fdes): Likewise.
33112 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33114         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33116 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33118         * configure.in: Autodetect C++ header directories.
33119         * configure: Regenerated.
33121 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33123         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33125 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33129 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33131         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33132         LDBL_MANT_DIG == 106]: Disable some tests.
33133         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33134         Likewise.
33135         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33136         Likewise.
33138         [BZ #14871]
33139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33140         input for small inputs.  Return +/- pi/2 for large inputs.
33141         * math/libm-test.inc (atan_test): Add more tests.
33143         * sysdeps/generic/unwind-dw2-fde-glibc.c
33144         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33145         __attribute__ ((unused)).
33147         [BZ #14645]
33148         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33149         x * y if x and y are nonzero and z is zero.
33151         [BZ #14811]
33152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33153         nonzero exponents with absolute value below 0x1p-117 to +/-
33154         0x1p-117.
33156         [BZ #14869]
33157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33158         up arguments below 2**-450, not just those below 2**-500.
33159         * math/libm-test.inc (hypot_test): Add another test.
33161         [BZ #14868]
33162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33163         Return a+b for ratio over 2**120, not 2**60.
33164         * math/libm-test.inc (hypot_test): Add another test.
33166         * math/libm-test.inc (clog_test): Use
33167         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33168         (clog10_test): Likewise.
33170         [BZ #6778]
33171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33173 2012-11-22  Andreas Schwab  <schwab@suse.de>
33175         * sysdeps/i386/fpu/libm-test-ulps: Update.
33177 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33179         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33180         printf output with newline.
33182 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33184         [BZ #14865]
33185         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33186         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33187         -z nodlopen, -z initfirst and -z execstack support.
33188         * configure: Regenerated.
33190         * elf/elf.h (DF_1_NODIRECT): New macro.
33191         (DF_1_IGNMULDEF): Likewise.
33192         (DF_1_NOKSYMS): Likewise.
33193         (DF_1_NOHDR): Likewise.
33194         (DF_1_EDITED): Likewise.
33195         (DF_1_NORELOC): Likewise.
33196         (DF_1_SYMINTPOSE): Likewise.
33197         (DF_1_GLOBAUDIT): Likewise.
33198         (DF_1_SINGLETON): Likewise.
33199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33200         DT_1_SUPPORTED_MASK bits.
33201         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33203 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33205         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33207 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33209         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33210         macro.
33212         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33213         (sendmmsg): Move declarations...
33214         * socket/sys/socket.h: ... here.
33215         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33216         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33217         include it from...
33218         * socket/recvmmsg.c: ... this new file.
33219         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33220         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33221         definition of __sendmmsg hidden.
33222         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33223         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33224         Move ENOSYS stub into and include it from...
33225         * socket/sendmmsg.c: ... this new file.
33226         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33227         (sysdep_routines): Move recvmmsg and sendmmsg...
33228         * socket/Makefile (routines): ... here.
33229         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33230         (GLIBC_PRIVATE): Add __sendmmsg.
33231         * include/sys/socket.h (__sendmmsg): Add declarations.
33232         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33233         sendmmsg.
33235 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33237         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33238         variable I1 with __attribute__ ((unused)).
33239         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33241 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33243         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33244         DUMMY variables with __attribute__ ((unused)).
33246         * bits/byteswap.h: Include <bits/types.h>.
33247         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33249 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33251         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33252         string_t.  Do not manually set errno.
33253         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33254         length with __strnlen.  Make sure to both set errno and return it on
33255         failure.
33257 2012-11-19  David S. Miller  <davem@davemloft.net>
33259         With help from Joseph Myers.
33260         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33261         very large arguments properly.
33262         * math/libm-test.inc (atan_test): New tests.
33263         (atan2_test): New tests.
33264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33267 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33269         [BZ #14856]
33270         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33271         Define to 3.
33273         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33274         [POSIX] (EADDRNOTAVAIL): Likewise.
33275         [POSIX] (EAFNOSUPPORT): Likewise.
33276         [POSIX] (EALREADY): Likewise.
33277         [POSIX] (ECONNABORTED): Likewise.
33278         [POSIX] (ECONNREFUSED): Likewise.
33279         [POSIX] (ECONNRESET): Likewise.
33280         [POSIX] (EDESTADDRREQ): Likewise.
33281         [POSIX] (EDQUOT): Likewise.
33282         [POSIX] (EHOSTUNREACH): Likewise.
33283         [POSIX] (EIDRM): Likewise.
33284         [POSIX] (EISCONN): Likewise.
33285         [POSIX] (ELOOP): Likewise.
33286         [POSIX] (EMULTIHOP): Likewise.
33287         [POSIX] (ENETDOWN): Likewise.
33288         [POSIX] (ENETUNREACH): Likewise.
33289         [POSIX] (ENOBUFS): Likewise.
33290         [POSIX] (ENODATA): Likewise.
33291         [POSIX] (ENOLINK): Likewise.
33292         [POSIX] (ENOMSG): Likewise.
33293         [POSIX] (ENOPROTOOPT): Likewise.
33294         [POSIX] (ENOSR): Likewise.
33295         [POSIX] (ENOSTR): Likewise.
33296         [POSIX] (ENOTCONN): Likewise.
33297         [POSIX] (ENOTSOCK): Likewise.
33298         [POSIX] (EOPNOTSUPP): Likewise.
33299         [POSIX] (EOVERFLOW): Likewise.
33300         [POSIX] (EPROTO): Likewise.
33301         [POSIX] (EPROTONOSUPPORT): Likewise.
33302         [POSIX] (EPROTOTYPE): Likewise.
33303         [POSIX] (ESTALE): Likewise.
33304         [POSIX] (ETIME): Likewise.
33305         [POSIX] (ETXTBSY): Likewise.
33306         [POSIX] (EWOULDBLOCK): Likewise.
33307         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33308         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33309         [POSIX] (SEEK_CUR): Likewise.
33310         [POSIX] (SEEK_END): Likewise.
33311         [POSIX || UNIX98] (mode_t): Do not require.
33312         [POSIX] (off_t): Likewise.
33313         [POSIX] (pid_t): Likewise.
33314         [POSIX] (sys/stat.h): Do not allow header.
33315         [POSIX] (unistd.h): Likewise.
33316         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33317         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33318         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33319         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33320         require.
33321         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33322         sigevent): Specify elements.
33323         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33324         entry.
33325         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33326         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33328         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33329         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33330         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33331         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33332         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33333         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33334         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33335         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33336         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33337         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33338         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33339         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33340         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33341         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33342         Likewise.
33343         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33344         Likewise.
33345         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33346         Likewise.
33347         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33348         Likewise.
33349         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33350         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33352         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33353         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33354         Specify lower bound on value.
33355         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33356         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33357         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33358         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33359         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33360         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33361         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33362         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33363         value.
33364         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33365         as optional.
33366         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33367         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33368         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33369         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33370         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33371         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33372         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33373         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33374         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33375         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33376         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33377         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33378         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33379         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33380         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33381         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33382         entry.
33383         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33384         optional.
33385         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33386         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33387         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33388         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33389         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33391         Likewise.
33392         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33393         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33394         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33395         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33396         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33397         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33399         as optional.
33400         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33402         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33403         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33404         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33405         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33406         specify as optional.
33407         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33408         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33409         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33410         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33411         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33412         [XPG3] (NL_LANGMAX): Likewise.
33413         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33414         [POSIX || XPG3] (NL_NMAX): Likewise.
33415         [POSIX || XPG3] (NL_SETMAX): Likewise.
33416         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33417         [XPG3] (NZERO): Likewise.
33418         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33419         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33420         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33421         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33422         (REG_ERANGE): Expect.
33423         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33424         optional-constant.
33425         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33426         Use (void) in prototype.
33427         [POSIX] (*_t): Allow.
33428         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33429         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33430         (WRDE_BADVAL): Expect.
33432         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33433         expect.
33434         [XPG3 || XPG4] (O_RSYNC): Likewise.
33435         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33436         Likewise.
33437         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33438         [XPG3 || XPG4] (sigqueue): Likewise.
33439         [XPG3 || XPG4] (sigtimedwait): Likewise.
33440         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33441         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33442         [XPG3 || XPG4] (vsnprintf): Likewise.
33443         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33444         Likewise.
33445         [XPG3 || XPG4] (blksize_t): Likewise.
33446         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33447         Likewise.
33448         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33449         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33450         [XPG3 || XPG4] (struct itimerspec): Likewise.
33451         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33452         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33453         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33454         [XPG3 || XPG4] (clockid_t): Likewise.
33455         [XPG3 || XPG4] (timer_t): Likewise.
33456         [XPG3 || XPG4] (clock_getres): Likewise.
33457         [XPG3 || XPG4] (clock_gettime): Likewise.
33458         [XPG3 || XPG4] (clock_settime): Likewise.
33459         [XPG3 || XPG4] (nanosleep): Likewise.
33460         [XPG3 || XPG4] (timer_create): Likewise.
33461         [XPG3 || XPG4] (timer_delete): Likewise.
33462         [XPG3 || XPG4] (timer_gettime): Likewise.
33463         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33464         [XPG3 || XPG4] (timer_settime): Likewise.
33465         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33466         [XPG3 || XPG4] (getlogin_r): Likewise.
33467         [XPG3 || XPG4] (pread): Likewise.
33468         [XPG3 || XPG4] (pthread_atfork): Likewise.
33469         [XPG3 || XPG4] (pwrite): Likewise.
33471         [BZ #14835]
33472         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33473         <bits/siginfo.h>.
33475 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33477         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33478         finalizing MALLSTREAM.
33480         * sysdeps/mach/hurd/syncfs.c: New file.
33482 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33484         [BZ #14719]
33485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33486         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33488         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33489         (_nss_dns_gethostbyname4_r): Likewise.
33490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33491         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33493 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33495         [BZ #13763]
33496         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33498 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33500         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33501         * elf/cache.c (print_entry): Print ",AArch64" for
33502         FLAG_AARCH64_LIB64
33504         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33505         * elf/cache.c (print_entry): Print ",hard-float" for
33506         FLAG_ARM_LIBHF.
33508 2012-11-18  David S. Miller  <davem@davemloft.net>
33510         With help from Joseph Myers.
33511         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33512         cutoff to 2**-13.
33513         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33514         cutoff to 2**-25.
33515         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33516         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33517         small.
33518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33519         * math/libm-test.inc (y0_test): New tests.
33520         (y1_test): New tests.
33521         * sysdeps/i386/fpu/libm-test-ulps: Update.
33522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33525 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33527         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33528         64-bit targets.
33529         * configure: Regenerated.
33531 2012-11-17  David S. Miller  <davem@davemloft.net>
33533         [BZ #14811]
33534         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33535         nonzero exponents with absolute value below 0x1p-128 to +/-
33536         0x1p-128.
33538 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33540         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33542         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33544         * posix/getconf-speclist.c: New file.
33545         * posix/posix-envs.def: Likewise.
33546         * posix/confstr.c (START_ENV_GROUP): New macro.
33547         (END_ENV_GROUP): Likewise.
33548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33549         (KNOWN_PRESENT_ENV_STRING): Likewise.
33550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33551         (UNKNOWN_ENVIRONMENT): Likewise.
33552         (confstr): Include posix-envs.def instead of handling
33553         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33554         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33555         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33556         (END_ENV_GROUP): Likewise.
33557         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33558         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33559         (UNKNOWN_ENVIRONMENT): Likewise.
33560         (__sysconf): Include posix-envs.def instead of handling associated
33561         cases directly here.
33562         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33563         preprocessing getconf-speclist.c rather than running getconf or
33564         generating empty file.
33566 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33568         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33570 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33572         [BZ #14672]
33573         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33575 2012-11-16  David S. Miller  <davem@davemloft.net>
33577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33578         smaller than LDBL_EPSILON/2.0L, just return xm1.
33580 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33582         * elf/tst-array1.c (init): Set constructor priority to 1000.
33583         (fini): Set destructor priority to 1000.
33584         * elf/tst-array2dep.c: Likewise.
33586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33588         [BZ #11741]
33589         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33590         (_IO_new_file_xsputn): Also return EOF if none of the input
33591         data was written when overflow failed.
33592         * libio/iopadn.c (_IO_padn): Likewise.
33593         * libio/iowpadn.c (_IO_wpadn): Likewise.
33594         * stdio-common/tst-put-error.c: Add copyright notice.
33595         (do_test): Add case for printing padded string.
33596         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33597         _IO_padn returned error.
33598         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33599         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33600         return EOF.
33602 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33604         * libio/libioP.h: Add comment note that the references to C++
33605         bits are now obsolete.
33607 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33609         * math/libm-test.inc (check_complex): Use asprintf.
33611 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33613         * debug/pcprofiledump.c (print_version): Update copyright year.
33614         * malloc/memusagestat.c (print_version): Likewise.
33616 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33618         [BZ #14831]
33619         * elf/Makefile (tests): Add tst-audit8.
33620         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33621         ($(objpfx)tst-audit8.out): New target.
33622         (tst-audit8-ENV): New variable.
33623         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33624         audit if l_reloc_result is NULL.
33625         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33626         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33627         * elf/tst-audit8.c: New file.
33629 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33631         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33632         * misc/Makefile (CFLAGS-select.c): Define.
33633         * posix/Makefile (CFLAGS-pause.c): Define.
33635 2012-11-13  David S. Miller  <davem@davemloft.net>
33637         * crypt/Makefile: Move test targets after toplevel Rules
33638         inclusion.  Grab any necessary sysdep routines when linking.
33639         * crypt/md5.c (md5_process_block): Remove define, we will always
33640         name it __md5_process_block.
33641         (md5_finish_ctx): Update md5_process_block call.
33642         (md5_stream): Likewise.
33643         (md5_process_bytes): Likewise.
33644         (md5_process_block): Rename to __md5_process_block and move to ...
33645         * crypt/md5-block.c: ... here.
33646         * crypt/sha256.c (sha256_process_block): Move to ...
33647         * crypt/sha256-block.c: ... here.
33648         * crypt/sha512.c (sha512_process_block): Move to ...
33649         * crypt/sha512-block.c: ... here.
33650         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33651         path.
33652         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33653         * sysdeps/sparc/sparc64/multiarch/Makefile
33654         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33655         crypt subdir.
33656         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33657         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33658         multiarch changes.
33659         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33660         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33661         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33662         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33663         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33664         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33665         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33666         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33668         file.
33669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33670         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33671         file.
33672         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33674 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33676         * timezone/tzselect.ksh: Update from tzcode git revision
33677         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33678         * timezone/zdump.c: Likewise.
33679         * timezone/zic.c: Likewise.
33680         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33681         in TZVERSION setting, not $(PKGVERSION).
33682         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33683         REPORT_BUGS_TO settings.
33685         [BZ #14838]
33686         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33687         macro.
33689 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33692         detection to immediately after _FP_ROUND().
33693         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33694         bits are 0.
33696 2012-11-11  David S. Miller  <davem@davemloft.net>
33698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33699         inttypes.h
33700         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33701         __close rather than their public counterparts.
33703 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33705         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33706         file.
33707         [UNIX98] (sem_timedwait): Do not expect.
33708         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33709         [XPG4 || UNIX98] (sockatmark): Do not expect.
33710         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33711         (clock_getcpuclockid): Do not expect.
33712         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33713         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33714         Do not expect.
33715         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33716         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33717         [UNIX98] (vwscanf): Likewise.
33718         [UNIX98] (vswscanf): Likewise.
33720 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33722         * timezone/version.h: Remove file.
33723         * timezone/README: Do not refer to version.h.
33724         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33725         $(objpfx)version.h.
33726         ($(objpfx)zdump.o): Likewise.
33727         ($(objpfx)version.h): New target.
33729         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33730         2012i.
33731         * timezone/README: Don't mention modification to tzselect.ksh.
33732         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33733         work on unmodified tzselect.ksh.  Substitute version numbers in
33734         tzselect.ksh.
33736         * Makefile (format-me): Remove.
33737         (INSTALL): Adjust indentation.  Use commands directly instead of
33738         using $(format-me).
33740         * aclocal.m4 (ACX_PKGVERSION): New macro.
33741         (ACX_BUGURL): Likewise.
33742         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33743         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33744         (REPORT_BUGS_TO): Likewise.
33745         * configure: Regenerated.
33746         * config.h.in (PKGVERSION): New macro.
33747         (REPORT_BUGS_TO): Likewise.
33748         * config.make.in (PKGVERSION): New variable.
33749         (PKGVERSION_TEXI): Likewise.
33750         (REPORT_BUGS_TO): Likewise.
33751         (REPORT_BUGS_TEXI): Likewise.
33752         * Makefile (format-me): Use -I$(common-objpfx)manual.
33753         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33754         ($(common-objpfx)manual/%): New target.
33755         (manual/%): Remove target.
33756         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33757         (print_version): Use PKGVERSION.
33758         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33759         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33760         and REPORT_BUGS_TO.
33761         ($(objpfx)xtrace): Likewise.
33762         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33763         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33764         (print_version): Use PKGVERSION.
33765         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33766         (do_version): Use PKGVERSION.
33767         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33768         REPORT_BUGS_TO.
33769         (common-ldd-rewrite): Likewise.
33770         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33771         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33772         (print_version): Use PKGVERSION.
33773         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33774         * elf/pldd.c (argp_program_bug_address): Remove variable.
33775         (more_help): New function.
33776         (argp): Use more_help.
33777         (print_version): Use PKGVERSION.
33778         * elf/sln.c (main): Use PKGVERSION.
33779         (usage): Use REPORT_BUGS_TO.
33780         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33781         (top level): Use PKGVERSION.
33782         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33783         (print_version): Use PKGVERSION.
33784         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33785         (print_version): Use PKGVERSION.
33786         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33787         (print_version): Use PKGVERSION.
33788         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33789         (print_version): Use PKGVERSION.
33790         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33791         (print_version): Use PKGVERSION.
33792         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33793         (print_version): Use PKGVERSION.
33794         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33795         and BUGURL.
33796         ($(objpfx)memusage): Likewise.
33797         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33798         (do_version): Use PKGVERSION.
33799         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33800         (print_version): Use PKGVERSION.
33801         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33802         ($PKGVERSION): New variable.
33803         ($REPORT_BUGS_TO): Likewise.
33804         (usage): Use $REPORT_BUGS_TO.
33805         (top level): Use $PKGVERSION.
33806         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33807         ($(objpfx)pkgvers.texi): New rule.
33808         ($(objpfx)stamp-pkgvers): Likewise.
33809         * manual/install.texi: Include pkgvers.texi.
33810         (--with-pkgversion): Document new configure option.
33811         (--with-bugurl): Likewise.
33812         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33813         than necessarily for this particular distribution.  Use
33814         REPORT_BUGS_TO for where to report bugs.
33815         * INSTALL: Regenerated.
33816         * manual/libc.texinfo: Include pkgvers.texi.
33817         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33818         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33819         (print_version): Use PKGVERSION.
33820         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33821         (print_version): Use PKGVERSION.
33822         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33823         (print_version): Use PKGVERSION.
33824         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33825         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33826         macro.
33827         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33828         (print_version): Use PKGVERSION.
33829         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33830         (print_version): Use PKGVERSION.
33831         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33832         and PKGVERSION.
33834         * timezone/checktab.awk: Update from tzcode 2012i.
33835         * timezone/ialloc.c: Likewise.
33836         * timezone/private.h: Likewise.
33837         * timezone/scheck.c: Likewise.
33838         * timezone/tzfile.h: Likewise.
33839         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33840         (TZVERSION): Hardcode tzcode version number.
33841         * timezone/zdump.c: Update from tzcode 2012i.
33842         * timezone/zic.c: Likewise.
33843         * timezone/version.h: New file.
33844         * timezone/README: Describe version.h.  Update upstream location.
33846         [BZ #14824]
33847         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33848         (mktemp): Enable declaration.
33849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33853         Likewise.
33854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33855         Likewise.
33856         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33857         Likewise.
33858         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33859         Likewise.
33860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33861         Likewise.
33862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33863         Likewise.
33865         [BZ #14821]
33866         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33867         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33868         for copies of such integer values.
33869         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33870         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33872 2012-11-09  Andreas Jaeger  <aj@suse.de>
33874         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33875         definitions and declarations that are provided by
33876         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33878 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33880         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33881         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33882         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33883         definition.
33885 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33887         * elf/elf.h: Update comment before AArch64 relocations.
33889 2012-11-07  David S. Miller  <davem@davemloft.net>
33891         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33892         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33893         (__start_context): Declare.
33894         (__makecontext_ret): Delete.
33895         (__makecontext): Hook up __start_context instead of
33896         __makecontext_ret.
33897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33898         (sysdep_routines): Add __start_context when in stdlib.
33900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33902         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33903         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33904         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33905         hardcoded "nm".
33906         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33907         (READELF): New variable.  Use it instead of hardcoded "readelf".
33909 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33911         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33912         * sysdeps/x86/Makefile: Here.
33913         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33914         * sysdeps/x86/tst-xmmymm.sh: This.
33916 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33918         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33919         expectations.
33920         [UNIX98] (pthread_barrier_t): Do not expect.
33921         [UNIX98] (pthread_barrierattr_t): Likewise.
33922         [UNIX98] (pthread_spinlock_t): Likewise.
33923         [UNIX98] (pthread_barrier_destroy): Likewise.
33924         [UNIX98] (pthread_barrier_init): Likewise.
33925         [UNIX98] (pthread_barrier_wait): Likewise.
33926         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33927         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33928         [UNIX98] (pthread_barrierattr_init): Likewise.
33929         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33930         [UNIX98] (pthread_getcpuclockid): Likewise.
33931         [UNIX98] (pthread_mutex_timedlock): Likewise.
33932         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33933         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33934         [UNIX98] (pthread_sigmask): Likewise.
33935         [UNIX98] (pthread_spin_destroy): Likewise.
33936         [UNIX98] (pthread_spin_init): Likewise.
33937         [UNIX98] (pthread_spin_lock): Likewise.
33938         [UNIX98] (pthread_spin_trylock): Likewise.
33939         [UNIX98] (pthread_spin_unlock): Likewise.
33940         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33941         Do not expect.
33942         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33943         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33944         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33945         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33946         [XPG3 || XPG4] (pthread_key_t): Likewise.
33947         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33948         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33949         [XPG3 || XPG4] (pthread_once_t): Likewise.
33950         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33951         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33952         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33953         [XPG3 || XPG4] (pthread_t): Likewise.
33955         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33956         not expect.
33957         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33959         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33960         Change function return type to int.
33962         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33963         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33964         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33965         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33966         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33967         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33968         [!POSIX] (posix_madvise): Likewise.
33969         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33970         && !UNIX98].
33971         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33972         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33973         (mode_t): Likewise.
33974         (posix_mem_offset): Likewise.
33975         (posix_typed_mem_get_info): Likewise.
33976         (posix_typed_mem_open): Likewise.
33978         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33979         Change condition to [XOPEN2K8].
33981         * conform/conformtest.pl: Preprocess allow-header data with -x c
33982         instead of from stdin.
33983         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33984         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33985         [C99-based standards] (cerfc): Likewise.
33986         [C99-based standards] (cexp2): Likewise.
33987         [C99-based standards] (cexpm1): Likewise.
33988         [C99-based standards] (clog10): Likewise.
33989         [C99-based standards] (clog1p): Likewise.
33990         [C99-based standards] (clog2): Likewise.
33991         [C99-based standards] (clgamma): Likewise.
33992         [C99-based standards] (ctgamma): Likewise.
33993         [C99-based standards] (cerff): Likewise.
33994         [C99-based standards] (cerfcf): Likewise.
33995         [C99-based standards] (cexp2f): Likewise.
33996         [C99-based standards] (cexpm1f): Likewise.
33997         [C99-based standards] (clog10f): Likewise.
33998         [C99-based standards] (clog1pf): Likewise.
33999         [C99-based standards] (clog2f): Likewise.
34000         [C99-based standards] (clgammaf): Likewise.
34001         [C99-based standards] (ctgammaf): Likewise.
34002         [C99-based standards] (cerfl): Likewise.
34003         [C99-based standards] (cerfcl): Likewise.
34004         [C99-based standards] (cexp2l): Likewise.
34005         [C99-based standards] (cexpm1l): Likewise.
34006         [C99-based standards] (clog10l): Likewise.
34007         [C99-based standards] (clog1pl): Likewise.
34008         [C99-based standards] (clog2l): Likewise.
34009         [C99-based standards] (clgammal): Likewise.
34010         [C99-based standards] (ctgammal): Likewise.
34011         * conform/data/inttypes.h-data [C99-based standards]: Include
34012         stdint.h-data.  Remove all expectations for stdint.h contents.
34013         [C99-based standards] (PRI*): Do not allow.
34014         [C99-based standards] (SCN*): Likewise.
34015         [C99-based standards] (*_t): Likewise.
34016         [C99-based-standards] (PRId8): Expect macro.
34017         [C99-based-standards] (PRIi8): Likewise.
34018         [C99-based-standards] (PRIo8): Likewise.
34019         [C99-based-standards] (PRIu8): Likewise.
34020         [C99-based-standards] (PRIx8): Likewise.
34021         [C99-based-standards] (PRIX8): Likewise.
34022         [C99-based-standards] (SCNd8): Likewise.
34023         [C99-based-standards] (SCNi8): Likewise.
34024         [C99-based-standards] (SCNo8): Likewise.
34025         [C99-based-standards] (SCNu8): Likewise.
34026         [C99-based-standards] (SCNx8): Likewise.
34027         [C99-based-standards] (PRIdLEAST8): Likewise.
34028         [C99-based-standards] (PRIiLEAST8): Likewise.
34029         [C99-based-standards] (PRIoLEAST8): Likewise.
34030         [C99-based-standards] (PRIuLEAST8): Likewise.
34031         [C99-based-standards] (PRIxLEAST8): Likewise.
34032         [C99-based-standards] (PRIXLEAST8): Likewise.
34033         [C99-based-standards] (SCNdLEAST8): Likewise.
34034         [C99-based-standards] (SCNiLEAST8): Likewise.
34035         [C99-based-standards] (SCNoLEAST8): Likewise.
34036         [C99-based-standards] (SCNuLEAST8): Likewise.
34037         [C99-based-standards] (SCNxLEAST8): Likewise.
34038         [C99-based-standards] (PRIdFAST8): Likewise.
34039         [C99-based-standards] (PRIiFAST8): Likewise.
34040         [C99-based-standards] (PRIoFAST8): Likewise.
34041         [C99-based-standards] (PRIuFAST8): Likewise.
34042         [C99-based-standards] (PRIxFAST8): Likewise.
34043         [C99-based-standards] (PRIXFAST8): Likewise.
34044         [C99-based-standards] (SCNdFAST8): Likewise.
34045         [C99-based-standards] (SCNiFAST8): Likewise.
34046         [C99-based-standards] (SCNoFAST8): Likewise.
34047         [C99-based-standards] (SCNuFAST8): Likewise.
34048         [C99-based-standards] (SCNxFAST8): Likewise.
34049         [C99-based-standards] (PRId16): Likewise.
34050         [C99-based-standards] (PRIi16): Likewise.
34051         [C99-based-standards] (PRIo16): Likewise.
34052         [C99-based-standards] (PRIu16): Likewise.
34053         [C99-based-standards] (PRIx16): Likewise.
34054         [C99-based-standards] (PRIX16): Likewise.
34055         [C99-based-standards] (SCNd16): Likewise.
34056         [C99-based-standards] (SCNi16): Likewise.
34057         [C99-based-standards] (SCNo16): Likewise.
34058         [C99-based-standards] (SCNu16): Likewise.
34059         [C99-based-standards] (SCNx16): Likewise.
34060         [C99-based-standards] (PRIdLEAST16): Likewise.
34061         [C99-based-standards] (PRIiLEAST16): Likewise.
34062         [C99-based-standards] (PRIoLEAST16): Likewise.
34063         [C99-based-standards] (PRIuLEAST16): Likewise.
34064         [C99-based-standards] (PRIxLEAST16): Likewise.
34065         [C99-based-standards] (PRIXLEAST16): Likewise.
34066         [C99-based-standards] (SCNdLEAST16): Likewise.
34067         [C99-based-standards] (SCNiLEAST16): Likewise.
34068         [C99-based-standards] (SCNoLEAST16): Likewise.
34069         [C99-based-standards] (SCNuLEAST16): Likewise.
34070         [C99-based-standards] (SCNxLEAST16): Likewise.
34071         [C99-based-standards] (PRIdFAST16): Likewise.
34072         [C99-based-standards] (PRIiFAST16): Likewise.
34073         [C99-based-standards] (PRIoFAST16): Likewise.
34074         [C99-based-standards] (PRIuFAST16): Likewise.
34075         [C99-based-standards] (PRIxFAST16): Likewise.
34076         [C99-based-standards] (PRIXFAST16): Likewise.
34077         [C99-based-standards] (SCNdFAST16): Likewise.
34078         [C99-based-standards] (SCNiFAST16): Likewise.
34079         [C99-based-standards] (SCNoFAST16): Likewise.
34080         [C99-based-standards] (SCNuFAST16): Likewise.
34081         [C99-based-standards] (SCNxFAST16): Likewise.
34082         [C99-based-standards] (PRId32): Likewise.
34083         [C99-based-standards] (PRIi32): Likewise.
34084         [C99-based-standards] (PRIo32): Likewise.
34085         [C99-based-standards] (PRIu32): Likewise.
34086         [C99-based-standards] (PRIx32): Likewise.
34087         [C99-based-standards] (PRIX32): Likewise.
34088         [C99-based-standards] (SCNd32): Likewise.
34089         [C99-based-standards] (SCNi32): Likewise.
34090         [C99-based-standards] (SCNo32): Likewise.
34091         [C99-based-standards] (SCNu32): Likewise.
34092         [C99-based-standards] (SCNx32): Likewise.
34093         [C99-based-standards] (PRIdLEAST32): Likewise.
34094         [C99-based-standards] (PRIiLEAST32): Likewise.
34095         [C99-based-standards] (PRIoLEAST32): Likewise.
34096         [C99-based-standards] (PRIuLEAST32): Likewise.
34097         [C99-based-standards] (PRIxLEAST32): Likewise.
34098         [C99-based-standards] (PRIXLEAST32): Likewise.
34099         [C99-based-standards] (SCNdLEAST32): Likewise.
34100         [C99-based-standards] (SCNiLEAST32): Likewise.
34101         [C99-based-standards] (SCNoLEAST32): Likewise.
34102         [C99-based-standards] (SCNuLEAST32): Likewise.
34103         [C99-based-standards] (SCNxLEAST32): Likewise.
34104         [C99-based-standards] (PRIdFAST32): Likewise.
34105         [C99-based-standards] (PRIiFAST32): Likewise.
34106         [C99-based-standards] (PRIoFAST32): Likewise.
34107         [C99-based-standards] (PRIuFAST32): Likewise.
34108         [C99-based-standards] (PRIxFAST32): Likewise.
34109         [C99-based-standards] (PRIXFAST32): Likewise.
34110         [C99-based-standards] (SCNdFAST32): Likewise.
34111         [C99-based-standards] (SCNiFAST32): Likewise.
34112         [C99-based-standards] (SCNoFAST32): Likewise.
34113         [C99-based-standards] (SCNuFAST32): Likewise.
34114         [C99-based-standards] (SCNxFAST32): Likewise.
34115         [C99-based-standards] (PRId64): Likewise.
34116         [C99-based-standards] (PRIi64): Likewise.
34117         [C99-based-standards] (PRIo64): Likewise.
34118         [C99-based-standards] (PRIu64): Likewise.
34119         [C99-based-standards] (PRIx64): Likewise.
34120         [C99-based-standards] (PRIX64): Likewise.
34121         [C99-based-standards] (SCNd64): Likewise.
34122         [C99-based-standards] (SCNi64): Likewise.
34123         [C99-based-standards] (SCNo64): Likewise.
34124         [C99-based-standards] (SCNu64): Likewise.
34125         [C99-based-standards] (SCNx64): Likewise.
34126         [C99-based-standards] (PRIdLEAST64): Likewise.
34127         [C99-based-standards] (PRIiLEAST64): Likewise.
34128         [C99-based-standards] (PRIoLEAST64): Likewise.
34129         [C99-based-standards] (PRIuLEAST64): Likewise.
34130         [C99-based-standards] (PRIxLEAST64): Likewise.
34131         [C99-based-standards] (PRIXLEAST64): Likewise.
34132         [C99-based-standards] (SCNdLEAST64): Likewise.
34133         [C99-based-standards] (SCNiLEAST64): Likewise.
34134         [C99-based-standards] (SCNoLEAST64): Likewise.
34135         [C99-based-standards] (SCNuLEAST64): Likewise.
34136         [C99-based-standards] (SCNxLEAST64): Likewise.
34137         [C99-based-standards] (PRIdFAST64): Likewise.
34138         [C99-based-standards] (PRIiFAST64): Likewise.
34139         [C99-based-standards] (PRIoFAST64): Likewise.
34140         [C99-based-standards] (PRIuFAST64): Likewise.
34141         [C99-based-standards] (PRIxFAST64): Likewise.
34142         [C99-based-standards] (PRIXFAST64): Likewise.
34143         [C99-based-standards] (SCNdFAST64): Likewise.
34144         [C99-based-standards] (SCNiFAST64): Likewise.
34145         [C99-based-standards] (SCNoFAST64): Likewise.
34146         [C99-based-standards] (SCNuFAST64): Likewise.
34147         [C99-based-standards] (SCNxFAST64): Likewise.
34148         [C99-based-standards] (PRIdMAX): Likewise.
34149         [C99-based-standards] (PRIiMAX): Likewise.
34150         [C99-based-standards] (PRIoMAX): Likewise.
34151         [C99-based-standards] (PRIuMAX): Likewise.
34152         [C99-based-standards] (PRIxMAX): Likewise.
34153         [C99-based-standards] (PRIXMAX): Likewise.
34154         [C99-based-standards] (SCNdMAX): Likewise.
34155         [C99-based-standards] (SCNiMAX): Likewise.
34156         [C99-based-standards] (SCNoMAX): Likewise.
34157         [C99-based-standards] (SCNuMAX): Likewise.
34158         [C99-based-standards] (SCNxMAX): Likewise.
34159         [C99-based-standards] (PRIdPTR): Likewise.
34160         [C99-based-standards] (PRIiPTR): Likewise.
34161         [C99-based-standards] (PRIoPTR): Likewise.
34162         [C99-based-standards] (PRIuPTR): Likewise.
34163         [C99-based-standards] (PRIxPTR): Likewise.
34164         [C99-based-standards] (PRIXPTR): Likewise.
34165         [C99-based-standards] (SCNdPTR): Likewise.
34166         [C99-based-standards] (SCNiPTR): Likewise.
34167         [C99-based-standards] (SCNoPTR): Likewise.
34168         [C99-based-standards] (SCNuPTR): Likewise.
34169         [C99-based-standards] (SCNxPTR): Likewise.
34170         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34171         allow.
34172         * conform/data/stdint.h-data: Update comments to clarify
34173         requirements.
34174         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34175         type.
34176         [C99-based standards] (INT8_MAX): Likewise.
34177         [C99-based standards] (INT16_MIN): Likewise.
34178         [C99-based standards] (INT16_MAX): Likewise.
34179         [C99-based standards] (INT32_MIN): Likewise.
34180         [C99-based standards] (INT32_MAX): Likewise.
34181         [C99-based standards] (INT64_MIN): Likewise.
34182         [C99-based standards] (INT64_MAX): Likewise.
34183         [C99-based standards] (UINT8_MAX): Likewise.
34184         [C99-based standards] (UINT16_MAX): Likewise.
34185         [C99-based standards] (UINT32_MAX): Likewise.
34186         [C99-based standards] (UINT64_MAX): Likewise.
34187         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34188         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34189         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34190         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34191         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34192         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34193         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34194         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34195         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34196         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34197         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34198         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34199         [C99-based standards] (INT_FAST8_MIN): Likewise.
34200         [C99-based standards] (INT_FAST8_MAX): Likewise.
34201         [C99-based standards] (INT_FAST16_MIN): Likewise.
34202         [C99-based standards] (INT_FAST16_MAX): Likewise.
34203         [C99-based standards] (INT_FAST32_MIN): Likewise.
34204         [C99-based standards] (INT_FAST32_MAX): Likewise.
34205         [C99-based standards] (INT_FAST64_MIN): Likewise.
34206         [C99-based standards] (INT_FAST64_MAX): Likewise.
34207         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34208         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34209         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34210         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34211         [C99-based standards] (INTPTR_MIN): Likewise.
34212         [C99-based standards] (INTPTR_MAX): Likewise.
34213         [C99-based standards] (UINTPTR_MAX): Likewise.
34214         [C99-based standards] (INTMAX_MIN): Likewise.
34215         [C99-based standards] (INTMAX_MAX): Likewise.
34216         [C99-based standards] (UINTMAX_MAX): Likewise.
34217         [C99-based standards] (PTRDIFF_MIN): Likewise.
34218         [C99-based standards] (PTRDIFF_MAX): Likewise.
34219         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34220         [C99-based standards] (SIZE_MAX): Likewise.
34221         [C99-based standards] (WCHAR_MAX): Likewise.
34222         [C99-based standards] (WINT_MAX): Likewise.
34223         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34224         constraint on value.
34225         [C99-based standards] (WCHAR_MIN): Likewise.
34226         [C99-based standards] (WINT_MIN): Likewise.
34227         [C99-based standards] (*_t): Allow.
34228         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34229         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34230         Include math.h-data and complex.h-data.  Remove all expectations
34231         of math.h and complex.h contents.
34232         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34233         at end of line.
34234         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34235         (struct tm): Expect tag.
34236         [C99-based-standards] (wcstof): Expect function.
34237         [C99-based-standards] (wcstold): Likewise.
34238         [C99-based-standards] (wcstoll): Likewise.
34239         [C99-based-standards] (wcstoull): Likewise.
34240         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34241         macro-int-constant.  Specify type.
34242         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34243         constraint on value.
34244         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34245         Specify type.
34246         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34247         Specify value.
34248         [ISO C standards]: Do not allow headers.
34249         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34250         wcs[abcdefghijklmnopqrstuvwxyz]*.
34251         [ISO C standards] (*_t): Do not allow.
34252         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34253         Expect function.
34254         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34255         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34256         Specify type.
34257         [ISO C standards]: Do not allow headers.
34258         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34259         is[abcdefghijklmnopqrstuvwxyz]*.
34260         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34261         to[abcdefghijklmnopqrstuvwxyz]*.
34262         [ISO C standards] (*_t): Do not allow.
34263         * conform/data/stdalign.h-data: New file.
34264         * conform/data/stdbool.h-data: Likewise.
34265         * conform/data/stdnoreturn.h-data: Likewise.
34267 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34269         [BZ #14815]
34270         * manual/filesys.texi (Directory Entries): Typo fix.
34271         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34273 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34275         * elf/elf.h (EM_AARCH64): New macro.
34276         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34277         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34278         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34279         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34280         (R_AARCH64_TLSDESC): Likewise.
34281         (NT_ARM_TLS): Likewise.
34282         (NT_ARM_HW_BREAK): Likewise.
34283         (NT_ARM_HW_WATCH): Likewise.
34285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34287         [BZ #14811]
34288         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34289         (__ieee754_powl): Saturate nonzero exponents with absolute value
34290         below 0x1p-79 to +/- 0x1p-79.
34291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34292         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34293         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34294         nonzero exponents with absolute value below 0x1p-32 to +/-
34295         0x1p-32.
34296         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34297         (__ieee754_powl): Saturate nonzero exponents with absolute value
34298         below 0x1p-79 to +/- 0x1p-79.
34299         * math/libm-test.inc (pow_test): Add more tests.
34301 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34303         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34304         _dl_s390_cap_flags with kernel. Increase string length.
34305         (_dl_s390_platforms): Add z196 and zEC12.
34307 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34309         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34310         Change XOPEN21K to XOPEN2K.
34312 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34314         * string/memmove.c: Use memcpy when possible.
34316 2012-11-06  Andreas Jaeger  <aj@suse.de>
34318         * po/eo.po: Update from translation team.
34320 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34322         [BZ #14793]
34323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34324         exponent and small x and y exponents, scale x or y up.  Increase
34325         by 2 the exponent used in scaling up.
34326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34328         * math/libm-test.inc (fma_test): Add more tests.
34329         (fma_test_towardzero): Likewise.
34330         (fma_test_downward): Likewise.
34331         (fma_test_upward): Likewise.
34333 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34335         [BZ #14805]
34336         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34337         fenv_t *.
34339         [BZ #14801]
34340         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34341         namespace for names of struct fields.
34342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34343         fenv_t fields.
34344         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34345         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34347 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34349         [BZ #3665]
34350         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34352 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34354         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34355         PTR_DEMANGLE.
34357         [BZ #5246]
34358         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34359         PTR_DEMANGLE.
34361 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34363         [BZ #14797]
34364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34365         definitely overflow as x * y not x * y + z.
34366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34368         * math/libm-test.inc (fma_test): Add more tests.
34369         (fma_test_towardzero): Likewise.
34370         (fma_test_downward): Likewise.
34371         (fma_test_upward): Likewise.
34373 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34375         [BZ #157]
34377         * include/stub-tag.h: Remove file.
34378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34379         '#include' of it.
34380         * manual/maint.texi (Porting): Don't reference it.
34381         * Makerules ($(objpfx)stubs): Likewise.
34382         * dirent/closedir.c: Don't include <stub-tag.h>.
34383         * dirent/dirfd.c: Likewise.
34384         * dirent/fdopendir.c: Likewise.
34385         * dirent/getdents.c: Likewise.
34386         * dirent/getdents64.c: Likewise.
34387         * dirent/opendir.c: Likewise.
34388         * dirent/readdir.c: Likewise.
34389         * dirent/readdir64.c: Likewise.
34390         * dirent/readdir64_r.c: Likewise.
34391         * dirent/readdir_r.c: Likewise.
34392         * dirent/rewinddir.c: Likewise.
34393         * dirent/seekdir.c: Likewise.
34394         * dirent/telldir.c: Likewise.
34395         * gmon/profil.c: Likewise.
34396         * grp/setgroups.c: Likewise.
34397         * inet/if_index.c: Likewise.
34398         * io/access.c: Likewise.
34399         * io/chdir.c: Likewise.
34400         * io/chmod.c: Likewise.
34401         * io/chown.c: Likewise.
34402         * io/close.c: Likewise.
34403         * io/dup.c: Likewise.
34404         * io/dup2.c: Likewise.
34405         * io/dup3.c: Likewise.
34406         * io/euidaccess.c: Likewise.
34407         * io/faccessat.c: Likewise.
34408         * io/fchdir.c: Likewise.
34409         * io/fchmod.c: Likewise.
34410         * io/fchmodat.c: Likewise.
34411         * io/fchown.c: Likewise.
34412         * io/fchownat.c: Likewise.
34413         * io/fcntl.c: Likewise.
34414         * io/flock.c: Likewise.
34415         * io/fstatfs.c: Likewise.
34416         * io/fstatfs64.c: Likewise.
34417         * io/fstatvfs.c: Likewise.
34418         * io/fstatvfs64.c: Likewise.
34419         * io/futimens.c: Likewise.
34420         * io/fxstat.c: Likewise.
34421         * io/fxstat64.c: Likewise.
34422         * io/fxstatat.c: Likewise.
34423         * io/fxstatat64.c: Likewise.
34424         * io/getcwd.c: Likewise.
34425         * io/isatty.c: Likewise.
34426         * io/lchmod.c: Likewise.
34427         * io/lchown.c: Likewise.
34428         * io/link.c: Likewise.
34429         * io/linkat.c: Likewise.
34430         * io/lseek.c: Likewise.
34431         * io/lseek64.c: Likewise.
34432         * io/lxstat64.c: Likewise.
34433         * io/mkdir.c: Likewise.
34434         * io/mkdirat.c: Likewise.
34435         * io/mkfifo.c: Likewise.
34436         * io/mkfifoat.c: Likewise.
34437         * io/open.c: Likewise.
34438         * io/open64.c: Likewise.
34439         * io/openat.c: Likewise.
34440         * io/openat64.c: Likewise.
34441         * io/pipe.c: Likewise.
34442         * io/pipe2.c: Likewise.
34443         * io/poll.c: Likewise.
34444         * io/posix_fadvise.c: Likewise.
34445         * io/posix_fadvise64.c: Likewise.
34446         * io/posix_fallocate.c: Likewise.
34447         * io/posix_fallocate64.c: Likewise.
34448         * io/read.c: Likewise.
34449         * io/readlink.c: Likewise.
34450         * io/readlinkat.c: Likewise.
34451         * io/rmdir.c: Likewise.
34452         * io/sendfile.c: Likewise.
34453         * io/sendfile64.c: Likewise.
34454         * io/statfs.c: Likewise.
34455         * io/statfs64.c: Likewise.
34456         * io/statvfs.c: Likewise.
34457         * io/statvfs64.c: Likewise.
34458         * io/symlink.c: Likewise.
34459         * io/symlinkat.c: Likewise.
34460         * io/ttyname.c: Likewise.
34461         * io/ttyname_r.c: Likewise.
34462         * io/umask.c: Likewise.
34463         * io/unlink.c: Likewise.
34464         * io/unlinkat.c: Likewise.
34465         * io/utime.c: Likewise.
34466         * io/utimensat.c: Likewise.
34467         * io/write.c: Likewise.
34468         * io/xmknod.c: Likewise.
34469         * io/xmknodat.c: Likewise.
34470         * io/xstat.c: Likewise.
34471         * io/xstat64.c: Likewise.
34472         * login/getpt.c: Likewise.
34473         * login/grantpt.c: Likewise.
34474         * login/unlockpt.c: Likewise.
34475         * math/e_acoshl.c: Likewise.
34476         * math/e_acosl.c: Likewise.
34477         * math/e_asinl.c: Likewise.
34478         * math/e_atan2l.c: Likewise.
34479         * math/e_atanhl.c: Likewise.
34480         * math/e_coshl.c: Likewise.
34481         * math/e_expl.c: Likewise.
34482         * math/e_fmodl.c: Likewise.
34483         * math/e_gammal_r.c: Likewise.
34484         * math/e_hypotl.c: Likewise.
34485         * math/e_j0l.c: Likewise.
34486         * math/e_j1l.c: Likewise.
34487         * math/e_jnl.c: Likewise.
34488         * math/e_lgammal_r.c: Likewise.
34489         * math/e_log10l.c: Likewise.
34490         * math/e_log2l.c: Likewise.
34491         * math/e_logl.c: Likewise.
34492         * math/e_powl.c: Likewise.
34493         * math/e_rem_pio2l.c: Likewise.
34494         * math/e_sinhl.c: Likewise.
34495         * math/e_sqrtl.c: Likewise.
34496         * math/fclrexcpt.c: Likewise.
34497         * math/fedisblxcpt.c: Likewise.
34498         * math/feenablxcpt.c: Likewise.
34499         * math/fegetenv.c: Likewise.
34500         * math/fegetexcept.c: Likewise.
34501         * math/fegetround.c: Likewise.
34502         * math/feholdexcpt.c: Likewise.
34503         * math/fesetenv.c: Likewise.
34504         * math/fesetround.c: Likewise.
34505         * math/feupdateenv.c: Likewise.
34506         * math/fgetexcptflg.c: Likewise.
34507         * math/fraiseexcpt.c: Likewise.
34508         * math/fsetexcptflg.c: Likewise.
34509         * math/ftestexcept.c: Likewise.
34510         * math/k_cosl.c: Likewise.
34511         * math/k_rem_pio2l.c: Likewise.
34512         * math/k_sinl.c: Likewise.
34513         * math/k_tanl.c: Likewise.
34514         * math/s_asinhl.c: Likewise.
34515         * math/s_atanl.c: Likewise.
34516         * math/s_cbrtl.c: Likewise.
34517         * math/s_erfl.c: Likewise.
34518         * math/s_expm1l.c: Likewise.
34519         * math/s_log1pl.c: Likewise.
34520         * math/s_tanhl.c: Likewise.
34521         * misc/acct.c: Likewise.
34522         * misc/brk.c: Likewise.
34523         * misc/chflags.c: Likewise.
34524         * misc/chroot.c: Likewise.
34525         * misc/fchflags.c: Likewise.
34526         * misc/fgetxattr.c: Likewise.
34527         * misc/flistxattr.c: Likewise.
34528         * misc/fremovexattr.c: Likewise.
34529         * misc/fsetxattr.c: Likewise.
34530         * misc/fsync.c: Likewise.
34531         * misc/ftruncate.c: Likewise.
34532         * misc/futimes.c: Likewise.
34533         * misc/futimesat.c: Likewise.
34534         * misc/getdomain.c: Likewise.
34535         * misc/getdtsz.c: Likewise.
34536         * misc/gethostid.c: Likewise.
34537         * misc/gethostname.c: Likewise.
34538         * misc/getloadavg.c: Likewise.
34539         * misc/getpagesize.c: Likewise.
34540         * misc/getsysstats.c: Likewise.
34541         * misc/getxattr.c: Likewise.
34542         * misc/gtty.c: Likewise.
34543         * misc/ioctl.c: Likewise.
34544         * misc/lgetxattr.c: Likewise.
34545         * misc/listxattr.c: Likewise.
34546         * misc/llistxattr.c: Likewise.
34547         * misc/lremovexattr.c: Likewise.
34548         * misc/lsetxattr.c: Likewise.
34549         * misc/lutimes.c: Likewise.
34550         * misc/madvise.c: Likewise.
34551         * misc/mincore.c: Likewise.
34552         * misc/mlock.c: Likewise.
34553         * misc/mlockall.c: Likewise.
34554         * misc/mmap.c: Likewise.
34555         * misc/mprotect.c: Likewise.
34556         * misc/msync.c: Likewise.
34557         * misc/munlock.c: Likewise.
34558         * misc/munlockall.c: Likewise.
34559         * misc/munmap.c: Likewise.
34560         * misc/preadv.c: Likewise.
34561         * misc/preadv64.c: Likewise.
34562         * misc/ptrace.c: Likewise.
34563         * misc/pwritev.c: Likewise.
34564         * misc/pwritev64.c: Likewise.
34565         * misc/readv.c: Likewise.
34566         * misc/reboot.c: Likewise.
34567         * misc/remap_file_pages.c: Likewise.
34568         * misc/removexattr.c: Likewise.
34569         * misc/revoke.c: Likewise.
34570         * misc/select.c: Likewise.
34571         * misc/setdomain.c: Likewise.
34572         * misc/setegid.c: Likewise.
34573         * misc/seteuid.c: Likewise.
34574         * misc/sethostid.c: Likewise.
34575         * misc/sethostname.c: Likewise.
34576         * misc/setregid.c: Likewise.
34577         * misc/setreuid.c: Likewise.
34578         * misc/setxattr.c: Likewise.
34579         * misc/sstk.c: Likewise.
34580         * misc/stty.c: Likewise.
34581         * misc/swapoff.c: Likewise.
34582         * misc/swapon.c: Likewise.
34583         * misc/sync.c: Likewise.
34584         * misc/syncfs.c: Likewise.
34585         * misc/syscall.c: Likewise.
34586         * misc/truncate.c: Likewise.
34587         * misc/ualarm.c: Likewise.
34588         * misc/usleep.c: Likewise.
34589         * misc/ustat.c: Likewise.
34590         * misc/utimes.c: Likewise.
34591         * misc/vhangup.c: Likewise.
34592         * misc/writev.c: Likewise.
34593         * posix/_exit.c: Likewise.
34594         * posix/alarm.c: Likewise.
34595         * posix/execve.c: Likewise.
34596         * posix/fexecve.c: Likewise.
34597         * posix/fork.c: Likewise.
34598         * posix/fpathconf.c: Likewise.
34599         * posix/getaddrinfo.c: Likewise.
34600         * posix/getegid.c: Likewise.
34601         * posix/geteuid.c: Likewise.
34602         * posix/getgid.c: Likewise.
34603         * posix/getgroups.c: Likewise.
34604         * posix/getlogin.c: Likewise.
34605         * posix/getlogin_r.c: Likewise.
34606         * posix/getpgid.c: Likewise.
34607         * posix/getpid.c: Likewise.
34608         * posix/getppid.c: Likewise.
34609         * posix/getresgid.c: Likewise.
34610         * posix/getresuid.c: Likewise.
34611         * posix/getsid.c: Likewise.
34612         * posix/getuid.c: Likewise.
34613         * posix/glob64.c: Likewise.
34614         * posix/nanosleep.c: Likewise.
34615         * posix/pathconf.c: Likewise.
34616         * posix/pause.c: Likewise.
34617         * posix/posix_madvise.c: Likewise.
34618         * posix/pread.c: Likewise.
34619         * posix/pread64.c: Likewise.
34620         * posix/pwrite.c: Likewise.
34621         * posix/pwrite64.c: Likewise.
34622         * posix/sched_getaffinity.c: Likewise.
34623         * posix/sched_getp.c: Likewise.
34624         * posix/sched_gets.c: Likewise.
34625         * posix/sched_primax.c: Likewise.
34626         * posix/sched_primin.c: Likewise.
34627         * posix/sched_rr_gi.c: Likewise.
34628         * posix/sched_setaffinity.c: Likewise.
34629         * posix/sched_setp.c: Likewise.
34630         * posix/sched_sets.c: Likewise.
34631         * posix/sched_yield.c: Likewise.
34632         * posix/setgid.c: Likewise.
34633         * posix/setlogin.c: Likewise.
34634         * posix/setpgid.c: Likewise.
34635         * posix/setresgid.c: Likewise.
34636         * posix/setresuid.c: Likewise.
34637         * posix/setsid.c: Likewise.
34638         * posix/setuid.c: Likewise.
34639         * posix/sleep.c: Likewise.
34640         * posix/spawni.c: Likewise.
34641         * posix/sysconf.c: Likewise.
34642         * posix/times.c: Likewise.
34643         * posix/wait.c: Likewise.
34644         * posix/wait3.c: Likewise.
34645         * posix/wait4.c: Likewise.
34646         * posix/waitpid.c: Likewise.
34647         * resolv/gai_sigqueue.c: Likewise.
34648         * resource/getpriority.c: Likewise.
34649         * resource/getrlimit.c: Likewise.
34650         * resource/getrusage.c: Likewise.
34651         * resource/nice.c: Likewise.
34652         * resource/setpriority.c: Likewise.
34653         * resource/setrlimit.c: Likewise.
34654         * resource/ulimit.c: Likewise.
34655         * rt/aio_cancel.c: Likewise.
34656         * rt/aio_fsync.c: Likewise.
34657         * rt/aio_read.c: Likewise.
34658         * rt/aio_sigqueue.c: Likewise.
34659         * rt/aio_suspend.c: Likewise.
34660         * rt/aio_write.c: Likewise.
34661         * rt/clock_getres.c: Likewise.
34662         * rt/clock_gettime.c: Likewise.
34663         * rt/clock_nanosleep.c: Likewise.
34664         * rt/clock_settime.c: Likewise.
34665         * rt/lio_listio.c: Likewise.
34666         * rt/mq_close.c: Likewise.
34667         * rt/mq_getattr.c: Likewise.
34668         * rt/mq_notify.c: Likewise.
34669         * rt/mq_open.c: Likewise.
34670         * rt/mq_receive.c: Likewise.
34671         * rt/mq_send.c: Likewise.
34672         * rt/mq_setattr.c: Likewise.
34673         * rt/mq_timedreceive.c: Likewise.
34674         * rt/mq_timedsend.c: Likewise.
34675         * rt/mq_unlink.c: Likewise.
34676         * rt/shm_open.c: Likewise.
34677         * rt/shm_unlink.c: Likewise.
34678         * rt/timer_create.c: Likewise.
34679         * rt/timer_delete.c: Likewise.
34680         * rt/timer_getoverr.c: Likewise.
34681         * rt/timer_gettime.c: Likewise.
34682         * rt/timer_settime.c: Likewise.
34683         * setjmp/__longjmp.c: Likewise.
34684         * setjmp/setjmp.c: Likewise.
34685         * signal/kill.c: Likewise.
34686         * signal/killpg.c: Likewise.
34687         * signal/raise.c: Likewise.
34688         * signal/sigaction.c: Likewise.
34689         * signal/sigaltstack.c: Likewise.
34690         * signal/sigblock.c: Likewise.
34691         * signal/sigignore.c: Likewise.
34692         * signal/sigintr.c: Likewise.
34693         * signal/signal.c: Likewise.
34694         * signal/sigpause.c: Likewise.
34695         * signal/sigpending.c: Likewise.
34696         * signal/sigqueue.c: Likewise.
34697         * signal/sigreturn.c: Likewise.
34698         * signal/sigset.c: Likewise.
34699         * signal/sigsetmask.c: Likewise.
34700         * signal/sigstack.c: Likewise.
34701         * signal/sigsuspend.c: Likewise.
34702         * signal/sigtimedwait.c: Likewise.
34703         * signal/sigvec.c: Likewise.
34704         * signal/sigwait.c: Likewise.
34705         * signal/sigwaitinfo.c: Likewise.
34706         * signal/sysv_signal.c: Likewise.
34707         * socket/accept.c: Likewise.
34708         * socket/accept4.c: Likewise.
34709         * socket/bind.c: Likewise.
34710         * socket/connect.c: Likewise.
34711         * socket/getpeername.c: Likewise.
34712         * socket/getsockname.c: Likewise.
34713         * socket/getsockopt.c: Likewise.
34714         * socket/isfdtype.c: Likewise.
34715         * socket/listen.c: Likewise.
34716         * socket/recv.c: Likewise.
34717         * socket/recvfrom.c: Likewise.
34718         * socket/recvmsg.c: Likewise.
34719         * socket/send.c: Likewise.
34720         * socket/sendmsg.c: Likewise.
34721         * socket/sendto.c: Likewise.
34722         * socket/setsockopt.c: Likewise.
34723         * socket/shutdown.c: Likewise.
34724         * socket/sockatmark.c: Likewise.
34725         * socket/socket.c: Likewise.
34726         * socket/socketpair.c: Likewise.
34727         * stdio-common/ctermid.c: Likewise.
34728         * stdio-common/cuserid.c: Likewise.
34729         * stdio-common/remove.c: Likewise.
34730         * stdio-common/rename.c: Likewise.
34731         * stdio-common/renameat.c: Likewise.
34732         * stdio-common/tempname.c: Likewise.
34733         * stdlib/getcontext.c: Likewise.
34734         * stdlib/makecontext.c: Likewise.
34735         * stdlib/setcontext.c: Likewise.
34736         * stdlib/swapcontext.c: Likewise.
34737         * stdlib/system.c: Likewise.
34738         * streams/fattach.c: Likewise.
34739         * streams/fdetach.c: Likewise.
34740         * streams/getmsg.c: Likewise.
34741         * streams/getpmsg.c: Likewise.
34742         * streams/putmsg.c: Likewise.
34743         * streams/putpmsg.c: Likewise.
34744         * sysdeps/unix/bsd/getpt.c: Likewise.
34745         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34746         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34747         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34749         Likewise.
34750         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34751         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34752         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34753         * sysvipc/msgctl.c: Likewise.
34754         * sysvipc/msgget.c: Likewise.
34755         * sysvipc/msgrcv.c: Likewise.
34756         * sysvipc/msgsnd.c: Likewise.
34757         * sysvipc/semctl.c: Likewise.
34758         * sysvipc/semget.c: Likewise.
34759         * sysvipc/semop.c: Likewise.
34760         * sysvipc/semtimedop.c: Likewise.
34761         * sysvipc/shmat.c: Likewise.
34762         * sysvipc/shmctl.c: Likewise.
34763         * sysvipc/shmdt.c: Likewise.
34764         * sysvipc/shmget.c: Likewise.
34765         * termios/tcdrain.c: Likewise.
34766         * termios/tcflow.c: Likewise.
34767         * termios/tcflush.c: Likewise.
34768         * termios/tcgetattr.c: Likewise.
34769         * termios/tcgetpgrp.c: Likewise.
34770         * termios/tcsendbrk.c: Likewise.
34771         * termios/tcsetattr.c: Likewise.
34772         * termios/tcsetpgrp.c: Likewise.
34773         * time/adjtime.c: Likewise.
34774         * time/clock.c: Likewise.
34775         * time/getitimer.c: Likewise.
34776         * time/gettimeofday.c: Likewise.
34777         * time/setitimer.c: Likewise.
34778         * time/settimeofday.c: Likewise.
34779         * time/stime.c: Likewise.
34780         * time/time.c: Likewise.
34782 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34784         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34785         /usr/old/bin.
34787         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34788         instead of spaces.
34789         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34791 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34793         [BZ #14796]
34794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34795         FE_TONEAREST before applying Dekker multiplication and Knuth
34796         addition.  Clear inexact exceptions and check for exact zero
34797         results afterwards.
34798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34801         * math/libm-test.inc (fma_test): Add more tests.
34802         (fma_test_towardzero): Likewise.
34803         (fma_test_downward): Likewise.
34804         (fma_test_upward): Likewise.
34805         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34806         function.
34807         (libc_fesetround): New macro.
34808         (libc_fesetroundf): Likewise.
34809         (libc_fesetroundl): Likewise.
34810         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34811         function.
34812         (libc_fesetround_387): Likewise.
34813         (libc_fesetroundf): New macro.
34814         (libc_fesetround): Likewise.
34815         (libc_fesetroundl): Likewise.
34816         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34817         function.
34818         (libc_fesetroundf): New macro.
34819         (libc_fesetround): Likewise.
34820         (libc_fesetroundl): Likewise.
34821         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34822         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34823         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34824         libm_hidden_ver.
34825         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34826         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34827         libm_hidden_def.
34828         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34829         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34830         libm_hidden_ver.
34831         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34832         libm_hidden_def.
34834         [BZ #3439]
34835         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34836         integer constant usable in #if and use that to give value to enum
34837         constant.
34838         (FE_DIVBYZERO): Likewise.
34839         (FE_UNDERFLOW): Likewise.
34840         (FE_OVERFLOW): Likewise.
34841         (FE_INVALID): Likewise.
34842         (FE_INVALID_SNAN): Likewise.
34843         (FE_INVALID_ISI): Likewise.
34844         (FE_INVALID_IDI): Likewise.
34845         (FE_INVALID_ZDZ): Likewise.
34846         (FE_INVALID_IMZ): Likewise.
34847         (FE_INVALID_COMPARE): Likewise.
34848         (FE_INVALID_SOFTWARE): Likewise.
34849         (FE_INVALID_SQRT): Likewise.
34850         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34851         (FE_TONEAREST): Likewise.
34852         (FE_TOWARDZERO): Likewise.
34853         (FE_UPWARD): Likewise.
34854         (FE_DOWNWARD): Likewise.
34855         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34856         (FE_DIVBYZERO): Likewise.
34857         (FE_OVERFLOW): Likewise.
34858         (FE_UNDERFLOW): Likewise.
34859         (FE_INEXACT): Likewise.
34860         (FE_TONEAREST): Likewise.
34861         (FE_DOWNWARD): Likewise.
34862         (FE_UPWARD): Likewise.
34863         (FE_TOWARDZERO): Likewise.
34864         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34865         (FE_UNDERFLOW): Likewise.
34866         (FE_OVERFLOW): Likewise.
34867         (FE_DIVBYZERO): Likewise.
34868         (FE_INVALID): Likewise.
34869         (FE_TONEAREST): Likewise.
34870         (FE_TOWARDZERO): Likewise.
34871         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34872         (FE_OVERFLOW): Likewise.
34873         (FE_UNDERFLOW): Likewise.
34874         (FE_DIVBYZERO): Likewise.
34875         (FE_INEXACT): Likewise.
34876         (FE_TONEAREST): Likewise.
34877         (FE_TOWARDZERO): Likewise.
34878         (FE_UPWARD): Likewise.
34879         (FE_DOWNWARD): Likewise.
34880         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34881         (FE_DIVBYZERO): Likewise.
34882         (FE_OVERFLOW): Likewise.
34883         (FE_UNDERFLOW): Likewise.
34884         (FE_INEXACT): Likewise.
34885         (FE_TONEAREST): Likewise.
34886         (FE_DOWNWARD): Likewise.
34887         (FE_UPWARD): Likewise.
34888         (FE_TOWARDZERO): Likewise.
34890 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34892         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34894 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34896         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34897         commands.  Quote $PWD.
34898         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34899         -x" by "export".
34900         (remove_newlines): Remove.
34902 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34904         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34905         * stdlib/stdlib.h (atof): Moved to ...
34906         * include/bits/stdlib-float.h: Here.  New file.
34907         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34908         * stdlib/bits/stdlib-float.h: New file.
34909         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34910         -mno-sse -mno-mmx.
34911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34912         <xmmintrin.h>.
34914 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34916         * conform/conformtest.pl (@headers): Add fenv.h.
34917         * conform/data/fenv.h-data: New file.
34918         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34919         include of <math/fenv.h>.
34921         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34922         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34923         && !UNIX98].  Enables tests for XOPEN2K8.
34924         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34925         POSIX2008]: Likewise.
34927         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34928         (struct rusage): Do not expect type or its members.
34930         [BZ #3439]
34931         * math/math.h (FP_NAN): Define macro to integer constant usable in
34932         #if and use that to give value to enum constant.
34933         (FP_INFINITE): Likewise.
34934         (FP_ZERO): Likewise.
34935         (FP_SUBNORMAL): Likewise.
34936         (FP_NORMAL): Likewise.
34938 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34940         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34941         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34942         arguments.
34944 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34946         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34947         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34948         autoconf-time if not.
34949         * configure.in: Remove AC_PREREQ.
34951 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34953         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34954         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34955         of the internal implementation.
34957 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34959         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34960         except include of <misc/sys/syslog.h>.
34962 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34965         function returns with a NULL context exit with zero.
34967 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34969         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34971 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34973         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34974         (run_program_cmd): This.
34975         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34976         (tst_langinfo): New variable.  Use it.
34978 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34980         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34981         floating point opcodes.
34983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34985         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34986         variable.
34988         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34990         * sysdeps/mach/hurd/powerpc: Remove directory.
34991         * sysdeps/mach/powerpc: Likewise.
34993 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34995         * scripts/check-local-headers.sh: Ignore c++ headers.
34997 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34999         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35000         __libc_cleanup_region_start argument.
35002 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35004         [BZ #14784]
35005         [BZ #14785]
35006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35007         x * y using scaling, not as x * y + z.
35008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35010         * math/libm-test.inc (fma_test): Add more tests.
35011         (fma_test_towardzero): Likewise.
35012         (fma_test_downward): Likewise.
35013         (fma_test_upward): Likewise.
35015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35017         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35019 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35021         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35022         New variable.
35024 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35026         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35028 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35031         Fix sort order.
35032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35033         Likewise.
35035 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35038         Fix the order of the list for glibc 2.17.
35039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35040         Likewise.
35042 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35046 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35048         [BZ #14610]
35049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35050         for low part of x being zero before using __atanl (y).
35051         * math/libm-test.inc (atan2_test): Add another test.
35053         * manual/install.texi (Configuring and compiling): Document
35054         general use of test-wrapper and test-wrapper-env.
35055         * INSTALL: Regenerated.
35057         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35058         (__fma): Do not extract and scale down low bits on after-rounding
35059         systems when result rounded to normal precision would have normal
35060         exponent.
35061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35062         (__fmal): Do not extract and scale down low bits on after-rounding
35063         systems when result rounded to normal precision would have normal
35064         exponent.
35065         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35066         (__fmal): Do not extract and scale down low bits on after-rounding
35067         systems when result rounded to normal precision would have normal
35068         exponent.
35069         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35070         macro.
35071         (fma_test): Add more tests.
35072         (fma_test_towardzero): Likewise.
35073         (fma_test_downward): Likewise.
35074         (fma_test_upward): Likewise.
35076 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35078         * sysdeps/i386/tininess.h: Renamed to ...
35079         * sysdeps/x86/tininess.h: This.
35080         * sysdeps/x86_64/tininess.h: Removed.
35082 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35084         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35085         input.  Use $(build-program-cmd).
35086         ($(objpfx)tst-array1-static.out): Likewise.
35087         ($(objpfx)tst-array2.out): Likewise.
35088         ($(objpfx)tst-array3.out): Likewise.
35089         ($(objpfx)tst-array4.out): Likewise.
35090         ($(objpfx)tst-array5.out): Likewise.
35091         ($(objpfx)tst-array5-static.out): Likewise.
35093 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35095         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35096         if defined.
35098         * nss/nsswitch.h (nss_interface_function): Provide new
35099         macro for use with NSS functions.
35100         * grp/initgroups.c: Use new macro.
35101         * nss/getXXbyYY.c: Likewise.
35102         * nss/getXXbyYY_r.c: Likewise.
35103         * nss/getXXent.c: Likewise.
35104         * nss/getXXent_r.c: Likewise.
35105         * sysdeps/posix/getaddrinfo.c: Likewise.
35107 2012-10-30  Andreas Jaeger  <aj@suse.de>
35109         * po/ru.po: Update Russion translation from translation project.
35111 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35113         [BZ #14152]
35114         [BZ #14783]
35115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35116         result and shift together with sticky bit instead of replicating
35117         round-to-nearest rounding.
35118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35120         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35121         missing underflow exceptions.
35122         (fma_test_towardzero): Add more tests.
35123         (fma_test_downward): Likewise.
35124         (fma_test_upward): Likewise.
35126         [BZ #14047]
35127         * sysdeps/generic/tininess.h: New file.
35128         * sysdeps/i386/tininess.h: Likewise.
35129         * sysdeps/sh/tininess.h: Likewise.
35130         * sysdeps/x86_64/tininess.h: Likewise.
35131         * stdlib/tst-strtod-underflow.c: Likewise.
35132         * stdlib/tst-tininess.c: Likewise.
35133         * stdlib/strtod_l.c: Include <tininess.h>.
35134         (round_and_return): Do not set errno for exact underflow cases.
35135         Force an underflow exception when setting errno for underflow.
35136         Determine underflow based on rounding to normal precision if
35137         TININESS_AFTER_ROUNDING.
35138         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35139         ERANGE for exact underflow cases.
35140         * stdlib/Makefile (tests): Add tst-tininess and
35141         tst-strtod-underflow.
35142         ($(objpfx)tst-tininess): Use $(link-libm).
35143         ($(objpfx)tst-strtod-underflow): Likewise.
35145 2012-10-30  Andreas Jaeger  <aj@suse.de>
35147         [BZ#14767]
35148         * elf/Makefile (tests): Remove conditional for have-initfini-array
35149         since this is now always required and the variable does not exist
35150         anymore.
35151         (tests-static): Likewise.
35152         (modules-names): Likewise.
35154         * po/eo.po: Add Esperanto translation from translation project.
35156         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35157         merged with constructor/destructor.
35158         (init_array): Likewise.
35159         * elf/tst-array2dep.c (fini_array): Likewise.
35160         (init_array): Likewise.
35162 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35164         * manual/message.texi: Delete @cartouche tags.
35166 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35168         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35169         EOPNOTSUPP.
35170         * sysdeps/mach/hurd/fsync.c: Likewise.
35172         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35173         [_POSIX_REALTIME_SIGNALS]: Change condition to
35174         [_POSIX_REALTIME_SIGNALS > 0].
35176 2012-10-27  Andreas Jaeger  <aj@suse.de>
35178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35179         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35181         [__WORDSIZE != 64]: Likewise.
35183 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35185         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35186         *  iconvdata/tst-tables.sh: Likewise.
35188 2012-10-25  David S. Miller  <davem@davemloft.net>
35190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35191         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35192         of strtoull.
35194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35195         ifunc-impl-list.c
35196         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35197         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35198         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35199         file.
35201 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35204         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35205         __getdirentries.
35207 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35208             Jim Blandy  <jimb@codesourcery.com>
35210         * scripts/cross-test-ssh.sh: New file.
35211         * manual/install.texi (Configuring and compiling): Document use of
35212         cross-test-ssh.sh.
35213         * INSTALL: Regenerated.
35215 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35217         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35218         EOPNOTSUPP.
35220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35222         * Makeconfig (run-program-prefix): Fix comment.
35224 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35225             Jim Blandy  <jimb@codesourcery.com>
35227         * Makeconfig (test-wrapper): New variable,
35228         (test-wrapper-env): Likewise.
35229         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35230         (run-built-tests): Define to yes.
35231         (run-program-prefix): Use $(test-wrapper).
35232         (built-program-cmd): Likewise.
35233         * Rules (make-test-out): Use $(test-wrapper-env) and
35234         $(host-built-program-cmd).
35235         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35236         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35237         tst-pathopt.sh.
35238         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35239         $(test-wrapper-env) to tst-rtld-load-self.sh.
35240         ($(objpfx)order2.out): Use $(test-wrapper).
35241         ($(objpfx)tst-initorder.out): Likewise.
35242         ($(objpfx)tst-initorder2.out): Likewise.
35243         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35244         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35245         (test_wrapper_env): New variable.  Use it to run ld.so.
35246         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35247         Use it to run ld.so.
35248         (test_wrapper_env): Likewise.
35249         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35250         $(test-wrapper) to run-iconv-test.sh.
35251         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35252         (ICONV): Use $test_wrapper.
35253         * posix/Makefile ($(objpfx)globtest.out): Pass
35254         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35255         globtest.sh, not $(run-program-prefix).
35256         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35257         (test_wrapper): Likewise.
35258         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35259         set together with run_via_rtld_prefix.
35260         (run_program_prefix): Define in terms of test_wrapper and
35261         run_via_rtld_prefix.
35263 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35265         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35266         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35267         Targets removed.
35269         [BZ #14743]
35270         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35271         Declare __clock_getres, __clock_gettime, __clock_settime,
35272         __clock_nanosleep, and __clock_getcpuclockid.
35273         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35274         Remove librt_hidden_def (clock_gettime).
35275         * sysdeps/unix/clock_gettime.c: Likewise.
35276         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35278         * rt/clock_getres.c: Define __clock_getres as an alias.
35279         * sysdeps/posix/clock_getres.c: Likewise.
35280         * rt/clock_settime.c: Define __clock_settime as an alias.
35281         * sysdeps/unix/clock_settime.c: Likewise.
35282         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35283         * sysdeps/unix/clock_nanosleep.c: Likewise.
35284         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35285         * rt/clock-compat.c: New file.
35286         * rt/Makefile (librt-routines): Add clock-compat and move
35287         $(clock-routines) to ...
35288         (routines): ... here, new variable.
35289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35290         Don't add get_clockfreq here.
35291         * rt/Versions (libc: GLIBC_2.17): New version set.
35292         Add clock_* symbols here.
35293         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35295         (GLIBC_2.17): Add clock_* symbols.
35296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35300         Likewise.
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35302         Likewise.
35303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35307         * NEWS: Mention the move.
35309         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35310         Use __open, __read, __close rather than their public counterparts.
35311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35312         (__get_clockfreq_via_cpuinfo): Likewise.
35313         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35314         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35316         * config.h.in (HAVE_IFUNC): New #undef.
35317         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35318         was successful.
35319         * configure: Regenerated.
35321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35323         * configure.in: Move READELF check to start of file.
35324         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35325         libc_cv_asm_gnu_indirect_function in the process.
35326         * configure: Regenerated.
35328 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35330         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35331         send the output to /dev/null.
35332         (libc_cv_cc_with_libunwind): Likewise.
35333         (libc_cv_as_noexecstack): Likewise.
35334         * configure: Regenerate.
35336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35338         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35340         * posix/globtest.sh (TMPDIR): Do not set.
35341         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35342         (testout): Likewise.
35344 2012-10-24  Andreas Jaeger  <aj@suse.de>
35346         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35347         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35348         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35349         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35350         posix_fadvise64, posix_fallocate64.
35352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35353         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35354         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35355         Likewise.
35356         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35357         Likewise.
35358         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35361         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35362         <bits/fcntl-linux.h>.
35363         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35366         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35367         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35368         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35369         [__WORDSIZE != 64]: Likewise.
35371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35373         * Makeconfig (run-built-tests): New variable.
35374         * Rules [$(cross-compiling) = yes]: Change condition to
35375         [$(run-built-tests) = no].
35376         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35377         to [$(run-built-tests) = yes].
35378         * elf/Makefile [$(cross-compiling) = no]: Likewise
35379         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35380         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35381         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35382         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35383         * io/Makefile [$(cross-compiling) = no]: Likewise.
35384         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35385         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35386         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35387         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35388         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35389         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35390         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35391         * string/Makefile [$(cross-compiling) = no]: Likewise.
35393         * posix/Makefile ($(objpfx)globtest.out): Pass
35394         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35395         $(rtld-installed-name).
35396         * posix/globtest.sh (elf_objpfx): Remove variable.
35397         (rtld_installed_name): Likewise.
35398         (library_path): Likewise.
35399         (run_program_prefix): New variable.  Use for running globtest
35400         binary.
35402 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35403             Joseph Myers  <joseph@codesourcery.com>
35405         * Makeconfig (host-built-program-cmd): New variable.
35406         * elf/Makefile (tst-stackguard1-ARGS): Use
35407         $(host-built-program-cmd).
35408         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35409         (tst-spawn-ARGS): Likewise.
35410         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35412 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35413             Jim Blandy  <jimb@codesourcery.com>
35415         * Makeconfig (run-via-rtld-prefix): New variable.
35416         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35417         (built-program-cmd): Likewise.
35419 2012-10-22  Andreas Jaeger  <aj@suse.de>
35421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35422         __O_RSYNC if it exists, otherwise to O_SYNC.
35424 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35425             Joseph Myers  <joseph@codesourcery.com>
35427         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35428         /dev/null.
35429         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35430         from /dev/null
35431         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35432         /dev/null.
35434 2012-10-22  Andreas Jaeger  <aj@suse.de>
35436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35437         Define always.
35438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35441         bits/fcntl-linux.h.
35443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35444         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35447         to __O_LARGEFILE.
35448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35449         to __O_LARGEFILE.
35451 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35452             Joseph Myers  <joseph@codesourcery.com>
35454         * config.make.in (NM): New variable.
35456 2012-10-21  Andreas Jaeger  <aj@suse.de>
35458         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35459         definitions and declarations that are provided by
35460         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35462 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35464         [BZ #14683]
35465         * elf/Makefile (tests-static): Add tst-leaks1-static.
35466         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35467         ($(objpfx)tst-leaks1-static): New rule.
35468         ($(objpfx)tst-leaks1-static-mem): Likewise.
35469         (tst-leaks1-static-ENV): New macro.
35470         * elf/dl-open.c (dl_open_worker): Check the main application
35471         only if SHARED is defined.
35472         * elf/tst-leaks1-static.c: New file.
35474 2012-10-20  Andreas Jaeger  <aj@suse.de>
35476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35477         generic values for Linux.
35478         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35479         and declarations that are provided by <bits/fcntl-linux.h> and
35480         include <bits/fcntl-linux.h>.
35481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35484 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35486         * io/fcntl.h: Move include of <bits/types.h> to the top and
35487         include it unconditionally.
35489 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35491         * wcsmbs/Makefile (tests-ifunc): New variable.
35492         (tests): Add $(tests-ifunc).
35493         * wcsmbs/test-wcschr-ifunc.c: New file.
35494         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35495         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35496         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35497         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35498         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35500         * string/Makefile (tests-ifunc): New variable.
35501         (tests): Add $(tests-ifunc).
35502         * string/test-memccpy.c (TEST_NAME): New macro.
35503         * string/test-memchr.c (TEST_NAME): Likewise.
35504         * string/test-memcmp.c (TEST_NAME): Likewise.
35505         * string/test-memcpy.c (TEST_NAME): Likewise.
35506         * string/test-memmem.c (TEST_NAME): Likewise.
35507         * string/test-memmove.c (TEST_NAME): Likewise.
35508         * string/test-memset.c (TEST_NAME): Likewise.
35509         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35510         * string/test-stpcpy.c (TEST_NAME): Likewise.
35511         * string/test-stpncpy.c (TEST_NAME): Likewise.
35512         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35513         * string/test-strcasestr.c (TEST_NAME): Likewise.
35514         * string/test-strcat.c (TEST_NAME): Likewise.
35515         * string/test-strchr.c (TEST_NAME): Likewise.
35516         * string/test-strcmp.c(TEST_NAME): Likewise.
35517         * string/test-strcpy.c (TEST_NAME): Likewise.
35518         * string/test-strcspn.c (TEST_NAME): Likewise.
35519         * string/test-strlen.c (TEST_NAME): Likewise.
35520         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35521         * string/test-strncmp.c (TEST_NAME): Likewise.
35522         * string/test-strncpy.c (TEST_NAME): Likewise.
35523         * string/test-strnlen.c (TEST_NAME): Likewise.
35524         * string/test-strpbrk.c (TEST_NAME): Likewise.
35525         * string/test-strrchr.c (TEST_NAME): Likewise.
35526         * string/test-strspn.c (TEST_NAME): Likewise.
35527         * string/test-strstr.c (TEST_NAME): Likewise.
35528         * string/test-bcopy-ifunc.c: New file.
35529         * string/test-bzero-ifunc.c: Likewise.
35530         * string/test-memccpy-ifunc.c: Likewise.
35531         * string/test-memchr-ifunc.c: Likewise.
35532         * string/test-memcmp-ifunc.c: Likewise.
35533         * string/test-memcpy-ifunc.c: Likewise.
35534         * string/test-memmem-ifunc.c: Likewise.
35535         * string/test-memmove-ifunc.c: Likewise.
35536         * string/test-mempcpy-ifunc.c: Likewise.
35537         * string/test-memset-ifunc.c: Likewise.
35538         * string/test-rawmemchr-ifunc.c: Likewise.
35539         * string/test-stpcpy-ifunc.c: Likewise.
35540         * string/test-stpncpy-ifunc.c: Likewise.
35541         * string/test-strcasecmp-ifunc.c: Likewise.
35542         * string/test-strcasestr-ifunc.c: Likewise.
35543         * string/test-strcat-ifunc.c: Likewise.
35544         * string/test-strchr-ifunc.c: Likewise.
35545         * string/test-strchrnul-ifunc.c: Likewise.
35546         * string/test-strcmp-ifunc.c: Likewise.
35547         * string/test-strcpy-ifunc.c: Likewise.
35548         * string/test-strcspn-ifunc.c: Likewise.
35549         * string/test-strlen-ifunc.c: Likewise.
35550         * string/test-strncasecmp-ifunc.c: Likewise.
35551         * string/test-strncat-ifunc.c: Likewise.
35552         * string/test-strncmp-ifunc.c: Likewise.
35553         * string/test-strncpy-ifunc.c: Likewise.
35554         * string/test-strnlen-ifunc.c: Likewise.
35555         * string/test-strpbrk-ifunc.c: Likewise.
35556         * string/test-strrchr-ifunc.c: Likewise.
35557         * string/test-strspn-ifunc.c: Likewise.
35558         * string/test-strstr-ifunc.c: Likewise.
35560         * debug/Makefile (tests-ifunc): New variable.
35561         (tests): Add $(tests-ifunc).
35562         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35563         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35564         * debug/test-stpcpy_chk-ifunc.c: New file.
35565         * debug/test-strcpy_chk-ifunc.c: Likewise.
35567 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35569         [BZ #13601]
35570         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35571         header is not read in.
35573 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35575         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35576         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35577         directly.  Pass built executable to script as
35578         $(built-program-cmd).
35579         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35580         $testprogram without using LD_LIBRARY_PATH and $ldso.
35582         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35583         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35584         $(rtld-installed-name).
35585         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35586         (rtld_installed_name): Likewise.
35587         (library_path): Likewise.
35588         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35590         $(run-program-prefix) to tst-tables.sh.
35591         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35592         it to run tst-table-from and tst-table-to.
35593         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35594         Pass it to tst-table.sh.
35595         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35596         $(run-program-prefix) to tst-gettext.sh.
35597         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35598         tst-translit.sh.
35599         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35600         tst-gettext2.sh.
35601         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35602         to run tst-gettext.
35603         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35604         to run tst-gettext2.
35605         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35606         to run tst-translit.
35607         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35608         $(run-program-prefix) to tst-mtrace.sh.
35609         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35610         to run tst-mtrace.
35611         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35612         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35613         $(rtld-installed-name).
35614         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35615         (rtld_installed_name): Likewise.
35616         (run_program_prefix): New variable.  Use it to run wordexp-test.
35618         * Makeconfig (ARCH): Remove all definitions.
35619         (machine): Likewise.
35620         [ARCH]: Remove conditional code.
35621         [!objdir]: Give error.
35622         [!objdir] (objpfx): Remove.
35623         [!objdir] (common-objpfx): Likewise.
35624         [!objdir] (common-objdir): Likewise.
35625         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35626         AC_CONFIG_FILES call.
35627         * configure: Regenerated.
35629         [BZ #13888]
35630         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35631         or TMPDIR.
35632         (testout): Likewise.
35634         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35635         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35636         $(rtld-installed-name).
35637         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35638         (rtld_installed_name): Likwise.
35639         (runit): Remove function.
35640         (run_getconf): New variable,  Use it for running getconf binary.
35642 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35644         [BZ #14716]
35645         * string/test-memmem.c (check_result): New function.
35646         (do_one_test): Use it.
35647         (check1): New function.
35648         (test_main): Use it.
35650 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35652         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35654 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35656         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35657         (_G_LSEEK64): Likewise.
35658         (_G_MMAP64): Likewise.
35659         (_G_FSTAT64): Likewise.
35660         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35661         (_G_LSEEK64): Likewise.
35662         (_G_MMAP64): Likewise.
35663         (_G_FSTAT64): Likewise.
35664         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35665         unconditional.  Call __mmap64 directly.
35666         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35667         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35668         __lseek64 directly.
35669         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35670         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35671         __mmap64 directly.
35672         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35673         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35674         __lseek64 directly.
35675         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35676         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35677         __lseek64 directly.
35678         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35679         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35680         __lseek64 directly.
35681         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35682         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35683         __fxstat64 directly.
35684         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35685         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35686         unconditional.
35687         (freopen64) [!_G_OPEN64]: Remove conditional code.
35688         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35689         unconditional.
35690         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35691         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35692         unconditional.
35693         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35694         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35695         unconditional.
35696         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35697         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35698         unconditional.
35699         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35700         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35701         unconditional.
35702         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35703         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35704         unconditional.
35705         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35706         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35707         unconditional.
35708         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35710 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35712         [BZ #12140]
35713         * manual/memory.texi (Malloc Tunable Parameters): Add note
35714         about free list pointers overwriting some perturb bytes.
35715         Wording suggested by Roland McGrath.
35717 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35719         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35720         (lgamma_test): Likewise.
35721         (tgamma_test): Likewise.
35723 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35725         [BZ #14700]
35726         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35727         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35729 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35731         * NEWS: Mention BZ #14716.
35732         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35733         when removing AVAILABLE1_USES_J macro.
35735 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35737         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35738         (__bswap_64): __uint64_t for unsigned 64-bit int.
35740 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35742         * include/string.h (memmem): Declare libc hidden alias.
35743         * string/memmem.c (memmem): Define libc hidden alias.
35744         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35745         __read, __close instead of open, read, close.
35747 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35750         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35751         global and hidden.
35752         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35753         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35754         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35755         Likewise.
35756         (__rawmemchr_sse2): Likewise.
35757         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35758         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35759         (__strchr_sse2): Likewise.
35760         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35761         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35762         (__strcasecmp_sse2): Likewise.
35763         (__strncasecmp_sse2): Likewise.
35764         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35765         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35766         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35767         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35768         (__strrchr_sse2): Likewise.
35769         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35770         ifunc-impl-list.c.
35771         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35773         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35774         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35775         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35776         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35777         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35779         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35780         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35781         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35784         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35785         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35786         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35787         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35788         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35789         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35790         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35791         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35792         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35793         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35794         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35795         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35797         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35798         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35800         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35802         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35803         global and hidden.
35804         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35805         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35806         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35807         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35808         Likewise.
35809         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35810         Likewise.
35811         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35812         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35813         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35814         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35815         ifunc-impl-list.c.
35816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35818         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35829         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35830         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35832         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35833         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35834         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35835         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35836         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35837         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35838         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35839         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35840         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35841         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35842         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35843         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35844         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35846         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35849         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35858         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35859         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35860         * include/ifunc-impl-list.h: New file.
35861         * misc/ifunc-impl-list.c: Likewise.
35862         * misc/Makefile (routines): Add ifunc-impl-list.
35863         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35864         * string/test-string.h: Include <ifunc-impl-list.h>.
35865         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35866         TEST_NAME]: New variables.
35867         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35868         are defined.
35869         (test_init): Call __libc_ifunc_impl_list to initialize
35870         func_list if TEST_IFUNC and TEST_NAME are defined.
35872         * string/Makefile (strop-tests): Add bcopy and bzero.
35873         * string/test-bcopy.c: New file.
35874         * string/test-bzero.c: Likewise.
35875         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35876         defined.
35877         * string/test-memset.c: Support bzero test if TEST_BZERO is
35878         defined.
35879         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35880         __libc_memmove.
35881         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35882         __libc_memset.
35883         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35884         of memset.
35886 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35888         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35889         * configure: Regenerated.
35891         * Makeconfig (+link-static-before-libc): Don't include
35892         $(link-static-libc).
35894         * libio/libio.h (_IO_pos_t): Remove.
35896 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35898         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35899         McGrath.
35901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35903         * crypt/crypt-entry.c: Include fips-private.h.
35904         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35905         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35906         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35907         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35911         * crypt/crypt-private.h: Include stdbool.h.
35912         (_ufc_setup_salt_r): Return bool.
35913         * crypt/crypt-entry.c: Include errno.h.
35914         (__crypt_r): Return NULL with EINVAL for bad salt.
35915         * crypt/crypt_util.c (bad_for_salt): New.
35916         (_ufc_setup_salt_r): Check that salt is long enough and within
35917         the specified alphabet.
35918         * crypt/badsalttest.c: New file.
35919         * crypt/Makefile (tests): Add it.
35920         ($(objpfx)badsalttest): New.
35922 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35924         * NEWS: Add entry for BZ #14602.
35926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35928         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35929         type-generic.
35930         * math/libm-test.inc: Update comment listing what functions and
35931         macros are tested.
35932         (isgreater_test): New function.
35933         (isgreaterequal_test): Likewise.
35934         (isless_test): Likewise.
35935         (islessequal_test): Likewise.
35936         (islessgreater_test): Likewise.
35937         (isunordered_test): Likewise.
35938         (main): Call the new functions.
35940 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35942         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35943         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35944         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35945         * sysdeps/i386/configure: Regenerated.
35946         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35947         * sysdeps/mach/configure: Regenerated.
35948         * sysdeps/mach/hurd/configure: Regenerated.
35949         * sysdeps/powerpc/configure: Regenerated.
35950         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35951         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35952         * sysdeps/s390/s390-32/configure: Regenerated.
35953         * sysdeps/s390/s390-64/configure: Regenerated.
35954         * sysdeps/sh/configure: Regenerated.
35955         * sysdeps/sparc/configure: Regenerated.
35956         * sysdeps/unix/sysv/linux/configure: Regenerated.
35957         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35958         * sysdeps/x86_64/configure: Regenerated.
35960         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35961         defined.  Don't check if MAP is NULL.
35963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35965         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35966         (_G_stat64): Likewise.
35967         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35968         (_G_stat64): Likewise.
35969         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35970         instead of struct _G_stat64.
35971         * libio/fileops.c (mmap_remap_check): Likewise.
35972         (decide_maybe_mmap): Likewise.
35973         (_IO_new_file_seekoff): Likewise.
35974         (_IO_file_stat): Likewise.
35975         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35976         _G_off64_t.
35977         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35978         instead of struct _G_stat64.
35979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35981 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35983         [BZ #14602]
35984         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35985         Replace with ...
35986         (CHECK_EOL): New macro.
35987         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35988         CHECK_EOL.
35989         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35990         Replace with CHECK_EOL.
35991         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35992         Replace with CHECK_EOL.
35994 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35996         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35997         type-generic.
35998         * math/libm-test.inc: Update comment listing what functions and
35999         macros are tested.
36000         (finite_test): New function.
36001         (isinf_test): Likewise.
36002         (isnan_test): Likewise.
36003         (fpclassify_test): Test subnormal input.
36004         (isfinite_test): Likewise.
36005         (isnormal_test): Likewise.
36006         (main): Call the new functions.
36008 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36010         [BZ #14660]
36011         * Makerules (%.dynsym): Force C locale when running
36012         $(OBJDUMP) --dynamic-syms.
36014 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36016         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36017         <stdint.h>.
36019 2012-10-06  David S. Miller  <davem@davemloft.net>
36021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36022         upper 32-bits of the length value in %o2 since we use branch-on-register
36023         tests which consider the entire 64-bit register.
36025 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36027         * string/test-strstr.c (check2): Add a test for page boundary.
36029 2012-10-05  David S. Miller  <davem@davemloft.net>
36031         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36032         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36033         file.
36034         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36035         sysdep_routines.
36036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36037         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36038         and bzero when HWCAP_SPARC_CRYPTO is present.
36040 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36042         [BZ #14602]
36043         * string/test-strstr.c (check2): New function.
36044         (test_main): Call check2.
36046         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36047         and bug-strchr1.
36048         * string/bug-strcasestr1.c (do_test): Moved to ...
36049         * string/test-strcasestr.c (check1): Here.  New function.
36050         (do_one_test): Break out result checking code into ...
36051         (check_result): This.  New function.
36052         (do_one_test): Call check_result.
36053         (test_main): Call check1.
36054         * string/bug-strchr1.c (do_test): Moved to ...
36055         * string/test-strchr.c (check1): Here.  New function.
36056         (do_one_test): Break out result checking code into ...
36057         (check_result): This.  New function.
36058         (do_one_test): Call check_result.
36059         (test_main): Call check1.
36060         * string/bug-strstr1.c (main): Moved to ...
36061         * string/test-strstr.c (check1): Here.  New function.
36062         (do_one_test): Break out result checking code into ...
36063         (check_result): This.  New function.
36064         (do_one_test): Call check_result.
36065         (test_main): Call check1.
36066         * string/bug-strcasestr1.c: Removed.
36067         * string/bug-strchr1.c: Likewise.
36068         * string/bug-strstr1.c: Likewise.
36070         * elf/Makefile (dl-routines): Add hwcaps.
36071         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36072         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36073         (_dl_important_hwcaps): Moved to ...
36074         * elf/dl-hwcaps.c: Here.  New file.
36075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36077         [BZ #14557]
36078         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36079         if IS_IN_rtld isn't defined.
36081         * elf/dl-support.c (_dl_sysinfo_map): New.
36082         Include "get-dynamic-info.h" and "setup-vdso.h".
36083         (_dl_non_dynamic_init): Call setup_vdso.
36084         * elf/dynamic-link.h: Don't include <assert.h>.
36085         (elf_get_dynamic_info): Moved to ...
36086         * elf/get-dynamic-info.h: Here.  New file.
36087         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36088         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36089         * elf/setup-vdso.h: Here.  New file.
36090         * elf/rtld.c: Include "setup-vdso.h".
36091         (dl_main): Call setup_vdso.
36093 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36095         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36096         creal in comment listing functions tested.  List finite, isinf,
36097         isnan, isless, islessequal, isgreater, isgreaterequal,
36098         islessgreater, isunordered, lgamma_r and pow10 as functions and
36099         macros not tested.  Mention which functions not tested are aliases
36100         for other functions.  Fix typo.  Note that signs of NaNs are not
36101         tested.
36103         * scripts/config.guess: Update from config.git.
36104         * scripts/config.sub: Likewise.
36106 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36108         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36109         * misc/madvise.c (madvise): Renamed to __madvise.
36110         Make madvise a weak alias.
36111         * include/sys/mman.h: Declare __madvise.
36112         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36113         * sysdeps/unix/syscalls.list
36114         (madvise): Make __madvise the strong name, and madvise a weak alias.
36115         * sysdeps/unix/sysv/linux/syscalls.list
36116         (madvise, mmap): Remove redundant entries.
36117         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36118         * malloc/malloc.c (mtrim): Likewise.
36119         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36123         * sysdeps/mach/hurd/dl-cache.c: File removed.
36124         * config.h.in (USE_LDCONFIG): New #undef.
36125         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36126         * configure: Regenerated.
36127         * elf/Makefile (dl-routines): Add dl-cache only under
36128         [$(use-ldconfig) = yes].
36129         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36130         cache on [USE_LDCONFIG].
36131         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36132         [USE_LDCONFIG].
36133         * elf/rtld.c (dl_main): Likewise.
36135 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36137         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36138         _SC_LEVEL4_CACHE_LINESIZE.
36140 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36142         * sysdeps/unix/bsd/confstr.h: File removed.
36144 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36146         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36147         sys/sdt-config.h.
36149 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36151         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36152         Make 'mapoff' field ElfW(Off) rather than off_t.
36154 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36156         * nscd/Makefile: Remove nscd-cflags and all its users.
36157         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36158         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36160         [BZ #10631]
36161         * malloc.c (malloc_printerr): Clarify error message.
36163 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36165         [BZ #14648]
36166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36167         Set bit_FMA_Usable if FMA is supported.
36168         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36169         macro.
36170         (bit_FMA4_Usable): Updated.
36171         (index_FMA_Usable): New macro.
36172         (CPUID_FMA): Likewise
36173         (HAS_FMA): Defined with bit_FMA_Usable.
36175 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36177         * bits/types.h (__swblk_t): Type removed.
36178         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36179         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36181         (__SWBLK_T_TYPE): Likewise.
36182         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36183         (__SWBLK_T_TYPE): Likewise.
36184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36185         (__SWBLK_T_TYPE): Likewise.
36186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36187         (__SWBLK_T_TYPE): Likewise.
36189 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36190             Honza Horak <hhorak@redhat.com>
36192         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36193         (xdr_mapname): Use YPMAXMAP as maxsize.
36194         (xdr_peername): Use YPMAXPEER as maxsize.
36195         (xdr_keydat): Use YPAXRECORD as maxsize.
36196         (xdr_valdat): Use YPMAXRECORD as maxsize.
36198 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36200         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36202         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36203         * csu/init-first.c: ... here.
36204         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36205         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36206         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36208         * sysdeps/i386/init-first.c: File removed.
36209         * sysdeps/sh/init-first.c: File removed.
36211 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36213         [BZ #14645]
36214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36215         if x * y might underflow to zero and z is zero.
36216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36218         * math/libm-test.inc (min_subnorm_value): New variable.
36219         (fma_test): Add more tests.
36220         (fma_test_towardzero): Likewise.
36221         (fma_test_downward): Likewise
36222         (fma_test_upward): Likewise.
36223         (initialize): Set min_subnorm_value.
36225 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36227         [BZ #14638]
36228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36229         0 + 0.
36230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36231         mode for addition resulting in exact zero.
36232         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36234         exact 0 + 0.
36235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36237         * math/libm-test.inc (fma_test): Add more tests.
36238         (fma_test_towardzero): New function.
36239         (fma_test_downward): Likewise.
36240         (fma_test_upward): Likewise.
36241         (main): Call the new functions.
36243 2012-09-28  David S. Miller  <davem@davemloft.net>
36245         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36247 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36249         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36250         instead of SIGALRM.
36252         * sysdeps/gnu/_G_config.h: Moved to ...
36253         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36254         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36255         * sysdeps/generic/_G_config.h: ... here.
36257         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36259         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36261         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36262         Conditionalize target on [libnss_test1.so-version].
36264         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36266         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36267         (elfobjdir): Move out of conditionals.
36269         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36270         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36271         (__nss_lookup_function): Conditionalize label remove_from_tree on
36272         [!DO_STATIC_NSS || SHARED], matching its only use.
36274 2012-09-28  David S. Miller  <davem@davemloft.net>
36276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36278         file.
36279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36280         sysdep_routines.
36281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36283         when HWCAP_SPARC_CRYPTO is present.
36285 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36287         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36289 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36291         [BZ #6530]
36292         * stdio-common/vfprintf.c (process_string_arg): Revert
36293         2000-07-22 change.
36295 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36297         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36298         for testcase.
36299         * stdio-common/tst-sprintf.c: Include <locale.h>
36300         (main): Test sprintf's handling of incomplete multibyte
36301         characters.
36303 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36305         * elf/dl-runtime.c (VERSYMIDX): Removed.
36306         * elf/dl-version.c (VERSYMIDX): Likewise.
36307         * elf/do-rel.h (VERSYMIDX): Likewise.
36308         (VALIDX): Likewise.
36309         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36310         * elf/rtld.c (VALIDX): Likewise.
36311         (ADDRIDX): Likewise.
36312         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36313         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36314         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36315         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36316         (VALIDX): Likewise.
36317         (ADDRIDX): Likewise.
36319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36321         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36323 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36325         [BZ #11438]
36326         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36327         to global scope.
36328         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36329         addresses are in the same scope as 192.0.2/24.
36330         * posix/gai.conf: Document new scope table defaults.
36332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36334         [BZ #5298]
36335         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36336         for ftell.  Compute offsets from write pointers instead.
36337         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36339 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36341         [BZ #14543]
36342         * libio/Makefile (tests): New test case tst-fseek.
36343         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36344         combination works in wide mode.
36345         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36346         state when the external buffer state changes.
36348 2012-09-27  David S. Miller  <davem@davemloft.net>
36350         [BZ #14376]
36351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36352         pass reloc->r_addend in as the 'high' argument to
36353         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36357 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36359         * rt/tst-aio2.c: Include <pthread.h>.
36360         * rt/tst-aio3.c: Likewise.
36362 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36364         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36366 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36368         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36369         contents on [SHARED].
36371 2012-09-26  Marek Polacek  <polacek@redhat.com>
36373         [BZ #14530]
36374         [BZ #13741]
36375         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36376         for C++ and GCC <4.3 as well as for non GCC compilers.
36378 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36382 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36384         * Makefile.in (all, install): Declare with .PHONY.
36385         Reported by Michael Hope <michael.hope@linaro.org>.
36387 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36389         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36390         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36391         system header.
36392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36393         Likewise.
36394         (sydep_routines): Add the new and the internal functions.
36395         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36396         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36398         (GLIBC_2.17): Add the new function.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36400         (GLIBC_2.17): Likewise.
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36402         (GLIBC_2.17): Likewise.
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36404         (GLIBC_2.17): Likewise.
36405         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36407 2012-09-25  Alan Modra  <amodra@gmail.com>
36409         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36410         Add release barrier before setting once_control to say
36411         initialisation is done.  Add hints on lwarx.  Use macro in
36412         place of isync.
36413         (clear_once_control): Add release barrier.
36415 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36417         [BZ #13629]
36418         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36419         specially.
36420         * math/s_clog10.c (__clog10): Likewise.
36421         * math/s_clog10f.c (__clog10f): Likewise.
36422         * math/s_clog10l.c (__clog10l): Likewise.
36423         * math/s_clogf.c (__clogf): Likewise.
36424         * math/s_clogl.c (__clogl): Likewise.
36425         * math/Makefile (libm-calls): Add x2y2m1.
36426         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36427         (__x2y2m1): Likewise.
36428         (__x2y2m1l): Likewise.
36429         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36430         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36432         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36433         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36434         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36435         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36436         * sysdeps/i386/fpu/libm-test-ulps: Update.
36437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36439         [BZ #14621]
36440         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36441         int as type of variable DEPTH.
36442         (glob): Use size_t instead of int as type of variables NEWCOUNT
36443         and OLD_PATHC.
36445 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36447         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36448         Add s_sincosf-sse2.
36449         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36450         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36451         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36452         macros for using routine as __sincosf_ia32.
36453         Use macro for function declaration and weak_alias.
36454         * sysdeps/i386/fpu/libm-test-ulps: Update.
36456         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36459         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36460         subnormal argument.
36461         * math/s_cexpf.c (__cexpf): Likewise.
36462         * math/s_csinf.c (__csinf): Likewise.
36463         * math/s_csinhf.c (__csinhf): Likewise.
36464         * math/s_ctanf.c (__ctanf): Likewise.
36465         * math/s_ctanhf.c (__ctanhf): Likewise.
36466         * math/s_ccosh.c (__ccoshf): Likewise.
36467         * math/s_cexp.c (__cexpl): Likewise.
36468         * math/s_csin.c (__csin): Likewise.
36469         * math/s_csinh.c (__csinh): Likewise.
36470         * math/s_ctan.c (__ctan): Likewise.
36471         * math/s_ctanh.c (ctanh): Likewise.
36472         * math/s_ccoshl.c (__ccoshl): Likewise.
36473         * math/s_cexpl.c (__cexpl): Likewise.
36474         * math/s_csinl.c (__csinl): Likewise.
36475         * math/s_csinhl.c (__csinhl): Likewise.
36476         * math/s_ctanl.c (__ctanl): Likewise.
36477         * math/s_ctanhl.c (__ctanhl): Likewise.
36479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36481         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36482         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36483         (_IO_off_t): Define to __off_t, not _G_off_t.
36484         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36485         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36486         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36487         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36488         type of __dummy and __dummy2 fields.
36489         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36490         (_G_ssize_t): Likewise.
36491         (_G_off_t): Likewise.
36492         (_G_pid_t): Likewise.
36493         (_G_uid_t): Likewise.
36494         (_G_wchar_t): Likewise.
36495         (_G_wint_t): Likewise.
36496         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36497         (_G_ssize_t): Likewise.
36498         (_G_off_t): Likewise.
36499         (_G_pid_t): Likewise.
36500         (_G_uid_t): Likewise.
36501         (_G_wchar_t): Likewise.
36502         (_G_wint_t): Likewise.
36503         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36504         (_G_ssize_t): Likewise.
36505         (_G_off_t): Likewise.
36506         (_G_pid_t): Likewise.
36507         (_G_uid_t): Likewise.
36508         (_G_wchar_t): Likewise.
36509         (_G_wint_t): Likewise.
36511 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36513         * malloc/arena.c: Include malloc-sysdep.h.
36514         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36515         is sufficient to shrink the heap or an unmap is needed.
36516         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36517         new function check_may_shrink_heap.
36518         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36519         new function check_may_shrink_heap.
36521 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36523         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36524         comments.
36526 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36528         * catgets/test-gencat.sh: Add "set -e".
36529         * elf/tst-pathopt.sh: Likewise.
36530         * grp/tst_fgetgrent.sh: Likewise.
36531         * iconvdata/run-iconv-test.sh: Likewise.
36532         * intl/tst-gettext.sh: Likewise.
36533         * intl/tst-gettext2.sh: Likewise.
36534         * intl/tst-gettext4.sh: Likewise.
36535         * intl/tst-gettext6.sh: Likewise.
36536         * intl/tst-translit.sh: Likewise.
36537         * io/ftwtest-sh: Likewise.
36538         * libio/test-freopen.sh: Likewise.
36539         * malloc/tst-mtrace.sh: Likewise.
36540         * posix/globtest.sh: Likewise.
36541         * posix/tst-getconf.sh: Likewise.
36542         * posix/wordexp-tst.sh: Likewise.
36543         * stdio-common/tst-printf.sh: Likewise.
36544         * stdio-common/tst-unbputc.sh: Likewise.
36545         * stdlib/tst-fmtmsg.sh: Likewise.
36546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36547         * catgets/Makefile: Do not specify -e option when running
36548         testsuite shell scripts.
36549         * elf/Makefile: Likewise.
36550         * grp/Makefile: Likewise.
36551         * iconvdata/Makefile: Likewise.
36552         * intl/Makefile: Likewise.
36553         * io/Makefile: Likewise.
36554         * libio/Makefile: Likewise.
36555         * malloc/Makefile: Likewise.
36556         * posix/Makefile: Likewise.
36557         * stdio-common/Makefile: Likewise.
36558         * stdlib/Makefile: Likewise.
36559         * sysdeps/x86_64/Makefile: Likewise.
36561         * io/ftwtest-sh: Add copyright header.
36562         * posix/globtest.sh: Likewise.
36563         * posix/tst-getconf.sh: Likewise.
36564         * posix/wordexp-tst.sh: Likewise.
36565         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36567 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36569         [BZ #13679]
36570         * Makeconfig (+link): Defined as $(+link-static) if
36571         $(build-shared) isn't yes.
36572         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36573         isn't yes.
36574         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36576         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36578         [BZ #14562]
36579         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36580         new chunk size with MALLOC_ALIGN_MASK.
36582 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36584         [BZ #5044]
36585         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36586         <rounding-mode.h>.
36587         (__printf_fphex): Determine rounding using get_rounding_mode and
36588         round_away.
36589         * stdio-common/tst-printf-round.c (struct hex_test): New
36590         structure.
36591         (hex_tests): New variable.
36592         (test_hex_in_one_mode): New function.
36593         (do_test): Also run tests for hex float output.
36595 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36597         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36599         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36600         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36601         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36602         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36603         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36606 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36608         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36609         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36610         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36611         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36613 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36615         [BZ #14579]
36616         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36617         mode only.
36618         * elf/tst-rtld-load-self.sh: New test.
36619         * elf/Makefile: Run it.
36621 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36623         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36624         (tst-writev-ENV): Remove.
36625         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36627 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36629         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36631 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36633         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36634         unconditional.
36635         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36636         Likewise.
36637         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36638         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36640         Likewise.
36642 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36644         [BZ #14587]
36645         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36646         * config.make.in (have-cpp-asm-debuginfo): Removed.
36647         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36648         * configure: Regenerated.
36650 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36652         [BZ #5044]
36653         * stdio-common/printf_fp.c: Include <stdbool.h> and
36654         <rounding-mode.h>.
36655         (___printf_fp): Determine rounding using get_rounding_mode and
36656         round_away.
36657         * stdio-common/tst-printf-round.c: New file.
36658         * stdio-common/Makefile (tests): Add tst-printf-round.
36659         (link-libm): New variable.
36660         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36662 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36664         [BZ #14576]
36665         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36666         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36667         Likewise.
36668         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36669         Likewise.
36671 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36673         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36674         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36675         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36678 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #14518]
36681         * include/rounding-mode.h: New file.
36682         * sysdeps/generic/get-rounding-mode.h: Likewise.
36683         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36684         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36685         (MAX_VALUE): New macro.
36686         (MIN_VALUE): Likewise.
36687         (overflow_value): New function.
36688         (underflow_value): Likewise.
36689         (round_and_return): Use overflow_value and underflow_value to
36690         determine return values in overflow and underflow cases.  Use
36691         round_away to determine rounding depending on rounding mode.
36692         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36693         determine return values in overflow and underflow cases.
36694         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36695         (struct test_results): New structure.
36696         (struct test): Use struct test_results to store expected results
36697         for all rounding modes.
36698         (TEST): Include expected results for all rounding modes.
36699         (test_in_one_mode): New function.
36700         (do_test): Use test_in_one_mode to compute and check results.
36701         Check results for all rounding modes.
36702         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36703         $(link-libm).
36705 2012-12-09  Allan McRae  <allan@archlinux.org>
36707         * sysdeps/i386/fpu/libm-test-ulps: Update
36709 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36711         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36712         (_G_int32_t): Likewise.
36713         (_G_uint16_t): Likewise.
36714         (_G_uint32_t): Likewise.
36715         (_G_HAVE_BOOL): Likewise.
36716         (_G_HAVE_ATEXIT): Likewise.
36717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36718         (_G_HAVE_IO_FILE_OPEN): Likewise.
36719         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36720         (_G_int32_t): Likewise.
36721         (_G_uint16_t): Likewise.
36722         (_G_uint32_t): Likewise.
36723         (_G_HAVE_BOOL): Likewise.
36724         (_G_HAVE_ATEXIT): Likewise.
36725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36726         (_G_HAVE_IO_FILE_OPEN): Likewise.
36727         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36728         (_G_int32_t): Likewise.
36729         (_G_uint16_t): Likewise.
36730         (_G_uint32_t): Likewise.
36731         (_G_HAVE_BOOL): Likewise.
36732         (_G_HAVE_ATEXIT): Likewise.
36733         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36734         (_G_HAVE_IO_FILE_OPEN): Likewise.
36736 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36738         * csu/libc-tls.c: Update copyright years.
36740 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36742         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36743         [!_G_USING_THUNKS]: Remove conditional code.
36744         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36745         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36747         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36748         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36749         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36750         (_G_VTABLE_LABEL_PREFIX): Likewise.
36751         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36752         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36753         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36754         (_G_VTABLE_LABEL_PREFIX): Likewise.
36755         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36756         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36757         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36758         (_G_VTABLE_LABEL_PREFIX): Likewise.
36759         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36761 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36763         * libio/Makefile: Include ../Makeconfig before tests.
36764         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36765         only if $(build-shared) is yes.
36767         * iconv/gconv_db.c: Update copyright years.
36769 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36771         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36772         unwind info if defined PIC. Fix special cases description.
36773         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36775         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36776         DP_HI_MASK entry.
36777         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36779 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36781         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36783         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36784         is NULL.
36786         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36787         (LDLIBS-tst-chk4): This.
36788         (LDFLAGS-tst-chk5): Renamed to ...
36789         (LDLIBS-tst-chk5): This.
36790         (LDFLAGS-tst-chk6): Renamed to ...
36791         (LDLIBS-tst-chk6): This.
36792         (LDFLAGS-tst-lfschk4): Renamed to ...
36793         (LDLIBS-tst-lfschk4): This.
36794         (LDFLAGS-tst-lfschk5): Renamed to ...
36795         (LDLIBS-tst-lfschk5): This.
36796         (LDFLAGS-tst-lfschk6): Renamed to ...
36797         (LDLIBS-tst-lfschk6): This.
36799         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36800         on $(common-objpfx)soversions.mk.
36802 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36804         [BZ #10014]
36805         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36806         example host name.
36808 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36810         * malloc/arena.c (arena_get_retry): New function that gets
36811         another arena for the caller to try its request on.
36812         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36813         current arena cannot fulfill the request.
36814         (__libc_memalign): Likewise.
36815         (__libc_memalign): Likewise.
36816         (__libc_pvalloc): Likewise.
36817         (__libc_calloc): Likewise.
36819 2012-09-05  John Tobey  <john.tobey@gmail.com>
36821         [BZ #13542]
36822         * manual/arith.texi (Operations on Complex): Fix description
36823         of carg branch cut.
36825 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36827         [BZ #10014]
36828         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36829         host name.
36831         [BZ #10038]
36832         * manual/memory.texi (Memory): Make order of menu items match
36833         order of sections.
36835 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36837         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36838         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36839         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36841 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36843         * csu/libc-tls.c (static_dtv): Renamed to ...
36844         (_dl_static_dtv): This.  Make it global.
36845         (_dl_initial_dtv): Removed.
36846         (__libc_setup_tls): Updated.
36847         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36848         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36849         DL_INITIAL_DTV.
36851 2012-09-06  Petr Machata  <pmachata@redhat.com>
36853         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36854         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36855         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36856         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36860         [BZ #14545]
36861         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36862         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36863         freeing dtv[-1].
36865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36867         [BZ #14544]
36868         * Makeconfig (link-static-before-libc): Replace $(+prector)
36869         with $(+prectorT).
36870         (link-static-after-libc): Replace $(+postctor) with
36871         $(+postctorT).
36872         (link-bounded): Replace $(+prector)/$(+postctor) with
36873         $(+prectorT)/$(+postctorT).
36874         (+prectorT): New macro.
36875         (+postctorT): Likewise.
36877 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36879         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36880         (round_str): Handle values above the maximum for IBM long double
36881         as inexact.
36882         * stdlib/tst-strtod-round.c (tests): Regenerated.
36884 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36886         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36887         assembler flag.
36888         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36889         zarch_nohighgprs around the zarch optimized routines.
36890         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36891         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36893         for zarch.
36895 2012-09-05  David S. Miller  <davem@davemloft.net>
36897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36899         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36900         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36901         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36902         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36903         entries.
36905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36907         * malloc/arena.c: Fold copyright years.
36908         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36916         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36920         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36921         change internal state upon failure.
36923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36925         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36926         * malloc/memusage.c (mmap): Likewise.
36927         (mmap64, mremap): Likewise.  Adjust name in comment.
36929 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36931         * libio/fileops.c: Fix typos in comments.
36932         * libio/oldfileops.c: Likewise.
36933         * libio/wfileops.c: Likewise.
36935 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36937         [BZ #1349]
36938         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36939         (tst-malloc-usable-ENV): Set environment for test case.
36940         * malloc/hooks.c (malloc_check_get_size): New function to get
36941         requested size.
36942         * malloc/malloc.c (musable): Use malloc_check_get_size.
36943         * malloc/tst-malloc-usable.c: New test case.
36945 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36947         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36949 2012-09-05  Allan McRae  <allan@archlinux.org>
36951         [BZ #13966]
36952         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36953         determine header location.
36954         * configure: Regenerated.
36956 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36958         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36959         float format.
36960         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36961         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36962         format.
36963         (test): Regenerate.
36965 2012-09-04  David S. Miller  <davem@davemloft.net>
36967         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36968         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36971 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36973         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36974         failures.
36976         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36978 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36980         [BZ #9914]
36981         * libio/iogetdelim.c: Include <limits.h>.
36982         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36983         + len + 1 would overflow.
36985 2012-09-03  Andreas Jaeger  <aj@suse.de>
36987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36988         * sysdeps/i386/fpu/libm-test-ulps: Update.
36990 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36992         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36993         Add s_sinf-sse2, s_conf-sse2.
36995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36996         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36997         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36998         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37000         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37001         for using routine as __sinf_ia32.
37002         Use macro for function declaration and weak_alias.
37003         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37004         for using routine as __cosf_ia32.
37005         Use macro for function declaration and weak_alias.
37007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37008         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37010         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37011         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37014         * math/libm-test.inc (cos_test): Add more test cases.
37015         (sin_test): Likewise.
37016         (sincos_test): Likewise.
37018 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37021         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37022         hidden.
37023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37025 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37027         [BZ #14538]
37028         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37029         first element of the GOT.
37030         (elf_machine_load_address): Return the difference between
37031         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37033 2012-09-01  Allan McRae  <allan@archlinux.org>
37035         [BZ #13412]
37036         * configure.in (AWK): Require gawk version 3.0 or later.
37037         * configure: Regenerated.
37039 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37041         * sysdeps/unix/sysv/linux/kernel-features.h
37042         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37044         [__NR_clock_getres]: Make code unconditional.
37045         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37046         (clock_getcpuclockid): Remove code left unreachable by removal of
37047         conditionals.
37048         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37049         code unconditional.
37050         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37052         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37053         Make code unconditional.
37054         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37055         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37056         * sysdeps/unix/sysv/linux/clock_settime.c
37057         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37058         conditional code.
37059         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37060         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37062 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37064         [BZ #14476]
37065         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37066         scripts/test-installation.pl.
37068         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37069         and $ld_so_version if it is set.
37071 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37073         [BZ #14516]
37074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37075         failure if reading from procfs failed.
37076         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37078 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37080         * sysdeps/unix/sysv/linux/kernel-features.h
37081         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37082         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37083         Remove conditional code.
37084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37085         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37086         Remove conditional code.
37087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37088         * sysdeps/unix/sysv/linux/i386/fxstat.c
37089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37091         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37094         * sysdeps/unix/sysv/linux/i386/lxstat.c
37095         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37097         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37098         Remove conditional code.
37099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37100         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37101         Remove conditional code.
37102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37103         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37104         <kernel-features.h>.
37105         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37106         Remove.
37107         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37108         Remove conditional code.
37109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37110         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37111         Remove conditional.
37113 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37115         [BZ #5400]
37116         * NEWS: Add fixed bug number.
37118 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37120         [BZ #14519]
37121         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37122         underflowing exponent in case of negative sign.
37123         * stdlib/tst-strtod-round-data: Add more tests.
37124         * stdlib/tst-strtod-round.c (tests): Regenerated.
37126         [BZ #3479]
37127         * stdlib/strtod_l.c (NDIG): Remove.
37128         (HEXNDIG): Likewise.
37129         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37130         smallest representable value.
37131         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37132         lie within an exact representation of 1/2 ulp of the result.
37133         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37134         unconditionally.
37135         (TENS_P9_IDX): Define unconditionally.
37136         (TENS_P9_SIZE): Likewise.
37137         (TENS_P10_IDX): Likewise.
37138         (TENS_P10_SIZE): Likewise.
37139         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37140         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37141         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37142         entries for 10^2^13 and 10^2^14.
37143         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37144         (TENS_P13_IDX): Define.
37145         (TENS_P13_SIZE): Likewise.
37146         (TENS_P14_IDX): Likewise.
37147         (TENS_P14_SIZE): Likewise.
37148         (_fpioconst_pow10): Change array size to
37149         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37150         unconditional.
37151         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37152         1024]: Add entries for 10^2^13 and 10^2^14.
37153         [LAST_POW10 > _LAST_POW10]: Remove #error.
37154         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37155         (_fpioconst_pow10): Change array size to
37156         FPIOCONST_POW10_ARRAY_SIZE.
37157         * stdlib/gen-fpioconst.c: New file.
37158         * stdlib/gen-tst-strtod-round.c: Likewise.
37159         * stdlib/tst-strtod-round-data: Likewise.
37160         * stdlib/tst-strtod-round.c: Likewise.
37161         * stdlib/Makefile (tests): Add tst-strtod-round.
37163         [BZ #14459]
37164         * stdlib/strtod_l.c: Include <stdint.h>.
37165         (NDEBUG): Do not define.
37166         (round_and_return): Change EXPONENT parameter to type intmax_t.
37167         Rearrange calculations to avoid internal overflow possibilities.
37168         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37169         Rearrange calculations to avoid internal overflow possibilities.
37170         Assert that number fits inside MPNSIZE limbs.
37171         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37172         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37173         calculations and add assertions to avoid internal overflow
37174         possibilities.  Add casts to avoid signed/unsigned operations.
37175         * stdlib/tst-strtod-overflow.c: New file.
37176         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37178 2012-08-25  Marek Polacek  <polacek@redhat.com>
37180         * time/time.h: Fix some typos in comments.
37182 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37184         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37185         * posix/tst-rfc3484-2.c: Likewise.
37186         * posix/tst-rfc3484-3.c: Likewise.
37188 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37190         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37191         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37193 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37195         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37196         #include of fxstatat64.c.
37198 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37200         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37201         * shadow/getspent_r.c: Likewise.
37202         * shadow/getspnam.c: Likewise.
37203         * shadow/getspnam_r.c: Likewise.
37204         * gshadow/getsgent.c: Likewise.
37205         * gshadow/getsgent_r.c: Likewise.
37206         * gshadow/getsgnam.c: Likewise.
37207         * gshadow/getsgnam_r.c: Likewise.
37208         * inet/getnetbyad.c: Likewise.
37209         * inet/getnetbyad_r.c: Likewise.
37210         * inet/getnetbynm.c: Likewise.
37211         * inet/getnetbynm_r.c: Likewise.
37212         * inet/getnetent.c: Likewise.
37213         * inet/getnetent_r.c: Likewise.
37214         * inet/getproto.c: Likewise.
37215         * inet/getproto_r.c: Likewise.
37216         * inet/getprtent.c: Likewise.
37217         * inet/getprtent_r.c: Likewise.
37218         * inet/getprtname.c: Likewise.
37219         * inet/getprtname_r.c: Likewise.
37220         * inet/getrpcbyname.c: Likewise.
37221         * inet/getrpcbyname_r.c: Likewise.
37222         * inet/getrpcbynumber.c: Likewise.
37223         * inet/getrpcbynumber_r.c: Likewise.
37224         * inet/getrpcent.c: Likewise.
37225         * inet/getrpcent_r.c: Likewise.
37226         * inet/getaliasent.c: Likewise.
37227         * inet/getaliasent_r.c: Likewise.
37228         * inet/getaliasname.c: Likewise.
37229         * inet/getaliasname_r.c: Likewise.
37230         * nscd/getgrgid_r.c: Likewise.
37231         * nscd/getgrnam_r.c: Likewise.
37232         * nscd/gethstbyad_r.c: Likewise.
37233         * nscd/gethstbynm3_r.c: Likewise.
37234         * nscd/getpwnam_r.c: Likewise.
37235         * nscd/getpwuid_r.c: Likewise.
37236         * nscd/getsrvbynm_r.c: Likewise.
37237         * nscd/getsrvbypt_r.c: Likewise.
37238         * nscd/gai.c: Likewise.
37240         * configure.in (build_nscd): New substituted variable, set
37241         by --disable-build-nscd and defaults to $use_nscd.
37242         * configure: Regenerated.
37243         * config.make.in (build-nscd): New substituted variable.
37244         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37245         Change conditional to require [$(build-nscd) = yes] as well.
37246         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37248         [BZ# 13696]
37249         * configure.in (use_nscd): New substituted variable, set by
37250         --disable-nscd.  If enabled, define USE_NSCD.
37251         * configure: Regenerated.
37252         * config.h.in: Add USE_NSCD.
37253         * config.make.in (use-nscd): New substituted variable.
37254         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37255         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37256         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37257         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37258         (CFLAGS-getgrnam_r.c): Likewise.
37259         (CFLAGS-initgroups.c): Likewise.
37260         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37261         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37262         Variables removed.
37263         * inet/getnetgrent_r.c
37264         (nscd_setnetgrent): New function, broken out of ...
37265         (setnetgrent): ... here.  Call it.
37266         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37267         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37268         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37269         * nscd/Makefile (routines, aux): Move definitions after include of
37270         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37271         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37272         Conditionalize on [USE_NSCD].
37273         (is_nscd, nscd_init_cb): Likewise.
37274         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37275         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37276         * nss/nss_db/db-init.c: Likewise.
37277         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37278         [USE_NSCD].
37279         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37280         (make_request): Use it.
37281         (cache_valid_p): New function.
37282         (__check_pf): Use it.
37283         * NEWS: Add item for --disable-nscd.
37285 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37287         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37288         to support sed >= 4.2.1-20-ga9bf076.
37289         * configure: Regenerated.
37291 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37293         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37294         Conditionalize whole body on [IREL].
37296 2012-08-22  Jeff Law <law@redhat.com>
37298         [BZ #14505]
37299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37300         if the family is PF_UNSPEC.
37302 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37304         * Makerules (lib-version): Rename from V.
37305         (install-lib-nosubdir): Change V to lib-version.
37307 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37309         [BZ #14252]
37310         * powerpc32/power6/wcschr.c: New file.
37311         * powerpc32/power6/wcscpy.c: New file.
37312         * powerpc32/power6/wcsrchr.c: New file.
37313         * powerpc64/power6/wcschr.c: New file.
37314         * powerpc64/power6/wcscpy.c: New file.
37315         * powerpc64/power6/wcsrchr.c: New file.
37317 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37319         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37320         (two_way_short_needle): Use it.
37321         * string/strstr.c (AVAILABLE1_USES_J): Define.
37322         * string/strcasestr.c: Likewise.
37324         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37325         array references.
37326         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37328         [BZ #11607]
37329         * NEWS: Add an entry.
37330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37331         define their defaults.
37332         (two_way_short_needle): Detect end-of-string on-the-fly.
37333         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37334         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37335         * string/bug-strcasestr1.c: New test.
37336         * string/Makefile: Run it.
37338 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37340         [BZ #11607]
37341         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37342         the first character.
37344 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37346         * csu/elf-init.c (__libc_csu_irel): Function removed.
37347         * csu/libc-start.c (apply_irel): New function.
37348         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37350 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37352         * sysdeps/unix/sysv/linux/kernel-features.h
37353         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37354         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37355         <kernel-features.h>.
37356         [__NR_fadvise64_64]: Make code unconditional.
37357         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37358         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37359         !__NR_fadvise64_64)]: Likewise.
37360         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37361         !__NR_fadvise64_64))]: Likewise.
37362         [__NR_fadvise64]: Make code unconditional.
37363         [!__NR_fadvise64]: Remove conditional code.
37364         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37365         <kernel-features.h>.
37366         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37367         unconditional.
37368         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37369         conditional code.
37370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37371         not include <kernel-features.h>.
37372         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37373         unconditional.
37374         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37375         conditional code.
37376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37377         include <kernel-features.h>.
37378         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37379         unconditional.
37380         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37381         conditional code.
37383 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37386         slight instruction rearrangements per scrollpipe analysis.
37387         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37389 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37391         * manual/syslog.texi (syslog; vsyslog, closelog):
37392         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37393         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37395         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37396         DSOCAPS to match condition on defining it.
37398 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37400         * sysdeps/unix/sysv/linux/kernel-features.h
37401         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37409         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37410         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37413         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37415         * sysdeps/unix/sysv/linux/kernel-features.h
37416         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37417         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37418         unconditional.
37419         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37420         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37423         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37424         Make code unconditional.
37425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37426         (__mmap64) [!__NR_mmap2]: Likewise.
37427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37428         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37429         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37430         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37431         [__NR_mmap2]: Make code unconditional.
37432         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37433         (__mmap64) [!__NR_mmap2]: Likewise.
37435 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37437         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37439 2012-08-18  Andreas Jaeger  <aj@suse.de>
37441         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37445         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37446         * include/unistd.h (__have_sock_cloexec): Likewise.
37447         (__have_pipe2): Likewise.
37448         (__have_dup3): Likewise.
37450 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37452         [BZ #9685]
37453         * include/unistd.h (__have_pipe2): Change define into an extern int.
37454         (__have_dup3): Likewise.
37455         * socket/have_sock_cloexec.c: Include fcntl.h.
37456         (__have_pipe2): New variable.
37457         (__have_dup3): Likewise.
37459 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37461         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37463 2012-08-17  Marek Polacek  <polacek@redhat.com>
37465         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37466         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37468 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37470         * configure.in: Add AC_SUBST for sysheaders.
37471         * configure: Regenerated.
37472         * config.make.in (sysheaders): New substituted variable.
37474         * sysdeps/unix/mkfifo.c: Moved ...
37475         * sysdeps/posix/mkfifo.c: ... here.
37476         * sysdeps/unix/mkfifoat.c: Moved ...
37477         * sysdeps/posix/mkfifoat.c: ... here.
37479         * sysdeps/unix/utime.c: Moved ...
37480         * sysdeps/posix/utime.c: ... here.
37482         * sysdeps/unix/time.c: Moved ...
37483         * sysdeps/posix/time.c: ... here.
37484         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37485         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37487         * sysdeps/unix/nice.c: Moved ...
37488         * sysdeps/posix/nice.c: ... here.
37490         * sysdeps/unix/alarm.c: Moved ...
37491         * sysdeps/posix/alarm.c: ... here.
37493         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37495 2012-08-17  Jeff Law <law@redhat.com>
37497         * intl/Makefile (codeset_mo): New variable.
37498         ($(codeset_mo)): New target.
37499         (tst-codeset.out): Depend on that.  Remove explicit rule.
37500         (tst-gettext3.out, tst-gettext5.out): Likewise.
37501         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37502         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37503         * intl/tst-codeset.sh: Remove.
37504         * intl/tst-gettext3.sh: Likewise.
37505         * intl/tst-gettext5.sh: Likewise.
37507 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37509         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37510         * sysdeps/unix/syscalls.list: ... here.
37512         * sysdeps/posix/getaddrinfo.c
37513         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37514         (gaiconf_init, gaiconf_reload): Use them.
37515         [!_STATBUF_ST_NSEC]
37516         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37517         Define using time_t rather than struct timespec.
37519         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37520         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37521         Macros removed.
37522         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37523         [!NO_THREADS].
37524         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37525         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37526         Likewise.
37528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37529         __libc_cleanup_push argument.
37531         * bits/param.h: New file.
37532         * misc/sys/param.h: New file.
37533         * include/sys/param.h: New file.
37534         * misc/Makefile (headers): Add bits/param.h.
37535         * sysdeps/generic/sys/param.h: File removed.
37536         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37537         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37538         * sysdeps/mach/hurd/bits/param.h: New file.
37539         * sysdeps/mach/hurd/sys/param.h: File removed.
37541         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37542         last change.
37544         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37545         [_IO_MTSAFE_IO].
37546         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37547         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37548         New macros.
37550         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37551         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37552         rather than -D_IO_MTSAFE_IO conditionally.
37553         * stdio-common/Makefile (CPPFLAGS): Likewise.
37554         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37555         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37556         Use $(libio-mtsafe).
37557         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37558         of -D_IO_MTSAFE_IO.
37559         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37560         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37561         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37562         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37563         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37564         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37565         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37566         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37567         (CFLAGS-fread_u_chk.c): Likewise.
37568         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37569         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37570         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37571         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37572         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37573         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37574         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37575         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37576         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37578         * libio/Makefile: Test [$(libc-reentrant) = yes]
37579         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37581         * Makeconfig
37582         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37583         * sysdeps/pthread/configure: File removed.
37584         * sysdeps/pthread/Makeconfig: New file.
37585         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37586         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37588 2012-08-16  Gary Benson  <gbenson@redhat.com>
37590         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37591         unmapping the first object in a namespace.
37593 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37595         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37596         (__internal_setnetgrent): ... this.  Add internal_function to
37597         definition.  Add libc_hidden_def.
37598         (setnetgrent): Update caller.
37599         (internal_endnetgrent): Renamed to ...
37600         (__internal_endnetgrent): ... this.  Add internal_function to
37601         definition.  Add libc_hidden_def.
37602         (endnetgrent): Update caller.
37603         (internal_getnetgrent_r): Renamed to ...
37604         (__internal_getnetgrent_r): ... this.  Add internal_function to
37605         definition.  Add libc_hidden_def.
37606         (__getnetgrent_r): Update caller.
37607         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37611         * stdlib/longlong.h: Update from GCC.
37613 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37615         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37616         on _QL, which is set by umul_ppmm but never used.
37617         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37618         variables, which are set by GMP macros but never used.
37619         * stdio-common/_itowa.c (_itowa): Likewise.
37620         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37621         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37623 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37625         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37626         struct La_sh_regs is not constant.
37627         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37628         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37629         and struct La_sparc64_regs are not constant.
37631 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37633         * sysdeps/unix/sysv/linux/kernel-features.h
37634         (__ASSUME_POSIX_TIMERS): Remove.
37635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37637         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37638         Make code unconditional.
37639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37640         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37641         Make code unconditional.
37642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37643         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37644         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37646         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37647         Make code unconditional.
37648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37649         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37650         (__libc_missing_posix_timers): Remove.
37652 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37654         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37655         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37657         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37659         * elf/dl-sym.c: Include <stdlib.h>.
37661         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37662         constants, which avoids warnings in 32-bit builds.
37664         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37665         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37667         * misc/lseek.c: File moved to ...
37668         * io/lseek.c: ... here.
37670         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37672         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37673         shifting LEN more than 31 bits at once.
37675 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37677         [BZ #14195]
37678         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37679         segmentation fault for a case of two empty input strings.
37680         * string/test-strncasecmp.c (check1): Renamed to...
37681         (bz12205): ...this.
37682         (bz14195): Add new testcase for two empty input strings and N > 0.
37683         (test_main): Call new testcase, adapt for renamed function.
37685 2012-08-15  Andreas Jaeger  <aj@suse.de>
37687         [BZ #14090]
37688         * crypt/md5test2.c: New test, based on test supplied by Serge
37689         Belyshev <belyshev@depni.sinp.msu.ru>.
37690         * crypt/Makefile (xtests): Add md5test-giant..
37691         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37693 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37695         [BZ #14090]
37696         * crypt/md5.c (md5_process_block): Don't assume the buffer
37697         length is less than 2**32.
37698         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37699         length is less than 2**64.
37701 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37703         * string/str-two-way.h: Include <sys/param.h>.
37704         (MAX): Macro removed.
37706         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37707         Move #define and #undef of memmove to just before and after
37708         including <string.h>.
37710         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37711         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37712         and after including <string.h>.  Move declarations of
37713         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37714         to before #include "string/memmove.c".
37716         * include/dirent.h: Declare __getdirentries.
37718         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37719         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37721 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37723         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37724         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37725         * sysdeps/i386/configure: Regenerated.
37726         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37727         STABS_CURRENT_FILE, and STABS_FUN.
37728         (END): Remove call to STABS_FUN_END.
37729         (STABS_CURRENT_FILE1): Delete.
37730         (STABS_CURRENT_FILE): Likewise.
37731         (STABS_FUN): Likewise.
37732         (STABS_FUN_END): Likewise.
37733         (STABS_FUN2): Likewise.
37734         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37735         * sysdeps/x86_64/configure: Regenerated.
37737 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37739         * elf/dl-open.c: Include <atomic.h>.
37740         * elf/dl-lookup.c: Likewise.
37742 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37744         * sysdeps/unix/sysv/linux/kernel-features.h
37745         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37746         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37747         unconditionally.
37748         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37749         unconditionally.
37750         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37751         condition on __ASSUME_CLONE_THREAD_FLAGS.
37753 2012-08-14  Andreas Jaeger  <aj@suse.de>
37755         * sysdeps/i386/fpu/libm-test-ulps: Update.
37757 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37759         * include/atomic.h (atomic_exchange_and_add): Split into ...
37760         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37761         New atomic macros.
37763 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37767 2012-08-13  Jeff Law <law@redhat.com>
37769         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37770         null byte in the output string.
37772 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37774         * sysdeps/unix/sysv/linux/kernel-features.h
37775         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37776         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37777         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37778         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37779         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37780         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37781         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37783 2012-08-09  Jeff Law <law@redhat.com>
37785         [BZ #13939]
37786         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37787         When avoid_arena is set, don't retry in the that arena.  Pick the
37788         next one, whatever it might be.
37789         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37790         (arena_lock): Pass in new parameter to arena_get2.
37791         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37792         arena_get2.
37793         (__libc_malloc): Unify retrying after main arena failure with
37794         __libc_memalign version.
37795         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37797 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37799         [BZ #14166]
37800         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37801         to __redirect_strstr.
37802         (__strstr_sse42): Use typeof __redirect_strstr.
37803         (__strstr_ia32): Likewise.
37804         (__libc_strstr): New prototype.
37805         (strstr): Renamed to ...
37806         (__libc_strstr): This.
37807         (strstr): New strong alias of __libc_strstr.
37808         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37809         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37810         __redirect_time.
37811         Include <time.h>.
37812         (__libc_time): New prototype.
37813         (time_ifunc): Replace time with __libc_time.
37814         (time): New strong alias and hidden definition of __libc_time.
37815         (__GI_time): Remove strong alias.
37816         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37817         Include <stddef.h>.
37818         (memmove): Redefined to __redirect_memmove.
37819         (__memmove_sse2): Use typeof __redirect_memmove.
37820         (__memmove_ssse3): Likewise.
37821         (__memmove_ssse3_back): Likewise.
37822         (__libc_memmove): New prototype.
37823         (memmove): Renamed to ...
37824         (__libc_memmove): This.
37825         (memmove): New strong alias of __libc_memmove.
37827 2012-08-08  Mark Salter  <msalter@redhat.com>
37829         * elf/elf.h
37830         (R_MN10300_TLS_GD): Define.
37831         (R_MN10300_TLS_LD): Likewise.
37832         (R_MN10300_TLS_LDO): Likewise.
37833         (R_MN10300_TLS_GOTIE): Likewise.
37834         (R_MN10300_TLS_IE): Likewise.
37835         (R_MN10300_TLS_LE): Likewise.
37836         (R_MN10300_TLS_DTPMOD): Likewise.
37837         (R_MN10300_TLS_DTPOFF): Likewise.
37838         (R_MN10300_TLS_TPOFF): Likewise.
37839         (R_MN10300_SYM_DIFF): Likewise.
37840         (R_MN10300_ALIGN): Likewise.
37841         (R_MN10300_NUM): Update.
37843 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37845         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37846         Remove.
37848 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37850         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37852         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37853         sysdeps/unix -> sysdeps/posix move.
37854         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37856 2012-08-07      Allan McRae     <allan@archlinux.org>
37858         [BZ #14303]
37859         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37860         (SUNOS_CPP): Likewise.
37861         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37862         not found.
37863         (open_input): Call CPP using execvp.
37865 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37867         * sysdeps/unix/sysv/linux/kernel-features.h
37868         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37869         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37870         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37871         (__ASSUME_WAITID_SYSCALL): Likewise.
37872         * sysdeps/unix/sysv/linux/dl-execstack.c
37873         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37874         code unconditional.
37875         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37876         conditional code.
37877         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37878         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37879         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37880         code.
37881         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37882         unconditional.
37883         [__ASSUME_WAITID_SYSCALL]: Likewise.
37884         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37886 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37888         * sysdeps/unix/closedir.c: Renamed to ...
37889         * sysdeps/posix/closedir.c: ... here.
37890         * sysdeps/unix/dirfd.c: Renamed to ...
37891         * sysdeps/posix/dirfd.c: ... here.
37892         * sysdeps/unix/dirstream.h: Renamed to ...
37893         * sysdeps/posix/dirstream.h: ... here.
37894         * sysdeps/unix/fdopendir.c: Renamed to ...
37895         * sysdeps/posix/fdopendir.c: ... here.
37896         * sysdeps/unix/opendir.c: Renamed to ...
37897         * sysdeps/posix/opendir.c: ... here.
37898         * sysdeps/unix/readdir.c: Renamed to ...
37899         * sysdeps/posix/readdir.c: ... here.
37900         * sysdeps/unix/readdir_r.c: Renamed to ...
37901         * sysdeps/posix/readdir_r.c: ... here.
37902         * sysdeps/unix/rewinddir.c: Renamed to ...
37903         * sysdeps/posix/rewinddir.c: ... here.
37904         * sysdeps/unix/seekdir.c: Renamed to ...
37905         * sysdeps/posix/seekdir.c: ... here.
37906         * sysdeps/unix/telldir.c: Renamed to ...
37907         * sysdeps/posix/telldir.c: ... here.
37908         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37909         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37910         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37911         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37914         * bits/fcntl.h: ... here.
37916         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37917         not 0.
37918         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37919         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37920         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37921         (struct flock): Move l_start, l_len to the beginning.
37922         Use __pid_t for l_pid.
37923         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37924         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37925         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37926         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37927         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37928         [__USE_LARGEFILE64] (struct flock64): New type.
37929         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37932         * bits/dirent.h: ... here.
37934         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37935         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37937 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37940         Change from 2.6.0 to 2.6.16.
37941         * sysdeps/unix/sysv/linux/configure: Regenerated.
37942         * sysdeps/unix/sysv/linux/kernel-features.h
37943         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37944         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37945         version.
37946         (__ASSUME_UTIMES): Likewise.
37947         (__ASSUME_CLONE_STOPPED): Remove.
37948         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37949         architectures, not kernel version.
37950         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37951         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37952         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37953         (__ASSUME_WAITID_SYSCALL): Likewise.
37954         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37955         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37956         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37957         refer to older versions.
37959 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37961         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37962         Define alphasort64 as an alias.
37963         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37964         Define versionsort64 as an alias.
37965         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37966         Define scandir64 as an alias.
37967         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37968         Define scandirat64 as an alias.
37969         * dirent/alphasort64.c (alphasort64):
37970         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37971         * dirent/versionsort64.c: Likewise.
37972         * dirent/scandir64.c: Likewise.
37973         * dirent/scandirat64.c: Likewise.
37974         * sysdeps/wordsize-64/alphasort.c: File removed.
37975         * sysdeps/wordsize-64/alphasort64.c: File removed.
37976         * sysdeps/wordsize-64/scandir.c: File removed.
37977         * sysdeps/wordsize-64/scandir64.c: File removed.
37978         * sysdeps/wordsize-64/scandirat.c: File removed.
37979         * sysdeps/wordsize-64/scandirat64.c: File removed.
37980         * sysdeps/wordsize-64/versionsort.c: File removed.
37981         * sysdeps/wordsize-64/versionsort64.c: File removed.
37982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37984         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37986         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37988         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37989         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37991         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37993         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37995         [defined __arch64__ || defined __sparcv9]
37996         (__INO_T_MATCHES_INO64_T): New macro.
37997         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37998         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37999         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38000         * sysdeps/unix/sysv/linux/bits/dirent.h
38001         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38002         (_DIRENT_MATCHES_DIRENT64): New macro.
38004         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38005         Define lockf64 as an alias.
38006         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38007         Define fseeko64 as an alias.
38008         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38009         Define ftello64 as an alias.
38010         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38011         Define _IO_fgetpos64 and fgetpos64 as aliases.
38012         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38013         Define _IO_fsetpos64 and fsetpos64 as aliases.
38014         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38015         Conditionalize body on this.
38016         * libio/fseeko64.c: Likewise.
38017         * libio/ftello64.c: Likewise.
38018         * libio/iofgetpos64.c: Likewise.
38019         * libio/iofsetpos64.c: Likewise.
38020         * sysdeps/wordsize-64/lockf.c: File removed.
38021         * sysdeps/wordsize-64/lockf64.c: File removed.
38022         * sysdeps/wordsize-64/fseeko.c: File removed.
38023         * sysdeps/wordsize-64/fseeko64.c: File removed.
38024         * sysdeps/wordsize-64/ftello.c: File removed.
38025         * sysdeps/wordsize-64/ftello64.c: File removed.
38026         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38027         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38028         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38029         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38032         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38033         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38034         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38035         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38041         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38043         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38045         [defined __arch64__ || defined __sparcv9]
38046         (__OFF_T_MATCHES_OFF64_T): New macro.
38047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38048         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38050         (__OFF_T_MATCHES_OFF64_T): New macro.
38052 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38054         * stdlib/secure-getenv.c (__secure_getenv): Replace
38055         GLIBC_2_16 with GLIBC_2_17.
38057 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38062 2012-08-03  David S. Miller  <davem@davemloft.net>
38064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38066 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38069         Remove.
38070         (__ASSUME_CORRECT_SI_PID): Likewise.
38071         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38072         (__ASSUME_TMPFS_NAME): Likewise.
38073         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38074         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38075         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38076         (HAVE_AUX_SECURE): Make definition unconditional.
38077         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38078         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38080 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38082         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38083         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38084         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38085         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38086         __eloop_threshold instead of SYMLOOP_MAX.
38088         * sysdeps/generic/eloop-threshold.h: New file.
38089         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38090         of MAXSYMLINKS.
38091         * elf/chroot_canon.c (chroot_canon): Likewise.
38093 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38095         [BZ #13717]
38096         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38097         Change to 2.6.0 everywhere.
38098         * sysdeps/unix/sysv/linux/configure: Regenerated.
38099         * sysdeps/unix/sysv/linux/kernel-features.h
38100         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38101         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38102         kernel versions.
38103         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38104         (__ASSUME_FUTEX_REQUEUE): Remove.
38105         (__ASSUME_STATFS64): Define unconditionally.
38106         (__ASSUME_AT_SECURE): Likewise.
38107         (__ASSUME_CORRECT_SI_PID): Likewise.
38108         (__ASSUME_TGKILL): Define without depending on kernel version for
38109         i386.
38110         (__ASSUME_UTIMES): Likewise.
38111         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38112         kernel version.
38113         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38114         (__ASSUME_TMPFS_NAME): Likewise.
38115         * README: Update reference to Linux kernel versions.
38117 2012-08-02  Marek Polacek  <polacek@redhat.com>
38119         [BZ# 14150]
38120         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38121         libc_cv_asm_type_prefix with %.
38122         * configure: Regenerated.
38123         * include/libc-symbols.h: Remove comment about
38124         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38125         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38126         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38127         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38128         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38129         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38130         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38131         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38132         * elf/tst-unique2mod1.c: Likewise.
38133         * elf/tst-unique1mod2.c: Likewise.
38134         * elf/tst-unique1mod1.c: Likewise.
38135         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38136         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38137         Replace ASM_TYPE_DIRECTIVE with .type.
38138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38139         * sysdeps/i386/sysdep.h: Likewise.
38140         * sysdeps/x86_64/sysdep.h: Likewise.
38141         * sysdeps/sh/sysdep.h: Likewise.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38143         Do not define ASM_TYPE_DIRECTIVE.
38144         * sysdeps/powerpc/sysdep.h: Likewise.
38145         * sysdeps/powerpc/powerpc32/sysdep.h:
38146         Replace ASM_TYPE_DIRECTIVE with .type.
38147         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38148         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38149         * sysdeps/i386/fpu/e_powf.S: Likewise.
38150         * sysdeps/i386/fpu/e_expl.S: Likewise.
38151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38152         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38153         * sysdeps/i386/fpu/e_pow.S: Likewise.
38154         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38155         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38156         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38157         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38158         * sysdeps/i386/fpu/e_log2.S: Likewise.
38159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38160         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38161         * sysdeps/i386/fpu/e_powl.S: Likewise.
38162         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38163         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38164         * sysdeps/i386/fpu/e_logl.S: Likewise.
38165         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38166         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38167         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38169         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38170         * sysdeps/i386/fpu/e_log.S: Likewise.
38171         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38172         * sysdeps/i386/fpu/e_logf.S: Likewise.
38173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38175         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38176         * sysdeps/i386/fpu/e_log10.S: Likewise.
38177         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38179         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38180         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38181         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38182         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38183         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38184         * sysdeps/i386/i686/strtok.S: Likewise.
38185         * sysdeps/i386/i386-mcount.S: Likewise.
38186         * sysdeps/i386/strtok.S: Likewise.
38187         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38189         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38191         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38193         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38194         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38196         * sysdeps/x86_64/_mcount.S: Likewise.
38197         * sysdeps/x86_64/strtok.S: Likewise.
38198         * sysdeps/sh/_mcount.S: Likewise.
38200 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38202         * libio/iofopen.c: Include <fcntl.h>.
38203         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38204         (_IO_fopen64, fopen64): Define as aliases.
38205         * libio/iofopen64.c: Include <fcntl.h>.
38206         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38207         Conditionalize body on this.
38208         * sysdeps/wordsize-64/iofopen.c: File removed.
38209         * sysdeps/wordsize-64/iofopen64.c: File removed.
38211 2012-08-01  Marek Polacek  <polacek@redhat.com>
38213         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38214         Use dlfcn directly instead of a variable.
38215         (binfmt-subdir): Do not define.
38216         (dlfcn): Likewise.
38218 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38221         Remove all definitions.
38222         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38223         <kernel-features.h>.
38224         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38225         (miss_F_GETOWN_EX): Remove all definitions.
38226         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38227         macro definition.
38228         [!__ASSUME_FCNTL64]: Remove conditional code.
38229         [__ASSUME_FCNTL64]: Make code unconditional.
38230         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38231         <kernel-features.h>.
38232         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38233         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38234         (lockf64) [__NR_fcntl64]: Make code unconditional.
38235         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38237         * sysdeps/unix/sysv/linux/kernel-features.h
38238         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38239         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38240         Make code unconditional.
38241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38244         [__NR_vfork]: Make code unconditional.
38245         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38246         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38248         [__NR_vfork]: Make code unconditional.
38249         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38250         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38252 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38254         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38255         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38257         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38258         Define mkstemp64 as an alias.
38259         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38260         Define mkstemps64 as an alias.
38261         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38262         Define mkostemp64 as an alias.
38263         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38264         Define mkostemps64 as an alias.
38265         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38266         Conditionalize body on this.
38267         * misc/mkostemp64.c: Likewise.
38268         * misc/mkostemps64.c: Likewise.
38269         * misc/mkstemps64.c: Likewise.
38270         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38271         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38272         * sysdeps/wordsize-64/mkostemp.c: File removed.
38273         * sysdeps/wordsize-64/mkstemp.c: File removed.
38274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38277         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38279         [BZ #14138]
38280         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38281         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38282         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38283         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38285         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38286         compat_symbol macros from <shlib-compat.h> rather than the underlying
38287         default_symbol_version and symbol_version macros, so that DEFAULT
38288         lines in shlib-versions are respected.
38289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38291 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38293         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38294         Declare with warn_unused_result.
38295         (setgid, setregid, setegid, setresgid): Likewise.
38296         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38297         Likewise.
38298         * WUR-REPORT: Remove set*id functions.
38300 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38302         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38304 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38306         [BZ #10191]
38307         * include/sys/socket.h (__libc_accept, __libc_accept4):
38308         Add attribute_hidden.
38309         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38312         use of PTR_MANGLE.
38313         * inet/getnetgrent_r.c (setup): Likewise.
38315         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38317 2012-07-31  David S. Miller  <davem@davemloft.net>
38319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38321 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38323         [BZ #13629]
38324         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38325         value between 1.0 and 2.0 and smaller part has absolute value less
38326         than 1.0.
38327         * math/s_clog10.c (__clog10): Likewise.
38328         * math/s_clog10f.c (__clog10f): Likewise.
38329         * math/s_clog10l.c (__clog10l): Likewise.
38330         * math/s_clogf.c (__clogf): Likewise.
38331         * math/s_clogl.c (__clogl): Likewise.
38332         * math/libm-test.inc (clog_test): Add more tests.
38333         (clog10_test): Likewise.
38334         * sysdeps/i386/fpu/libm-test-ulps: Update.
38335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38337 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38339         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38340         Exit with zero in case no suitable GID is found, and write a
38341         message to standard error.
38343 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38345         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38346         rather than to 1.
38347         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38348         (MAXPATHLEN): Removed.
38349         (NOGROUP, NODEV): New macros.
38350         (setbit, clrbit, isset, isclr): New macros.
38351         (howmany, roundup, powerof2): New macros.
38352         (DEV_BSIZE): New macro.
38354         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38355         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38357         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38358         definition on [!__NO_LONG_DOUBLE_MATH].
38360         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38361         PTR_MANGLE and PTR_DEMANGLE.
38363         * socket/accept4.c (accept4): Rename to __libc_accept4.
38364         Define accept4 as a weak alias.
38366         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38367         on [_DIRENT_HAVE_D_TYPE].
38368         * io/ftw.c (ftw_dir): Likewise.
38370         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38372         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38374         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38375         Use the BSD numbers rather than the arbitrary ones we had.
38376         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38377         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38378         (SIGXCPU, SIGXFSZ): New macros.
38379         (_NSIG): Now 32.
38381         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38382         initializer on [_LIBC_REENTRANT].
38384         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38385         definitions inside [_POSIX_MAPPED_FILES].
38387         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38389         * dirent/opendir.c: Include <fcntl.h>.
38391         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38392         (__libc_getspecific): Likewise.
38393         (__libc_key_create): Likewise.
38395         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38396         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38397         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38398         (tmpfile64): Define as alias.
38399         * sysdeps/wordsize-64/tmpfile.c: File removed.
38400         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38401         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38404         * stdio-common/vfscanf.c: Include <stdbool.h>.
38405         * nss/makedb.c: Likewise.
38406         * stdio-common/_i18n_number.h: Likewise.
38407         * argp/argp-help.c: Likewise.
38408         * posix/wordexp.c: Likewise.
38409         * sysdeps/posix/spawni.c: Likewise.
38410         * nss/nss_files/files-initgroups.c: Likewise.
38411         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38412         * nss/nss_files/files-initgroups.c: Likewise.
38413         * nss/nss_db/db-netgrp.c: Likewise.
38414         * nss/nss_db/db-initgroups.c: Likewise.
38415         * io/fchmodat.c: Include <sys/stat.h>.
38417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38418         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38420         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38421         [HAVE_MMAP].
38423         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38424         Add multiple inclusion protection.
38426 2012-07-27  David S. Miller  <davem@davemloft.net>
38428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38430 2012-07-27  Gary Benson  <gbenson@redhat.com>
38432         [BZ #14298]
38433         * elf/rtld.c: Include <stap-probe.h>.
38434         (dl_main): Added static probes "init_start" and "init_complete".
38435         * elf/dl-load.c: Include <stap-probe.h>.
38436         (lose): Take new parameter "nsid".
38437         Added static probe "map_failed".
38438         (_dl_map_object_from_fd): Pass namespace id to lose.
38439         Added static probe "map_start".
38440         (open_verify): Pass namespace id to lose.
38441         * elf/dl-open.c: Include <stap-probe.h>.
38442         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38443         and "reloc_complete".
38444         * elf/dl-close.c: Include <stap-probe.h>.
38445         (_dl_close_worker): Added static probes "unmap_start" and
38446         "unmap_complete".
38447         * elf/rtld-debugger-interface.txt: New file documenting the above.
38449 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38451         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38452         rather than a string variable.
38453         * sunrpc/rpc_main.c (h_output): Likewise.
38454         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38456 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38458         * inet/check_native.c: New file.
38460 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38462         [BZ #13629]
38463         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38464         if larger part has absolute value 1.0.
38465         * math/s_clog10.c (__clog10): Likewise.
38466         * math/s_clog10f.c (__clog10f): Likewise.
38467         * math/s_clog10l.c (__clog10l): Likewise.
38468         * math/s_clogf.c (__clogf): Likewise.
38469         * math/s_clogl.c (__clogl): Likewise.
38470         * math/libm-test.inc (clog_test): Add more tests.
38471         (clog10_test): Likewise.
38472         * sysdeps/i386/fpu/libm-test-ulps: Update.
38473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38475         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38476         (pltexit): Likewise.
38477         (La_regs): Likewise.
38478         (La_retval): Likewise.
38479         (int_retval): Likewise.
38480         Update #error for removed macros to refer only to definitions in
38481         tst-audit.h.
38482         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38483         macro.
38484         (pltexit): Likewise.
38485         (La_regs): Likewise.
38486         (La_retval): Likewise.
38487         (int_retval): Likewise.
38488         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38489         macro.
38490         (pltexit): Likewise.
38491         (La_regs): Likewise.
38492         (La_retval): Likewise.
38493         (int_retval): Likewise.
38494         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38495         macro.
38496         (pltexit): Likewise.
38497         (La_regs): Likewise.
38498         (La_retval): Likewise.
38499         (int_retval): Likewise.
38500         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38501         macro.
38502         (pltexit): Likewise.
38503         (La_regs): Likewise.
38504         (La_retval): Likewise.
38505         (int_retval): Likewise.
38506         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38507         macro.
38508         (pltexit): Likewise.
38509         (La_regs): Likewise.
38510         (La_retval): Likewise.
38511         (int_retval): Likewise.
38512         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38513         macro.
38514         (pltexit): Likewise.
38515         (La_regs): Likewise.
38516         (La_retval): Likewise.
38517         (int_retval): Likewise.
38518         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38519         macro definitions in tst-audit.h.
38520         * sysdeps/i386/tst-audit.h: New file.
38521         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38522         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38523         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38524         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38525         * sysdeps/sh/tst-audit.h: Likewise.
38526         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38527         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38528         * sysdeps/x86_64/tst-audit.h: Likewise.
38530 2012-07-26  Andreas Jaeger  <aj@suse.de>
38532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38533         ptrace.
38535         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38536         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38537         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38538         PTRACE_O_MASK.
38539         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38540         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38541         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38543         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38544         value.
38546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38547         _sigsys.
38548         (si_call_addr, si_syscall, si_arch): Define new macro.
38549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38550         _sigsys.
38551         (si_call_addr, si_syscall, si_arch): Define new marcro.
38552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38553         _sigsys.
38554         (si_call_addr, si_syscall, si_arch): Define new macro.
38555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38556         _sigsys.
38557         (si_call_addr, si_syscall, si_arch): Define new macro.
38559 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38561         [BZ #13717]
38562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38563         Change to 2.4.21 where previously 2.4.1.
38564         * sysdeps/unix/sysv/linux/configure: Regenerated.
38565         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38566         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38567         Linux kernel version.
38568         (__ASSUME_STD_AUXV): Remove.
38569         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38570         kernel version.
38571         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38572         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38573         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38574         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38575         (__ASSUME_NETLINK_SUPPORT): Likewise.
38576         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38577         (__no_netlink_support): Remove conditional definition.
38578         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38579         Remove.
38580         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38581         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38582         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38583         (if_nameindex_ioctl): Remove.
38584         (if_nameindex_netlink): Do not handle __no_netlink_support.
38585         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38586         code.
38587         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38588         Remove conditional code.
38589         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38590         code.
38591         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38592         unconditional.
38593         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38594         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38595         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38596         Remove.
38597         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38598         [!__ASSUME_STD_AUXV]: Remove conditional code.
38599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38600         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38601         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38603         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38604         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38605         code.
38606         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38608         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38610         conditional code.
38611         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38613         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38614         code.
38615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38616         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38617         conditional code.
38618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38619         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38620         code unconditional.
38621         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38622         conditional code.
38623         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38624         unconditional.
38625         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38626         conditional code.
38627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38628         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38629         unconditional.
38630         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38631         conditional code.
38632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38633         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38634         code unconditional.
38635         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38636         conditional code.
38637         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38638         unconditional.
38639         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38640         conditional code.
38641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38642         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38643         code unconditional.
38644         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38645         conditional code.
38646         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38647         unconditional.
38648         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38649         conditional code.
38651 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38653         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38654         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38655         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38656         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38657         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38658         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38659         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38660         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38661         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38662         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38663         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38664         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38665         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38669         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38671         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38673         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38674         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38677 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38679         * Versions.def: Add GLIBC_2.17.
38680         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38681         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38682         Introduce __libc_secure_getenv.
38683         * stdlib/Versions (2.17): Add secure_getenv
38684         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38685         * stdlib/secure-getenv.c: Rename __secure_getenv to
38686         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38687         symbol __secure_getenv for GLIBC_2.0.
38688         * stdlib/tst-secure-getenv.c: New.
38689         * stdlib/Makefile (tests): Add testcase.
38690         * manual/startup.texi (Environment Access): Document
38691         secure_getenv.
38692         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38693         __libc_secure_getenv.
38694         * inet/ruserpass.c (ruserpass): Likewise.
38695         * malloc/mtrace.c (mtrace): Likewise.
38696         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38697         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38698         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38699         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38700         HAVE_SECURE_GETENV.
38701         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38702         __secure_getenv to __libc_secure_getenv.
38703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38705         Likewise.
38706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38707         Likewise.
38708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38716 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38718         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38719         (struct La_i86_retval): Likewise.
38720         (struct La_x86_64_regs): Likewise.
38721         (struct La_x86_64_retval): Likewise.
38722         (struct La_x32_regs): Likewise.
38723         (struct La_x32_retval): Likewise.
38724         (struct La_ppc32_regs): Likewise.
38725         (struct La_ppc32_retval): Likewise.
38726         (struct La_ppc64_regs): Likewise.
38727         (struct La_ppc64_retval): Likewise.
38728         (struct La_sh_regs): Likewise.
38729         (struct La_sh_retval): Likewise.
38730         (struct La_s390_32_regs): Likewise.
38731         (struct La_s390_32_retval): Likewise.
38732         (struct La_s390_64_regs): Likewise.
38733         (struct La_s390_64_retval): Likewise.
38734         (struct La_sparc32_regs): Likewise.
38735         (struct La_sparc32_retval): Likewise.
38736         (struct La_sparc64_regs): Likewise.
38737         (struct La_sparc64_retval): Likewise.
38738         (struct audit_ifaces): Remove architecture-specific pltenter and
38739         pltexit members.
38740         * sysdeps/i386/ldsodefs.h: New file.
38741         * sysdeps/powerpc/ldsodefs.h: Likewise.
38742         * sysdeps/s390/ldsodefs.h: Likewise.
38743         * sysdeps/sh/ldsodefs.h: Likewise.
38744         * sysdeps/sparc/ldsodefs.h: Likewise.
38745         * sysdeps/x86_64/ldsodefs.h: Likewise.
38747 2012-07-25  Marek Polacek  <polacek@redhat.com>
38749         [BZ #6808]
38750         * math/libm-test.inc (yn_test): Add another test.
38751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38752         to ERANGE when the result is +-Inf.
38753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38756         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38758 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38760         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38761         equal to 0.
38762         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38763         clock_t.
38764         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38766 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38768         * configure.in <sysdeps resolving>: Correct printing
38769         Implies_before.
38770         * configure: Regenerate.
38772 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38774         * math/w_ilogb.c: Include <limits.h>.
38775         * math/w_ilogbl.c: Likewise.
38777 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38779         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38780         va_copy.  Document allowing for unavailable va_copy only as
38781         pre-C99 compatibility.
38782         * manual/string.texi (Copying and Concatenation): Use va_copy
38783         instead of __va_copy in concat example.
38785 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38787         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38788         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38789         it if not null.
38791         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38792         with O_NOLINK passed to __file_name_lookup.
38794         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38795         with O_NOLINK passed to __file_name_lookup.
38797         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38798         negative N or less than NGIDS.
38800         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38801         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38802         enough.  Use memcpy instead of strncpy.
38804 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38806         * elf/Makefile (check-data): Remove.
38807         (localplt.data): New vpath directive.
38808         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38809         instead of $(check-data).
38810         * scripts/data/localplt-generic.data: Move to ...
38811         * sysdeps/generic/localplt.data: ... here.
38812         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38813         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38814         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38816         ... here.
38817         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38819         ... here.
38820         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38822         ... here.
38823         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38825         ... here.
38826         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38828         ... here.
38829         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38831         ... here.
38833 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38835         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38836         PPC32 and PPC64 files.
38837         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38838         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38840 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38842         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38843         __makecontext_ret to ...
38844         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38845         ... here and call exit if uc_link is NULL.  New file.
38846         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38847         __makecontext_ret.S.
38848         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38849         __makecontext_ret to ...
38850         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38851         ... here and call exit if uc_link is NULL.  New file.
38852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38853         __makecontext_ret.S.
38855 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38857         * elf/elf.h (R_390_IRELATIVE): New definition.
38858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38859         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38860         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38862         (elf_machine_lazy_rel): Likewise.
38863         * sysdeps/s390/dl-irel.h: New file.
38864         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38865         * sysdeps/s390/s390-64/memset.S: New asm code.
38866         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38867         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38868         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38869         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38870         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38871         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38873         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38874         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38875         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38876         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38877         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38878         * sysdeps/s390/s390-32/memset.S: New asm code.
38879         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38881 2012-07-17  Marek Polacek  <polacek@redhat.com>
38883         [BZ #14349]
38884         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38885         * sysdeps/s390/s390-64/configure.in: Likewise.
38886         * sysdeps/sparc/configure.in: Likewise.
38887         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38888         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38889         * sysdeps/i386/configure.in: Likewise.
38890         * sysdeps/x86_64/configure.in: Likewise.
38891         * sysdeps/sh/configure.in: Likewise.
38892         * sysdeps/s390/s390-32/configure: Regenerated.
38893         * sysdeps/s390/s390-64/configure: Likewise.
38894         * sysdeps/x86_64/configure: Likewise.
38895         * sysdeps/sh/configure: Likewise.
38896         * sysdeps/powerpc/powerpc64/configure: Likewise.
38897         * sysdeps/powerpc/powerpc32/configure: Likewise.
38898         * sysdeps/sparc/configure: Likwise.
38899         * sysdeps/i386/configure: Likewise.
38901         * elf/dl-open.c: Comment fixes.
38903 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38905         * Makefile [CXX] (check-data): Remove.
38906         [CXX] (c++-types.data): New vpath directive.
38907         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38908         vpath.  Do not allow for C++ type data being missing.
38909         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38910         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38911         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38912         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38913         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38914         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38915         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38917         ... here.
38918         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38920         ... here.
38921         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38923         ... here.
38924         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38926         ... here.
38927         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38929         ... here.
38930         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38932         ... here.
38933         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38935         ... here.
38936         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38939         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38940         definitions to architecture-specific files.
38941         (TLS_IE): Likewise.
38942         (TLS_LD): Likewise.
38943         (TLS_GD): Likewise.
38944         * sysdeps/i386/tls-macros.h: New file.
38945         * sysdeps/powerpc/tls-macros.h: Likewise.
38946         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38947         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38948         * sysdeps/sh/tls-macros.h: Likewise.
38949         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38950         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38951         * sysdeps/x86_64/tls-macros.h: Likewise.
38953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38956         zero value for regular exit case.
38958         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38959         (__start_context): Preserve zero value for regular exit case.
38961 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38964         * manual/setjmp.texi (setcontext): Clarify normal process
38965         termination when uc_link is the null pointer.
38966         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38967         exit call.
38969 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38971         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38972         preprocessor.  Test for each exception mask separately.
38974 2012-07-16  Andreas Jaeger  <aj@suse.de>
38976         * po/ru.po: Update from translation team.
38978 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38980         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38981         equal to 0.
38982         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38983         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38984         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38985         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38988 2012-07-13  Andreas Jaeger  <aj@suse.de>
38990         * po/fr.po: Update from translation team.
38992 2012-07-12  Marek Polacek  <polacek@redhat.com>
38994         [BZ #14173]
38995         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38996         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38997         loop condition.
38999 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39001         [BZ #13717]
39002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39003         Change to 2.4.1 where previously 2.4.0.
39004         * sysdeps/unix/sysv/linux/configure: Regenerated.
39005         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39006         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39007         version.
39008         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39009         (__ASSUME_AT_CLKTCK): Remove.
39010         (__ASSUME_AT_PAGESIZE): Likewise.
39011         (__ASSUME_AT_XID): Likewise.
39012         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39013         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39014         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39015         unconditionally.
39016         (HAVE_AUX_PAGESIZE): Likewise.
39017         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39018         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39019         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39021 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39023         [BZ #14307]
39024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39025         the temporary buffer used to invoke __gethostbyname2_r,
39026         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39027         host_data / struct gaih_addrtuple.
39028         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39029         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39030         header file nss/nsswitch.h.
39031         * nss/nsswitch.h (global scope): Add definition of implementation
39032         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39033         resolv/nss_dns/dns-host.c).
39035 2012-07-11  Andreas Jaeger  <aj@suse.de>
39037         * po/fr.po: Update from translation team.
39039         * po/sv.po: Update from translation team
39040         * po/fr.po: Another update from translation team.
39042 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39044         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39045         for subnormals or multiply small sinh result by itself.
39046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39049 2012-07-11  David S. Miller  <davem@davemloft.net>
39051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39053 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39055         [BZ #14347]
39056         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39057         (INTERNAL_MARK): Shift it here.
39059 2012-07-10  Marek Polacek  <polacek@redhat.com>
39061         [BZ #14151]
39062         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39063         libc_cv_asm_global_directive with .globl.
39064         * configure: Regenerated.
39065         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39066         with .globl.
39067         * sysdeps/i386/configure: Regenerated.
39068         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39069         with .globl.
39070         * sysdeps/x86_64/configure: Regenerated.
39071         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39072         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39073         * elf/tst-unique2mod2.c: Likewise.
39074         * elf/tst-unique2mod1.c: Likewise.
39075         * elf/tst-unique1mod2.c: Likewise.
39076         * elf/tst-unique1mod1.c: Likewise.
39077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39078         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39081         * sysdeps/mach/sysdep.h: Likewise.
39082         * sysdeps/i386/sysdep.h: Likewise.
39083         * sysdeps/i386/i386-mcount.S: Likewise.
39084         * sysdeps/x86_64/_mcount.S: Likewise.
39085         * sysdeps/x86_64/sysdep.h: Likewise.
39086         * sysdeps/sh/_mcount.S: Likewise.
39087         * sysdeps/sh/sysdep.h: Likewise.
39088         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39089         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39090         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39092         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39093         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39094         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39095         * locale/localeinfo.h: Likewise.
39096         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39097         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39099 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39101         [BZ #14336]
39102         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39103         system".
39104         * manual/message.texi (The Uniforum approach): Likewise.
39105         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39106         (glibc iconv Implementation): Likewise.
39108 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39110         [BZ #14337]
39111         * math/s_clog.c (__clog): Avoid scaling a value down where that
39112         could result in underflow.
39113         * math/s_clog10.c (__clog10): Likewise.
39114         * math/s_clog10f.c (__clog10f): Likewise.
39115         * math/s_clog10l.c (__clog10l): Likewise.
39116         * math/s_clogf.c (__clogf): Likewise.
39117         * math/s_clogl.c (__clogl): Likewise.
39118         * math/libm-test.inc (clog_test): Add more tests.
39119         (clog10_test): Likewise.
39120         * sysdeps/i386/fpu/libm-test-ulps: Update.
39121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39123 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39125         [BZ #14283]
39126         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39127         by 7 not 8 to examine high bit of fractional part.
39129         [BZ #14042]
39130         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39131         for call to __mcount_internal.
39132         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39133         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39134         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39136 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39138         [BZ #14154]
39139         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39140         approximation for values within 0x1p-13f of an odd multiple of
39141         pi/4.
39142         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39143         exception.  Add more tests.
39144         * sysdeps/i386/fpu/libm-test-ulps: Update.
39146         [BZ #6778]
39147         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39148         inputs and return -1 for them.  Do not check for +Inf in case not
39149         reachable for +Inf.
39150         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39151         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39153         and return -1 for them.  Do not check for +Inf in case not
39154         reachable for +Inf.
39155         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39156         define.
39157         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39158         and return -1 for them.  Do not check for +Inf in case not
39159         reachable for +Inf.
39160         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39161         spurious underflow.
39162         * sysdeps/i386/fpu/libm-test-ulps: Update.
39163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39165 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39167         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39169 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39171         [BZ #14157]
39172         [BZ #14331]
39173         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39174         could result in spurious underflow.  Scale down values above
39175         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39176         * math/s_csqrtf.c (__csqrtf): Likewise.
39177         * math/s_csqrtl.c (__csqrtl): Likewise.
39178         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39179         spurious underflow.
39180         * sysdeps/i386/fpu/libm-test-ulps: Update.
39181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39183 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39185         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39186         xopen-msg.sed.
39187         * catgets/xopen-msg.awk: New file.
39188         * catgets/xopen-msg.sed: Removed.
39190         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39191         po2text.sed.
39192         * intl/po2test.awk: New file.
39193         * intl/po2test.sed: Removed.
39195 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39197         [BZ #14328]
39198         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39199         or multiply small sinh result by itself.
39200         * math/s_ctanf.c (__ctanf): Likewise.
39201         * math/s_ctanh.c (__ctanh): Likewise.
39202         * math/s_ctanhf.c (__ctanhf): Likewise.
39203         * math/s_ctanhl.c (__ctanhl): Likewise.
39204         * math/s_ctanl.c (__ctanl): Likewise.
39205         * math/libm-test.inc (ctan_test_tonearest): New function.
39206         (ctan_test_towardzero): Likewise.
39207         (ctan_test_downward): Likewise.
39208         (ctan_test_upward): Likewise.
39209         (ctanh_test_tonearest): Likewise.
39210         (ctanh_test_towardzero): Likewise.
39211         (ctanh_test_downward): Likewise.
39212         (ctanh_test_upward): Likewise.
39213         (main): Call these new functions.
39214         * sysdeps/i386/fpu/libm-test-ulps: Update.
39215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39217 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39219         * .gitignore: Delete /ports entry.
39221 2012-07-03  Andreas Jaeger  <aj@suse.de>
39223         * po/bg.po: Update from translation team.
39224         * po/cs.po: Likewise.
39225         * po/de.po: Likewise.
39226         * po/hr.po: Likewise.
39227         * po/nl.pl: Likewise.
39228         * po/pl.po: Likewise.
39229         * po/vi.po: Likewise.
39231 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39233         * Makeconfig [!+link] (+link-before-libc): New variable.
39234         [!+link] (+link-after-libc): Likewise.
39235         [!+link] (+link-tests): Likewise.
39236         [!+link] (+link): Define in terms of $(+link-before-libc) and
39237         $(+link-after-libc).
39238         [!+link-static] (+link-static-before-libc): New variable.
39239         [!+link-static] (+link-static-after-libc): Likewise.
39240         [!+link-static] (+link-static-tests): Likewise.
39241         [!+link-static] (+link-static): Define in terms of
39242         $(+link-static-before-libc) and $(+link-static-after-libc).
39243         [build-shared] (link-libc-before-gnulib): New variable.
39244         [build-shared] (link-libc-tests): Likewise.
39245         [build-shared] (link-libc): Define in terms of
39246         $(link-libc-before-gnulib).
39247         [!build-shared] (link-libc-tests): New variable.
39248         (link-libc-static-tests): New variable.
39249         [!gnulib] (gnulib-arch): New variable.
39250         [!gnulib] (gnulib-tests): Likewise.
39251         [!gnulib] (static-gnulib-arch): Likewise.
39252         [!gnulib] (static-gnulib-tests): Likewise.
39253         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39254         Define with "=" instead of ":=".
39255         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39256         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39257         * Rules (binaries-all-notests): New variable.
39258         (binaries-all-tests): Likewise.
39259         (binaries-static-notests): Likewise.
39260         (binaries-static-tests): Likewise.
39261         (binaries-all): Define using $(binaries-all-notests) and
39262         $(binaries-all-tests).
39263         (binaries-static): Define using $(binaries-static-notests) and
39264         $(binaries-static-tests).
39265         (binaries-shared-tests): New variable.
39266         (binaries-shared-notests): Likewise.
39267         (binaries-shared): Remove variable.
39268         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39269         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39270         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39271         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39272         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39273         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39274         * elf/Makefile (sln-modules): New variable.
39275         (extra-objs): Add $(sln-modules:=.o).
39276         (ldconfig-modules): Add static-stubs.
39277         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39278         * elf/static-stubs.c: New file.
39280         [BZ #14283]
39281         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39282         by 7 not 8 to examine high bit of fractional part.  Use volatile
39283         variables when splitting into final array of floats if
39284         __FLT_EVAL_METHOD__ != 0.
39285         * math/libm-test.inc (cos_test): Add another test.
39286         (sin_test): Likewise.
39287         * sysdeps/i386/fpu/libm-test-ulps: Update.
39289         [BZ #14273]
39290         * math/libm-test.inc (cosh_test): Add more tests.
39292         * version.h (RELEASE): Set to "development".
39293         (VERSION): Set to "2.16.90".
39295 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39297         * NEWS: Update copyright. Remove last-updated date.
39298         Mention math library bug fixes and timezone data changes.
39299         * README: Mention GNU/Hurd, x32, and HPPA support status.
39301 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39303         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39305 2012-06-27  Andreas Jaeger  <aj@suse.de>
39307         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39309 2012-06-25  Andreas Jaeger  <aj@suse.de>
39311         * sysdeps/s390/fpu/libm-test-ulps: Update.
39313 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39314             Thomas Schwinge  <thomas@codesourcery.com>
39316         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39317         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39319         fanotify_mark.
39321 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39323         * sysdeps/mach/start.c: Remove file.
39324         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39325         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39326         * sysdeps/sh/init-first.c: Likewise.
39328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39329         registers for frame unwinding purposes, add CFI directives.
39330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39332         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39333         Likewise.
39335         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39336         __fortify_fail returning.
39337         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39339         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39340         sysdeps/sh/____longjmp_chk.S.
39341         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39342         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39343         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39344         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39346         * sysdeps/sh/abort-instr.h: New file.
39347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39348         process in case exit returns.
39350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39351         initialize the GOT register before use.
39353         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39354         calculation of ARGC > 4.
39356         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39357         meaningful names to some local labels.
39359 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39360             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39362         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39363         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39364         (__arch_compare_and_exchange_val_16_acq): Likewise.
39365         (__arch_compare_and_exchange_val_32_acq): Likewise.
39366         (atomic_exchange_and_add): Fix gUSA sequence.
39367         (atomic_add): Likewise.
39368         (atomic_add_negative): Likewise.
39369         (atomic_add_zero): Likewise.
39370         (atomic_bit_test_set): Likewise.
39372 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39374         [BZ #13579]
39375         * include/link.h (struct link_map): Add l_free_initfini.
39376         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39377         l_initfini.
39378         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39379         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39380         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39381         set.
39383 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39385         * configure.in: Use AC_LANG_SOURCE.
39386         * configure: Regenerate.
39388 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39390         * configure.in (libc_cv_localstatedir): New substituted variable.
39391         * configure: Regenerated.
39392         * config.make.in (localstatedir): New variable, substituted from
39393         libc_cv_localstatedir.
39394         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39395         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39396         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39397         * sysdeps/gnu/configure: Regenerated.
39399 2012-06-21  Jeff Law  <law@redhat.com>
39401         [BZ #14277]
39402         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39403         free.  Simplify list management for _LIBC case.
39405 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39407         [BZ #14273]
39408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39409         Clear sign bit of 64-bit integer value before comparing against
39410         overflow value.
39412         * sysdeps/mach/configure: Regenerated.
39414 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39416         [BZ #14278]
39417         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39419 2012-06-21  Jeff Law  <law@redhat.com>
39421         [BZ #13882]
39422         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39423         uint16_t for elements in the "seen" array to avoid char overflows.
39424         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39425         * elf/dl-open.c (dl_open_worker): Likewise.
39427 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39429         * scripts/list-sources.sh: Scan PORTS for translations.
39430         * po/libc.pot: Regenerated.
39432 2012-06-21  Andreas Jaeger  <aj@suse.de>
39434         [BZ #12194]
39435         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39436         warning.
39437         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39438         * bits/byteswap-16.h (__bswap_16): Likewise.
39439         * bits/byteswap.h (__bswap_constant_16): Likewise.
39441 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39443         [BZ #14117]
39444         * sysdeps/i386/fpu_control.h: Removed.
39445         * sysdeps/x86_64/fpu_control.h: Moved to ...
39446         * sysdeps/x86/fpu_control.h: Here.
39448         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39449         (_FPU_SETCW): Likewise.
39451 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39453         [BZ #14117]
39454         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39455         * sysdeps/x86/fpu/bits/mathinline.h: This.
39456         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39458         [BZ #14050]
39459         [BZ #14117]
39460         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39461         functions if __x86_64__ is defined.
39463 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39465         * string/endian.h: Add !__ASSEMBLER__ condition for including
39466         conversion interfaces.
39468 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39470         [BZ #14241]
39471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39472         of ABS(x) in calculating zero to negative powers other than odd
39473         integers.
39474         * math/libm-test.inc (pow_test): Add more tests.
39476 2012-06-15  Andreas Jaeger  <aj@suse.de>
39478         * manual/contrib.texi (Contributors): Update entry of Liubov
39479         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39480         Machado Filho.
39482 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39484         * string/string.h: Add __wur to GNU version of strerror_r.
39486 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39488         [BZ #14229]
39489         * string/Makefile (tests): Add tst-strtok_r.
39490         * string/tst-strtok_r.c: New file.
39491         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39492         RAX_LP/RDX_LP on SAVE_PTR.
39494 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39496         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39498 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39500         * libm_test.inc (csqrt_test): Allow more spurious underflow
39501         exceptions.
39502         (j0_test): Likewise.
39503         (j1_test): Likewise.
39504         (y0_test): Likewise.
39505         (y1_test): Likewise.
39507 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39509         * po/Makefile (libc.pot): Use UTF-8 charset.
39511 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39513         [BZ #14210]
39514         Suppress sign-conversion warning from FD_SET.
39515         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39516         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39517         not unsigned long int.
39518         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39520 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39522         [BZ #14050]
39523         [BZ #14117]
39524         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39525         __extern_always_inline instead of __extern_inline.
39526         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39527         (__signbit): Likewise.
39528         (__signbitl): Support C++ namespace.
39529         (lrintf): New inline function.
39530         (lrint): Likewise.
39531         (llrintf): Likewise.
39532         (llrint): Likewise.
39533         (fmaxf): Likewise.
39534         (fmax): Likewise.
39535         (fminf): Likewise.
39536         (fmin): Likewise.
39537         (rint): Likewise.
39538         (rintf): Likewise.
39539         (ceil): Likewise.
39540         (ceilf): Likewise.
39541         (floor): Likewise.
39542         (floorf): Likewise.
39543         (nearbyint): Likewise.
39544         (nearbyintf): Likewise.
39546 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39549         non-default versions.
39551 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39553         [BZ #14218]
39554         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39556 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39558         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39559         (FE_UPWARD, FE_DOWNWARD): Don't define.
39560         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39563         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39564         reading it.
39565         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39566         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39568 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39570         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39573         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39575 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39577         [BZ #14117]
39578         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39579         * sysdeps/i386/fpu/Implies: New file.
39580         * sysdeps/x86_64/fpu/Implies: Likewise.
39581         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39582         * sysdeps/x86/fpu/bits/fenv.h: This.
39584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39585         __SSE_MATH__.
39587 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39589         [BZ #14134]
39590         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39591         character 0xffff that matches the last element of the
39592         conversion table.
39594 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39597         fmodl commit.
39599 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39602         values higher than 25.6283.
39604 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39607         subnormal exponent extraction and add some __builtin_expect.
39608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39609         Fix for subnormal mantissa calculation.
39611 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39613         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39614         cpu2 is -1 and errno is not ENOSYS.
39616 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39618         [BZ #14117]
39619         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39620         * sysdeps/x86/bits/string.h: This.
39621         * sysdeps/x86_64/bits/string.h: Removed.
39623         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39624         if not compiling for x86-64, but compiling for >= i486.
39626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39627         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39629         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39630         New macro from Linux kernel 3.4.0.
39631         (FP_XSTATE_MAGIC2): Likewise.
39632         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39633         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39634         (struct _fpx_sw_bytes): New struct.
39635         (struct _xsave_hdr): Likewise.
39636         (struct _ymmh_state): Likewise.
39637         (struct _xstate): Likewise.
39639         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39640         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39642         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39643         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39644         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39646         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39647         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39648         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39649         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39650         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39651         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39653 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39655         [BZ #13743]
39656         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39657         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39658         (sysdep_headers): Include sys/platform/ppc.h.
39659         * sysdeps/powerpc/test-gettimebase.c: Test for
39660         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39661         * manual/Makefile (appendices): Include platform.texi.
39662         * manual/contrib.texi (Contributors): Update @node pointers.
39663         * manual/maint.texi (Maintenance): Likewise.
39664         (Platform): New node.
39665         * manual/platform.texi: New file.  Document the new features.
39667 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39668             Jakub Jelinek  <jakub@redhat.com>
39670         [BZ #14188]
39671         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39672         where __builtin_expect is unavailable.
39674 2012-06-03  David S. Miller  <davem@davemloft.net>
39676         * stdlib/longlong.h: Updated from GCC.
39678 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39680         [BZ #14042]
39681         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39682         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39683         __mcount_internal.
39684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39685         (GLIBC_2.16): Likewise.
39687 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39691 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39694         (default-abi): New variable.
39695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39696         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39697         variable.
39698         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39699         Likewise.
39700         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39701         Likewise.
39702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39703         Likewise.
39705         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39706         definition.  Document in comment.
39708 2012-06-01  David S. Miller  <davem@davemloft.net>
39710         * stdlib/longlong.h: Updated from GCC.
39712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39714         [BZ #14117]
39715         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39716         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39717         sys/debugreg.h sys/io.h here.
39718         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39719         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39720         sys/io.h.
39721         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39722         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39723         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39724         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39725         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39726         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39729         Define only if __x86_64__ is defined.
39731 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39733         [BZ #14048]
39734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39735         Use int64_t for variable i.
39736         * math/libm-test.inc (fmod_test): Add more tests.
39738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39739         z computation is not scheduled after fetestexcept.
39740         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39741         Use math_force_eval instead of asm to ensure calculation scheduled
39742         before exception test.
39743         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39744         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39746 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39749         computation is not scheduled after fetestexcept.
39751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39753         [BZ #14117]
39754         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39757 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39759         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39762 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39764         [BZ #14117]
39765         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39766         <bits/wordsize.h>.
39767         (__WCHAR_MIN): Support __WORDSIZE == 64.
39768         (__WCHAR_MAX): Likewise.
39770         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39773         [BZ #14183]
39774         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39775         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39777         [BZ #14117]
39778         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39782         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39785         Defined to 1 if __x86_64__ isn't defined.
39786         (_STAT_VER_LINUX_OLD): New.
39787         (st_atime): Remove duplicate.
39788         (st_mtime): Likewise.
39789         (st_ctime): Likewise.
39791 2012-05-31  David S. Miller  <davem@davemloft.net>
39793         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39794         entries.
39796 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39798         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39799         gen-libm-test.pl.
39801         [BZ #14132]
39802         * elf/dl-reloc.c: Include <_itoa.h>.
39803         (_dl_reloc_bad_type): Remove use of INTUSE.
39804         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39805         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39806         * stdio-common/psiginfo.c (psiginfo): Likewise.
39807         * stdio-common/psignal.c (psignal): Likewise.
39808         * string/strsignal.c (strsignal): Likewise.
39809         * include/signal.h (_sys_siglist): Declare hidden proto.
39810         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39811         INTVARDEF with libc_hidden_data_def.
39812         * stdio-common/itoa-udigits.c: Likewise.
39813         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39814         (_itoa_lower_digits_internal): Remove declaration.
39815         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39816         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39817         (_sys_sigabbrev_internal): Remove aliases.
39818         (_sys_siglist): Define hidden alias.
39820 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39823         bits/sysctl.h.
39825 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39827         [BZ #14117]
39828         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39829         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39831         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39832         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39833         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39834         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39836         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39838         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39842         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39843         with __addr.
39844         (insw): Likewise.
39845         (insl): Likewise.
39846         (outsb): Likewise.
39847         (outsw): Likewise.
39848         (outsl): Likewise.
39850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39852         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39854         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39856         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39857         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39858         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39859         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39862         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39864         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39865         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39871         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39872         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39873         to ...
39874         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39876         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39877         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39878         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39880         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39881         for x86-64.
39882         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39884 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39886         * math/math.h (M_El): Use two more decimal places.
39887         (M_LOG2El): Likewise.
39888         (M_LOG10El): Likewise.
39889         (M_LN2l): Likewise.
39890         (M_LN10l): Likewise.
39891         (M_PIl): Likewise.
39892         (M_PI_2l): Likewise.
39893         (M_PI_4l): Likewise.
39894         (M_1_PIl): Likewise.
39895         (M_2_PIl): Likewise.
39896         (M_2_SQRTPIl): Likewise.
39897         (M_SQRT2l): Likewise.
39898         (M_SQRT1_2l): Likewise.
39900 2012-05-31  David S. Miller  <davem@davemloft.net>
39902         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39903         values between float registers.
39904         * sysdeps/sparc/sparc64/memset.S: Likewise.
39905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39907 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39909         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39910         -D_FORTIFY_SOURCE=1.
39911         (CPPFLAGS-tst-longjmp_chk.c): Define.
39912         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39913         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39914         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39915         CFLAGS-tst-wchar-h.c.
39917 2012-05-31  Marek Polacek  <polacek@redhat.com>
39919         [BZ #14132]
39920         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39921         __endmntent_internal): Remove declaration.
39922         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39923         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39924         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39926 2012-05-30  David S. Miller  <davem@davemloft.net>
39928         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39929         (___Q_simulate_exceptions): Use real FP ops rather than writing
39930         into the %fsr.
39931         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39932         Likewise.
39934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39936         [BZ #14117]
39937         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39938         * sysdeps/x86/bits/xtitypes.h: This.
39940         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39941         * sysdeps/x86/bits/wordsize.h: This.
39943         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39944         * sysdeps/x86/bits/huge_vall.h: This.
39946         * sysdeps/i386/bits/select.h: Removed.
39947         * sysdeps/x86_64/bits/select.h: Renamed to ...
39948         * sysdeps/x86/bits/select.h: This.
39950         * sysdeps/i386/bits/setjmp.h: Removed.
39951         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39952         * sysdeps/x86/bits/setjmp.h: This.
39954         * sysdeps/i386/bits/mathdef.h: Removed.
39955         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39956         * sysdeps/x86/bits/mathdef.h: This.
39958 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39960         [BZ #14132]
39961         * include/sys/socket.h (__connect_internal)
39962         (__libc_sa_len_internal): Remove declaration.
39963         (__connect, __libc_sa_len): Declare hidden_proto.
39964         (SA_LEN): Remove use of INTUSE.
39965         * socket/connect.c: Add libc_hidden_def.
39966         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39967         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39968         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39969         alias.
39970         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39972         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39973         of adding _internal alias.
39975 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39977         [BZ #14117]
39978         * sysdeps/i386/bits/link.h: Removed.
39979         * sysdeps/i386/bits/linkmap.h: Likewise.
39980         * sysdeps/x86_64/bits/link.h: Renamed to ...
39981         * sysdeps/x86/bits/link.h: This.
39982         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39983         * sysdeps/x86/bits/linkmap.h: This.
39985         * sysdeps/i386/bits/endian.h: Removed.
39986         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39987         * sysdeps/x86/bits/endian.h: This.
39989         * sysdeps/i386/bits/byteswap.h: Removed.
39990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39991         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39992         * sysdeps/x86/bits/byteswap.h: This.
39993         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39994         * sysdeps/x86/bits/byteswap-16.h: This.
39995         * sysdeps/i386/Implies: Add x86.
39996         * sysdeps/x86_64/Implies: Likewise.
39998 2012-05-30  David S. Miller  <davem@davemloft.net>
40000         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40001         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40002         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40003         (FP_TRAPPING_EXCEPTIONS): Define.
40004         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40005         (FP_TRAPPING_EXCEPTIONS): Define.
40006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40007         subnormals only when inexact has been signalled or underflow
40008         exceptions are enabled.
40009         (_FP_PACK_CANONICAL): Likewise.
40011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40013         [BZ #14183]
40014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40015         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40017 2012-05-30  Richard Henderson  <rth@twiddle.net>
40019         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40020         with #ifndef NOT_IN_libc.
40022         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40023         marked to avoid plt entry.
40025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40027         [BZ #14112]
40028         * Makeconfig (default-abi): New macro.
40029         (abi-includes): Likewise.
40030         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40031         $(abi-$(default-abi)-lib-soname) for soname if defined.
40032         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40033         abi-variants.
40034         * Makefile (installed-stubs): Likewise.
40035         * include/stubs-biarch.h: Removed.
40036         * scripts/lib-names.awk: Only handle one library at a time.
40037         * scripts/soversions.awk: Remove WORDSIZE support.
40038         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40039         entries.
40040         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40041         Removed.
40042         (syscall-list-default-condition): Likewise.
40043         (syscall-list-default-condition): Likewise.
40044         (syscall-list-includes): Likewise.
40045         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40046         syscall-list-* with abi-*.  Handle undefined abi-variants.
40047         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40048         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40049         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40050         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40051         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40052         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40053         Removed.
40054         (syscall-list-32-options): Likewise.
40055         (syscall-list-32-condition): Likewise.
40056         (syscall-list-64-options): Likewise.
40057         (syscall-list-64-condition): Likewise.
40058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40059         macro.
40060         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40061         Renamed to ...
40062         (abi-*): This.
40063         (abi-64-ld-soname): New macro.
40064         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40065         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40066         Renamed to ...
40067         (abi-*): This.
40068         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40069         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40071 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40073         * sysdeps/unix/sysv/linux/kernel-features.h
40074         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40075         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40076         include <kernel-features.h>.
40077         [!__NR_ftruncate64]: Remove conditional code.
40078         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40079         [__NR_ftruncate64]: Make code unconditional.
40080         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40081         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40082         include <kernel-features.h>.
40083         [!__NR_ftruncate64]: Remove conditional code.
40084         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40085         [__NR_ftruncate64]: Make code unconditional.
40086         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40088         include <kernel-features.h>.
40089         [!__NR_ftruncate64]: Remove conditional code.
40090         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40091         [__NR_ftruncate64]: Make code unconditional.
40092         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40094         include <kernel-features.h>.
40095         [!__NR_ftruncate64]: Remove conditional code.
40096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40097         [__NR_ftruncate64]: Make code unconditional.
40098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40100         * configure.in (libc_cv_fpie): Weaken to a compile test using
40101         LIBC_TRY_CC_OPTION.
40102         * configure: Regenerated.
40104 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40110         Refreshed.
40111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40117         Refreshed.
40119 2012-05-27  David S. Miller  <davem@davemloft.net>
40121         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40122         (___Q_zero): New.
40123         (__Q_simulate_exceptions): Return void.  Change to simulate
40124         exceptions by writing into the %fsr.
40125         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40126         (__Qp_handle_exceptions): Likewise.
40127         (numbers): Delete.
40128         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40129         __Qp_handle_exceptions.
40130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40131         __Qp_handle_exceptions.
40132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40133         as unused and give dummy FP_RND_NEAREST initializer.
40134         (FP_INHIBIT_RESULTS): Define.
40135         (___Q_simulate_exceptions): Update declaration.
40136         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40137         formatting.
40138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40139         as unused and give dummy FP_RND_NEAREST initializer.
40140         (__Qp_handle_exceptions): Update declaration.
40141         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40142         formatting.
40144 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40146         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40147         the temporary FPU control word.
40148         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40149         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40150         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40151         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40153         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40154         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40155         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40157         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40160 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40162         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40163         fields.
40165 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40167         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40168         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40169         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40170         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40171         Likewise.
40172         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40173         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40174         Likewise.
40176 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40178         * po/h.po: Update from translation team.
40180 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40182         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40184         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40185         handling of denormals.
40186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40187         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40188         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40193         Likewise.
40195 2012-05-26  Marek Polacek  <polacek@redhat.com>
40197         [BZ #14152]
40198         * math/libm-test.inc (fma_test): Don't always expect underflow
40199         exception.
40201 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40203         [BZ #12416]
40204         * elf/tst-execstack.c: Include stackinfo.h.
40205         (do_test): Adjust test case to ensure that pthread_getattr_np
40206         behaviour remains the same after marking stack executable.
40208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40210         * sysdeps/unix/sysv/linux/kernel-features.h
40211         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40212         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40213         kernel-features.h.
40214         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40215         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40216         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40217         kernel-features.h.
40218         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40219         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40221 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40223         * configure.in: Define the default includes to being none.
40224         * configure: Regenerated.
40226 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40228         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40229         * sysdeps/x86_64/setjmp.S: Likewise.
40230         * sysdeps/i386/bsd-setjmp.S: Likewise.
40231         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40232         * sysdeps/i386/setjmp.S: Likewise.
40233         * sysdeps/i386/__longjmp.S: Likewise.
40234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40235         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40237         * include/stap-probe.h: New file.
40238         * configure.in: Handle --enable-systemtap.
40239         * configure: Regenerated.
40240         * config.h.in (USE_STAP_PROBE): New #undef.
40241         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40242         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40243         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40247         [BZ #13717]
40248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40249         to 2.4.0 where earlier.
40250         * sysdeps/unix/sysv/linux/configure: Regenerated.
40251         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40252         <kernel-features.h>.
40253         [__ASSUME_32BITUIDS]: Make code unconditional.
40254         [!__ASSUME_32BITUIDS]: Remove conditional code.
40255         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40256         <kernel-features.h>.
40257         [__ASSUME_32BITUIDS]: Make code unconditional.
40258         [!__ASSUME_32BITUIDS]: Remove conditional code.
40259         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40260         [__ASSUME_32BITUIDS]: Make code unconditional.
40261         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40262         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40263         <kernel-features.h>.
40264         [__ASSUME_32BITUIDS]: Make code unconditional.
40265         [!__ASSUME_32BITUIDS]: Remove conditional code.
40266         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40267         <kernel-features.h>.
40268         [__ASSUME_32BITUIDS]: Make code unconditional.
40269         [!__ASSUME_32BITUIDS]: Remove conditional code.
40270         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40271         <kernel-features.h>.
40272         [__ASSUME_32BITUIDS]: Make code unconditional.
40273         [!__ASSUME_32BITUIDS]: Remove conditional code.
40274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40275         <kernel-features.h>.
40276         [__ASSUME_32BITUIDS]: Make code unconditional.
40277         [!__ASSUME_32BITUIDS]: Remove conditional code.
40278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40279         <kernel-features.h>.
40280         [__ASSUME_32BITUIDS]: Make code unconditional.
40281         [!__ASSUME_32BITUIDS]: Remove conditional code.
40282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40283         <kernel-features.h>.
40284         [__ASSUME_32BITUIDS]: Make code unconditional.
40285         [!__ASSUME_32BITUIDS]: Remove conditional code.
40286         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40287         <kernel-features.h>.
40288         [__ASSUME_32BITUIDS]: Make code unconditional.
40289         [!__ASSUME_32BITUIDS]: Remove conditional code.
40290         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40291         <kernel-features.h>.
40292         [__ASSUME_32BITUIDS]: Make code unconditional.
40293         [!__ASSUME_32BITUIDS]: Remove conditional code.
40294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40295         <kernel-features.h>.
40296         [__ASSUME_32BITUIDS]: Make code unconditional.
40297         [!__ASSUME_32BITUIDS]: Remove conditional code.
40298         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40299         <kernel-features.h>.
40300         [__ASSUME_32BITUIDS]: Make code unconditional.
40301         [!__ASSUME_32BITUIDS]: Remove conditional code.
40302         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40303         <kernel-features.h>.
40304         [__NR_setresgid] (__setresgid): Do not declare.
40305         [__ASSUME_32BITUIDS]: Make code unconditional.
40306         [!__ASSUME_32BITUIDS]: Remove conditional code.
40307         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40308         <kernel-features.h>.
40309         [__NR_setresuid] (__setresuid): Do not declare.
40310         [__ASSUME_32BITUIDS]: Make code unconditional.
40311         [!__ASSUME_32BITUIDS]: Remove conditional code.
40312         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40313         <kernel-features.h>.
40314         [__ASSUME_32BITUIDS]: Make code unconditional.
40315         [!__ASSUME_32BITUIDS]: Remove conditional code.
40316         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40317         <kernel-features.h>.
40318         [__ASSUME_32BITUIDS]: Make code unconditional.
40319         [!__ASSUME_32BITUIDS]: Remove conditional code.
40320         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40321         <kernel-features.h>.
40322         [__ASSUME_32BITUIDS]: Make code unconditional.
40323         [!__ASSUME_32BITUIDS]: Remove conditional code.
40324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40325         <kernel-features.h>.
40326         [__ASSUME_32BITUIDS]: Make code unconditional.
40327         [!__ASSUME_32BITUIDS]: Remove conditional code.
40328         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40329         <kernel-features.h>.
40330         [__ASSUME_32BITUIDS]: Make code unconditional.
40331         [!__ASSUME_32BITUIDS]: Remove conditional code.
40332         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40333         <kernel-features.h>.
40334         [__ASSUME_32BITUIDS]: Make code unconditional.
40335         [!__ASSUME_32BITUIDS]: Remove conditional code.
40336         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40337         <kernel-features.h>.
40338         [__ASSUME_32BITUIDS]: Make code unconditional.
40339         [!__ASSUME_32BITUIDS]: Remove conditional code.
40340         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40341         <kernel-features.h>.
40342         [__ASSUME_32BITUIDS]: Make code unconditional.
40343         [!__ASSUME_32BITUIDS]: Remove conditional code.
40344         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40345         <kernel-features.h>.
40346         [__ASSUME_32BITUIDS]: Make code unconditional.
40347         [!__ASSUME_32BITUIDS]: Remove conditional code.
40348         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40349         <kernel-features.h>.
40350         [__ASSUME_32BITUIDS]: Make code unconditional.
40351         [!__ASSUME_32BITUIDS]: Remove conditional code.
40352         * sysdeps/unix/sysv/linux/kernel-features.h
40353         (__ASSUME_SETRESUID_SYSCALL): Remove.
40354         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40355         (__ASSUME_32BITUIDS): Likewise.
40356         (__ASSUME_LDT_WORKS): Likewise.
40357         (__ASSUME_O_DIRECTORY): Likewise.
40358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40359         architecture but not kernel version.
40360         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40361         (__ASSUME_MMAP2_SYSCALL): Likewise.
40362         (__ASSUME_STAT64_SYSCALL): Likewise.
40363         (__ASSUME_IPC64): Likewise.
40364         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40365         <kernel-features.h>.
40366         [__ASSUME_32BITUIDS]: Make code unconditional.
40367         [!__ASSUME_32BITUIDS]: Remove conditional code.
40368         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40369         <kernel-features.h>.
40370         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40371         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40372         132096]: Remove conditional code.
40373         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40375         <kernel-features.h>.
40376         [__ASSUME_32BITUIDS]: Make code unconditional.
40377         [!__ASSUME_32BITUIDS]: Remove conditional code.
40378         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40379         <kernel-features.h>.
40380         [__ASSUME_32BITUIDS]: Make code unconditional.
40381         [!__ASSUME_32BITUIDS]: Remove conditional code.
40382         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40383         <kernel-features.h>.
40384         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40385         unconditional.
40386         (__setresgid): Do not declare.
40387         [__ASSUME_32BITUIDS]: Make code unconditional.
40388         [!__ASSUME_32BITUIDS]: Remove conditional code.
40389         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40390         <kernel-features.h>.
40391         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40392         unconditional.
40393         (__setresuid): Do not declare.
40394         [__ASSUME_32BITUIDS]: Make code unconditional.
40395         [!__ASSUME_32BITUIDS]: Remove conditional code.
40396         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40397         <kernel-features.h>.
40398         [__ASSUME_32BITUIDS]: Make code unconditional.
40399         [!__ASSUME_32BITUIDS]: Remove conditional code.
40400         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40401         <kernel-features.h>.
40402         [__ASSUME_32BITUIDS]: Make code unconditional.
40403         [!__ASSUME_32BITUIDS]: Remove conditional code.
40405 2012-05-25  Richard Henderson  <rth@twiddle.net>
40407         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40408         dl_hwcap to ifunc resolver.
40409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40410         elf_ifunc_invoke.
40411         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40412         dl_hwcap to ifunc resolver.
40413         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40417         [BZ #14153]
40418         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40419         for |x| <= 2**-26, not 2**-57.
40420         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40421         exception.
40423 2012-05-24  Jeff Law  <law@redhat.com>
40425         * stdio-common/Makefile (tests): Add bug25.
40426         * stdio-common/bug25.c: New test.
40428 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40430         [BZ #13576]
40431         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40432         multiple of MALLOC_ALIGNMENT in size.
40433         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40437         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40438         Require >= 256.
40439         (FILENAME_MAX): Use macro-int-constant.
40440         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40441         (_IOFBF): Use macro-int-constant.
40442         (_IOLBF): Likewise.
40443         (_IONBF): Likewise.
40444         (SEEK_CUR): Likewise.
40445         (SEEK_END): Likewise.
40446         (SEEK_SET): Likewise.
40447         (TMP_MAX): Likewise.
40448         (EOF): Use macro-int-constant.  Require < 0.
40449         (NULL): Use macro-constant.  Require == 0.
40450         (stdin): Require type to be FILE *.
40451         (stdout): Likewise.
40452         (stderr): Likewise.
40453         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40454         macro-int-constant.
40455         (EXIT_SUCCESS): Likewise.
40456         (NULL): Use macro-constant.  Require == 0.
40457         (RAND_MAX): Use macro-int-constant.
40458         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40459         [C99-based standards] (strtof): Require function.
40460         [C99-based standards] (strtold): Likewise.
40461         [C99-based standards] (strtoll): Likewise.
40462         [C99-based standards] (strtoull): Likewise.
40463         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40464         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40465         [ISO || ISO99 || ISO11] (math.h): Likewise.
40466         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40467         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40470 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40472         [BZ #14132]
40473         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40474         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40475         * intl/dgettext.c (DCGETTEXT): Likewise.
40476         * intl/gettext.c (DCGETTEXT): Likewise.
40477         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40478         * posix/regex_internal.h (gettext): Likewise.
40479         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40480         Remove declaration.
40481         * include/argz.h (__argz_count_internal)
40482         (__argz_stringify_internal): Remove declaration.
40483         (__argz_count, __argz_stringify): Declare hidden proto.
40484         * intl/dcgettext.c: Remove use of INTDEF.
40485         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40486         * string/argz-stringify.c: Likewise.
40487         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40488         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40489         Declare hidden proto.
40490         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40491         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40492         Declare hidden proto.
40493         * include/stdio.h (__asprintf_internal): Don't declare.
40494         (__asprintf): Don't define as macro.  Declare hidden proto.
40495         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40496         (__fsetlocking): Declare hidden proto.
40497         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40498         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40499         hidden proto.
40500         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40501         (_IO_setlinebuf): Remove use of INTUSE.
40502         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40503         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40504         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40505         Remove declaration.
40506         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40507         (_IO_do_flush): Remove use of INTUSE.
40508         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40509         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40510         (_IO_adjust_column, _IO_least_wmarker)
40511         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40512         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40513         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40514         (_IO_default_doallocate, _IO_wdefault_doallocate)
40515         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40516         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40517         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40518         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40519         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40520         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40521         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40522         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40523         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40524         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40525         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40526         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40527         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40528         proto.
40529         (_IO_flush_all_internal, _IO_adjust_column_internal)
40530         (_IO_default_uflow_internal, _IO_default_finish_internal)
40531         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40532         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40533         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40534         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40535         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40536         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40537         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40538         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40539         (_IO_file_close_internal, _IO_file_close_it_internal)
40540         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40541         (_IO_file_init_internal, _IO_file_attach_internal)
40542         (_IO_file_fopen_internal, _IO_file_read_internal)
40543         (_IO_file_sync_internal, _IO_file_seek_internal)
40544         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40545         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40546         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40547         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40548         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40549         (_IO_list_all_internal, _IO_link_in_internal)
40550         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40551         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40552         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40553         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40554         (_IO_do_write_internal, _IO_padn_internal)
40555         (_IO_getline_info_internal, _IO_getline_internal)
40556         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40557         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40558         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40559         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40560         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40561         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40562         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40563         with libc_hidden_ver, remove use of INTUSE.
40564         * libio/genops.c: Likewise.
40565         * libio/freopen.c: Likewise.
40566         * libio/freopen64.c: Likewise.
40567         * libio/iofclose.c: Likewise.
40568         * libio/iofdopen.c: Likewise.
40569         * libio/iofflush.c: Likewise.
40570         * libio/iofflush_u.c: Likewise.
40571         * libio/iofgets.c: Likewise.
40572         * libio/iofgets_u.c: Likewise.
40573         * libio/iofopen.c: Likewise.
40574         * libio/iofopncook.c: Likewise.
40575         * libio/iofread.c: Likewise.
40576         * libio/iofread_u.c: Likewise.
40577         * libio/ioftell.c: Likewise.
40578         * libio/iofwrite.c: Likewise.
40579         * libio/iogetline.c: Likewise.
40580         * libio/iogets.c: Likewise.
40581         * libio/iogetwline.c: Likewise.
40582         * libio/iopadn.c: Likewise.
40583         * libio/iopopen.c: Likewise.
40584         * libio/ioseekoff.c: Likewise.
40585         * libio/ioseekpos.c: Likewise.
40586         * libio/iosetbuffer.c: Likewise.
40587         * libio/iosetvbuf.c: Likewise.
40588         * libio/ioungetc.c: Likewise.
40589         * libio/ioungetwc.c: Likewise.
40590         * libio/iovdprintf.c: Likewise.
40591         * libio/iovsprintf.c: Likewise.
40592         * libio/iovsscanf.c: Likewise.
40593         * libio/memstream.c: Likewise.
40594         * libio/obprintf.c: Likewise.
40595         * libio/oldfileops.c: Likewise.
40596         * libio/oldiofclose.c: Likewise.
40597         * libio/oldiofdopen.c: Likewise.
40598         * libio/oldiofopen.c: Likewise.
40599         * libio/oldiopopen.c: Likewise.
40600         * libio/oldstdfiles.c: Likewise.
40601         * libio/putc.c: Likewise.
40602         * libio/setbuf.c: Likewise.
40603         * libio/setlinebuf.c: Likewise.
40604         * libio/stdfiles.c: Likewise.
40605         * libio/strops.c: Likewise.
40606         * libio/vasprintf.c: Likewise.
40607         * libio/vscanf.c: Likewise.
40608         * libio/vsnprintf.c: Likewise.
40609         * libio/vswprintf.c: Likewise.
40610         * libio/wfiledoalloc.c: Likewise.
40611         * libio/wfileops.c: Likewise.
40612         * libio/wgenops.c: Likewise.
40613         * libio/wmemstream.c: Likewise.
40614         * libio/wstrops.c: Likewise.
40615         * libio/__fpurge.c: Likewise.
40616         * libio/__fsetlocking.c: Likewise.
40617         * assert/assert.c: Likewise.
40618         * debug/fgets_chk.c: Likewise.
40619         * debug/fgets_u_chk.c: Likewise.
40620         * debug/fread_chk.c: Likewise.
40621         * debug/fread_u_chk.c: Likewise.
40622         * debug/gets_chk.c: Likewise.
40623         * debug/obprintf_chk.c: Likewise.
40624         * debug/vasprintf_chk.c: Likewise.
40625         * debug/vdprintf_chk.c: Likewise.
40626         * debug/vsnprintf_chk.c: Likewise.
40627         * debug/vsprintf_chk.c: Likewise.
40628         * malloc/mtrace.c: Likewise.
40629         * misc/error.c: Likewise.
40630         * misc/syslog.c: Likewise.
40631         * stdio-common/asprintf.c: Likewise.
40632         * stdio-common/fxprintf.c: Likewise.
40633         * stdio-common/getw.c: Likewise.
40634         * stdio-common/isoc99_fscanf.c: Likewise.
40635         * stdio-common/isoc99_scanf.c: Likewise.
40636         * stdio-common/isoc99_vfscanf.c: Likewise.
40637         * stdio-common/isoc99_vscanf.c: Likewise.
40638         * stdio-common/isoc99_vsscanf.c: Likewise.
40639         * stdio-common/printf-prs.c: Likewise.
40640         * stdio-common/printf_fp.c: Likewise.
40641         * stdio-common/printf_fphex.c: Likewise.
40642         * stdio-common/printf_size.c: Likewise.
40643         * stdio-common/putw.c: Likewise.
40644         * stdio-common/scanf.c: Likewise.
40645         * stdio-common/sprintf.c: Likewise.
40646         * stdio-common/tmpfile.c: Likewise.
40647         * stdio-common/vfprintf.c: Likewise.
40648         * stdio-common/vfscanf.c: Likewise.
40649         * stdlib/strfmon_l.c: Likewise.
40650         * sunrpc/openchild.c: Likewise.
40651         * sunrpc/xdr_stdio.c: Likewise.
40652         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40653         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40655 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40659         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40660         in the third column, to generate for the shared library an IFUNC
40661         that uses _dl_vdso_vsym.
40662         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40663         * Makeconfig (object-suffixes-noshared): New variable.
40665         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40666         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40667         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40668         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40670         [BZ #14132]
40671         * include/sys/time.h (__gettimeofday): Remove macro.
40672         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40673         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40674         Remove INTDEF.
40675         (__gettimeofday): Add libc_hidden_def.
40676         (gettimeofday): Add libc_hidden_weak.
40677         * sysdeps/mach/gettimeofday.c: Likewise.
40678         * sysdeps/posix/gettimeofday.c: Likewise.
40679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40680         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40682         (__gettimeofday_internal): Remove strong_alias.
40683         (__gettimeofday): Add libc_hidden_def.
40684         (gettimeofday): Add libc_hidden_weak.
40685         * sysdeps/unix/syscalls.list (gettimeofday):
40686         Remove __gettimeofday_internal alias.
40688 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40689             H.J. Lu  <hongjiu.lu@intel.com>
40691         [BZ #12495]
40692         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40693         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40694         (largebin_index_32_big): New.
40695         (largebin_index): Use it for 16-byte alignment.
40696         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40697         correction with front_misalign.
40699 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40703         Likewise.
40704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40705         Likewise.
40706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40707         Likewise.
40708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40709         Likewise.
40710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40711         Likewise.
40712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40713         Likewise.
40714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40715         Likewise.
40716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40717         Likewise.
40718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40719         Likewise.
40720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40721         Likewise.
40722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40723         Likewise.
40724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40725         Likewise.
40727         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40728         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40732         [BZ #10846]
40733         [BZ #14036]
40734         * math/libm-test.inc (exp_test): Add test from bug 14036.
40735         (pow_test): Add test from bug 10846.
40737         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40738         and other flags.
40739         (special_function): Do not include flags in test name.
40740         (parse_args): Likewise.
40741         * sysdeps/i386/fpu/libm-test-ulps: Update.
40742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40744         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40747         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40748         exceptions.
40749         * math/libm-test.inc ("Philosophy"): Update comment about
40750         exception testing.
40751         (UNDERFLOW_EXCEPTION): New macro.
40752         (UNDERFLOW_EXCEPTION_OK): Likewise.
40753         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40754         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40755         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40756         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40757         (INVALID_EXCEPTION_OK): Update value.
40758         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40759         (OVERFLOW_EXCEPTION_OK): Likewise.
40760         (IGNORE_ZERO_INF_SIGN): Likewise.
40761         (test_exceptions): Handle underflow exceptions.
40762         (acos_test): Update for underflow exception expectations.
40763         (cexp_test): Likewise.
40764         (clog_test): Likewise.
40765         (clog10_test): Likewise.
40766         (csqrt_test): Likewise.
40767         (ctan_test): Likewise.
40768         (ctanh_test): Likewise.
40769         (exp_test): Likewise.
40770         (exp10_test): Likewise.
40771         (exp2_test): Likewise.
40772         (expm1_test): Likewise.
40773         (fma_test): Likewise.
40774         (j0_test): Likewise.
40775         (jn_test): Likewise.
40776         (nexttoward_test): Likewise.
40777         (pow_test): Likewise.
40778         (scalbn_test): Likewise.
40779         (scalbln_test): Likewise.
40780         (tan_test): Likewise.
40781         (y1_test): Likewise.
40782         * sysdeps/i386/fpu/libm-test-ulps: Update.
40783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785 2012-05-23  David S. Miller  <davem@davemloft.net>
40787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40788         (__libc_sigaction): Remove unused local variables.
40790 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40792         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40794 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40796         mktime: avoid signed integer overflow
40797         * time/mktime.c (__mktime_internal): Do not mishandle the case
40798         where diff == INT_MIN.
40800         mktime: simplify computation of average
40801         * time/mktime.c (ranged_convert): Use new time_t_avg function
40802         instead of rolling our own (probably-slower) code.
40804         mktime: do not assume signed right shift propagates sign bit
40805         * time/mktime.c (isdst_differ): New static function.
40806         (__mktime_internal): No need to normalize tm_isdst now.
40807         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40808         tm_isdst values.
40810         mktime: merge another wrapv change from gnulib
40811         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40812         from some compilers.
40814         mktime: remove incorrect attempt at unusual arithmetics
40815         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40816         The code didn't really work on such machines anyway.
40817         (TYPE_MINIMUM): Assume two's complement.
40818         (twos_complement_arithmetic): Verify that long_int and time_t
40819         are two's complement (or unsigned, in the latter case).
40821         mktime: check signed shifts on long_int and time_t, too
40822         * time/mktime.c (SHR): Check that shifts work as desired
40823         on the types long_int and time_t too, as SHR is used on
40824         such types.
40826         mktime: do not assume 'long' is wide enough
40827         * time/mktime.c (verify): Move decl up.
40828         (long_int): New type.
40829         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40830         to remove assumption in the code that 'long' is wide enough to
40831         store year values.  This assumption is not true on x32 and on
40832         some non-glibc platforms.
40834         mktime: merge wrapv change from gnulib
40835         * time/mktime.c (WRAPV): New macro.
40836         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40837         (guess_time_tm, __mktime_internal): Do not assume that signed
40838         integer overflow wraps around; modern compilers generate code
40839         where this assumption is no longer valid.
40841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40843         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40844         Replace "jmp L(pseudo_end)" with "ret".
40845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40846         Likewise.
40848 2012-05-23  Andreas Jaeger  <aj@suse.de>
40850         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40851         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40853 2012-05-23  Andreas Jaeger  <aj@suse.de>
40854             Maximilian Attems  <max@stro.at>
40856         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40857         New macros.
40859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40862         code so that pseudo_end is just ret and the stack pointer is
40863         correct also for static library in error case.
40865 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40867         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40868         move to syscalls.list.
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40874         * manual/install.texi (Running make install): Do not mention Linux
40875         kernel version for which pt_chown is not needed.
40876         (Linux): Do not mention problems with nscd with 2.0 kernels.
40877         * INSTALL: Regenerated.
40879 2012-05-23  Andreas Jaeger  <aj@suse.de>
40881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40882         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40883         macro.
40884         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40886         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40887         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40888         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40889         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40891         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40892         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40893         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40894         * sysdeps/unix/sysv/linux/bits/in.h
40895         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40897 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40899         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40900         (PREPARE_VERSION): Just use assert instead, it will be elided
40901         under [NDEBUG] anyway.
40903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40905         * sysdeps/unix/sysv/linux/Makefile: Include
40906         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40907         (sysdep_routines): Remove sysctl.
40908         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40909         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40910         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40911         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40912         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40914 2012-05-22  Andreas Jaeger  <aj@suse.de>
40916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40917         that pseudo_end is just ret and the stack pointer is correct also
40918         for static library in error case.
40920 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40922         [BZ #14122]
40923         * nss/nsswitch.c (defconfig_entries): New variable.
40924         (__nss_database_lookup): Don't leak defconfig entries.
40925         (nss_parse_service_list): Don't leak on error paths.
40926         (free_database_entries): New function.
40927         (free_defconfig): New function.
40928         (free_mem): Move common code to free_database_entries.
40930 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40933         Add arch_prctl.
40934         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40936         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40937         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40939         New macro.
40940         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40941         (INTERNAL_SYSCALL_TYPES): Likewise.
40942         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40943         (LOAD_REGS_TYPES_[1-6]): Likewise.
40944         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40945         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40947 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40950         copysignl for GLIBC_2_0.
40951         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40952         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40954         logbl for GLIBC_2_0.
40955         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40958 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40963         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40964         Use "neg %eax".
40966         * time/mktime.c: Update copyright years.
40968 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40970         mktime: merge comment-quoting-style change from gnulib
40971         * time/mktime.c: Quote 'like this' in comments.
40972         The GNU coding standards suggest that we no longer quote `like this',
40973         as "`" and "'" are typically rendered asymmetrically nowadays.
40974         The typical gnulib style is to quote 'like this' when quoting
40975         code, and "like this" when quoting English.
40977         * time/mktime.c (compile-command): Add "-I.".
40979         mktime: merge mktime-internal.h change from gnulib
40980         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40982         mktime: merge time_r change from gnulib
40983         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40985         mktime: merge DEBUG change from gnulib
40986         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40987         case system <time.h> has a #define.
40989         mktime: merge <sys/types.h> change from gnulib
40990         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40991         since <time.t> is now guaranteed to define time_t.
40993         mktime: merge HAVE_CONFIG_H change from gnulib
40994         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40996 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40999         Use "neg %eax".
41001         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41002         __rlim_t cast.
41003         (struct rusage): Use anonymous union to pad each field to
41004         __syscall_slong_t.
41006 2012-05-21  David S. Miller  <davem@davemloft.net>
41008         * Makefules (o-iterator): Remove .s cases.
41009         (compile-command.s): Delete.
41010         (COMPILE.s): Delete.
41011         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41013 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41015         * configure.in (libc_cv_predef_stack_protector): Only consider
41016         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41017         * configure: Regenerated.
41019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41022         New macro.  Use R*LP on int and pointer.
41023         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41024         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41025         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41026         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41028         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41029         [__WORDSIZE_TIME64_COMPAT32] instead of
41030         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41031         (struct utmp): Likewise.
41032         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41033         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41034         Renamed to ...
41035         (__WORDSIZE_TIME64_COMPAT32): This.
41036         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41037         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41038         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41039         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41040         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41041         (__WORDSIZE_TIME64_COMPAT32): New macro.
41043 2012-05-21  Andreas Jaeger  <aj@suse.de>
41045         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41046         only if [SHARED]. Add prototype for __wcschr_ia32.
41048 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41050         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41051         of %rbp unmolested in the jmp_buf while mangling the low bits.
41052         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41053         unmolested high bits of %rbp while demangling the low bits.
41054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41056 2012-05-21  Andreas Jaeger  <aj@suse.de>
41058         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41059         * sunrpc/svc_simple.c: Use it for registerrpc.
41060         * sunrpc/xcrypt.c: Use it for passwd2des.
41062         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41066         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41067         Don't define if [__SYSCALL_WORDSIZE != 32].
41068         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41069         New macro.
41071 2012-05-21  Bruno Haible  <bruno@clisp.org>
41072             Andreas Jaeger  <aj@suse.de>
41074         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41075         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41076         inptr and inend for must_buffer_ch.
41077         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41078         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41079         * stdio-common/Makefile (tests): Remove bug15.
41080         (bug15-ENV): Remove macro.
41081         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41082         anymore.
41084 2012-05-19  Andreas Jaeger  <aj@suse.de>
41085             Roland McGrath  <roland@hack.frob.com>
41087         * manual/contrib.texi: Completely rewritten. It contains now an
41088         alphabetical list of contributors and their contributions.
41090 2012-05-21  Richard Henderson  <rth@twiddle.net>
41092         * misc/getauxval.c (__getauxval): Use unsigned long int.
41093         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41094         (getauxval): Use unsigned long int.
41096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41098         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41100 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41102         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41103         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41104         __alignof__ (long double).
41106 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41110 2012-05-20  Richard Henderson  <rth@twiddle.net>
41112         * misc/getauxval.c: New file.
41113         * misc/sys/auxv.h: New file.
41114         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41115         (routines): Add getauxval.
41116         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41117         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41118         * elf/dl-sysdep.c (_dl_auxv): Remove.
41119         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41120         * elf/dl-support.c (_dl_auxv): New variable.
41121         (_dl_aux_init): Initialize it.
41122         * manual/startup.texi (Auxiliary Vector): New node.
41123         * sysdeps/generic/bits/hwcap.h: New file.
41124         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41125         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41126         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41127         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41128         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41129         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41131         Update.
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41141 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41145 2012-05-19  David S. Miller  <davem@davemloft.net>
41147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41149 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41151         [BZ #14123]
41152         * math/s_ccosh.c: Include <float.h>
41153         (__ccosh): Avoid internal overflow calculating sinh and cosh
41154         values before multiplying by sin and cos values.
41155         * math/s_ccoshf.c: Likewise.
41156         * math/s_ccoshl.c: Likewise.
41157         * math/s_csin.c: Likewise.
41158         * math/s_csinf.c: Likewise.
41159         * math/s_csinl.c: Likewise.
41160         * math/s_csinh.c: Likewise.
41161         * math/s_csinhf.c: Likewise.
41162         * math/s_csinhl.c: Likewise.
41163         * math/libm-test.inc (ccos_test): Add more tests.
41164         (ccosh_test): Likewise.
41165         (csin_test): Likewise.
41166         (csinh_test): Likewise.
41167         * sysdeps/i386/fpu/libm-test-ulps: Update.
41168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41170 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41172         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41173         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41175         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41177 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41179         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41180         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41181         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41182         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41183         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41184         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41185         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41186         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41187         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41188         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41189         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41190         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41191         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41192         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41193         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41194         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41195         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41196         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41197         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41198         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41199         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41200         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41201         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41202         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41203         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41204         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41205         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41206         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41207         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41208         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41209         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41211 2012-05-18  Andreas Jaeger  <aj@suse.de>
41213         * csu/.gitignore: Delete.
41215 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41217         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41218         (timex): Use __syscall_slong_t.
41220 2012-05-18  Andreas Jaeger  <aj@suse.de>
41221             Carlos O'Donell  <carlos_odonell@mentor.com>
41223         * manual/install.texi (Configuring and compiling): Update
41224         description about files modified in the source directory.
41225         * INSTALL: Regenerated.
41227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41229         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41230         value.  Use "or" to set return value to -1.
41231         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41232         negate return value.
41234 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41236         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41237         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41238         failure if the compiler has Graphite support disabled.
41239         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41240         Likewise.
41241         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41242         (CFLAGS-memmove.c): Likewise.
41243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41244         Likewise.
41246 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41248         * sysdeps/x86_64/x32/_itoa.h: New file.
41250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41251         getdents system call only if kernel and user dirents have the
41252         same d_ino and d_off.
41254         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41255         LLONG_MAX != LONG_MAX.
41256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41257         (_fitoa_word): Likewise.
41259         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41260         years.
41261         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41262         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41266         include <bits/wordsize.h>.  Check __x86_64__ instead of
41267         __WORDSIZE.
41268         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41269         if __x86_64__ is defined.  Use anonymous union on fpstate.
41271         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41272         anonymous union.
41274 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41276         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41277         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41279         Refer to _rtld_local_ro instead of _rtld_global_ro.
41280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41281         Likewise.
41282         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41283         Likewise.
41284         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41285         Likewise.
41286         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41287         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41288         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41290         * sysdeps/powerpc/powerpc32/dl-machine.c
41291         (__elf_machine_runtime_setup) [PROF]: Don't reference
41292         _dl_prof_resolve.
41294 2012-05-18  Andreas Jaeger  <aj@suse.de>
41296         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41297         function only available for GCCs before 3.4 since GCC 3.4
41298         introduced a builtin.
41299         (lrint): Likewise.
41300         (llrintf): Likewise.
41301         (llrint): Likewise.
41302         (fmaxf): Likewise.
41303         (fmax): Likewise.
41304         (fminf): Likewise.
41305         (fmin): Likewise.
41306         (rint): Likewise.
41307         (rintf): Likewise.
41308         (nearbyint): Likewise.
41309         (nearbyintf): Likewise.
41310         (ceil): Likewise.
41311         (ceilf): Likewise.
41312         (floor): Likewise.
41313         (floorf): Likewise.
41315 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41317         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41318         on both fields and cast pointer to __syscall_ulong_t.
41320         * bits/types.h (__fsword_t): New type.
41321         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41322         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41324         (__FSWORD_T_TYPE): Likewise.
41325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41326         (__FSWORD_T_TYPE): Likewise.
41327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41328         (__FSWORD_T_TYPE): Likewise.
41329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41330         (__FSWORD_T_TYPE): Likewise.
41331         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41332         __SWORD_TYPE with __fsword_t.
41333         (statfs64): Likewise.
41335 2012-05-17  David S. Miller  <davem@davemloft.net>
41337         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41339 2012-05-17  Andreas Jaeger  <aj@suse.de>
41341         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41342         warning.
41344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41346         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41348 2012-05-17  Andreas Jaeger  <aj@suse.de>
41350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41351         when it is used.
41353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41355         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41359         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41360         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41362 2012-05-17  Andreas Jaeger  <aj@suse.de>
41363             Carlos O'Donell  <carlos_odonell@mentor.com>
41365         [BZ #14059]
41366         * sysdeps/x86_64/multiarch/init-arch.h
41367         (bit_YMM_Usable): Rename to...
41368         (bit_AVX_Usable): ... this.
41369         (bit_FMA4_Usable): New macro.
41370         (bit_XMM_state): New macro.
41371         (bit_YMM_state): New macro.
41372         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41373         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41374         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41375         (CPUID_OSXSAVE): New macro.
41376         (CPUID_AVX): New macro.
41377         (CPUID_FMA4): New macro.
41378         (index_YMM_Usable): Rename to...
41379         (index_AVX_Usable): ... this.
41380         (HAS_AVX): Use HAS_ARCH_FEATURE.
41381         (HAS_FMA4): Likewise.
41382         (HAS_YMM_USABLE): Remove.
41383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41384         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41385         are present.
41386         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41387         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41388         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41389         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41390         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41392 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41394         * math/libm-test.c: Support platforms without multiple rounding modes.
41395         * math/bug-nextafter.c: Support platforms without FP exceptions.
41396         * math/bug-nexttoward.c: Likewise.
41397         * math/test-fenv.c: Likewise.
41398         * math/test-misc.c: Likewise.
41399         * stdlib/bug-getcontext.c: Likewise.
41401 2012-05-17  Andreas Jaeger  <aj@suse.de>
41403         * manual/examples/search.c (critter_cmp): Change signature to
41404         avoid warnings.
41405         * manual/string.texi (Collation Functions): Likewise.
41407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41409         * bits/types.h: Fold copyright years.
41410         * bits/typesizes.h: Likewise.
41411         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41415         * time/time.h: Likewise.
41417 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41419         [BZ #208]
41420         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41421         in instead of returning them.  Return void.
41422         (__libc_mallinfo): Accumulate over all arenas.
41423         (__malloc_stats): Adjust for change in int_mallinfo interface.
41425 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41427         [BZ #10375]
41428         * configure.in (NM): Add AC_CHECK_TOOL for it.
41429         (libc_extra_cflags): New substituted variable.
41430         Check for -fstack-protector being used implicitly.
41431         * configure: Regenerated.
41432         * config.make.in (config-extra-cflags): New variable,
41433         gets @libc_extra_cflags@.
41434         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41436         [BZ #10375]
41437         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41438         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41439         * configure: Regenerated.
41440         * config.make.in (CPPUNDEFS): New substituted variable.
41441         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41442         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41443         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41447         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41448         (mq_attr): Use __syscall_slong_t.
41450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41453         Check __x86_64__ instead of __WORDSIZE.
41454         (_STAT_VER_LINUX): Likewise.
41455         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41456         __syscall_ulong_t and __syscall_slong_t.
41457         (stat64): Likewise.
41459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41469         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41470         __syscall_ulong_t.
41472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41473         include <bits/wordsize.h>.  Check __x86_64__ instead of
41474         __WORDSIZE.
41475         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41476         defined.
41477         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41480         include <bits/wordsize.h>.  Check __x86_64__ instead of
41481         __WORDSIZE.
41482         (user_regs_struct): Use "__extension__ unsigned long long"
41483         instead of "unsigned long" if __x86_64__ is defined.
41484         (user): Likewise.  Pad after pointer field if __ILP32__ is
41485         defined.
41487 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41489         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41490         versions 5 to 9.
41491         * configure: Regenerated.
41492         * manual/install.texi (texinfo): Increase version requirement to
41493         4.5 or later.
41494         * INSTALL: Regenerated.
41496         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41500         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41502         * sysdeps/x86_64/x32/ffs.c: New file.
41504         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41505         __syscall_ulong_t.
41506         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41507         defined.  Use __syscall_ulong_t.
41508         (shminfo): Use __syscall_ulong_t.
41509         (shm_info): Likewise.
41511         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41512         __syscall_ulong_t.
41514         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41515         <bits/wordsize.h>.
41516         (msgqnum_t): Use __syscall_ulong_t.
41517         (msglen_t): Likewise.
41518         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41519         __syscall_ulong_t.
41521         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41524         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41526         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41527         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41529         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41530         __syscall_slong_t.
41532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41533         include <bits/wordsize.h>.  Check __x86_64__ instead of
41534         __WORDSIZE.
41536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41537         "unsigned long long int" if __x86_64__ is defined.
41538         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41542         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41545         <stdint.h>.
41546         (GET_PC): Cast to uintptr_t first.
41547         (GET_FRAME): Likewise.
41548         (GET_STACK): Likewise.
41550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41553         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41555         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41556         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41557         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41558         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41564         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41565         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41566         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41568         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41570         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41571         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41572         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41573         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41574         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41575         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41576         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41580 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41582         * Makerules (+depfiles): Also collect depfiles from .oS in
41583         $(extra-objs).
41584         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41585         .oS, $(libnldbl-routines)).
41587         * Makerules (native-compile-mkdep-flags): Define.
41588         * sunrpc/Makefile (extra-objs): Add $(addprefix
41589         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41590         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41591         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41592         calling $(make-target-directory).
41594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41596         * bits/types.h (__snseconds_t): Removed.
41597         * time/time.h (struct timespec): Replace __snseconds_t with
41598         __syscall_slong_t.
41599         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41600         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41601         Likewise.
41602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41603         (__SNSECONDS_T_TYPE): Likewise.
41604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41605         (__SNSECONDS_T_TYPE): Likewise.
41606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41607         (__SNSECONDS_T_TYPE): Likewise.
41609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41611         * sysdeps/mach/hurd/bits/typesizes.h
41612         (__SYSCALL_SLONG_TYPE): New macro.
41613         (__SYSCALL_ULONG_TYPE): Likewise.
41615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41617         * bits/types.h (__syscall_slong_t): New type.
41618         (__syscall_ulong_t): Likewise.
41620         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41621         (__SYSCALL_ULONG_TYPE): Likewise.
41622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41623         (__SYSCALL_SLONG_TYPE): Likewise.
41624         (__SYSCALL_ULONG_TYPE): Likewise.
41625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41626         (__SYSCALL_SLONG_TYPE): Likewise.
41627         (__SYSCALL_ULONG_TYPE): Likewise.
41628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41629         (__SYSCALL_SLONG_TYPE): Likewise.
41630         (__SYSCALL_ULONG_TYPE): Likewise.
41632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41634         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41635         Add sigaltstack-offsets.sym.
41636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41637         <sigaltstack-offsets.h>.
41638         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41639         longjmp_msg pointer.
41640         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41641         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41642         signal stack.
41643         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41647         * elf/stackguard-macros.h: Remove file.
41648         * sysdeps/generic/stackguard-macros.h: New file.
41649         * sysdeps/i386/stackguard-macros.h: Likewise.
41650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41656         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41657         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41658         <elf/stackguard-macros.h>.
41660         [BZ #14109]
41661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41662         __aligned__ in attribute.
41663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41664         (gregset_t): Likewise.
41666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41668         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41669         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41670         * sysdeps/x86_64/x32/Implies-after: New file.
41672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41674         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41675         and access return value for _dl_profile_fixup.  Use R10_LP to
41676         load frame size.
41678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41684         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41685         * sysdeps/x86_64/x32/sysdep.h: New file.
41687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41689         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41690         * sysdeps/x86_64/setjmp.S: Likewise.
41692 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41696         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41698         remove unused global constant.
41700 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41702         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41703         include of <not-cancel.h>.
41705 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41707         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41709 2012-05-15  Jeff Law  <law@redhat.com>
41710             Andreas Jaeger  <aj@suse.de>
41712         [BZ #13594]
41713         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41714         out from...
41715         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41716         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41718         code changing __hst_map_handle.map.
41720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41722         * configure.in (sysnames): Look for Implies-before and Implies-after
41723         files.
41724         * configure: Regenerated.
41726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41729         8-byte data alignment with LP_SIZE alignment.
41731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41734         into R10_LP.
41736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41738         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41743         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41745         Likewise.
41746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41750         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41751         (stackinfo_sub_sp): Likewise.
41753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41756         RAX_LP.
41758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41761         into R*_LP.
41763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41766         sizes into R*_LP.
41768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41770         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41774         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41775         into R11_LP and load __x86_64_shared_cache_size_half into
41776         R8_LP.
41778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41781         R8_LP.
41783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41786         logb for POWER7.
41787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41788         logbf for POWER7.
41789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41790         logbl for POWER7.
41791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41792         powerpc32/power7/fpu/s_logb.c via #include.
41793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41794         powerpc32/power7/fpu/s_logbf.c via #include.
41795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41796         powerpc32/power7/fpu/s_logbl.c via #include.
41798 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41800         * README.libm: Remove file.
41802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41804         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41805         count for x32.  Use R*_LP and omit operand-size suffix.
41807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41809         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41810         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41811         * sysdeps/x86_64/x32/shlib-versions: New file.
41813 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41815         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41816         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41817         Use _dl_fatal_printf instead.
41819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41821         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41822         set if not set by the user.  Do not allow for being unset.
41823         * sysdeps/unix/sysv/linux/configure: Regenerated.
41825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41827         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41828         the `q' suffix from lea and replace .quad with ASM_ADDR.
41830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41833         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41834         instead of $17.
41835         (PTR_DEMANGLE): Likewise.
41837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41839         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41840         (LP_OP): Likewise.
41841         (ASM_ADDR): Likewise.
41842         (RAX_LP): Likewise.
41843         (RBP_LP): Likewise.
41844         (RBX_LP): Likewise.
41845         (RCX_LP): Likewise.
41846         (RDI_LP): Likewise.
41847         (RSI_LP): Likewise.
41848         (RSP_LP): Likewise.
41849         (R8_LP): Likewise.
41850         (R9_LP): Likewise.
41851         (R10_LP): Likewise.
41852         (R10_LP): Likewise.
41853         (R11_LP): Likewise.
41854         (R12_LP): Likewise.
41855         (R13_LP): Likewise.
41856         (R14_LP): Likewise.
41857         (R15_LP): Likewise.
41859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41861         * sysdeps/x86_64/x32/dl-machine.h: New file.
41863 2012-05-14  Andreas Jaeger  <aj@suse.de>
41865         * manual/Makefile (subdir): Remove export of subdir.
41866         (all): Remove target.
41867         (.PHONY): Remove all from list.
41868         (mkinstalldirs): Remove.
41869         (.PHONY): Remove installdirs from list.
41870         ($(inst_infodir)/libc.info): Use make-target-directory.
41871         (installdirs): Remove.
41872         (subdir_%): Remove.
41873         (glibc-targets): Remove.
41874         (lib): Remove.
41875         (stubs): Remove.
41876         ($(objpfx)stubs ../po/manual.pot): Remove.
41877         ($(objpfx)stamp%): Remove.
41878         (make-target-directory): Remove.
41879         (subdir_install): Remove.
41880         (routines): Remove.
41881         (aux): Remove.
41882         (sources): Remove.
41883         (objects): Remove.
41884         (headers): Remove.
41886         [BZ #13750]
41887         * manual/.gitignore: Remove, it's not needed anymore.
41888         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41889         all files in it.
41890         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41891         directory.
41892         (texis): Renamed to $(objpfx)texis.
41893         (texis-path): New, contains path to generated files.
41894         (chapters.%): Use texis-path for complete path, add extra argument
41895         libc-texinfo.sh.
41896         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41897         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41898         (summary,texi, stamp-summary): Use complete path of
41899         files. Generate files in build dir.
41900         (dir-add.texi): Build in build dir.
41901         (libm-err.texi,stamp-libm-err): Likewise.
41902         (version.texi, stamp-version): Likewise.
41903         (.%c.texi): Likewise.
41904         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41905         (mostlyclean): Remove target.
41906         (realclean): Remove target.
41907         (generated): Add new variable with contents from mostlyclean and
41908         realclean, remove entries duplicated in common-mostlyclean, add
41909         stamp-libm-err and stamp-version.
41910         (generated-dirs): Add libc directory.
41911         ($(inst_infodir)/libc.info): Install files from build dir.
41913         * manual/install.texi (Configuring and compiling): Adjust since
41914         the info files are not part of the tar ball anymore.
41916 2012-05-14  Andreas Jaeger  <aj@suse.de>
41918         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41919         variable.
41921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41923         [BZ #13717]
41924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41925         to 2.2.0 where earlier.
41926         * sysdeps/unix/sysv/linux/configure: Regenerated.
41927         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41928         Remove conditional code.
41929         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41930         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41931         Remove conditional code.
41932         [!__NR_lchown]: Likewise.
41933         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41934         [__NR_lchown]: Likewise.
41935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41936         comment referencing __ASSUME_LCHOWN_SYSCALL.
41937         * sysdeps/unix/sysv/linux/i386/sigaction.c
41938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41940         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41941         Remove conditional code.
41942         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41943         (__protocol_available): Remove #if 0 code.
41944         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41945         conditional code.
41946         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41947         * sysdeps/unix/sysv/linux/kernel-features.h
41948         (__ASSUME_GETCWD_SYSCALL): Don't define.
41949         (__ASSUME_REALTIME_SIGNALS): Likewise.
41950         (__ASSUME_PREAD_SYSCALL): Likewise.
41951         (__ASSUME_PWRITE_SYSCALL): Likewise.
41952         (__ASSUME_POLL_SYSCALL): Likewise.
41953         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41954         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41955         non-SPARC.
41956         (__ASSUME_SIOCGIFNAME): Don't define.
41957         (__ASSUME_MSG_NOSIGNAL): Likewise.
41958         (__ASSUME_SENDFILE): Define unconditionally.
41959         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41960         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41961         conditional code.
41962         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41963         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41965         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41967         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41968         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41993         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41994         Remove conditional code.
41995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41996         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41997         Remove conditional code.
41998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42000         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42001         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42002         Remove conditional code.
42003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42004         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42005         Remove conditional code.
42006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42007         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42008         Remove conditional code.
42009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42010         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42011         Remove conditional code.
42012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42013         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42014         Remove conditional code.
42015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42016         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42019         * sysdeps/unix/sysv/linux/sigaction.c
42020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42022         * sysdeps/unix/sysv/linux/sigpending.c
42023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42025         * sysdeps/unix/sysv/linux/sigprocmask.c
42026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42028         * sysdeps/unix/sysv/linux/sigsuspend.c
42029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42032         (__libc_missing_rt_sigs): Remove.
42033         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42034         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42035         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42036         Remove conditional code.
42037         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42038         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42039         return 1.
42040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42041         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42045 2012-05-14  Andreas Jaeger  <aj@suse.de>
42047         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42048         it's not used in glibc.
42049         (__coshm1): Likewise.
42050         (__acosh1p): Likewise.
42051         (__sgn): Likewise.
42053         * manual/string.texi (Copying and Concatenation): Add missing
42054         variable in concat example.
42055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42059         [BZ #14103]
42060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42061         __builtin_clzl with __builtin_clzll.
42063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42065         [BZ #14104]
42066         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42067         libc_freeres_ptr.
42069 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42071         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42072         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42073         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42076 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42078         * NEWS: Update ia64 info.
42080 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42082         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42083         used as bcopy.
42085 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42087         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42088         * sysdeps/unix/syscalls.list (dup3): Likewise.
42089         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42090         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42092 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42094         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42095         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42097 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42099         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42100         thread pointer.
42101         (TLS_IE): Use mov/add instead of movq/addq to load thread
42102         pointer.
42103         (TLS_GD_PREFIX): New.
42104         (TLS_GD): Use it.
42106 2012-05-11  David S. Miller  <davem@davemloft.net>
42108         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42109         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42110         (_FPU_SETCW): Likewise.
42112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42114         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42115         is 32-byte aligned.
42117 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42119         [BZ #11837]
42120         * iconvdata/gb18030.c: Update tables.
42121         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42122         characters specially.
42123         (BODY for TO_LOOP): Add encoding of missing ranges.
42125 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42127         [BZ #13673]
42128         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42129         * sysdeps/mach/hurd/dup3.c: Likewise.
42130         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42131         * sysdeps/powerpc/memmove.c:: Likewise.
42133 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42136         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42140         * elf/elf.h (R_X86_64_RELATIVE64): New.
42141         (R_X86_64_NUM): Updated.
42142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42143         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42144         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42145         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42146         tst-quad1pie tst-quad2pie
42147         (modules-names): Add tst-quadmod1 tst-quadmod2.
42148         ($(objpfx)tst-quad1): New dependency.
42149         ($(objpfx)tst-quad2): Likewise.
42150         ($(objpfx)tst-quad1pie): Likewise.
42151         ($(objpfx)tst-quad2pie): Likewise.
42152         * sysdeps/x86_64/tst-quad1.c: New file.
42153         * sysdeps/x86_64/tst-quad1pie.c: New file.
42154         * sysdeps/x86_64/tst-quad2.c: Likewise.
42155         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42156         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42157         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42158         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42159         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42163         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42164         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42165         * streams/stropts.h (t_scalar_t): Define type.
42167         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42168         (_PATH_PRESERVE): Set to "/var/lib".
42169         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42171         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42172         instead of int.
42174         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42175         if __dir_mkfile succeeded.
42177         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42178         checking for _hurd_dtablesize.  Unlock it right after having
42179         finished _hurd_dtable allocation.
42181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42183         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42184         * sysdeps/mach/hurd/configure: Regenerated.
42185         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42186         special-casing to...
42187         * sysdeps/gnu/configure.in: ... this new file.
42188         * sysdeps/unix/sysv/linux/configure: Regenerated.
42189         * sysdeps/gnu/configure: New generated file.
42191         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42192         for Linux: use nsec instead of usec, as well as:
42193         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42194         members of type struct timespec.
42195         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42196         New macros.
42197         (struct stat64): Likewise.
42198         (_STATBUF_ST_NSEC): New macro.
42199         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42201         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42202         __strtoul_internal rather than strtoul.
42204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42206         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42207         and reject them.
42209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42211         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42212         which preserves existing values.
42213         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42215 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42217         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42218         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42219         greater than FD_SETSIZE.
42221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42223         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42224         allocated, call __vm_protect to finish enabling the existing space, and
42225         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42226         allocate the remainder.
42228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42230         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42231         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42235         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42236         sysdeps/mach/hurd/readlink.c.
42238         * posix/tst-sysconf.c (posix_options): Only use
42239         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42240         _POSIX_SYNCHRONIZED_IO when they are defined
42241         * sysdeps/mach/hurd/bits/posix_opt.h:
42242         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42243         (_XOPEN_REALTIME): Undefine macro.
42244         (_XOPEN_REALTIME_THREADS): Undefine macro.
42245         (_XOPEN_SHM): Undefine macro.
42246         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42247         macro to -1.
42248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42249         macro to -1.
42250         (_POSIX_ASYNC_IO): Undefine macro.
42251         (_POSIX_PRIORITIZED_IO): Undefine macro.
42252         (_POSIX_SPIN_LOCKS): Define macro to -1.
42254         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42255         SA_NODEFER, SA_RESETHAND.
42256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42257         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42258         F_DUPFD_CLOEXEC.
42260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42262         * elf/Makefile (pldd-modules): Define unconditionally.
42264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42266         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42270         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42271         Return ENOENT when name is empty.
42272         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42276         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42278         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42282         Fix mlock in all cases except non-readable pages.
42283         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42284         instead of VM_PROT_ALL as parameter to __vm_wire function.
42286         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42287         (__mkdir): When path is `/', just fail with EEXIST.
42288         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42292         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42293         <sys/uio.h> (for writev).
42294         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42295         and <sys/param.h> (for MIN).
42297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42299         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42300         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42301         if interrupted.
42303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42306         Depend on against $(link-rpcuserlibs).
42308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42310         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42311         (__libc_stack_end): Do not use attribute_relro.
42312         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42313         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42314         to libthread-provided value.
42315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42316         attribute_relro.
42318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42320         [BZ #3748]
42321         * bits/libc-lock.h (__libc_once_get): New macro.
42322         * sysdeps/mach/bits/libc-lock.h: Likewise.
42323         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42325         instead of using implementation details.
42327         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42328         * libio/freopen.c: Likewise.
42329         * libio/freopen64.c: Likewise.
42330         * misc/syslog.c: Likewise.
42331         * nscd/connections.c: Likewise.
42332         * nscd/netgroupcache.c: Likewise.
42333         * sysdeps/posix/getcwd.c: Likewise.
42335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42337         * math/w_ilogbf.c: Add #include <limits.h>.
42339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42341         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42342         path instead of returning without unlocking.
42344         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42345         immediate-write ioctls.
42346         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42350         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42351         __builtin_frame_address instead of making assumptions about the
42352         location of the return address relative to DATA.  Force early load of
42353         the return address.
42354         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42355         __builtin_frame_address.
42357         dup3 for GNU Hurd.
42358         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42359         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42360         implement dup3 and do some further code clean-ups.
42361         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42362         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42366         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42368         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42369         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42370         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42371         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42372         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42373         d->port.lock.
42375         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42376         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42377         when handler == SIG_ERR, not when handler != SIG_ERR.
42379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42381         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42382         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42383         definitions.
42385         accept4 for GNU Hurd.
42386         * include/sys/socket.h (__libc_accept4): New prototype.
42387         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42388         to implement __libc_accept4.
42389         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42390         __libc_accept4.
42391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42394         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42395         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42396         signal-defines.sym.
42398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42400         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42404         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42405         assertion on O_CLOEXEC flag.
42406         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42407         * hurd/intern-fd.c: Likewise.
42408         * hurd/port2fd.c: Likewise.
42410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42412         [BZ #3906]
42413         * bits/in.h (IPV6_PKTINFO): Define new macro.
42414         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42416 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42418         [BZ #13954]
42419         [BZ #13955]
42420         [BZ #13956]
42421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42423         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42427         * math/libm-test.inc (logb_test) : Additional logb tests.
42429 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42430             Andreas Jaeger  <aj@suse.de>
42432         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42433         * configure: Regenerated.
42434         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42435         * config.make.in (link-obsolete-rpc): New substituted variable.
42436         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42437         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42438         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42439         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42440         so that libc.a contains the symbols.
42441         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42442         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42443         * sunrpc/auth_none.c: Likewise.
42444         * sunrpc/auth_unix.c: Likewise.
42445         * sunrpc/authdes_prot.c: Likewise.
42446         * sunrpc/authuxprot.c: Likewise.
42447         * sunrpc/clnt_gen.c: Likewise.
42448         * sunrpc/clnt_perr.c: Likewise.
42449         * sunrpc/clnt_raw.c: Likewise.
42450         * sunrpc/clnt_simp.c: Likewise.
42451         * sunrpc/clnt_tcp.c: Likewise.
42452         * sunrpc/clnt_udp.c: Likewise.
42453         * sunrpc/clnt_unix.c: Likewise.
42454         * sunrpc/des_crypt.c: Likewise.
42455         * sunrpc/des_soft.c: Likewise.
42456         * sunrpc/get_myaddr.c: Likewise.
42457         * sunrpc/key_call.c: Likewise.
42458         * sunrpc/key_prot.c: Likewise.
42459         * sunrpc/netname.c: Likewise.
42460         * sunrpc/pm_getmaps.c: Likewise.
42461         * sunrpc/pm_getport.c: Likewise.
42462         * sunrpc/pmap_clnt.c: Likewise.
42463         * sunrpc/pmap_prot.c: Likewise.
42464         * sunrpc/pmap_prot2.c: Likewise.
42465         * sunrpc/pmap_rmt.c: Likewise.
42466         * sunrpc/publickey.c: Likewise.
42467         * sunrpc/rpc_cmsg.c: Likewise.
42468         * sunrpc/rpc_common.c: Likewise.
42469         * sunrpc/rpc_dtable.c: Likewise.
42470         * sunrpc/rpc_prot.c: Likewise.
42471         * sunrpc/rpc_thread.c: Likewise.
42472         * sunrpc/rtime.c: Likewise.
42473         * sunrpc/svc.c: Likewise.
42474         * sunrpc/svc_auth.c: Likewise.
42475         * sunrpc/svc_raw.c: Likewise.
42476         * sunrpc/svc_run.c: Likewise.
42477         * sunrpc/svc_tcp.c: Likewise.
42478         * sunrpc/svc_udp.c: Likewise.
42479         * sunrpc/svc_unix.c: Likewise.
42480         * sunrpc/svcauth_des.c: Likewise.
42481         * sunrpc/xcrypt.c: Likewise.
42482         * sunrpc/xdr.c: Likewise.
42483         * sunrpc/xdr_array.c: Likewise.
42484         * sunrpc/xdr_float.c: Likewise.
42485         * sunrpc/xdr_intXX_t.c: Likewise.
42486         * sunrpc/xdr_mem.c: Likewise.
42487         * sunrpc/xdr_rec.c: Likewise.
42488         * sunrpc/xdr_ref.c: Likewise.
42489         * sunrpc/xdr_sizeof.c: Likewise.
42490         * sunrpc/xdr_stdio.c: Likewise.
42492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42495         change.  Update copyright years.
42497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42499         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42501 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42502             Joseph Myers  <joseph@codesourcery.com>
42503             Paul Pluzhnikov  <ppluzhnikov@google.com>
42505         [BZ #14012]
42506         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42507         requiring rpcgen.
42508         [cross-compiling] (extra-libs): Likewise.
42509         [cross-compiling] (extra-libs-others): Likewise.
42510         [cross-compiling] (librpcsvc-routines): Likewise.
42511         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42512         [cross-compiling] (omit-deps): Likewise.
42513         (sunrpc-CPPFLAGS): New variable.
42514         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42515         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42516         (cross-rpcgen-objs): New variable.
42517         (extra-objs): Append $(cross-rpcgen-objs).
42518         ($(cross-rpcgen-objs)): New rule.
42519         ($(objpfx)cross-rpcgen): Likewise.
42520         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42521         comment.
42522         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42523         ($(objpfx)x%.stmp): Likewise.
42524         * sunrpc/proto.h [IS_IN_build] (_): Define.
42525         [IS_IN_build] (_libc_intl_domainname): Likewise.
42527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42530         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42531         and R_X86_64_TPOFF64.
42533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42535         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42536         sysdeps/unix/sysv/syscalls.list.
42537         (stime): Likewise.
42538         (utime): Likewise.
42539         * sysdeps/unix/sysv/syscalls.list: Remove file.
42541 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42543         [BZ #3440]
42544         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42545         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42546         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42547         (__LC_IDENTIFICATION): Make these macros useful in #if
42548         expressions, as required by C99.
42550 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42552         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42553         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42554         after this.
42556 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42558         * stdlib/longlong.h: Updated from GCC.
42560 2012-05-09  Andreas Jaeger  <aj@suse.de>
42562         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42563         default is first entry.
42564         (run_mode): Set type.
42565         (main): Remove informal message about syslog.
42566         (options): Fix typo.
42568         [BZ #14053]
42569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42570         to asm.
42571         (lrint): Likewise.
42572         (llrintf): Likewise.
42573         (llrint): Likewise.
42574         (rint): Likewise.
42575         (rintf): Likewise.
42576         (nearbyint): Likewise.
42577         (nearbyintf): Likewise.
42579 2012-05-09  Andreas Jaeger  <aj@suse.de>
42580             Pedro Alves  <palves@redhat.com>
42582         * nscd/nscd.c (run_mode): Use enum.
42583         (main): Cleanup coding style issue.
42585 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42586             Andreas Jaeger  <aj@suse.de>
42588         * nscd/nscd.c (go_background): Replaced with...
42589         (run_mode): ... this.
42590         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42591         (options): Add -F --foreground.
42592         (main): Implement it.
42593         (parse_opt): Parse it.
42595 2012-05-09  Andreas Jaeger  <aj@suse.de>
42597         [BZ #14083]
42598         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42599         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42600         -Wconversion warning.
42601         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42602         Likewise.
42604 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42606         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42607         == 0.
42608         (LC_ALL): Use macro-int-constant.
42609         (LC_COLLATE): Likewise.
42610         (LC_CTYPE): Likewise.
42611         (LC_MESSAGES): Likewise.
42612         (LC_MONETARY): Likewise.
42613         (LC_NUMERIC): Likewise.
42614         (LC_TIME): Likewise.
42615         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42616         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42618         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42619         Specify type.
42620         [C99-based standards] (float_t): Expect type.
42621         [C99-based standards] (double_t): Expect type.
42622         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42623         type.
42624         [C99-based standards] (HUGE_VALL): Likewise.
42625         [C99-based standards] (INFINITY): Likewise.
42626         [C99-based standards] (NAN): Likewise.
42627         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42628         [C99-based standards] (FP_NAN): Likewise.
42629         [C99-based standards] (FP_NORMAL): Likewise.
42630         [C99-based standards] (FP_SUBNORMAL): Likewise.
42631         [C99-based standards] (FP_ZERO): Likewise.
42632         [C99-based standards] (FP_FAST_FMA): Use
42633         optional-macro-int-constant.  Specify type.  Require == 1.
42634         [C99-based standards] (FP_FAST_FMAF): Likewise.
42635         [C99-based standards] (FP_FAST_FMAL): Likewise.
42636         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42637         [C99-based standards] (FP_ILOGBNAN): Likewise.
42638         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42639         Specify type.
42640         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42641         [C99-based standards] (math_errhandling): Specify type.
42642         [ISO99 || ISO11] (signgam): Do not allow.
42643         [non-C99-based standards] (copysignf): Do not allow.
42644         [non-C99-based standards] (exp2f): Likewise.
42645         [non-C99-based standards] (log2f): Likewise.
42646         [non-C99-based standards] (modff): Allow.
42647         [non-C99-based standards] (erff): Do not allow.
42648         [non-C99-based standards] (erfcf): Likewise.
42649         [non-C99-based standards] (gammaf): Likewise.
42650         [non-C99-based standards] (hypotf): Likewise.
42651         [non-C99-based standards] (j0f): Likewise.
42652         [non-C99-based standards] (j1f): Likewise.
42653         [non-C99-based standards] (jnf): Likewise.
42654         [non-C99-based standards] (lgammaf): Likewise.
42655         [non-C99-based standards] (tgammaf): Likewise.
42656         [non-C99-based standards] (y0f): Likewise.
42657         [non-C99-based standards] (y1f): Likewise.
42658         [non-C99-based standards] (ynf): Likewise.
42659         [non-C99-based standards] (isnanf): Likewise.
42660         [non-C99-based standards] (acoshf): Likewise.
42661         [non-C99-based standards] (asinhf): Likewise.
42662         [non-C99-based standards] (atanhf): Likewise.
42663         [non-C99-based standards] (cbrtf): Likewise.
42664         [non-C99-based standards] (expm1f): Likewise.
42665         [non-C99-based standards] (ilogbf): Likewise.
42666         [non-C99-based standards] (log1pf): Likewise.
42667         [non-C99-based standards] (logbf): Likewise.
42668         [non-C99-based standards] (nextafterf): Likewise.
42669         [non-C99-based standards] (remainderf): Likewise.
42670         [non-C99-based standards] (rintf): Likewise.
42671         [non-C99-based standards] (scalbf): Likewise.
42672         [non-C99-based standards] (copysignl): Likewise.
42673         [non-C99-based standards] (exp2l): Likewise.
42674         [non-C99-based standards] (log2l): Likewise.
42675         [non-C99-based standards] (modfl): Allow.
42676         [non-C99-based standards] (erfl): Do not allow.
42677         [non-C99-based standards] (erfcl): Likewise.
42678         [non-C99-based standards] (gammal): Likewise.
42679         [non-C99-based standards] (hypotl): Likewise.
42680         [non-C99-based standards] (j0l): Likewise.
42681         [non-C99-based standards] (j1l): Likewise.
42682         [non-C99-based standards] (jnl): Likewise.
42683         [non-C99-based standards] (lgammal): Likewise.
42684         [non-C99-based standards] (tgammal): Likewise.
42685         [non-C99-based standards] (y0l): Likewise.
42686         [non-C99-based standards] (y1l): Likewise.
42687         [non-C99-based standards] (ynl): Likewise.
42688         [non-C99-based standards] (isnanl): Likewise.
42689         [non-C99-based standards] (acoshl): Likewise.
42690         [non-C99-based standards] (asinhl): Likewise.
42691         [non-C99-based standards] (atanhl): Likewise.
42692         [non-C99-based standards] (cbrtl): Likewise.
42693         [non-C99-based standards] (expm1l): Likewise.
42694         [non-C99-based standards] (ilogbl): Likewise.
42695         [non-C99-based standards] (log1pl): Likewise.
42696         [non-C99-based standards] (logbl): Likewise.
42697         [non-C99-based standards] (nextafterl): Likewise.
42698         [non-C99-based standards] (remainderl): Likewise.
42699         [non-C99-based standards] (rintl): Likewise.
42700         [non-C99-based standards] (scalbl): Likewise.
42701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42702         [non-C99-based standards] (FP_*): Do not allow.
42703         [C99-based standards] (FP_*): Change to
42704         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42705         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42706         allow.
42707         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42708         (SIG_ERR): Likewise.
42709         [X/Open-based standards] (SIG_HOLD): Likewise.
42710         (SIG_IGN): Likewise.
42711         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42712         positive value.
42713         (SIGFPE): Likewise.
42714         (SIGILL): Likewise.
42715         (SIGINT): Likewise.
42716         (SIGSEGV): Likewise.
42717         (SIGTER): Likewise.
42718         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42719         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42720         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42721         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42722         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42723         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42724         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42725         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42726         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42727         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42728         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42729         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42730         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42731         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42732         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42733         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42734         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42735         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42736         [X/Open-based standards] (SIGTRAP): Likewise.
42737         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42738         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42739         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42740         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42741         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42742         allow.
42744 2012-05-08  Ian Wienand  <ianw@vmware.com>
42746         [BZ #14080]
42747         * time/tzset.c (__tzset_parse_tz): Update default rules for
42748         daylight time changes in the Energy Policy Act of 2005.
42750 2012-05-09  Andreas Jaeger  <aj@suse.de>
42752         [BZ #13983]
42753         * elf/ldconfig.c (parse_conf): Change string to make clear that
42754         ldconfig only issued a warning if ld.so.conf does not exist.
42756 2012-05-08  David S. Miller  <davem@davemloft.net>
42758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42759         movxtod instead of popping the value on the stack.
42761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42763 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42765         * config.h.in: Add HAVE_ARM_PCS_VFP.
42767 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42769         [BZ #13979]
42770         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42771         checking but the checks are disabled for any reason.
42773 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42775         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42776         and ELF64_R_TYPE with ELFW(R_TYPE).
42778 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42780         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42781         (ulimit): Likewise.
42783         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42784         (settimeofday): Likewise.
42786 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42788         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42789         a struct th_u2 inside the union, and move tu_block/tu_code into
42790         a new th_u3 union of tu_block/tu_code inside of that.  Move
42791         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42792         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42793         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42794         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42795         (th_stuff): Change to th_u1.tu_stuff.
42796         (th_data): Define.
42797         (th_msg): Change to th_u1.th_u2.tu_data.
42799 2012-05-07  David S. Miller  <davem@davemloft.net>
42801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42803         [BZ #14074]
42804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42805         (SETUP_PIC_REG): Use it.
42806         (SETUP_PIC_REG_LEAF): Use it.
42808 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42810         [BZ #13885]
42811         [BZ #13923]
42812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42813         USE_AS_EXPM1L.
42814         (EXPL_FINITE): Likewise.
42815         (FLDLOG): Likewise.
42816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42817         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42818         e_expl.S.
42819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42820         USE_AS_EXPM1L.
42821         (EXPL_FINITE): Likewise.
42822         (FLDLOG): Likewise.
42823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42824         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42825         e_expl.S.
42826         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42827         test of -max_value argument for long double.
42828         * sysdeps/i386/fpu/libm-test-ulps: Update.
42829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42831 2012-05-06  David S. Miller  <davem@davemloft.net>
42833         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42834         quad soft-float symbols whose references which are compiler
42835         generated.
42836         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42838 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42840         [BZ #13884]
42841         [BZ #13914]
42842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42843         USE_AS_EXP10L.
42844         (EXPL_FINITE): Likewise.
42845         (FLDLOG): Likewise.
42846         (c0): Likewise.
42847         (c1): Likewise.
42848         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42849         Adjust comments for base varying.
42850         (__expl_finite): Change alias to EXPL_FINITE.
42851         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42852         e_expl.S.
42853         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42854         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42856         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42858         USE_AS_EXP10L.
42859         (EXPL_FINITE): Likewise.
42860         (FLDLOG): Likewise.
42861         (c0): Likewise.
42862         (c1): Likewise.
42863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42864         Adjust comments for base varying.
42865         (__expl_finite): Change alias to EXPL_FINITE.
42866         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42867         tests for bugs.
42868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42870         [BZ #14064]
42871         * math/libm-test.inc (check_float_internal): Correct ulp
42872         calculation for subnormal expected results.
42874 2012-05-06  Andreas Jaeger  <aj@suse.de>
42876         * Makeconfig (+math-flags): New, set to -frounding-math.
42877         (+cflags): Add +math-flags so that all of glibc gets compiled with
42878         it.
42880         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42882 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42884         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42885         Disable one test.
42887         [BZ #13787]
42888         [BZ #13922]
42889         [BZ #14036]
42890         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42891         (__ieee754_expl): Allow for and saturate large arguments.
42892         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42893         (u_threshold): Likewise.
42894         (__exp): Call __ieee754_exp before checking for overflow and
42895         underflow.
42896         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42897         (u_threshold): Likewise.
42898         (__expf): Call __ieee754_expf before checking for overflow and
42899         underflow.
42900         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42901         (u_threshold): Likewise.
42902         (__expl): Call __ieee754_expl before checking for overflow and
42903         underflow.
42904         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42905         (__ieee754_expl): Allow for and saturate large arguments.
42906         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42907         missing overflow exception on overflow.
42908         (expm1_test): Do not allow missing overflow exception on overflow.
42910         * sysdeps/i386/fpu/e_expl.c: Move to ...
42911         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42912         rather than using inline asm.
42913         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42914         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42915         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42917         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42918         (nice): Likewise.
42919         (poll): Likewise.
42920         (signal): Likewise.
42921         (time): Likewise.
42922         (times): Likewise.
42924 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42926         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42927         sysdeps/unix/common/syscalls.list.
42928         (fchmod): Likewise.
42929         (fchown): Likewise.
42930         (ftruncate): Likewise.
42931         (getrusage): Likewise.
42932         (gettimeofday): Likewise.
42933         (setpgid): Likewise.
42934         (setregid): Likewise.
42935         (setreuid): Likewise.
42936         (sigaction): Likewise.
42937         (truncate): Likewise.
42938         (vhangup): Likewise.
42939         * sysdeps/unix/common/syscalls.list: Remove file.
42940         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42941         * sysdeps/unix/sysv/linux/Implies: Likewise.
42943 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42945         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42947         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42948         Moved to ...
42949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42950         Here.
42951         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42952         to ...
42953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42954         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42955         to ...
42956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42958         to ...
42959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42961         to ...
42962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42964         to ...
42965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42967         to ...
42968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42969         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42970         to ...
42971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42972         Here.
42973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42974         to ...
42975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42976         Here.
42977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42978         to ...
42979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42980         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42981         Moved to ...
42982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42983         Here.
42984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42985         to ...
42986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42990         * sysdeps/unix/common/bits/dirent.h: Remove file.
42991         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42993         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42994         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42995         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42996         * sysdeps/unix/bsd/isatty.c: Likewise.
42997         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42998         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42999         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43001 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43003         [BZ #13563]
43004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43005         long double comparison inaccuracies.
43006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43009 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43011         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43016         [BZ #14049]
43017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43018         nonzero digits before rounding a hex value.
43019         * stdlib/tst-strtod.c (tests): Add another test.
43021 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43023         * sysdeps/s390/fpu/libm-test-ulps: Update.
43025 2012-05-03  Andreas Jaeger  <aj@suse.de>
43027         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43028         does not get optimized out.
43029         (malloc_opt_barrier): New.
43031 2012-05-03  Andreas Jaeger  <aj@suse.de>
43032             Roland McGrath  <roland@hack.frob.com>
43034         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43035         intermediate file deletion.
43036         (generated): Add .symlist files.
43038 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43040         [BZ #13775]
43041         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43042         Redirect under this condition.
43043         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43044         [__USE_GNU] (__dprintf_chk): Not under this condition.
43045         [__USE_GNU] (__vdprintf_chk): Likewise.
43046         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43047         under this condition.
43048         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43049         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43050         [__USE_XOPEN2K8] (vdprintf): Likewise.
43051         [__USE_GNU] (__dprintf_chk): Not under this condition.
43052         [__USE_GNU] (__vdprintf_chk): Likewise.
43053         [__USE_GNU] (dprintf): Likewise.
43054         [__USE_GNU] (vdprintf): Likewise.
43056 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43058         * elf/Makefile (common-generated): Set this instead of generated for
43059         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43060         $(all-built-dso)-derived lists.
43062 2012-05-03  Andreas Jaeger  <aj@suse.de>
43064         * sysdeps/i386/fpu/libm-test-ulps: Update.
43066         * FAQ: Removed.
43067         * FAQ.in: Likewise.
43068         * scripts/gen-FAQ.pl: Likewise.
43069         * manual/install.texi (Installation): Point to online location of
43070         FAQ.
43071         * Makefile (files-for-dist): Remove FAQ.
43072         (FAQ): Remove.
43074 2012-05-02  Allan McRae  <allan@archlinux.org>
43076         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43077         (LDFLAGS-reldepmod5.so): Likewise.
43078         (LDFLAGS-reldep6mod1.so): Likewise.
43079         (LDFLAGS-reldep6mod4.so): Likewise.
43080         (LDFLAGS-reldep8mod3.so): Likewise.
43081         (LDFLAGS-unload4mod1.so): Likewise.
43082         (LDFLAGS-unload4mod2.so): Likewise.
43083         (LDFLAGS-tst-initorder): Likewise.
43084         (LDFLAGS-tst-initordera2.so): Likewise.
43085         (LDFLAGS-tst-initordera3.so): Likewise.
43086         (LDFLAGS-tst-initordera4.so): Likewise.
43087         (LDFLAGS-tst-initorderb2.so): Likewise.
43088         (LDFLAGS-noload): Likewise.
43089         (LDFLAGS-next): Likewise.
43090         (LDFLAGS-order2mod1.so): Likewise.
43091         (LDFLAGS-order2mod2.so): Likewise.
43092         (LDFLAGS-tst-initorder2): Likewise.
43093         (LDFLAGS-tst-initorder2a.so): Likewise.
43094         (LDFLAGS-tst-initorder2b.so): Likewise.
43095         (LDFLAGS-tst-initorder2c.so): Likewise.
43096         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43098 2012-05-02  David S. Miller  <davem@davemloft.net>
43100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43102 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43104         [BZ #14055]
43105         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43107 2012-05-02  Andreas Jaeger  <aj@suse.de>
43109         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43110         since we manipulate rounding mode.
43111         (CPPFLAGS-test-idouble.c): Likewise.
43112         (CPPFLAGS-test-ifloat.c): Likewise.
43113         (CFLAGS-test-ldouble.c): Likewise.
43114         (CFLAGS-test-double.c): Likewise.
43115         (CFLAGS-test-float.c): Likewise.
43116         (CFLAGS-test-misc.c): Likewise.
43117         (CFLAGS-test-test-fenv.c): Likewise.
43119 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43121         [BZ #2550]
43122         [BZ #2570]
43123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43124         comparisons to determine direction to adjust input.
43126 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43128         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43129         output to the target.
43131         * scripts/localplt.awk: New file.
43132         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43133         (check-localplt-CFLAGS): Variable removed.
43134         ($(all-built-dso:=.jmprel)): New static pattern rule.
43135         (generated): Add those targets.
43136         (localplt-built-dso): New variable.
43137         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43139         * elf/check-localplt.c: File removed.
43141         * scripts/check-execstack.awk: New file.
43142         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43143         (check-execstack-CFLAGS): Variable removed.
43144         ($(objpfx)check-execstack.h): Target removed.
43145         ($(objpfx)execstack-default): New target.
43146         (generated): Add that instead of check-execstack.h.
43147         ($(all-built-dso:=.phdr)): New static pattern rule.
43148         (generated): Add those targets.
43149         * elf/check-execstack.c: File removed.
43151         * scripts/check-textrel.awk: New file.
43152         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43153         (check-textrel-CFLAGS): Variable removed.
43154         (all-built-dso): Use := to define.o
43155         ($(all-built-dso:=.dyn)): New static pattern rule.
43156         (generated): Add those targets.
43157         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43158         * config.make.in (READELF): New substituted variable.
43159         * elf/check-textrel.c: File removed.
43161 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43163         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43164         allow.
43165         * conform/data/ctype.h-data [C99-based standards] (isblank):
43166         Expect function.
43167         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43168         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43170         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43171         Specify type.  Require positive value.
43172         (EILSEQ): Likewise.
43173         (ERANGE): Likewise.
43174         [ISO || POSIX] (EILSEQ): Do not expect.
43175         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43176         Specify type.  Require positive value.
43177         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43178         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43179         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43180         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43181         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43182         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43183         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43184         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43185         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43186         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43187         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43188         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43189         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43190         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43191         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43192         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43193         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43194         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43195         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43196         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43197         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43198         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43199         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43200         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43201         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43202         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43203         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43204         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43205         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43206         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43207         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43208         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43209         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43210         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43211         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43212         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43213         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43214         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43215         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43216         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43217         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43218         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43219         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43220         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43221         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43222         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43223         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43224         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43225         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43226         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43227         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43228         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43229         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43230         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43231         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43232         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43233         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43234         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43235         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43236         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43237         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43238         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43239         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43240         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43241         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43242         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43243         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43244         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43245         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43246         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43247         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43248         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43249         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43250         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43251         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43252         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43253         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43254         Require >= 2.
43255         (FLT_ROUNDS): Expect as macro, not constant.
43256         (FLT_MANT_DIG): Use macro-int-constant.
43257         (DBL_MANT_DIG): Likewise.
43258         (LDBL_MANT_DIG): Likewise.
43259         (FLT_DIG): Likewise.
43260         (DBL_DIG): Likewise.
43261         (LDBL_DIG): Likewise.
43262         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43263         (DBL_MIN_EXP): Likewise.
43264         (LDBL_MIN_EXP): Likewise.
43265         (FLT_MAX_EXP): Use macro-int-constant.
43266         (DBL_MAX_EXP): Likewise.
43267         (LDBL_MAX_EXP): Likewise.
43268         (FLT_MAX_10_EXP): Likewise.
43269         (DBL_MAX_10_EXP): Likewise.
43270         (LDBL_MAX_10_EXP): Likewise.
43271         (FLT_MAX): Use macro-constant.
43272         (DBL_MAX): Likewise.
43273         (LDBL_MAX): Likewise.
43274         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43275         (DBL_EPSILON): Likewise.
43276         (LDBL_EPSILON): Likewise.
43277         (FLT_MIN): Likewise.
43278         (DBL_MIN): Likewise.
43279         (LDBL_MIN): Likewise.
43280         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43281         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43282         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43283         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43284         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43285         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43286         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43287         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43288         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43289         [ISO11] (FLT_TRUE_MIN): Likewise.
43290         [ISO11] (LDBL_TRUE_MIN): Likewise.
43291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43292         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43293         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43294         (SCHAR_MAX): Likewise.
43295         (UCHAR_MAX): Likewise.
43296         (CHAR_MIN): Likewise.
43297         (CHAR_MAX): Likewise.
43298         (MB_LEN_MAX): Use macro-int-constant.
43299         (SHRT_MIN): Use macro-int-constant.  Specify type.
43300         (SHRT_MAX): Likewise.
43301         (USHRT_MAX): Likewise.
43302         (INT_MAX): Likewise.
43303         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43304         bound negative.
43305         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43306         bound with "U".
43307         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43308         bound with "L".
43309         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43310         bound negative.  Suffix upper bound with "L".
43311         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43312         bound with "UL".
43313         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43314         Specify type.
43315         [C99-based standards] (LLONG_MAX): Likewise.
43316         [C99-based standards] (ULLONG_MAX): Likewise.
43317         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43318         == 0.
43319         [ISO11] (max_align_t): Require type.
43320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43322         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43323         from $CFLAGS, without defining away __attribute__ calls.
43324         (checknamespace): Use $CFLAGS_namespace.
43326         * conform/conformtest.pl (@keywords): Only include C99 keywords
43327         for standards based on C99 or C11.
43329         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43330         Disable tests.
43331         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43332         UNIX98]: Likewise.
43334         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43335         usability of symbols in #if.
43337         * conform/conformtest.pl: If macro or constant types start
43338         "promoted:", expect the symbol to be of the following type
43339         promoted by the integer promotions.
43341         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43342         in one place.  Also handle "macro-constant".
43344         * conform/conformtest.pl: Only accept expected macro values with
43345         "==".  Parse all "macro" lines in one place.
43346         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43348         * conform/conformtest.pl: Handle braced types on "constant" lines
43349         instead of handling "typed-constant".
43350         * conform/data/signal.h-data: Use "constant" instead of
43351         "typed-constant".
43353         * conform/conformtest.pl: Handle "optional-" at start of lines in
43354         one place rather than duplicating several cases.  Handle each
43355         format of "macro" line with initial "optional-".
43357         * conform/conformtest.pl: Only accept expected constant or
43358         optional-constant values with "==".  Parse all "constant" lines in
43359         one place.  Parse all "optional-constant" lines in one place.
43360         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43361         * conform/data/fmtmsg.h-data: Likewise.
43362         * conform/data/netinet/in.h-data: Likewise.
43363         * conform/data/tar.h-data: Likewise.
43364         * conform/data/limits.h-data: Use "==" form on "constant" and
43365         "optional-constant" lines.
43367         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43368         Use -std=c99 for XOPEN2K.
43369         (@knownproblems): Remove.
43370         (newtoken): Don't check %isknown.
43372         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43373         Do not expect macro.
43374         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43375         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43376         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43377         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43378         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43379         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43380         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43381         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43382         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43383         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43384         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43385         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43386         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43387         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43388         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43389         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43390         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43391         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43392         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43393         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43394         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43395         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43396         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43398         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43399         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43400         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43401         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43402         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43403         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43404         [XPG3] (acosh): Likewise.
43405         [XPG3] (asinh): Likewise.
43406         [XPG3] (atanh): Likewise.
43407         [XPG3] (cbrt): Likewise.
43408         [XPG3] (expm1): Likewise.
43409         [XPG3] (ilogb): Likewise.
43410         [XPG3] (log1p): Likewise.
43411         [XPG3] (logb): Likewise.
43412         [XPG3] (nextafter): Likewise.
43413         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43414         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43415         [XPG3] (remainder): Likewise.
43416         [XPG3] (rint): Likewise.
43417         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43418         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43419         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43420         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43421         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43422         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43423         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43424         [UNIX98 || XOPEN2K] (scalb): Expect.
43425         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43426         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43427         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43428         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43429         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43430         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43431         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43432         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43433         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43434         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43435         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43436         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43437         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43438         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43439         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43440         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43441         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43442         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43443         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43444         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43445         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43446         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43447         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43448         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43449         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43450         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43451         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43452         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43453         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43454         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43455         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43456         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43457         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43458         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43459         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43460         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43461         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43462         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43463         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43464         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43465         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43466         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43467         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43468         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43469         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43470         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43471         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43472         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43473         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43474         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43475         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43476         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43477         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43478         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43479         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43480         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43481         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43482         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43483         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43484         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43485         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43486         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43487         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43488         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43489         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43490         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43491         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43492         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43493         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43494         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43495         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43496         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43497         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43498         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43499         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43500         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43501         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43502         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43503         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43504         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43505         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43506         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43507         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43508         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43509         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43510         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43511         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43512         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43513         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43514         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43515         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43516         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43517         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43518         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43519         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43520         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43521         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43522         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43523         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43524         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43525         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43526         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43527         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43528         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43529         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43530         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43531         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43532         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43533         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43534         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43535         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43536         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43537         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43538         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43539         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43540         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43541         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43542         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43543         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43544         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43545         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43546         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43547         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43548         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43549         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43550         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43551         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43552         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43553         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43554         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43555         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43556         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43557         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43558         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43559         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43560         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43561         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43563         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43564         _XOPEN_SOURCE_EXTENDED for XPG4.
43566         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43568         * Makeconfig (localtime): Remove variable.
43569         (inst_localtime-file): Likewise.
43571 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43574         Update.
43575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43576         Update.
43577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43578         Update.
43579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43580         Update.
43581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43582         Update.
43583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43584         Update.
43585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43586         Update.
43587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43588         Update.
43589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43590         Update.
43592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43594         [BZ #2550]
43595         [BZ #2570]
43596         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43597         comparisons to determine direction to adjust input.
43598         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43599         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43601         Likewise.
43602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43603         Likewise.
43604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43605         Likewise.
43606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43608         Likewise.
43609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43610         Likewise.
43611         * math/libm-test.inc (nexttoward_test): Add more tests.
43613 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43615         [BZ #14040]
43616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43617         in version GLIBC_2.1, not GLIBC_2.0.
43618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43619         Likewise.
43621 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #13942]
43624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43625         (1 - x) * (1 + x).
43626         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43627         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43628         * math/libm-test.inc (acos_test): Add more tests.
43629         (asin_test): Likewise.
43630         * sysdeps/i386/fpu/libm-test-ulps: Update.
43631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43633         [BZ #14034]
43634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43635         of square root.
43636         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43637         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43638         * math/libm-test.inc (acos_test_tonearest): New function.
43639         (acos_test_towardzero): Likewise.
43640         (acos_test_downward): Likewise.
43641         (acos_test_upward): Likewise.
43642         (asin_test_tonearest): Likewise.
43643         (asin_test_towardzero): Likewise.
43644         (asin_test_downward): Likewise.
43645         (asin_test_upward): Likewise.
43646         (main): Call the new functions.
43647         * sysdeps/i386/fpu/libm-test-ulps: Update.
43648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43650         [BZ #13884]
43651         [BZ #13924]
43652         * math/e_exp10.c: Include <float.h>.
43653         (__ieee754_exp10): Handle underflow here rather than multiplying
43654         large negative argument by M_LN10.
43655         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43656         of __ieee754_expf.
43657         * math/e_exp10l.c: Include <float.h>.
43658         (__ieee754_exp10l): Handle underflow here rather than multiplying
43659         large negative argument by M_LN10l.
43660         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43661         spurious overflow exception on underflow.
43663 2012-04-29  Marek Polacek  <polacek@redhat.com>
43665         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43666         (__fortify_function): New macro.
43667         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43668         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43669         __extern_always_inline.
43670         * libio/bits/stdio2.h: Likewise.
43671         * libio/bits/stdio.h: Likewise.
43672         * string/string.h: Likewise.
43673         * string/bits/string3.h: Likewise.
43674         * include/stdio.h: Likewise.
43675         * stdlib/bits/stdlib.h: Likewise.
43676         * stdlib/stdlib.h: Likewise.
43677         * rt/bits/mqueue2.h: Likewise.
43678         * rt/mqueue.h: Likewise.
43679         * posix/bits/unistd.h: Likewise.
43680         * posix/unistd.h: Likewise.
43681         * io/bits/poll2.h: Likewise.
43682         * io/bits/fcntl2.h: Likewise.
43683         * io/fcntl.h: Likewise.
43684         * io/sys/poll.h: Likewise.
43685         * misc/bits/syslog.h: Likewise.
43686         * misc/bits/syslog-ldbl.h: Likewise.
43687         * misc/sys/syslog.h: Likewise.
43688         * socket/bits/socket2.h: Likewise.
43689         * socket/sys/socket.h: Likewise.
43690         * debug/tst-chk1.c: Likewise.
43691         * wcsmbs/bits/wchar2.h: Likewise.
43692         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43693         * wcsmbs/wchar.h: Likewise.
43695 2012-04-29  Andreas Jaeger  <aj@suse.de>
43697         * Makerules (tests): Remove enable-check-abi protection.
43698         (check-abi-warn): Remove.
43699         (check-abi-%): Remove check-abi-warn usage.
43701         * configure.in: Remove check-abi configure option.
43702         * configure: Regenerated.
43703         * config.make.in (enable-check-abi): Remove.
43705 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43707         [BZ #14033]
43708         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43709         double functions to double *_finite functions.
43711         [BZ #13941]
43712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43713         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43714         LDBL_MIN_EXP.
43715         * stdio-common/Makefile (tests): Add tst-sprintf3.
43716         * stdio-common/tst-sprintf3.c: New file.
43718         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43719         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43723         * conform/conformtest.pl: Remove duplicate typed-constant
43724         handling.
43726 2012-04-28  David S. Miller  <davem@davemloft.net>
43728         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43729         (check-abi-%): Remove AWK script prerequisite and explicit
43730         abilist directory.
43731         (check-abi): Rewrite to just diff the symlist with the abilist.
43732         (config-tls, config-abi-config): Delete, no longer used.
43733         (update-abi-%): Remove AWK script and explicit abilist directory.
43734         (update-abi): Rewrite to simply compare and conditionally copy the
43735         symlist and the sysdep abilist file.  Remove update-abi-config
43736         checks.
43737         * abilist/ld.abilist: Remove.
43738         * abilist/libBrokenLocale.abilist: Remove.
43739         * abilist/libanl.abilist: Remove.
43740         * abilist/libcrypt.abilist: Remove.
43741         * abilist/libdl.abilist: Remove.
43742         * abilist/librt.abilist: Remove.
43743         * abilist/libthread_db.abilist: Remove.
43744         * abilist/libutil.abilist: Remove.
43745         * scripts/extract-abilist.awk: Remove.
43746         * scripts/merge-abilist.awk: Remove.
43747         * sysdeps/generic/libcidn.abilist: New file.
43748         * sysdeps/generic/libnss_compat.abilist: New file.
43749         * sysdeps/generic/libnss_db.abilist: New file.
43750         * sysdeps/generic/libnss_dns.abilist: New file.
43751         * sysdeps/generic/libnss_files.abilist: New file.
43752         * sysdeps/generic/libnss_hesiod.abilist: New file.
43753         * sysdeps/generic/libnss_nis.abilist: New file.
43754         * sysdeps/generic/libnss_nisplus.abilist: New file.
43755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43756         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43758         file.
43759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43760         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43761         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43764         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43766         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43768         file.
43769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43770         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43771         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43772         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43773         file.
43774         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43775         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43776         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43777         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43778         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43780         file.
43781         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43783         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43784         file.
43785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43787         New file.
43788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43789         New file.
43790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43791         New file.
43792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43793         New file.
43794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43795         New file.
43796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43797         New file.
43798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43799         New file.
43800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43801         New file.
43802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43803         New file.
43804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43805         New file.
43806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43807         New file.
43808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43809         New file.
43810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43811         New file.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43813         file.
43814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43815         New file.
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43817         New file.
43818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43819         file.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43821         New file.
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43823         New file.
43824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43825         file.
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43827         New file.
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43829         New file.
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43831         New file.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43833         New file.
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43835         New file.
43836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43837         New file.
43838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43840         file.
43841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43842         New file.
43843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43844         file.
43845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43846         file.
43847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43848         file.
43849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43850         file.
43851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43852         file.
43853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43854         New file.
43855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43856         file.
43857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43858         file.
43859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43860         New file.
43861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43862         file.
43863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43865         file.
43866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43867         New file.
43868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43869         file.
43870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43871         file.
43872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43873         file.
43874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43875         file.
43876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43877         file.
43878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43879         New file.
43880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43881         file.
43882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43883         file.
43884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43885         New file.
43886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43887         file.
43888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43891         file.
43892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43898         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43901         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43904         file.
43905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43906         New file.
43907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43908         file.
43909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43910         file.
43911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43912         file.
43913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43914         file.
43915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43916         file.
43917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43918         New file.
43919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43920         New file.
43921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43922         file.
43923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43924         New file.
43925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43926         file.
43927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43929         file.
43930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43931         New file.
43932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43933         file.
43934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43935         file.
43936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43937         file.
43938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43939         file.
43940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43941         file.
43942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43943         New file.
43944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43945         New file.
43946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43947         file.
43948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43949         New file.
43950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43951         file.
43953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43955         * conform/conformtest.pl: Fix typo in handling typed-constant from
43956         allow-header.
43958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43960         * README: Cut down references to pre-2.6 Linux kernels and
43961         Linuxthreads.  Update lists of configurations in libc and ports
43962         and sort alphabetically.  Say "or newer" with Linux kernel version
43963         requirements.
43965         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43967 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43969         [BZ #887]
43970         * math/libm-test.inc (logb_test_downward): New test to expose
43971         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43972         rounding mode.
43974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43976         [BZ #14027]
43977         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43978         to be done.
43979         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43980         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43982 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43984         * sysdeps/unix/i386/brk.S: Remove file.
43985         * sysdeps/unix/i386/dl-brk.S: Likewise.
43986         * sysdeps/unix/i386/pipe.S: Likewise.
43987         * sysdeps/unix/i386/sigreturn.S: Likewise.
43988         * sysdeps/unix/i386/syscall.S: Likewise.
43989         * sysdeps/unix/i386/vfork.S: Likewise.
43990         * sysdeps/unix/i386/wait.S: Likewise.
43992         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43993         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43995         * configure.in (arm*-none*): Do not allow without
43996         --enable-hacker-mode.
43997         (netbsd*): Remove case setting base_os.
43998         (386bsd*): Likewise.
43999         (freebsd*): Likewise.
44000         (bsdi*): Likewise.
44001         (osf*): Likewise.
44002         (sunos*): Likewise.
44003         (ultrix*): Likewise.
44004         (newsos*): Likewise.
44005         (dynix*): Likewise.
44006         (*bsd*): Likewise.
44007         (sysv*): Likewise.
44008         (isc*): Likewise.
44009         (esix*): Likewise.
44010         (sco*): Likewise.
44011         (minix*): Likewise.
44012         (irix4*): Likewise.
44013         (irix6*): Likewise.
44014         (solaris[2-9]*): Likewise.
44015         (none): Likewise.
44016         * configure: Regenerated.
44018 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44020         [BZ #11521]
44021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44022         overflow or cancellation in calculating denominator.
44023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44025         down expression to avoid unexpected rounding in newer GCCs.
44026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44028 2012-04-26  David S. Miller  <davem@davemloft.net>
44030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44031         long-double compat symbols.
44032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44046 2012-04-25  David S. Miller  <davem@davemloft.net>
44048         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44049         HWCAP_* values only after the memory barriers have been defined.
44050         (atomic_full_barrier): Define.
44051         (atomic_read_barrier): Define.
44052         (atomic_write_barrier): Define.
44054 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44056         * shlib-versions: Add libgcc_s version information.
44057         * sysdeps/generic/libgcc_s.h: Remove.
44058         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44059         libgcc_s.h.
44060         * sysdeps/gnu/unwind-resume.c: Likewise.
44061         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44063 2012-04-25  David S. Miller  <davem@davemloft.net>
44065         * sysdeps/unix/sparc/brk.S: Delete.
44066         * sysdeps/unix/sparc/dl-brk.S: Delete.
44067         * sysdeps/unix/sparc/pipe.S: Delete.
44068         * sysdeps/unix/sparc/sysdep.S: Delete.
44069         * sysdeps/unix/sparc/sysdep.h: Delete.
44070         * sysdeps/unix/sparc/vfork.S: Delete.
44071         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44072         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44074         (ret_ERRVAL, r0, r1, MOVE): Define.
44075         (JUMPTARGET): Remove.
44076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44077         sysdeps/unix/sparc/sysdep.h
44078         (ENTRY, END): Remove.
44079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44081 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44083         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44084         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44085         -DIS_IN_build.
44087         * timezone/README: Update upstream location and email address for
44088         tzcode and tzdata.
44089         * timezone/zdump.c: Update from tzcode 2012b.
44090         * timezone/zic.c: Likewise.
44092         * configure.in (libc_cv_as_needed): Remove test.
44093         * configure: Regenerated.
44094         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44095         conditional definition.
44096         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44097         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44098         * config.make.in (have-as-needed): Remove variable.
44100 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44101             Paul Pluzhnikov  <ppluzhnikov@google.com>
44103         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44104         strings correctly.
44106 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44108         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44109         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44110         * sysdeps/sh/strlen.S: Likewise.
44112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44114         * sysdeps/unix/fork.S: Remove file.
44115         * sysdeps/unix/i386/fork.S: Likewise.
44116         * sysdeps/unix/sparc/fork.S: Likewise.
44118         * sysdeps/unix/system.c: Remove file.
44119         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44121         * sysdeps/unix/getegid.S: Remove file.
44122         * sysdeps/unix/geteuid.S: Likewise.
44124 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44126         * scripts/check-localplt.awk: New file.
44127         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44128         of diff.
44129         * scripts/data/localplt-generic.data: Add a comment.
44131         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44132         NODE when __dir_mkfile failed.
44133         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44134         Reported by Ludovic Courtès <ludo@gnu.org>.
44136 2012-04-24  Andreas Jaeger  <aj@suse.de>
44138         * Makerules (common-clean): Also remove gen-as-const-headers
44139         files.
44141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44143         * Makerules (native-compile): Do not change working directory for
44144         build.  Use $(OUTPUT_OPTION) in command.
44145         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44147 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44149         [BZ #13886]
44150         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44151         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44152         * math/libm-test.inc (floor_test): Add more tests.
44153         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44157         * sysdeps/unix/getdents.c: Remove file.
44158         * sysdeps/unix/sysv/getdents.c: Likewise.
44159         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44161         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44162         sysdeps/unix/mman/syscalls.list.
44163         (mmap): Likewise.
44164         (mprotect): Likewise.
44165         (msync): Likewise.
44166         (munmap): Likewise.
44167         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44168         * sysdeps/unix/mman/syscalls.list: Remove.
44169         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44171         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44172         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44173         * configure: Regenerated.
44174         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44175         $(libgcc_s_suffix).
44176         * config.make.in (libgcc_s_suffix): Remove variable.
44178 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44180         * sysdeps/unix/sysv/gethostname.c: Move to ...
44181         * sysdeps/posix/gethostname.c: ... here.
44183         * sysdeps/unix/execve.S: Remove file.
44185         * sysdeps/unix/_exit.S: Remove file.
44187 2012-04-23  Andreas Jaeger  <aj@suse.de>
44189         [BZ #13739]
44190         * manual/Makefile: Remove make dist support, there's no
44191         need for a stand-alone documentation tar ball.
44192         (TEXI2DVI): Define always, it's not in Makeconfig.
44193         (dist): Removed.
44194         (tar-it): Removed.
44195         (edition): Removed.
44196         (glibc-doc-$(edition).tar): Removed
44197         (%.Z): Removed.
44198         (%.gz): Removed.
44199         (%.uu): Removed.
44200         (ETAGS): Remove, it's in Makeconfig.
44201         (move-if-change): Remove, it's in Makeconfig.
44203 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44205         [BZ #13970]
44206         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44207         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44208         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44209         (strtod_l, strtof_l, strtold_l): Remove __wur.
44210         It is not necessarily an error to ignore strtol's return value.
44211         One can reliably look at the stored endptr to decide whether
44212         the number had valid syntax.
44214 2012-04-21  Andreas Jaeger  <aj@suse.de>
44216         [BZ #13739]
44217         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44219 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44221         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44222         * sysdeps/unix/sysv/Versions: Remove file.
44224 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44226         [BZ #13927]
44227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44229 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44231         [BZ #7064]
44232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44233         version from __vm86.
44235 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44237         * sysdeps/unix/common/lxstat.c: Remove file.
44238         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44240         * sysdeps/unix/sysv/Makefile: Remove file.
44242         * sysdeps/unix/sysv/direct.h: Remove file.
44244         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44245         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44246         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44247         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44248         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44249         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44250         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44252         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44254         * sysdeps/unix/xmknod.c: Remove file.
44255         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44257         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44259         * sysdeps/unix/sysv/i386/time.S: Remove file.
44261         * sysdeps/unix/fxstat.c: Remove file.
44262         * sysdeps/unix/xstat.c: Likewise.
44263         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44265         * sysdeps/unix/sysv/sigaction.c: Remove file.
44267         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44268         (sysdep_headers): Remove variable.
44269         [termio.h not in sysdep_headers] (generated): Likewise.
44270         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44271         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44272         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44273         * sysdeps/unix/sysv/tcflow.c: Likewise.
44274         * sysdeps/unix/sysv/tcflush.c: Likewise.
44275         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44276         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44277         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44278         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44279         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44281         * sysdeps/unix/siglist.c: Remove file.
44283         * sysdeps/unix/getppid.S: Remove file.
44285         * sysdeps/unix/mkdir.c: Remove file.
44286         * sysdeps/unix/rmdir.c: Likewise.
44288 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44290         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44291         ERR_MAX value.
44292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44293         errlist-compat value.
44295 2012-04-18  David S. Miller  <davem@davemloft.net>
44297         * sysdeps/generic/memcopy.h (reg_char): Delete.
44298         * debug/strcat_chk.c: Use char, not reg_char.
44299         * debug/strcpy_chk.c: Likewise.
44300         * debug/strncat_chk.c: Likewise.
44301         * debug/strncpy_chk.c: Likewise.
44302         * string/memchr.c: Likewise.
44303         * string/memrchr.c: Likewise.
44304         * string/rawmemchr.c: Likewise.
44305         * string/strcat.c: Likewise.
44306         * string/strchr.c: Likewise.
44307         * string/strchrnul.c: Likewise.
44308         * string/strcmp.c: Likewise.
44309         * string/strcpy.c: Likewise.
44310         * string/strncat.c: Likewise.
44311         * string/strncmp.c: Likewise.
44312         * string/strncpy.c: Likewise.
44314 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44316         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44317         __builtin_memcopy is called when src and dest ranges are known to not
44318         overlap.
44320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44323         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44324         fwd_align_merge macro call.
44325         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44326         bwd_align_merge macro call.
44327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44332         bwd_align_merge macros.
44333         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44334         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44337 2012-04-18  David S. Miller  <davem@davemloft.net>
44339         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44341 2012-04-18  Andreas Jaeger  <aj@suse.de>
44343         [BZ# 6794]
44344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44345         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44352         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44353         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44354         Adjust for changed ldbl-128 files.
44356         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44357         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44360 2012-04-17  David S. Miller  <davem@davemloft.net>
44362         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44364 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44366         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44367         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44368         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44369         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44370         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44371         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44373 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44375         [BZ #6794]
44376         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44377         * math/libm-test.inc: Add ilogb errno and exception tests.
44378         * math/w_ilogb.c: New file: ilogb wrapper.
44379         * math/w_ilogbf.c: New file: ilogbf wrapper.
44380         * math/w_ilogbl.c: New file: ilogbl wrapper.
44381         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44382         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44383         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44384         exception being thrown with 0.0 as argument.
44385         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44386         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44387         exception being thrown with 0.0 as argument.
44388         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44389         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44390         exception being thrown with 0.0 as argument.
44391         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44392         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44393         exception being thrown with 0.0 as argument.
44394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44395         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44397         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44400         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44401         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44402         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44404 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44406         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44407         with altivec.
44409 2012-04-16  Marek Polacek  <polacek@redhat.com>
44411         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44413 2012-04-16  Marek Polacek  <polacek@redhat.com>
44415         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44416         operands of fdivp instruction.
44418 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44420         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44421         * elf/tst-auditmod3b.c: Likewise.
44422         * elf/tst-auditmod4b.c: Likewise.
44423         * elf/tst-auditmod5b.c: Likewise.
44424         * elf/tst-auditmod6b.c: Likewise.
44425         * elf/tst-auditmod6c.c: Likewise.
44426         * elf/tst-auditmod7b.c: Likewise.
44427         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44428         * sysdeps/x86_64/preconfigure.in: Likewise.
44429         * sysdeps/x86_64/preconfigure: Regenerated.
44431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44433         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44434         __ILP32__.
44436 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44439         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44441 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44443         [BZ #13973]
44444         * locale/iso-639.def: Fix gl language name. Spotted by
44445         Yaron Shahrabani.
44447 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44449         [BZ #2074]
44450         * libio/libio.h (__io_write_fn): Update comment.
44452 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44454         [BZ #2074]
44455         * stdio.texi (Hook Functions): The user provided writer function
44456         is not allowed to return -1.
44458 2012-04-11  David S. Miller  <davem@davemloft.net>
44460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44462 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44464         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44465         Add a leading slash to rtkaio.
44467 2012-04-11  Jim Meyering  <meyering@redhat.com>
44469         [BZ #11959]
44470         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44471         It is not necessarily an error to ignore fwrite's return
44472         value.  One can reliably use ferror to test for errors after
44473         the fact.
44475 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44477         * bits/types.h (__snseconds_t): New type.
44478         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44480         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44482         (__SNSECONDS_T_TYPE): Likewise.
44483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44484         (__SNSECONDS_T_TYPE): Likewise.
44485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44486         (__SNSECONDS_T_TYPE): Likewise.
44488 2012-04-10  Andreas Jaeger  <aj@suse.de>
44490         [BZ #2636]
44491         * manual/time.texi (Processor Time): Return type of times is
44492         elapsed real time since an arbitrary point in the past.
44493         (CPU Time): Move CLK_TCK from here...
44494         (Processor Time): ...to here.  Correct description.
44495         * manual/conf.texi (Constants for Sysconf): Correct description of
44496         _SC_CLK_TCK.
44498 2012-04-10  David S. Miller  <davem@davemloft.net>
44500         [BZ #13967]
44501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44502         where the is a gap between DT_REL(A) and DT_JMPREL.
44504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44506         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44507         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44508         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44510 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44512         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44513         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44514         (dl_main): Handle --inhibit-cache.
44515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44516         _dl_inhibit_cache.
44517         * elf/dl-load.c (_dl_map_object): Use it.
44518         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44522         [BZ #13872]
44523         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44524         (__ieee754_powl): Saturate large exponents rather than testing for
44525         overflow of y*log2(x).
44526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44527         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44528         exceptions.
44530         [BZ #11521]
44531         * math/s_ctan.c: Include <float.h>.
44532         (__ctan): Avoid internal overflow or cancellation in calculating
44533         denominator.
44534         * math/s_ctanf.c: Likewise.
44535         * math/s_ctanl.c: Likewise.
44536         * math/s_ctanh.c: Likewise.
44537         * math/s_ctanhf.c: Likewise.
44538         * math/s_ctanhl.c: Likewise.
44539         * math/libm-test.inc (ctan_test): Add more tests.
44540         (ctanh_test): Likewise.
44541         * sysdeps/i386/fpu/libm-test-ulps: Update.
44542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44544 2012-04-09  Andreas Jaeger  <aj@suse.de>
44546         [BZ #6894]
44547         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44548         is an optional BSD extension.
44550         [BZ #10254]
44551         * manual/stdio.texi (Opening Streams): Document additional fopen
44552         parameters.
44554 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44556         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44557         %eax without telling the compiler.
44559 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44561         [BZ # 13963]
44562         * manual/install.texi: Use sourceware.org.
44564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44566         [BZ #13873]
44567         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44568         (__ieee754_pow): Generate overflow and underflow using huge*huge
44569         and tiny*tiny rather than just returning constant infinity or zero
44570         for large exponents.
44571         * math/libm-test.inc (pow_test): Require overflow exceptions for
44572         applicable cases of large exponents.
44574         [BZ #706]
44575         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44576         (__ieee754_pow): Use iterative multiplication algorithm only for
44577         integer exponents with absolute value below 1024.  Check for odd
44578         integer exponents when using algorithm for real exponents.
44579         * math/libm-test.inc (pow_test): Add more tests.
44580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44582 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44584         [BZ #13705]
44585         * math/libm-test.inc (exp_test): Do not allow overflow exception
44586         on underflow test.
44588 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44590         [BZ #13705]
44591         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44592         instead of __kernel_standard_f.
44594 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44596         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44597         * sysdeps/x86_64/memset_chk.S: Likewise.
44599 2012-04-08  Andreas Jaeger  <aj@suse.de>
44601         [BZ #10153]
44602         * manual/startup.texi (Environment Access): Describe return value
44603         for putenv and setenv.
44605         [BZ #6895]
44606         * manual/filesys.texi (Directory Entries): Add description for
44607         DT_LNK.
44609         [BZ #6890]
44610         * manual/filesys.texi (Directory Entries): Clarify that it's file
44611         system not operating system in the description of DT_UNKNOWN.
44613         [BZ #6578]
44614         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44616 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44618         [BZ #6649]
44619         * manual/llio.texi (Opening and Closing Files): Add cross
44620         reference to explain mode argument.
44622 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44624         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44625         * sysdeps/x86_64/memset_chk.S: Likewise.
44627 2012-04-07  David S. Miller  <davem@davemloft.net>
44629         * elf/elf.h (R_SPARC_WDISP10): Define.
44630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44631         R_SPARC_SIZE32.
44632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44633         R_SPARC_SIZE64 and R_SPARC_H34.
44635 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44638         conditions and remove no longer applicable assertion.
44640 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44642         * bits/byteswap.h: Include <features.h>.
44643         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44644         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44646 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44648         * bits/byteswap.h (__bswap_16): Removed.
44649         Include <bits/byteswap-16.h> to get __bswap_16.
44650         * sysdeps/i386/bits/byteswap.h: Likewise.
44651         * sysdeps/s390/bits/byteswap.h: Likewise.
44652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44653         * bits/byteswap-16.h: New file.
44654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44655         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44656         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44657         * string/Makefile (headers): Add bits/byteswap-16.h.
44659 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44661         [BZ #13895]
44662         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44663         extra indirection.
44664         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44665         * nss/tst-nss-static.c: New.
44667 2012-04-06  Robert Millan  <rmh@gnu.org>
44669         [BZ #6486]
44670         * manual/llio.texi (File Position Primitive): lseek
44671         refers to WHENCE when it really means OFFSET.
44673 2012-04-06  Andreas Jaeger  <aj@suse.de>
44675         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44676         strncmp declarations.
44678         * abilist/libc.abilist: Add __poll and __ppoll.
44680 2012-04-05  David S. Miller  <davem@davemloft.net>
44682         * scripts/check-local-headers.sh: Accept a host triplet in the
44683         path matched by the exclude regexp.
44685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44686         definition.
44687         * sysdeps/powerpc/powerpc32/dl-machine.h
44688         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44689         * sysdeps/s390/s390-32/dl-machine.h
44690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44691         * sysdeps/sparc/sparc32/dl-machine.h
44692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44693         * sysdeps/sparc/sparc64/dl-machine.h
44694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44696         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44697         lazy binding.
44698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44699         undefined symbol errors.
44701         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44702         DT_NEEDED entries.
44704 2012-04-05  Michael Matz  <matz@suse.de>
44706         [BZ #13592]
44707         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44709 2012-04-05  Andreas Jaeger  <aj@suse.de>
44711         [BZ #13908]
44712         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44713         comment.
44715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44718         which ROUND is no valid rounding mode.
44720 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44722         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44723         read again.
44724         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44726 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44729         an exception using FPU order intentionally.
44731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44734         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44735         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44736         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44738 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44740         [BZ #12340]
44741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44742         EINVAL when BUFLEN is too smal.
44744 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44746         [BZ #13553]
44747         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44748         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44750 2012-04-03  Andreas Jaeger  <aj@suse.de>
44752         [BZ #13938]
44753         * manual/setjmp.texi (System V contexts): Fix sentence.
44755         [BZ #13926]
44756         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44757         New macro for this case.
44758         [!__GNUC__] (__bswap_64): New inline function for this case.
44759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44760         * bits/byteswap.h: Likewise.
44761         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44762         ull, guard with __GLIBC_HAVE_LONG_LONG.
44764         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44765         __GLIBC_HAVE_LONG_LONG.
44767         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44768         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44772         [BZ #13691]
44773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44774         inptr and inend, rather than using last_ch.
44776 2012-04-02  David S. Miller  <davem@davemloft.net>
44778         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44779         * stdio-common/printf-parse.h (read_int): Change return type to
44780         'int', return -1 on INT_MAX overflow.
44781         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44782         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44783         overflows INT_MAX.  Check for overflow of in-format-string precision
44784         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44785         SIZE_MAX not INT_MAX for integer overflow test.
44786         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44787         skip the construct in the format string but do not record anything.
44788         * stdio-common/bug22.c: Adjust to test both width/prevision
44789         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44790         explicitly for proper errno values.
44792 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44794         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44795         CHAR_MAX.
44796         * string/test-strcmp.c [! WIDE]: Likewise.
44797         * time/tst-mktime2.c: Likewise for INT_MAX.
44798         * string/test-string.h: #include <sys/param.h> for MIN.
44800         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44801         * sysdeps/i386/init-first.c (init): Likewise.
44802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44803         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44804         * sysdeps/sh/init-first.c (init): Likewise.
44806 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44808         * po/ru.po: Update from translation team.
44809         * po/vi.po: Likewise.
44811 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44813         * resolv/nss_dns/dns-host.c: Merge copyright years.
44815 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44818         Optimize memcpy with prefetch if
44819         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44820         src, dst pointers have unequal 16 byte alignments.
44822 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44824         [BZ #13928]
44825         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44826         from a CNAME entry and return the minimum ttl for the query.
44827         (gaih_getanswer_slice): Likewise.
44829 2012-03-30  Jeff Law  <law@redhat.com>
44831         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44832         due to long keys.
44833         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44834         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44836         * resolv/nss_dns/dns-host.c: Update copyright year.
44838 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44840         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44841         requests to save a system call.  Fix check that all bytes are sent.
44843         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44844         comments for sendmmsg.
44846 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44848         [BZ #13691]
44849         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44850         with only 1 character between 0x0041 and 0x01b0.
44851         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44852         * wcsmbs/tst-mbsnrtowcs.c: New file.
44854 2012-03-29  David S. Miller  <davem@davemloft.net>
44856         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44857         small copies by hand.
44859 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44861         [BZ #13761]
44862         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44863         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44864         group memberships.
44866 2012-03-28  David S. Miller  <davem@davemloft.net>
44868         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44869         that branches into memcpy.
44870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44875         bits.
44876         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44877         implementation too.
44878         * sysdeps/sparc/mempcpy.S: New file.
44880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44881         the IFUNC routine in the libc case.
44882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44884         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44885         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44886         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44887         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44888         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44889         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44890         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44891         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44893         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44894         loop to 256 bytes instead of 64 bytes and fix test signedness.
44896         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44897         * sysdeps/sparc/sparc32/Makefile: rather than here...
44898         * sysdeps/sparc/sparc64/Makefile: and here.
44900 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44902         * malloc/mallocbug.c: Avoid warnings about unused variables.
44904 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44906         [BZ #13760]
44907         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44908         in the right place. Discard and retry query if response is
44909         larger than input buffer size.
44911 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44913         [BZ #369]
44914         [BZ #2678]
44915         [BZ #3866]
44916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44917         x for large integer exponent.
44918         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44919         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44920         sign of result as needed afterwards.
44921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44923         result for underflowing pow the same as for overflow.
44924         (__kernel_standard_l): Handle powl overflow and underflow here
44925         rather than calling __kernel_standard.
44926         * math/libm-test.inc (pow_test): Add more tests.
44928         [BZ #3868]
44929         [BZ #13879]
44930         [BZ #13910]
44931         [BZ #13911]
44932         [BZ #13912]
44933         [BZ #13913]
44934         [BZ #13915]
44935         [BZ #13916]
44936         [BZ #13917]
44937         [BZ #13918]
44938         [BZ #13919]
44939         [BZ #13920]
44940         [BZ #13921]
44941         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44942         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44943         (__kernel_standard_l): New function.
44944         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44945         __kernel_standard.
44946         * math/w_acosl.c (__acosl): Likewise.
44947         * math/w_asinl.c (__asinl): Likewise.
44948         * math/w_atan2l.c (__atan2l): Likewise.
44949         * math/w_atanhl.c (__atanhl): Likewise.
44950         * math/w_coshl.c (__coshl): Likewise.
44951         * math/w_exp10l.c (__exp10l): Likewise.
44952         * math/w_exp2l.c (__exp2l): Likewise.
44953         * math/w_fmodl.c (__fmodl): Likewise.
44954         * math/w_hypotl.c (__hypotl): Likewise.
44955         * math/w_j0l.c (__j0l, __y0l): Likewise.
44956         * math/w_j1l.c (__j1l, __y1l): Likewise.
44957         * math/w_jnl.c (__jnl, __ynl): Likewise.
44958         * math/w_lgammal.c (__lgammal): Likewise.
44959         * math/w_log10l.c (__log10l): Likewise.
44960         * math/w_log2l.c (__log2l): Likewise.
44961         * math/w_logl.c (__logl): Likewise.
44962         * math/w_powl.c (__powl): Likewise.
44963         * math/w_remainderl.c (__remainderl): Likewise.
44964         * math/w_scalbl.c (sysv_scalbl): Likewise.
44965         * math/w_sinhl.c (__sinhl): Likewise.
44966         * math/w_sqrtl.c (__sqrtl): Likewise.
44967         * math/w_tgammal.c (__tgammal): Likewise.
44968         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44969         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44970         * math/libm-test.inc (acos_test): Add more tests.
44971         (acosh_test): Likewise.
44972         (asin_test): Likewise.
44973         (atanh_test): Likewise.
44974         (exp_test): Likewise.
44975         (exp10_test): Likewise.
44976         (exp2_test): Likewise.
44977         (expm1_test): Likewise.
44978         (lgamma_test): Likewise.
44979         (log_test): Likewise.
44980         (log10_test): Likewise.
44981         (log1p_test): Likewise.
44982         (log2_test): Likewise.
44983         (pow_test): Do not allow some spurious overflow exceptions.
44984         (sqrt_test): Add more tests.
44985         (tgamma_test): Likewise.
44986         (y0_test): Likewise.
44987         (y1_test): Likewise.
44988         (yn_test): Likewise.
44990 2012-03-27  Anton Blanchard  <anton@samba.org>
44992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44993         MAP_HUGETLB.
44994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44998 2012-03-27  David S. Miller  <davem@davemloft.net>
45000         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45002         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45003         have-as-vis3 check.
45005 2012-03-27  Andreas Jaeger  <aj@suse.de>
45007         * sysdeps/x86_64/elf/configure.in: Moved to ...
45008         * sysdeps/x86_64/configure.in: ... here.
45009         * sysdeps/x86_64/elf/start.S: Moved to ...
45010         * sysdeps/x86_64/start.S: ... here.
45011         * sysdeps/x86_64/elf/configure: Delete.
45013         * sysdeps/x86_64/configure.in: Merge contents from
45014         sysdeps/i386/configure.in (without i686 check).
45016         * sysdeps/i386/elf/Versions: Merge into ...
45017         * sysdeps/i386/Versions: ... this.
45018         * sysdeps/i386/elf/Versions: Delete file.
45019         * sysdeps/i386/elf/start.S: Moved to ...
45020         * sysdeps/i386/start.S: ...here.
45021         * sysdeps/i386/elf/configure.in: Merge into...
45022         * sysdeps/i386/configure.in: ...here.
45023         * sysdeps/i386/elf/configure.in: Delete file.
45024         * sysdeps/i386/elf/configure: Delete file.
45026         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45027         * debug/backtracesyms.c: ... here.
45028         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45029         * debug/backtracesymsfd.c: ... here.
45030         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45031         * sysdeps/generic/ifunc-sel.h: ... here.
45033         * sysdeps/unix/i386/start.c: Delete file.
45034         * sysdeps/unix/sparc/start.c: Delete file.
45035         * sysdeps/unix/start.c: Delete file.
45037         * sysdeps/sh/elf/configure.in: Moved to ...
45038         * sysdeps/sh/configure.in: ... here.
45039         * sysdeps/sh/elf/start.S: Moved to ...
45040         * sysdeps/sh/start.S: ... here.
45041         * sysdeps/sh/elf/configure: Delete file.
45043         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45044         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45045         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45046         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45047         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45048         * sysdeps/powerpc/powerpc64/start.S: here.
45049         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45050         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45051         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45052         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45053         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45055         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45056         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45057         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45058         * sysdeps/powerpc/powerpc32/start.S: ... here.
45059         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45060         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45061         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45063         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45064         * sysdeps/powerpc/ifunc-sel.h: ... here.
45065         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45066         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45068         * sysdeps/sparc/elf/configure.in: Moved to ...
45069         * sysdeps/sparc/configure.in: ... here.
45070         * sysdeps/sparc/elf/configure: Delete file.
45071         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45072         * sysdeps/sparc/sparc32/start.S: ... here.
45073         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45074         * sysdeps/sparc/sparc64/start.S: ... here.
45075         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45076         * sysdeps/sparc/sparc32/Makefile: ... this.
45077         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45078         * sysdeps/sparc/sparc64/Makefile: ... this.
45080         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45081         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45082         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45083         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45084         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45085         * sysdeps/s390/s390-32/setjmp.S: ... here.
45086         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45087         * sysdeps/s390/s390-32/configure.in: ... here.
45088         * sysdeps/s390/s390-32/elf/configure: Delete file.
45089         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45090         * sysdeps/s390/s390-32/start.S: ... here.
45092         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45093         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45094         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45095         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45096         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45097         * sysdeps/s390/s390-64/setjmp.S: ... here.
45098         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45099         * sysdeps/s390/s390-64/configure.in: ... here
45100         * sysdeps/s390/s390-64/elf/configure: Delete file.
45101         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45102         * sysdeps/s390/s390-64/start.S: ... here.
45103         * sysdeps/s390/s390-64/elf/configure: Delete.
45105         * configure.in: Remove support for elf directories in sysdeps.
45107         * configure: Regenerated.
45108         * sysdeps/i386/configure: Regenerated.
45109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45110         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45111         * sysdeps/s390/s390-32/configure: Regenerated.
45112         * sysdeps/s390/s390-64/configure: Regenerated.
45113         * sysdeps/sh/configure: Regenerated.
45114         * sysdeps/sparc/configure: Regenerated.
45115         * sysdeps/x86_64/configure: Regenerated.
45117 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45122         denormal result into account.
45124 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45126         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45127         Reported by Allan McRae <allan@archlinux.org>.
45129 2012-03-23  Jeff Law  <law@redhat.com>
45131         * nss/getnssent.c (__nss_getent): Fix typo.
45133 2012-03-23  David S. Miller  <davem@davemloft.net>
45135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45137 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45139         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45140         to pad to uint64_t for each field.
45141         (dl_tls_index): Replace unsigned long with uint64_t.
45143 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45144         Paul Pluzhnikov  <ppluzhnikov@google.com>
45146         [BZ #6528]
45147         * grp/Makefile (otherlibs): Don't set it.
45148         * inet/Makefile (otherlibs): Likewise.
45149         * login/Makefile (otherlibs): Likewise.
45150         * nscd/Makefile (otherlibs): Likewise.
45151         * posix/Makefile (otherlibs): Likewise.
45152         * pwd/Makefile (otherlibs): Likewise.
45153         * rt/Makefile (otherlibs): Likewise.
45154         * sunrpc/Makefile (otherlibs): Likewise.
45155         * nss/Makefile (otherlibs): Likewise.
45156         Add libnss_files to routines and static-only-routines.
45157         ($(objpfx)getent): Remove rule.
45158         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45159         static-only-routines.
45161 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45163         [BZ #13892]
45164         * math/s_cexp.c: Include <float.h>.
45165         (__cexp): Handle exp result overflowing not necessarily
45166         overflowing both real and imaginary parts of result.
45167         * math/s_cexpf.c: Likewise.
45168         * math/s_cexpl.c: Likewise.
45169         * math/libm-test.inc (cexp_test): Add more tests.
45170         * sysdeps/i386/fpu/libm-test-ulps: Update.
45171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45173 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45175         * include/link.h (ELFW): New macro.
45176         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45177         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45179 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45181         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45182         with uint64_t.
45184 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45186         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45187         declaration.
45188         (struct La_x32_retval): Likewise.
45190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45192         * sysdeps/x86_64/preconfigure.in: New file.
45193         * sysdeps/x86_64/preconfigure: New generated file.
45195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #13824]
45198         * math/e_exp2l.c: Include <float.h>.
45199         (__ieee754_exp2l): Handle overflow and underflow cases
45200         separately.  Only pass fractional part of argument to
45201         __ieee754_expl.
45202         * math/libm-test.inc (exp2_test): Add more tests.
45204         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45205         negating x to take absolute value.
45206         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45207         Likewise.
45208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45210         Likewise.
45211         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45212         computing low part if x was negated.
45213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45217         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45218         la_x32_gnu_pltexit.
45219         (pltexit): Cast int_retval to ptrdiff_t.
45220         * elf/tst-auditmod3b.c: Likewise.
45221         * elf/tst-auditmod4b.c: Likewise.
45222         * elf/tst-auditmod5b.c: Likewise.
45223         * elf/tst-auditmod6b.c: Likewise.
45224         * elf/tst-auditmod6c.c: Likewise.
45225         * elf/tst-auditmod7b.c: Likewise.
45227         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45228         and x32_gnu_pltexit.
45230         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45231         __ELF_NATIVE_CLASS.
45232         (La_x32_regs): New macro.
45233         (La_x32_retval): Likewise.
45234         (la_x32_gnu_pltenter): New function prototype.
45235         (la_x32_gnu_pltexit): Likewise.
45237 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45240         exponent.
45242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45244         * configure.in (libc_cv_cc_nofma): Check for option to disable
45245         generation of FMA instructions.
45246         * configure: Regenerate.
45247         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45248         * sysdeps/ieee754/dbl-64/Makefile: New file.
45249         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45250         Remove brandred-fma4.
45251         (CFLAGS-brandred-fma4.c): Remove.
45252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45254         define.
45255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45256         define.
45258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45260         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45261         LLONG_MAX != LONG_MAX.
45262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45263         (_fitoa_word): Likewise.
45264         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45265         LLONG_MAX != LONG_MAX.
45266         * stdio-common/_itowa.h: Include <_itoa.h>.
45267         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45268         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45269         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45270         only if not defined.
45271         (_ITOA_WORD_TYPE): Likewise.
45272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45273         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45275 2012-03-21  David S. Miller  <davem@davemloft.net>
45277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45281         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45282         of x86_64 when setting libc_cv_slibdir, libdir and
45283         libc_cv_localedir.
45284         * sysdeps/unix/sysv/linux/configure: Regenerated.
45286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45288         * manual/lang.texi (Old Varargs): Remove section.
45289         (How Variadic): Update menu.
45290         (va_start): Do not mention varargs.h.
45292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45293             Joseph Myers  <joseph@codesourcery.com>
45295         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45296         link test.
45297         * configure: Regenerated.
45299 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45301         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45302         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45303         conformtest.pl
45305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45307         * NOTES: Remove.
45308         * Makefile (files-for-dist): Remove NOTES.
45309         (NOTES): Remove rule.
45310         * README: Don't refer to NOTES.
45311         * manual/creature.texi: Don't include macros.texi.
45312         * manual/intro.texi (creature.texi): Remove comment referring to
45313         NOTES.
45315         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45316         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45317         * configure: Regenerated.
45318         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45319         LIBC_TRY_CC_OPTION.
45320         (libc_cv_as_i686): Likewise.
45321         (libc_cv_cc_avx): Likewise.
45322         (libc_cv_cc_sse2avx): Likewise.
45323         (libc_cv_cc_fma4): Likewise.
45324         (libc_cv_cc_novzeroupper): Likewise.
45325         * sysdeps/i386/configure: Regenerated.
45327         [BZ #13883]
45328         * sysdeps/i386/fpu/s_cexp.S: Remove.
45329         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45331         * math/libm-test.inc (cexp_test): Add more tests.
45332         * sysdeps/i386/fpu/libm-test-ulps: Update.
45333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45335 2012-03-21  Allan McRae  <allan@archlinux.org>
45337         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45341         [BZ #13871]
45342         * math/w_exp2.c: Do not include <float.h>.
45343         (o_threshold, u_threshold): Remove.
45344         (__exp2): Calculate result before checking finiteness and calling
45345         __kernel_standard.
45346         * math/w_exp2f.c: Likewise.
45347         * math/w_exp2l.c: Likewise.
45348         * math/libm-test.inc (exp2_test): Require overflow exception for
45349         1e6 input.
45351         [BZ #3866]
45352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45353         range of signed 64-bit integers before using fistpll.  Remove
45354         checks for whether integers fit in mantissa bits.
45355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45356         the range of signed 32-bit integers before using fistpl.  Remove
45357         checks for whether integers fit in mantissa bits.
45358         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45359         (__ieee754_powl): Test for y outside the range of signed 64-bit
45360         integers before using fistpll.  Reduce 64-bit values to 63-bit
45361         ones as needed.
45362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45363         divide-by-zero is raised for zero to large negative powers.
45364         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45365         (__ieee754_powl): Test for y outside the range of signed 64-bit
45366         integers before using fistpll.  Reduce 64-bit values to 63-bit
45367         ones as needed.
45368         * math/libm-test.inc (pow_test): Add more tests.
45370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45372         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45373         <stdio-common/_itoa.h>.
45374         * debug/segfault.c: Likewise.
45375         * elf/dl-cache.c: Likewise.
45376         * elf/dl-minimal.c: Likewise.
45377         * elf/dl-misc.c: Likewise.
45378         * elf/dl-sysdep.c: Likewise.
45379         * elf/dl-version.c: Likewise.
45380         * elf/rtld.c: Likewise.
45381         * hurd/hurdsock.c: Likewise.
45382         * hurd/lookup-retry.c: Likewise.
45383         * malloc/malloc.c: Likewise.
45384         * malloc/mtrace.c: Likewise.
45385         * nscd/nscd_getgr_r.c: Likewise.
45386         * nscd/nscd_getpw_r.c: Likewise.
45387         * nscd/nscd_getserv_r.c: Likewise.
45388         * posix/getopt_init.c: Likewise.
45389         * posix/wordexp.c: Likewise.
45390         * stdio-common/_itoa.c: Likewise.
45391         * stdio-common/printf_fphex.c: Likewise.
45392         * stdio-common/vfprintf.c: Likewise.
45393         * string/_strerror.c: Likewise.
45394         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45395         * sysdeps/i386/i686/hp-timing.h: Likewise.
45396         * sysdeps/mach/_strerror.c: Likewise.
45397         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45398         * sysdeps/mach/hurd/sethostid.c: Likewise.
45399         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45400         * sysdeps/mach/xpg-strerror.c: Likewise.
45401         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45403         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45404         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45406         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45408         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45409         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45410         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45411         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45413         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45415         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45417         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45418         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45421         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45423         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45425         * stdio-common/_itoa.h: Moved to ...
45426         * sysdeps/generic/_itoa.h: Here.
45428         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45430         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45431         instead of "_itoa.h" and "_itowa.h".
45432         * stdio-common/vfprintf.: Likewise.
45434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45437         <bits/wordsize.h>.
45438         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45439         (__signbit): Likwise.
45440         (llrintf): Likwise.
45441         (llrint): Likwise.
45443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45445         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45446         __WORDSIZE != 64.
45448 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45450         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45451         OVERFLOW_EXCEPTION_OK.
45452         * math/libm-test.inc ("Philosophy"): Update comment about
45453         exception testing.
45454         (OVERFLOW_EXCEPTION): Define.
45455         (OVERFLOW_EXCEPTION_OK): Likewise.
45456         (INVALID_EXCEPTION_OK): Renumber.
45457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45458         (IGNORE_ZERO_INF_SIGN): Likewise.
45459         (test_exceptions): Handle FE_OVERFLOW.
45460         (exp10_test): Expect overflow exceptions.
45461         (exp2_test): Likewise.
45462         (expm1_test): Likewise.
45463         (nextafter_test): Likewise.
45464         (pow_test): Likewise.
45465         (scalbn_test): Likewise.
45466         (scalbln_test): Likewise.
45468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45470         * sysdeps/x86_64/bits/atomic.h
45471         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45472         64bit integer.
45473         (atomic_exchange_acq): Likewise.
45474         (__arch_exchange_and_add_body): Likewise.
45475         (__arch_add_body): Likewise.
45476         (atomic_add_negative): Likewise.
45477         (atomic_add_zero): Likewise.
45479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45481         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45482         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45486         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45487         Check __x86_64__ instead of __WORDSIZE.
45489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45491         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45493 2012-03-19  David S. Miller  <davem@davemloft.net>
45495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45497         * sysdeps/sparc/fpu/fenv_private.h: New file.
45498         * sysdeps/sparc/fpu/math_private.h: Use it.
45499         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45500         Remove.
45501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45502         (libc_feholdexcept_setroundl): Remove.
45503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45504         Remove.
45505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45510         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45511         int64_t instead of long int.
45512         (INSERT_WORDS64): Likwise.
45514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45516         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45517         _Unwind_GetCFA return to _Unwind_Ptr first.
45519 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45521         [BZ #13629]
45522         * math/s_clog.c: Include <float.h>.
45523         (__clog): Scale large or subnormal inputs.
45524         * math/s_clogf.c: Likewise.
45525         * math/s_clogl.c: Likewise.
45526         * math/s_clog10.c: Include <float.h>.
45527         (M_LOG10_2): Define.
45528         (__clog10): Scale large or subnormal inputs.
45529         * math/s_clog10f.c: Likewise.
45530         * math/s_clog10l.c: Likewise.
45531         * math/libm-test.inc (clog_test): Add more tests.
45532         (clog10_test): Likewise.
45533         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45536         [BZ #11451]
45537         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45538         x and y.
45539         * math/libm-test.inc (atan2_test): Add another test.
45541         * Makerules (common-objdir-compile): Remove.
45542         * sysdeps/unix/Makefile (config-generated): Do not add
45543         $(unix-generated) to variable.
45544         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45545         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45546         Remove rule.
45547         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45548         Likewise.
45549         [generic bits/local_lim.h] (before-compile): Do not append to
45550         variable.
45551         [generic bits/local_lim.h] (common-generated): Likewise.
45552         [generic sys/param.h] (before-compile): Do not append to variable.
45553         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45554         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45555         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45556         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45557         include.
45558         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45559         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45560         [generic sys/param.h] ($(addprefix
45561         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45562         [generic sys/param.h] (common-generated): Do not append to
45563         variable.
45564         [generic sys/param.h] (sysdep_headers): Likewise.
45565         [generic bits/errno.h] (before-compile): Do not append to
45566         variable.
45567         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45568         rule.
45569         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45570         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45571         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45572         [generic bits/errno.h] (common-generated): Do not append to
45573         variable.
45574         [generic bits/ioctls.h] (before-compile): Do not append to
45575         variable.
45576         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45577         rule.
45578         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45579         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45580         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45581         rule.
45582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45583         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45584         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45585         [generic bits/ioctls.h] (common-generated): Do not append to
45586         variable.
45587         [generic sys/syscall.h] (syscall.h): Remove variable.
45588         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45589         rule.
45590         [generic sys/syscall.h] (before-compile): Do not append to
45591         variable.
45592         [generic sys/syscall.h] (common-generated): Likewise.
45593         * sysdeps/unix/errnos-tmpl.c: Remove file.
45594         * sysdeps/unix/errnos.awk: Likewise.
45595         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45596         * sysdeps/unix/ioctls.awk: Likewise.
45597         * sysdeps/unix/mk-local_lim.c: Likewise.
45598         * sysdeps/unix/snarf-ioctls: Likewise.
45600 2012-03-19  Richard Henderson  <rth@twiddle.net>
45602         * sysdeps/i386/fpu/fenv_private.h: New file.
45603         * sysdeps/i386/fpu/math_private.h: Use it.
45604         (math_opt_barrier, math_force_eval): Remove.
45605         (libc_feholdexcept_setround_53bit): Remove.
45606         (libc_feupdateenv_53bit): Remove.
45607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45608         (math_opt_barrier, math_force_eval): Remove.
45609         (libc_feholdexcept): Remove.
45610         (libc_feholdexcept_setround): Remove.
45611         (libc_fetestexcept, libc_fesetenv): Remove.
45612         (libc_feupdateenv_test): Remove.
45613         (libc_feupdateenv, libc_feholdsetround): Remove.
45614         (libc_feresetround): Remove.
45616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45617         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45619         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45620         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45621         (libc_feupdateenv_testl): New.
45622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45623         (libc_feupdateenv_testf): New.
45624         (libc_feupdateenv): Use libc_feupdateenv_test.
45625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45628         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45629         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45630         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45631         (libc_feresetround_noex): New.
45632         (libc_feresetround_noexf): New.
45633         (libc_feresetround_noexl): New.
45634         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45635         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45636         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45638         SET_RESTORE_ROUND.
45639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45641         (__cos): Likewise.
45642         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45644         SET_RESTORE_ROUND_NOEX.
45645         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45646         SET_RESTORE_ROUND_NOEXF.
45647         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45648         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45649         (libc_feholdsetroundf): New.
45650         (libc_feresetround, libc_feresetroundf): New.
45652         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45653         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45654         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45656         * sysdeps/generic/math_private.h: Include <fenv.h>.
45657         (default_libc_feholdexcept): New.
45658         (default_libc_feholdexcept_setround): New.
45659         (default_libc_fesetenv, default_libc_feupdateenv): New.
45660         (libc_feholdexcept): Only define if undefined.
45661         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45662         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45663         (libc_feholdexcept_setroundl): Likewise.
45664         (libc_feholdexcept_setround_53bit): Likewise.
45665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45666         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45667         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45668         (libc_feupdateenv_53bit): Likewise.
45669         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45670         (libc_feholdexcept): Convert from macro to inline function.
45671         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45672         (libc_fesetenv, libc_feupdateenv): Likewise.
45674         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45675         not previously defined.
45676         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45677         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45678         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45680         * sysdeps/ieee754/flt-32/math_private.h: New file.
45681         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45682         math_private.h below SET_FLOAT_WORD.
45683         (__isnan, __isinf_ns, __finite): Remove.
45684         (__isnanf, __isinf_nsf, __finitef): Remove.
45686 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45690 2012-03-17  David S. Miller  <davem@davemloft.net>
45692         [BZ #6471]
45693         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45694         for 2.16.
45696 2012-03-16  David S. Miller  <davem@davemloft.net>
45698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45699         warnings.
45701         [BZ #6471]
45702         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45703         properly.
45704         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45705         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45706         sysdep_routines when subdir is sysvipc.
45707         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45708         __getshmlba helper.
45710         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45714         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45715         [__LP64__].
45717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45720         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45721         (__lround): Renamed to ...
45722         (__llround): This.  Replace long int with long long int.
45723         Define lround functions as aliases of llround functions.
45724         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45728         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45729         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45730         adresses to uintptr_t.  Replace "long int" and "unsigned long
45731         int" with "greg_t" on va_arg.
45733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45735         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45736         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45738         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45739         Move e_machine check before EI_CLASS check.  Handle x32
45740         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45741         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45742         SKIP_EM_IA_64 and include
45743         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45745         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45746         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45747         (add_system_dir): New macro.
45749         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45750         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45754         [BZ #2551]
45755         [BZ #2552]
45756         [BZ #2553]
45757         [BZ #2554]
45758         [BZ #2562]
45759         [BZ #2563]
45760         [BZ #2565]
45761         [BZ #2566]
45762         [BZ #2576]
45763         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45764         (y0): Likewise.
45765         * math/w_j0f.c (j0f): Likewise.
45766         (y0f): Likewise.
45767         * math/w_j0l.c (__j0l): Likewise.
45768         (__y0l): Likewise.
45769         * math/w_j1.c (j1): Likewise.
45770         (y1): Likewise.
45771         * math/w_j1f.c (j1f): Likewise.
45772         (y1f): Likewise.
45773         * math/w_j1l.c (__j1l): Likewise.
45774         (__y1l): Likewise.
45775         * math/w_jn.c (jn): Likewise.
45776         (yn): Likewise.
45777         * math/w_jnf.c (jnf): Likewise.
45778         (ynf): Likewise.
45779         * math/w_jnl.c (__jnl): Likewise.
45780         (__ynl): Likewise.
45781         * math/libm-test.inc (j0_test): Add more tests.
45782         (j1_test): Likewise.
45783         (jn_test): Likewise.  Add trailing semicolon to existing test.
45784         (y0_test): Likewise.
45785         (y1_test): Likewise.
45786         * sysdeps/i386/fpu/libm-test-ulps: Update.
45787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45789         [BZ #13851]
45790         [BZ #13854]
45791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45792         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45793         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45795         (__tanl): Set errno for infinite argument.
45796         * sysdeps/i386/fpu/mptan.c: Remove.
45797         * sysdeps/i386/fpu/s_tan.S: Likewise.
45798         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45799         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45800         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45801         * math/libm-test.inc (tan_test): Add more tests and enable more
45802         tests for double and long double.
45803         * sysdeps/i386/fpu/libm-test-ulps: Update.
45804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45806 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45808         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45809         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45811 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45813         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45814         * configure.in: Use it for both main tree and add-ons.
45815         * configure: Regenerated.
45817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45819         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45824         in comment.
45826         [BZ #13851]
45827         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45828         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45832         infinite argument.
45833         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45835         != 0 for prec == 2.
45836         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45837         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45838         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45839         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45840         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45841         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45842         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45843         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45844         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45845         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45846         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45847         * math/libm-test.inc (cos_test): Add more tests and enable more
45848         tests for long double.
45849         (sin_test): Likewise.
45850         (sincos_test): Likewise.
45851         * sysdeps/i386/fpu/libm-test-ulps: Update.
45852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45854 2012-03-16  David S. Miller  <davem@davemloft.net>
45856         * sysdeps/sparc/fpu/math_private.h: New file.
45858 2012-03-15  David S. Miller  <davem@davemloft.net>
45860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45861         file.
45862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45864         file.
45865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45871         sysdep routines.
45872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45874         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45875         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45877         * sysdeps/sparc/sparc-ifunc.h: New file.
45878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45879         sparc-ifunc.h
45880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45882         Likewise.
45883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45884         Likewise.
45885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45889         Likewise.
45890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45895         Likewise.
45896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45897         Likewise.
45898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45920         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45923 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45925         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45926         scaling.
45927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45929 2012-03-15  Andreas Jaeger  <aj@suse.de>
45931         [BZ #13852]
45932         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45933         ieee754/flt-32 implementation for sin, cos and sincos.
45934         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45935         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45936         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45937         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45938         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45939         ieee754/flt-32 implementation for tan.
45941         * math/libm-test.inc (cos_test): Enable some large input tests for
45942         float as well
45943         (sin_test): Likewise.
45944         (sincos_test): Likewise.
45945         (tan_test): Add tests for large input.
45947         * sysdeps/i386/fpu/libm-test-ulps: Update.
45949 2012-03-15  Andreas Jaeger  <aj@suse.de>
45951         [BZ #13658]
45952         * math/libm-test.inc (cos_test): Add more test cases.
45953         (sin_test): Likewise.
45954         (sincos_test): Likewise.
45956 2012-03-15  Andreas Jaeger  <aj@suse.de>
45958         [BZ #13837]
45959         * math/libm-test.inc (cos_test): Add a test case for large input
45960         value.
45961         (sin_test): Likewise.
45962         (sincos_test): Likewise.
45964 2012-03-15  Andreas Jaeger  <aj@suse.de>
45965             Joseph Myers  <joseph@codesourcery.com>
45967         [BZ #13658]
45968         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45969         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45970         * sysdeps/i386/fpu/branred.c: Likewise.
45971         * sysdeps/i386/fpu/dosincos.c: Likewise.
45972         * sysdeps/i386/fpu/mpa.c: Likewise.
45973         * sysdeps/i386/fpu/s_cos.S: Likewise.
45974         * sysdeps/i386/fpu/s_sin.S: Likewise.
45975         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45976         * sysdeps/i386/fpu/sincos32.c: Likewise.
45978         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45979         Define.
45980         (libc_feupdateenv_53bit): Define.
45981         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45982         Define.
45983         (libc_feupdateenv_53bit): Define.
45985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45986         53 bit (without extend i386 double precision).
45988         * math/libm-test.inc (sincos_test): Add tests for large input.
45989         (sin): Likewise.
45990         (cos): Likewise.
45992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45998 2012-03-15  David S. Miller  <davem@davemloft.net>
46000         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46001         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46002         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46003         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46016         file.
46017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46019         file.
46020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46022         file.
46023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46025         file.
46026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46028         fmin/fmax sysdep routines.
46029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46031 2012-03-14  David S. Miller  <davem@davemloft.net>
46033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46062         routines.
46063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46064         file.
46065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46067         file.
46068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46070         file.
46071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46073         file.
46074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46076         file.
46077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46079         file.
46080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46081         file.
46082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46083         file.
46084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46085         file.
46086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46087         New file.
46088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46089         file.
46090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46091         file.
46092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46094         file.
46095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46097         file.
46098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46100         file.
46101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46103         VIS3 routines.
46105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46106         New file.
46108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46110         * sysdeps/sparc/configure.in: New file.
46111         * sysdeps/sparc/configure: Generate.
46112         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46113         * configure: Regenerate.
46114         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46115         * config.make.in (have-as-vis3): New.
46116         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46117         available use -Av9d instead of -Av9a.
46118         * sysdeps/sparc/sparc64/Makefile: Likewise.
46119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46121         New file.
46122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46123         file.
46124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46125         New file.
46126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46127         file.
46128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46134         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46135         fzeros/fnegs to load 0x80000000 into a float register instead of
46136         using the stack.
46137         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46139 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46142         bits/syscall.h.
46143         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46144         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46145         ($(inst_includedir)/bits/syscall.h): Remove rule.
46146         ($(objpfx)bits/syscall.d): Include instead of
46147         $(objpfx)syscall-list.d.
46148         (generated): Change syscall-list.h and syscall-list.d to
46149         bits/syscall.h and bits/syscall.d.
46151 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46153         [BZ #13846]
46154         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46158         [BZ #13841]
46159         * math/s_csqrt.c: Include <float.h>.
46160         (__csqrt): Scale large or subnormal inputs.
46161         * math/s_csqrtf.c: Likewise.
46162         * math/s_csqrtl.c: Likewise.
46163         * math/libm-test.inc (csqrt_test): Add more tests.
46164         * sysdeps/i386/fpu/libm-test-ulps: Update.
46165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46167         [BZ #13840]
46168         * math/libm-test.inc (hypot_test): Add more tests.
46170 2012-03-13  David S. Miller  <davem@davemloft.net>
46172         [BZ #13840]
46173         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46174         double-precision for the calculation instead of scaling.
46176 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46178         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46179         manipulate bits before adding and subtracting TWO52[sx].
46180         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46181         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46182         Likewise.
46183         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46185 2012-03-13  David S. Miller  <davem@davemloft.net>
46187         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46188         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46190         rtld-global-offsets.h
46191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46194         large parameters.
46196         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46198         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46199         'err' in the ifdef scope in which it is actually used.
46201         * nss/nss_db/db-init.c: Include string.h
46203 2012-03-12  David S. Miller  <davem@davemloft.net>
46205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46206         masking out of the most significant byte of random value used.
46207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46208         Fix coding style in previous change.
46210         * sysdeps/unix/sysv/linux/kernel-features.h
46211         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46212         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46213         expression.
46214         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46215         later.
46217 2012-03-11  David S. Miller  <davem@davemloft.net>
46219         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46220         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46222         for 'resultvar' otherwise things get truncated on 64-bit.
46224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46225         Fix masking out of the most significant byte of random value used.
46227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46229 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46233 2012-03-09  David S. Miller  <davem@davemloft.net>
46235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46236         variables with appropriate CPP guards.
46237         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46238         from the frame pointer, not the stack pointer.  Correct layout
46239         comments.  Fix test on resulting framesize and the management of
46240         the outregs buffer for pltexit.  Preserve floating point return
46241         values across _dl_call_pltexit call.
46242         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46243         framesize and the management of the outregs buffer for pltexit.
46244         Preserve floating point return values across _dl_call_pltexit
46245         call.
46246         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46247         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46248         (la_sparc64_gnu_pltexit): New functions.
46249         (print_exit): Fix format string for return register value.
46251 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46253         * sunrpc/Makefile (others): Add rpcgen.
46254         ($(objpfx)rpcgen): Remove special build rule and dependency on
46255         libc.
46256         * sunrpc/rpcgen.c: New file.
46258 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46260         [BZ #13673]
46261         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46262         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46263         * sysdeps/i386/crti.S: Likewise.
46264         * sysdeps/i386/crtn.S: Likewise.
46265         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46266         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46267         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46268         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46269         * sysdeps/sh/crti.S: Likewise.
46270         * sysdeps/sh/crtn.S: Likewise.
46271         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46273         [BZ #13673]
46274         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46275         with URL.
46276         * locale/programs/locfile-kw.gperf: Likewise.
46277         * locale/programs/charmap-kw.h: Regenerated.
46278         * locale/programs/locfile-kw.h: Likewise.
46280         [BZ #13673]
46281         * intl/plural.y: Replace FSF snail mail address with URL.
46282         * intl/plural.c: Regenerated.
46284 2012-03-09  Richard Henderson  <rth@twiddle.net>
46286         * include/math_private.h: Remove file.
46287         * math/math_private.h: Move file ...
46288         * sysdeps/generic/math_private.h: ... here.
46290         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46291         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46294         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46295         and <math_private.h>.
46296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46301         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46336         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46342         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46347         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46348         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46349         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46350         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46351         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46352         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46355         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46357         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46359         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46360         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46375         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46408         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46410         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46419         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46423         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46425         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46426         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46428         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46429         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46430         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46434         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46438         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46439         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46440         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46441         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46442         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46443         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46444         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46445         * sysdeps/ieee754/k_standard.c: Likewise.
46446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46452         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46463         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46465         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46467         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46472         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46473         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46474         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46476         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46477         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46478         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46479         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46502         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46503         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46504         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46505         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46506         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46522         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46525         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46557         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46559         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46560         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46562         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46571         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46583         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46585         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46592         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46594         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46595         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46597         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46600         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46601         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46602         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46603         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46605         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46606         * sysdeps/ieee754/s_lib_version.c: Likewise.
46607         * sysdeps/ieee754/s_matherr.c: Likewise.
46608         * sysdeps/ieee754/s_signgam.c: Likewise.
46609         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46610         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46611         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46612         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46613         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46615         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46616         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46617         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46618         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46620         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46623         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46633         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46634         * sunrpc/rpc_main.c: Likewise.
46635         * sunrpc/rpc_svcout.c: Likewise.
46637 2012-03-09  David S. Miller  <davem@davemloft.net>
46639         * include/math_private.h: New file.
46641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46643         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46644         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46645         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46646         from <bits/socket_type.h>.
46647         (enum __socket_type): Don't define here.
46648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46650         bits/socket_type.h.
46652         [BZ #13566]
46653         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46654         checking __USE_GNU.
46656         * Makerules ($(inst_includedir)/%.h): New rule.
46657         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46658         (install-others): Remove variable setting.
46659         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46661 2012-03-08  Richard Henderson  <rth@twiddle.net>
46663         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46664         from macro to inline function; merge with the
46665         !__LIBC_INTERNAL_MATH_INLINES version.
46666         (__ieee754_sqrtf): Likewise.
46668         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46669         to inline function.
46670         (__rintf, __floor, __floorf): Likewise.
46672         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46673         macro to inline function.
46674         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46677         not <math/math_private.h>.
46679 2012-03-08  David S. Miller  <davem@davemloft.net>
46681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46682         copyright year.
46683         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46685 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46687         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46688         normalization.
46689         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46690         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46692 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46694         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46695         be defined individually, they must be defined as a block.  Define
46696         S for printing a string instead of hidint the different by using a
46697         macro for adding the 'l'.
46698         * stdio-common/tst-fphex-wide.c: Adjust.
46700 2012-03-07  Marek Polacek  <polacek@redhat.com>
46702         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46704 2012-03-08  Marek Polacek  <polacek@redhat.com>
46706         [BZ #13806]
46707         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46708         * stdio-common/tst-fphex.c: Define a few macros to make the
46709         test reusable.  Use them.
46710         * stdio-common/tst-fphex-wide.c: New file.
46712 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46714         [BZ #6911]
46715         * manual/macros.texi (gnusystems): New macro.
46716         (nongnusystems): Likewise.
46717         (gnulinuxhurdsystems): Likewise.
46718         (gnuhurdsystems): Likewise..
46719         (gnulinuxsystems): Likewise.
46720         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46721         variants of the GNU system, not "GNU system".
46722         * manual/conf.texi: Likewise.
46723         * manual/errno.texi: Likewise.  Update example of errno macro
46724         expansion.
46725         * manual/filesys.texi: Likewise.
46726         (getumask): Document as specific to GNU/Hurd.
46727         * manual/install.texi: Likewise.  Reword some references to
46728         GNU/Linux.
46729         * manual/intro.texi: Likewise.
46730         * manual/io.texi: Likewise.
46731         (File Name Portability): Detail which constraints are inapplicable
46732         to all GNU systems and which are only inapplicable to GNU/Hurd.
46733         * manual/job.texi: Likewise.
46734         * manual/llio.texi: Likewise.
46735         (O_NOCTTY): Document as present on GNU/Linux.
46736         * manual/maint.texi: Likewise.
46737         * manual/memory.texi: Likewise.
46738         * manual/pattern.texi: Likewise.
46739         * manual/pipe.texi: Likewise.
46740         * manual/process.texi: Likewise.
46741         * manual/resource.texi: Likewise.
46742         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46743         child on GNU/Hurd.
46744         * manual/setjmp.texi: Likewise.
46745         * manual/signal.texi: Likewise.
46746         * manual/startup.texi: Likewise.
46747         * manual/stdio.texi: Likewise.
46748         * manual/terminal.texi: Likewise.
46749         (ONLCR): Document as POSIX.
46750         (OXTABS): Document availability on GNU/Linux as XTABS.
46751         (ONOEOT): Document availability separately from other bits.
46752         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46753         * manual/time.texi: Likewise.
46754         * manual/users.texi: Likewise.
46755         * INSTALL: Regenerated.
46756         * sysdeps/gnu/errlist.c: Regenerated.
46758         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46759         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46760         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46761         puts.
46762         * configure: Regenerated.
46764 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46766         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46767         default includes instead of AC_HEADER_CHECK.
46768         * sysdeps/i386/configure: Regenerated.
46770         [BZ #10716]
46771         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46772         * math/s_cacoshf.c (__cacoshf): Likewise.
46773         * math/s_cacoshl.c (__cacoshl): Likewise.
46774         * math/s_casinh.c (__casinh): Set signs of result from argument.
46775         * math/s_casinhf.c (__casinhf): Likewise.
46776         * math/s_casinhl.c (__casinhl): Likewise.
46777         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46778         (casinh_test): Add more tests.
46779         * sysdeps/i386/fpu/libm-test-ulps: Update.
46780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46782 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46784         * po/zh_TW.po: Update from translation team.
46786         * login/Makefile (distribute): Remove variable.
46787         * catgets/Makefile: Likewise.
46788         * mach/Makefile: Likewise.
46789         * malloc/Makefile: Likewise.
46790         * misc/Makefile: Likewise.
46791         * iconv/Makefile: Likewise.
46792         * nscd/Makefile: Likewise.
46793         * hurd/Makefile: Likewise.
46794         * manual/Makefile: Likewise.
46795         * locale/Makefile: Likewise.
46796         * intl/Makefile: Likewise.
46797         * conform/Makefile: Likewise.
46798         * nss/Makefile: Likewise.
46799         * time/Makefile: Likewise.
46800         * soft-fp/Makefile: Likewise.
46801         * dirent/Makefile: Likewise.
46802         * gmon/Makefile: Likewise.
46803         * po/Makefile: Likewise.
46804         * rt/Makefile: Likewise.
46805         * socket/Makefile: Likewise.
46806         * math/Makefile: Likewise.
46807         * signal/Makefile: Likewise.
46808         * debug/Makefile: Likewise.
46809         * elf/Makefile: Likewise.
46810         * timezone/Makefile: Likewise.
46811         * stdlib/Makefile: Likewise.
46812         * iconvdata/Makefile: Likewise.
46813         * sunrpc/Makefile: Likewise.
46814         * io/Makefile: Likewise.
46815         * argp/Makefile: Likewise.
46816         * inet/Makefile: Likewise.
46817         * hesiod/Makefile: Likewise.
46818         * grp/Makefile: Likewise.
46819         * csu/Makefile: Likewise.
46820         * wctype/Makefile: Likewise.
46821         * crypt/Makefile: Likewise.
46822         * libio/Makefile: Likewise.
46823         * string/Makefile: Likewise.
46824         * nis/Makefile: Likewise.
46825         * resolv/Makefile: Likewise.
46826         * stdio-common/Makefile: Likewise.
46827         * wcsmbs/Makefile: Likewise.
46828         * dlfcn/Makefile: Likewise.
46829         * posix/Makefile: Likewise.
46831         [BZ #6959]
46832         * timezone/Makefile: Don't install timezone files, just the programs
46833         and scripts.
46835 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46837         * nss/databases.def: Add missing gshadow entry.
46839         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46841 2012-03-06  Marek Polacek  <polacek@redhat.com>
46843         [BZ #13726]
46844         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46845         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46846         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46847         * stdio-common/tst-long-dbl-fphex.c: New file.
46849 2012-03-06  David S. Miller  <davem@davemloft.net>
46851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46852         (set_obp_int): New function.
46853         (get_obp_int): New function.
46854         (__get_clockfreq_via_dev_openprom): Likewise.
46855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46856         Avoid unused variable warnings on 'val' and use builtin_expect.
46857         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46858         __builtin_expect.
46859         (INLINE_CLONE_SYSCALL): Likewise.
46861 2012-03-05  David S. Miller  <davem@davemloft.net>
46863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46865 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46870         only for |x| >= 40.
46871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46873 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46876         Replace gettimeofday with __vdso_gettimeofday.
46878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46879         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46880         __vdso_clock_gettime and __vdso_getcpu.
46882         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46883         time with __vdso_time.
46885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46887         * manual/lang.texi (size_t): Note types to which size_t may be
46888         equivalent with the GNU C Library, but do not describe when
46889         differences between them are significant.
46891 2012-03-05  Andreas Jaeger  <aj@suse.de>
46893         * sysdeps/i386/fpu/libm-test-ulps: Update.
46895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46897         [BZ #3976]
46898         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46899         (__ieee754_pow): Save and restore rounding mode and use
46900         round-to-nearest for main computations.
46901         * math/libm-test.inc (pow_test_tonearest): New function.
46902         (pow_test_towardzero): Likewise.
46903         (pow_test_downward): Likewise.
46904         (pow_test_upward): Likewise.
46905         (main): Call the new functions.
46906         * sysdeps/i386/fpu/libm-test-ulps: Update.
46907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46909         [BZ #3976]
46910         * math/libm-test.inc (cosh_test_tonearest): New function.
46911         (cosh_test_towardzero): Likewise.
46912         (cosh_test_downward): Likewise.
46913         (cosh_test_upward): Likewise.
46914         (sinh_test_tonearest): Likewise.
46915         (sinh_test_towardzero): Likewise.
46916         (sinh_test_downward): Likewise.
46917         (sinh_test_upward): Likewise.
46918         (main): Call the new functions.
46919         * sysdeps/i386/fpu/libm-test-ulps: Update.
46920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46922 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46924         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46925         default stack guard is set in last bytes.
46926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46928 2012-03-05  Kees Cook  <keescook@chromium.org>
46930         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46932         [BZ #13656]
46933         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46934         possibly allocate from heap instead of stack.
46935         * stdio-common/bug-vfprintf-nargs.c: New file.
46936         * stdio-common/Makefile (tests): Add nargs overflow test.
46938 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46942 2012-03-03  Marek Polacek  <polacek@redhat.com>
46944         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46945         * math/math_private.h: Likewise.
46946         * stdlib/tst-strtod.c: Likewise.
46947         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46948         * sysdeps/x86_64/bits/atomic.h: Likewise.
46950 2012-03-02  David S. Miller  <davem@davemloft.net>
46952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46956         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46957         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46958         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46959         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46961 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46963         [BZ #13792]
46964         * manual/examples/README: New file, says the example source files
46965         can be used under GPL>=2.
46966         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46967         line containing just "*/".
46968         * manual/examples/add.c: Add copyright header (GPL>=2).
46969         * manual/examples/argp-ex1.c: Likewise.
46970         * manual/examples/argp-ex2.c: Likewise.
46971         * manual/examples/argp-ex3.c: Likewise.
46972         * manual/examples/argp-ex4.c: Likewise.
46973         * manual/examples/atexit.c: Likewise.
46974         * manual/examples/db.c: Likewise.
46975         * manual/examples/dir.c: Likewise.
46976         * manual/examples/dir2.c: Likewise.
46977         * manual/examples/execinfo.c: Likewise.
46978         * manual/examples/filecli.c: Likewise.
46979         * manual/examples/filesrv.c: Likewise.
46980         * manual/examples/fmtmsgexpl.c: Likewise.
46981         * manual/examples/genpass.c: Likewise.
46982         * manual/examples/inetcli.c: Likewise.
46983         * manual/examples/inetsrv.c: Likewise.
46984         * manual/examples/isockad.c: Likewise.
46985         * manual/examples/longopt.c: Likewise.
46986         * manual/examples/memopen.c: Likewise.
46987         * manual/examples/memstrm.c: Likewise.
46988         * manual/examples/mkfsock.c: Likewise.
46989         * manual/examples/mkisock.c: Likewise.
46990         * manual/examples/mygetpass.c: Likewise.
46991         * manual/examples/pipe.c: Likewise.
46992         * manual/examples/popen.c: Likewise.
46993         * manual/examples/rprintf.c: Likewise.
46994         * manual/examples/search.c: Likewise.
46995         * manual/examples/select.c: Likewise.
46996         * manual/examples/setjmp.c: Likewise.
46997         * manual/examples/sigh1.c: Likewise.
46998         * manual/examples/sigusr.c: Likewise.
46999         * manual/examples/stpcpy.c: Likewise.
47000         * manual/examples/strdupa.c: Likewise.
47001         * manual/examples/strftim.c: Likewise.
47002         * manual/examples/strncat.c: Likewise.
47003         * manual/examples/subopt.c: Likewise.
47004         * manual/examples/swapcontext.c: Likewise.
47005         * manual/examples/termios.c: Likewise.
47006         * manual/examples/testopt.c: Likewise.
47007         * manual/examples/testpass.c: Likewise.
47008         * manual/examples/timeval_subtract.c: Likewise.
47010         [BZ #13792]
47011         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47012         function to ...
47013         * manual/timeval_subtract.c.texi: ... here, new file.
47015 2012-03-02  David S. Miller  <davem@davemloft.net>
47017         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47019 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47021         [BZ #3976]
47022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47023         (__sin): Save and restore rounding mode and use round-to-nearest
47024         for all computations.
47025         (__cos): Save and restore rounding mode and use round-to-nearest
47026         for all computations.
47027         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47028         <fenv.h>.
47029         (tan): Save and restore rounding mode and use round-to-nearest for
47030         all computations.
47031         * math/libm-test.inc (cos_test_tonearest): New function.
47032         (cos_test_towardzero): Likewise.
47033         (cos_test_downward): Likewise.
47034         (cos_test_upward): Likewise.
47035         (sin_test_tonearest): Likewise.
47036         (sin_test_towardzero): Likewise.
47037         (sin_test_downward): Likewise.
47038         (sin_test_upward): Likewise.
47039         (tan_test_tonearest): Likewise.
47040         (tan_test_towardzero): Likewise.
47041         (tan_test_downward): Likewise.
47042         (tan_test_upward): Likewise.
47043         (main): Call the new functions.
47044         * sysdeps/i386/fpu/libm-test-ulps: Update.
47045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47047         [BZ #10135]
47048         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47049         small n, then large n, before computing and testing k+n.
47050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47052         Likewise.
47053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47054         Likewise.
47055         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47056         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47063         * math/libm-test.inc (scalbn_test): Add more tests.
47064         (scalbln_test): Likewise.
47066         * manual/filesys.texi (mode_t): Describe constraints on size and
47067         signedness, not exact equivalence to a particular type.
47068         (ino_t): Likewise.
47069         (ino64_t): Likewise.
47070         (dev_t): Likewise.
47071         (nlink_t): Likewise.
47072         (blkcnt_t): Likewise.
47073         (blkcnt64_t): Likewise.
47074         * manual/llio.texi (off_t): Likewise.
47076         [BZ #3976]
47077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47078         (__ieee754_exp): Save and restore rounding mode and use
47079         round-to-nearest for all computations.
47080         * math/libm-test.inc (exp_test_tonearest): New function.
47081         (exp_test_towardzero): Likewise.
47082         (exp_test_downward): Likewise.
47083         (exp_test_upward): Likewise.
47084         (main): Call the new functions.
47085         * sysdeps/i386/fpu/libm-test-ulps: Update.
47086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47088 2012-03-01  Chris Demetriou  <cgd@google.com>
47090         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47091         have predictable order.
47093 2012-03-01  David S. Miller  <davem@davemloft.net>
47095         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47097         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47098         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47099         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47100         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47102         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47103         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47104         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47106         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47107         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47108         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47109         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47110         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47115         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47118         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47119         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47121         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47122         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47123         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47125         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47126         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47134         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47135         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47136         * sysdeps/sparc/elf/configure: Regenerated.
47138 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47140         * configure.in (AS, LD): Require binutils 2.20 or later.
47141         * configure: Regenerated.
47142         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47143         as required minimum version.
47144         * INSTALL: Regenerated.
47146         [BZ #2541]
47147         [BZ #4108]
47148         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47149         before squaring exponent.
47150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47151         bottom long double and 27 bits of top long double before squaring
47152         exponent.
47153         * math/libm-test.inc (erfc_test): Add more tests.
47154         * sysdeps/i386/fpu/libm-test-ulps: Update.
47155         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47158 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47160         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47161         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47162         containing bit-fields.
47163         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47164         * soft-fp/single.h (_FP_UNION_S): Likewise.
47165         * soft-fp/double.h (_FP_UNION_D): Likewise.
47167 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47169         [BZ #13786]
47170         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47171         not include ../strcmp.S.
47172         [USE_AS_STRNCASECMP_L]: Likewise.
47173         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47174         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47175         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47176         (__strncasecmp_l_ia32): Define as alias to
47177         __strncasecmp_l_nonascii.
47179         [BZ #5794]
47180         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47181         * sysdeps/i386/fpu/libm-test-ulps: Update.
47182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47184         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47187 2012-02-29  Jeff Law  <law@redhat.com>
47189         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47190         out of bounds read.
47192 2012-02-29  Marek Polacek  <polacek@redhat.com>
47194         [BZ #13706]
47195         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47196         * elf/Makefile: Add rules to run tst-unused-dep.out.
47198 2012-02-28  David S. Miller  <davem@davemloft.net>
47200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47207 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47209         * math/libm-test.inc (llround_test): Move one test from
47210         lround_test.  Use TEST_f_L in moved test.
47211         (lround_test): Move misplaced test to llround_test.  Add testcase
47212         from bug 2561.
47214 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47216         * sysdeps/x86_64/fpu/e_expf.S: New file.
47217         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47219 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47221         [BZ #13637]
47222         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47223         of remain_len that may cause incomplete multi-byte character and
47224         false match.
47225         * posix/bug-regex33.c: New file.
47226         * posix/Makefile (tests): Add bug-regex33.
47228 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47230         * manual/macros.texi: New file.
47231         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47232         * manual/libc.texinfo: Include macros.texi.
47233         * manual/creatute.texi: Likewise.
47234         * manual/install.texi: Likewise.
47235         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47236         @glibcadj{} in references to the GNU C Library.
47237         * manual/charset.texi: Likewise.
47238         * manual/conf.texi: Likewise.
47239         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47240         when not using those macros.
47241         * manual/creature.texi: Likewise.
47242         * manual/crypt.texi: Likewise.
47243         * manual/errno.texi: Likewise.
47244         * manual/filesys.texi: Likewise.
47245         * manual/header.texi: Likewise.
47246         * manual/install.texi: Likewise.
47247         * manual/intro.texi: Likewise.
47248         * manual/io.texi: Likewise.
47249         * manual/job.texi: Likewise.
47250         * manual/lang.texi: Likewise.
47251         * manual/libc.texiinfo: Likewise.
47252         * manual/llio.texi: Likewise.
47253         * manual/locale.texi: Likewise.
47254         * manual/maint.texi: Likewise.
47255         * manual/math.texi: Likewise.
47256         * manual/memory.texi: Likewise.
47257         * manual/message.texi: Likewise.
47258         * manual/nss.texi: Likewise.
47259         * manual/pattern.texi: Likewise.
47260         * manual/process.texi: Likewise.
47261         * manual/resource.texi: Likewise.
47262         * manual/search.texi: Likewise.
47263         * manual/setjmp.texi: Likewise.
47264         * manual/signal.texi: Likewise.
47265         * manual/socket.texi: Likewise.
47266         * manual/startup.texi: Likewise.
47267         * manual/stdio.texi: Likewise.
47268         * manual/string.texi: Likewise.
47269         * manual/sysinfo.texi: Likewise.
47270         * manual/syslog.texi: Likewise.
47271         * manual/terminal.texi: Likewise.
47272         * manual/time.texi: Likewise.
47273         * manual/users.texi: Likewise.
47274         * INSTALL: Regenerated.
47275         * NOTES: Regenerated.
47276         * sysdeps/gnu/errlist.c: Regenerated.
47278 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47280         * include/dirent.h: Include <dirstream.h> before
47281         <dirent/dirent.h>.
47283 2012-02-28  David S. Miller  <davem@davemloft.net>
47285         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47286         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47287         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47290 2012-02-27  David S. Miller  <davem@davemloft.net>
47292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47294         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47295         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47298         frame pointer instead of stack pointer relative arg slot.
47299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47303 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47305         [BZ #3992]
47306         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47308 2012-02-27  David S. Miller  <davem@davemloft.net>
47310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47316         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47317         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47321         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47322         later.  Allow versions 5-9.
47323         * configure: Regenerated.
47324         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47325         required minimum version and 4.6 as recommended version.  Do not
47326         mention bugs in GCC 2.7 and 2.8.
47327         * INSTALL: Regenerated.
47329 2012-02-27  David S. Miller  <davem@davemloft.net>
47331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47337         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47338         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47341         manipulate bits before adding and subtracting TWO112[sx].
47342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47344 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47346         [BZ #13775]
47347         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47348         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47349         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47350         being in POSIX, because they are in 1003.1-2008.
47352         * rt/tst-aio.c: Include <fcntl.h>.
47353         * rt/tst-aio7.c: Likewise.
47354         * rt/tst-aio64.c: Likewise.
47356         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47358 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47360         * manual/install.texi (--with-headers): Describe headers as
47361         interface headers, not private headers.
47362         (Specific advice for GNU/Linux systems): Describe use of headers
47363         from "make headers_install", not private headers from older
47364         kernels.
47365         * INSTALL: Regenerated.
47366         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47367         Change to 2.6.19.
47368         * sysdeps/unix/sysv/linux/configure: Regenerated.
47370         * manual/llio.texi (fclean): Remove documentation.
47372         * manual/Makefile (libc-texi-generated): New variable.  Include
47373         version.texi.
47374         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47375         $(libc-texi-generated), not duplicated list of files.
47376         (version.texi, stamp-version): New rules.
47377         (realclean): Remove $(libc-texi-generated), not individual files
47378         from that list.  Do not remove dir-add.texinfo.
47379         * manual/libc.texinfo: Comment out uses of edition numbers and
47380         references to printed manual.  Remove last-updated dates.
47381         (EDITION): Comment out.
47382         (ISBN): Likewise.
47383         (VERSION, UPDATED): Remove.
47384         (version.texi): Include.
47386 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47388         * sysdeps/posix/spawni.c: Include <signal.h>.
47389         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47390         * sysdeps/pthread/aio_fsync.c: Likewise.
47392 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47394         * conform/Makefile (tests): Run only when not cross-compiling and
47395         when fast-check is not defined.
47397         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47398         * conform/data/limits.h-data: Fixes for POSIX2008.
47399         * conform/run-conformtest.sh: Run all tests.
47400         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47401         headers.
47402         * include/bits/dlfcn.h: Likewise.
47403         * include/langinfo.h: Likewise.
47404         * include/monetary.h: Likewise.
47405         * include/sys/poll.h: Likewise.
47407         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47408         for __USE_GNU.
47409         * posix/spawn.h: Define __need_sigset_t.
47410         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47411         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47412         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47413         to get sigevent_t only.
47414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47415         only for __USE_GNU.
47416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47417         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47418         process_vm_writev only for __USE_GNU.
47419         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47421         * conform/Makefile: For now ignore errors from run-conformtest.
47422         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47423         POSIX to avoid namespace pollution.  Don't prepend headers.
47424         * conform/data/aio.h-data: Fixes for POSIX testing.
47425         * conform/data/fcntl.h-data: Likewise.
47426         * conform/data/glob.h-data: Likewise.
47427         * conform/data/grp.h-data: Likewise.
47428         * conform/data/pthread.h-data: Likewise.
47429         * conform/data/pwd.h-data: Likewise.
47430         * conform/data/signal.h-data: Likewise.
47431         * conform/data/spawn.h-data: Likewise.
47432         * conform/data/stdio.h-data: Likewise.
47433         * conform/data/stdlib.h-data: Likewise.
47434         * conform/data/stropts.h-data: Likewise.
47435         * conform/data/sys/mman.h-data: Likewise.
47436         * conform/data/sys/stat.h-data: Likewise.
47437         * conform/data/sys/types.h-data: Likewise.
47438         * conform/data/sys/wait.h-data: Likewise.
47439         * conform/data/time.h-data: Likewise.
47440         * conform/data/unistd.h-data: Likewise.
47441         * conform/data/utime.h-data: Likewise.
47443         * io/sys/stat.h: fchmod was always in POSIX.
47444         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47445         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47446         * rt/aio.h: Define __need_timespec before including <time.h>.
47447         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47448         struct.  Add forward declaration of pthread_attr_t and use it in
47449         sigevent.
47450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47452         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47453         always remove CLK_TCK definition.
47455 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47457         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47459 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47461         * conform/run-conformtest.sh: New file.
47462         * conform/Makefile: Run run-conformtest for tests.
47463         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47464         support.
47466         * conform/data/uchar.h-data: New file.
47467         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47468         * conform/data/arpa/inet.h-data: Likewise.
47469         * conform/data/assert.h-data: Likewise.
47470         * conform/data/complex.h-data: Likewise.
47471         * conform/data/cpio.h-data: Likewise.
47472         * conform/data/ctype.h-data: Likewise.
47473         * conform/data/dirent.h-data: Likewise.
47474         * conform/data/dlfcn.h-data: Likewise.
47475         * conform/data/errno.h-data: Likewise.
47476         * conform/data/fcntl.h-data: Likewise.
47477         * conform/data/float.h-data: Likewise.
47478         * conform/data/fmtmsg.h-data: Likewise.
47479         * conform/data/fnmatch.h-data: Likewise.
47480         * conform/data/ftw.h-data: Likewise.
47481         * conform/data/glob.h-data: Likewise.
47482         * conform/data/grp.h-data: Likewise.
47483         * conform/data/iconv.h-data: Likewise.
47484         * conform/data/inttypes.h-data: Likewise.
47485         * conform/data/langinfo.h-data: Likewise.
47486         * conform/data/libgen.h-data: Likewise.
47487         * conform/data/limits.h-data: Likewise.
47488         * conform/data/locale.h-data: Likewise.
47489         * conform/data/math.h-data: Likewise.
47490         * conform/data/monetary.h-data: Likewise.
47491         * conform/data/mqueue.h-data: Likewise.
47492         * conform/data/ndbm.h-data: Likewise.
47493         * conform/data/net/if.h-data: Likewise.
47494         * conform/data/netdb.h-data: Likewise.
47495         * conform/data/netinet/in.h-data: Likewise.
47496         * conform/data/nl_types.h-data: Likewise.
47497         * conform/data/poll.h-data: Likewise.
47498         * conform/data/pthread.h-data: Likewise.
47499         * conform/data/pwd.h-data: Likewise.
47500         * conform/data/regex.h-data: Likewise.
47501         * conform/data/sched.h-data: Likewise.
47502         * conform/data/search.h-data: Likewise.
47503         * conform/data/semaphore.h-data: Likewise.
47504         * conform/data/setjmp.h-data: Likewise.
47505         * conform/data/signal.h-data: Likewise.
47506         * conform/data/spawn.h-data: Likewise.
47507         * conform/data/stdarg.h-data: Likewise.
47508         * conform/data/stdio.h-data: Likewise.
47509         * conform/data/stdlib.h-data: Likewise.
47510         * conform/data/string.h-data: Likewise.
47511         * conform/data/strings.h-data: Likewise.
47512         * conform/data/stropts.h-data: Likewise.
47513         * conform/data/sys/ipc.h-data: Likewise.
47514         * conform/data/sys/mman.h-data: Likewise.
47515         * conform/data/sys/msg.h-data: Likewise.
47516         * conform/data/sys/resource.h-data: Likewise.
47517         * conform/data/sys/select.h-data: Likewise.
47518         * conform/data/sys/sem.h-data: Likewise.
47519         * conform/data/sys/shm.h-data: Likewise.
47520         * conform/data/sys/socket.h-data: Likewise.
47521         * conform/data/sys/stat.h-data: Likewise.
47522         * conform/data/sys/statvfs.h-data: Likewise.
47523         * conform/data/sys/time.h-data: Likewise.
47524         * conform/data/sys/timeb.h-data: Likewise.
47525         * conform/data/sys/times.h-data: Likewise.
47526         * conform/data/sys/types.h-data: Likewise.
47527         * conform/data/sys/uio.h-data: Likewise.
47528         * conform/data/sys/un.h-data: Likewise.
47529         * conform/data/sys/utsname.h-data: Likewise.
47530         * conform/data/sys/wait.h-data: Likewise.
47531         * conform/data/syslog.h-data: Likewise.
47532         * conform/data/tar.h-data: Likewise.
47533         * conform/data/termios.h-data: Likewise.
47534         * conform/data/utime.h-data: Likewise.
47535         * conform/data/utmpx.h-data: Likewise.
47536         * conform/data/varargs.h-data: Likewise.
47537         * conform/data/wchar.h-data: Likewise.
47538         * conform/data/wctype.h-data: Likewise.
47539         * conform/data/wordexp.h-data: Likewise.
47541         * include/stropts.h: New file.
47542         * include/uchar.h: New file.
47543         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47544         * include/assert.h: Likewise.
47545         * include/ctype.h: Likewise.
47546         * include/dirent.h: Likewise.
47547         * include/dlfcn.h: Likewise.
47548         * include/fcntl.h: Likewise.
47549         * include/fnmatch.h: Likewise.
47550         * include/glob.h: Likewise.
47551         * include/grp.h: Likewise.
47552         * include/libio.h: Likewise.
47553         * include/locale.h: Likewise.
47554         * include/math.h: Likewise.
47555         * include/net/if.h: Likewise.
47556         * include/netdb.h: Likewise.
47557         * include/netinet/in.h: Likewise.
47558         * include/pthread.h: Likewise.
47559         * include/pwd.h: Likewise.
47560         * include/regex.h: Likewise.
47561         * include/sched.h: Likewise.
47562         * include/search.h: Likewise.
47563         * include/setjmp.h: Likewise.
47564         * include/signal.h: Likewise.
47565         * include/stdio.h: Likewise.
47566         * include/stdlib.h: Likewise.
47567         * include/string.h: Likewise.
47568         * include/sys/cdefs.h: Likewise.
47569         * include/sys/mman.h: Likewise.
47570         * include/sys/msg.h: Likewise.
47571         * include/sys/resource.h: Likewise.
47572         * include/sys/select.h: Likewise.
47573         * include/sys/socket.h: Likewise.
47574         * include/sys/stat.h: Likewise.
47575         * include/sys/statvfs.h: Likewise.
47576         * include/sys/time.h: Likewise.
47577         * include/sys/times.h: Likewise.
47578         * include/sys/uio.h: Likewise.
47579         * include/sys/utsname.h: Likewise.
47580         * include/sys/wait.h: Likewise.
47581         * include/termios.h: Likewise.
47582         * include/time.h: Likewise.
47583         * include/ulimit.h: Likewise.
47584         * include/unistd.h: Likewise.
47585         * include/utime.h: Likewise.
47586         * include/wchar.h: Likewise.
47587         * include/wctype.h: Likewise.
47588         * include/wordexp.h: Likewise.
47590         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47592         * time/time.h: TIME_UTC must be a macro.
47593         Make timespec_get available for ISO C11 only as well.
47595 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47597         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47598         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47602         * configure.in: Use -o not -a in test for unsupported multi-arch.
47604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47606         * manual/texinfo.tex: Update to version 2012-01-19.16.
47608 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47610         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47612 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47614         [BZ #13738]
47615         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47616         * manual/fdl-1.3.texi: New file.
47617         * manual/fdl-1.1.texi: File removed.
47619         [BZ #13738]
47620         * manual/libc.texinfo (FDL_VERSION): New @set.
47621         Use it for mention of FDL in cover text.
47622         (Documentation License): Use it in @include file name.
47624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47625             Roland McGrath  <roland@hack.frob.com>
47627         [BZ #5461]
47628         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47629         (not LONG_LONG_MAX and LONG_LONG_MIN.
47630         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47631         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47632         name.
47633         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47637         [BZ #2547]
47638         [BZ #11365]
47639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47640         manipulate bits before adding and subtracting TWO23[sx].
47641         * math/libm-test.inc (nearbyint_test): Add more tests.
47643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47645         [BZ #2548]
47646         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47647         bits before adding and subtracting TWO23[sx].
47648         * math/libm-test.inc (rint_test): Add more tests.
47649         (rint_test_tonearest): Likewise.
47650         (rint_test_towardzero): Likewise.
47651         (rint_test_downward): Likewise.
47652         (rint_test_upward: Likewise.
47654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47656         [BZ #10110]
47657         * include/stdc-predef.h: New file.  Extracted from features.h.
47658         * include/features.h: Include stdc-predef.h.
47659         * Makefile (headers): Add stdc-predef.h.
47660         * CONFORMANCE (Compiler limitations): Update.
47662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47664         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47666 2012-02-21  David S. Miller  <davem@davemloft.net>
47668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47671 2012-02-20  David S. Miller  <davem@davemloft.net>
47673         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47674         using a normal save/restore sequence, rather than allocating a
47675         dummy stack frame just to store a frame pointer and restore.
47676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47678 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47680         * manual/install.texi: Fix stray word in line-wrapped comment.
47682 2012-02-20  David S. Miller  <davem@davemloft.net>
47684         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47685         both binutils and gcc support GOTDATA.
47687         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47688         "rd %pc" in the PIC register setup sequences.
47690         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47693         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47694         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47699         (SYSCALL_ERROR_HANDLER): Likewise.
47700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47701         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47703         (SYSCALL_ERROR_HANDLER): Likewise.
47705         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47706         (HAVE_GCC_GOTDATA): New.
47707         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47708         relocation support in both binutils and gcc.
47709         * sysdeps/sparc/elf/configure: Regenerate.
47711         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47712         * sysdeps/sparc/sparc32/elf/configure: Delete.
47713         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47714         * sysdeps/sparc/sparc64/elf/configure: Delete.
47715         * sysdeps/sparc/elf/configure.in: New file.
47716         * sysdeps/sparc/elf/configure: Generate.
47718         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47719         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47720         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47721         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47722         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47726         * manual/install.texi: Do not mention specific glibc version
47727         numbers.
47728         * manual/libc.texinfo (VERSION, UPDATED): Update.
47729         (@copying): Use @copyright{} and range of years.
47731 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47733         [BZ #13695]
47734         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47735         [crti.S not in sysdirs] (generated): Do not append.
47736         [crti.S not in sysdirs] (omit-deps): Likewise.
47737         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47738         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47739         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47740         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47741         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47742         Likewise.
47743         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47744         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47745         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47746         * csu/defs.awk: Remove file.
47747         * sysdeps/generic/initfini.c: Likewise.
47748         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47749         variable.
47750         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47751         Likewise.
47753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47755         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47756         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47757         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47760         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47761         <bits/epoll.h>.
47762         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47763         (__EPOLL_PACKED): Define to empty if not defined by
47764         <bits/epoll.h>.
47765         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47767         bits/epoll.h.
47769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47771         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47772         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47775         <bits/timerfd.h>.
47776         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47778         bits/timerfd.h.
47780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47782         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47783         in C locale.
47784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47789 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47794 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47796         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47797         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47798         defined.
47799         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47800         Likewise.
47801         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47802         entry for 2.16.
47804 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47806         * math/w_acos.c: Use non-signaling floating-point comparisons.
47807         * math/w_acosf.c: Likewise.
47808         * math/w_acosh.c: Likewise.
47809         * math/w_acoshf.c: Likewise.
47810         * math/w_acoshl.c: Likewise.
47811         * math/w_acosl.c: Likewise.
47812         * math/w_asin.c: Likewise.
47813         * math/w_asinf.c: Likewise.
47814         * math/w_asinl.c: Likewise.
47815         * math/w_atanh.c: Likewise.
47816         * math/w_atanhf.c: Likewise.
47817         * math/w_atanhl.c: Likewise.
47818         * math/w_exp2.c: Likewise.
47819         * math/w_exp2f.c: Likewise.
47820         * math/w_exp2l.c: Likewise.
47821         * math/w_j0.c: Likewise.
47822         * math/w_j0f.c: Likewise.
47823         * math/w_j0l.c: Likewise.
47824         * math/w_j1.c: Likewise.
47825         * math/w_j1f.c: Likewise.
47826         * math/w_j1l.c: Likewise.
47827         * math/w_jn.c: Likewise.
47828         * math/w_jnf.c: Likewise.
47829         * math/w_log.c: Likewise.
47830         * math/w_log10.c: Likewise.
47831         * math/w_log10f.c: Likewise.
47832         * math/w_log10l.c: Likewise.
47833         * math/w_log2.c: Likewise.
47834         * math/w_log2f.c: Likewise.
47835         * math/w_log2l.c: Likewise.
47836         * math/w_logf.c: Likewise.
47837         * math/w_logl.c: Likewise.
47838         * math/w_sqrt.c: Likewise.
47839         * math/w_sqrtf.c: Likewise.
47840         * math/w_sqrtl.c: Likewise.
47841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47842         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47844         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47845         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47849         [BZ #9739]
47850         * manual/string.texi (strnlen): Use correct parameter name in
47851         equivalent expression.
47853 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47855         [BZ #11174]
47856         * manual/users.texi (seteuid): Consistently use neweuid for
47857         argument name.
47859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47861         [BZ #13704]
47862         * manual/nss.texi (Services in the NSS configuration): Correct
47863         list of services in example configuration file.
47865 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47867         [BZ #11322]
47868         * manual/arith.texi: Remove statements about negative zero
47869         behaving identically to zero.
47871 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47873         [BZ #5993]
47874         * manual/install.texi: Do not document upgrading from libc5.
47876 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47878         [BZ #4596]
47879         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47881 2012-02-18  David S. Miller  <davem@davemloft.net>
47883         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47884         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47885         %o7 across the call.
47886         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47887         instead.
47888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47889         SETUP_PIC_REG_LEAF.
47890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47891         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47892         * sysdeps/sparc/crtn.S: Likewise.
47894 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47896         * aout/Makefile: Remove.
47898 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47900         [BZ #13058]
47901         * manual/examples/argp-ex1.c (main): Format definition in GNU
47902         style.
47903         * manual/examples/argp-ex2.c (main): Likewise.
47904         * manual/examples/argp-ex3.c (main): Likewise.
47905         * manual/examples/argp-ex4.c (main): Likewise.
47906         * manual/examples/longopt.c (main): Use new-style prototype
47907         definition.
47908         * manual/examples/strncat.c (main): Specify return type and use
47909         (void) for arguments.
47910         * manual/examples/subopt.c (main): Use char **argv argument.
47912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47914         [BZ #5077]
47915         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47916         rounding modes.
47918 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47920         [BZ #6907]
47921         * manual/string.texi (strchr): Change when strchrnul is
47922         recommended.
47924 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47926         [BZ #174]
47927         * manual/locale.texi (setlocale): Document LOCPATH.
47929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47931         [BZ #10210]
47932         * manual/process.texi (execle): Move @dots{} before last argument.
47934 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47936         [BZ #12047]
47937         * manual/charset.texi (Generic Charset Conversion): Fix typo
47938         (LC_TYPE -> LC_CTYPE).
47940 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47942         [BZ #5805]
47943         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47944         (scalbnf): Likewise.
47945         (scalbnl): Likewise.
47946         (scalbln): Likewise.
47947         (scalblnf): Likewise.
47948         (scalblnl): Likewise.
47949         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47950         (vwarnx): Likewise.
47951         (verr): Likewise.
47952         (verrx): Likewise.
47953         * manual/filesys.texi (telldir): Use braces around return type.
47954         * manual/llio.texi (mmap): Add space after comma.
47955         (mmap64): Likewise.
47956         * manual/math.texi (jn): Use @var{} on parameter names.
47957         (jnf): Likewise.
47958         (jnl): Likewise.
47959         (yn): Likewise.
47960         (ynf): Likewise.
47961         (ynl): Likewise.
47962         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47963         line.
47964         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47965         "...".
47966         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47967         (sched_get_priority_max): Likewise.
47968         * manual/signal.texi (sigvec): Add space after comma.
47969         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47970         names.
47971         (if_indextoname): Likewise.
47972         (if_freenameindex): Likewise.
47973         (sendto): Use ',' instead of '.' in prototype.
47974         * manual/startup.texi (syscall): Use @dots{} instead of literal
47975         "...".
47976         * manual/stdio.texi (__fpending): Separate initial words of
47977         paragraph from @deftypefun line.
47978         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47979         "...".
47980         (vsyslog): Use @var{} on parameter names.
47981         * manual/terminal.texi (stty): Use @var{} on parameter names.
47982         * manual/users.texi (getutmp): Use @var{} on parameter names.
47983         (getutmpx): Likewise.
47985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47987         [BZ #6884]
47988         * manual/stdio.texi (fopen): Fix typos in description of
47989         ",ccs=STRING".
47991 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47993         [BZ #4026]
47994         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47995         get clock_id definition.
47997 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47999         [BZ #4822]
48000         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48001         (madvise): Cast every argument to void on its own.
48003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48005         [BZ #9902]
48006         * manual/startup.texi (Exit Status): Fix typo.
48008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48010         [BZ #10140]
48011         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48012         * manual/examples/argp-ex2.c: Likewise.
48013         * manual/examples/argp-ex3.c: Likewise.
48015 2012-02-16  Richard Henderson  <rth@redhat.com>
48017         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48018         * sysdeps/s390/s390-32/initfini.c: Remove.
48019         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48020         * sysdeps/s390/s390-64/initfini.c: Remove.
48022 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48024         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48025         compiler output for sysdeps/generic/initfini.c.
48026         * sysdeps/sh/elf/initfini.c: Remove file.
48028 2012-02-16  David S. Miller  <davem@davemloft.net>
48030         [BZ #11494]
48031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48033         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48034         * sysdeps/sparc/crti.S: New file.
48035         * sysdeps/sparc/crtn.S: New file.
48036         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48037         * sysdeps/sparc/sparc64/Makefile: Likewise.
48039 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48041         [BZ #3335]
48042         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48044 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48046         [BZ #4822]
48047         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48049         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48050         (write, read, close): Likewise.
48051         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48053 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48055         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48056         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48057         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48058         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48059         <bits/signalfd.h>.
48060         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48062         bits/signalfd.h.
48064 2012-02-14  Marek Polacek  <polacek@redhat.com>
48066         * sysdeps/x86_64/crti.S: New file.
48067         * sysdeps/x86_64/crtn.S: New file.
48068         * sysdeps/x86_64/elf/initfini.c: Remove file.
48070 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48072         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48073         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48074         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48075         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48076         <bits/inotify.h>.
48077         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48079         bits/inotify.h.
48081 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48083         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48085         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48086         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48087         <bits/eventfd.h>.
48088         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48090         bits/eventfd.h.
48092 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48094         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48095         __feraiseexcept instead of feraiseexcept.
48097         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48098         nanosleep invocations.
48099         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48100         strings, and add error checking for a nanosleep invocations.
48102 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48104         Replace FSF snail mail address with URLs, as per GNU coding standards.
48105         Most of the snail mail addresses were wrong anyway, and omitting
48106         them makes the source code easier to maintain.  Almost all of the
48107         changes are to license notices and to locale LC_IDENTIFICATION
48108         addresses, except for this one:
48109         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48110         not its snail mail address.
48112 2012-02-09  Richard Henderson  <rth@twiddle.net>
48114         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48115         of kernel-features.h.
48117         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48119 2012-02-08  Marek Polacek  <polacek@redhat.com>
48121         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48122         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48123         * sysdeps/gnu/_G_config.h: Likewise.
48124         * sysdeps/generic/_G_config.h: Likewise.
48126 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48128         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48129         tests.
48130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48132         * sysdeps/powerpc/powerpc32/crti.S: New file.
48133         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48134         * sysdeps/powerpc/powerpc64/crti.S: New file.
48135         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48137         * Makeconfig (have-initfini): Don't set.
48138         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48139         * configure.in (nopic_initfini): Don't substitute.
48140         * config.h.in (HAVE_INITFINI): Don't #undef.
48141         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48142         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48144 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48146         Support crti.S and crtn.S provided directly by architectures.
48147         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48148         [crti.S in sysdirs] (omit-deps): Likewise.
48149         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48150         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48151         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48152         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48153         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48154         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48155         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48156         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48157         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48158         compiler output for sysdeps/generic/initfini.c.
48159         * sysdeps/i386/elf/Makefile: Remove file.
48160         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48162 2012-02-07  Marek Polacek  <polacek@redhat.com>
48164         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48165         * sysdeps/gnu/_G_config.h: Likewise.
48166         * sysdeps/mach/hurd/_G_config.h: Likewise.
48168 2012-02-07  Marek Polacek  <polacek@redhat.com>
48170         * math/Makefile (tests): Add tst-CMPLX2.
48171         * math/tst-CMPLX2.c: New file.
48173 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48177         * math/libm-test.inc (jn_test): Add missing L suffix.
48179 2012-02-06  Marek Polacek  <polacek@redhat.com>
48181         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48182         * sysdeps/i386/fpu/e_powf.S: Likewise.
48183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48185         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48186         * sysdeps/i386/fpu/e_pow.S: Likewise.
48187         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48188         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48189         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48190         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48191         * sysdeps/i386/fpu/e_log2.S: Likewise.
48192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48193         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48194         * sysdeps/i386/fpu/e_powl.S: Likewise.
48195         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48198         * sysdeps/i386/fpu/e_logl.S: Likewise.
48199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48200         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48205         * sysdeps/i386/fpu/e_log.S: Likewise.
48206         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48208         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48209         * sysdeps/i386/fpu/e_logf.S: Likewise.
48210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48212         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48213         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48215         * sysdeps/i386/fpu/e_log10.S: Likewise.
48216         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48218         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48219         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48221         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48222         * sysdeps/i386/asm-syntax.h: Likewise.
48223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48226         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48227         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48232         * sysdeps/powerpc/sysdep.h: Likewise.
48233         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48234         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48236 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48238         [BZ #411]
48239         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48241 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48243         * sysdeps/i386/sysdep.h: Include <features.h>.
48244         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48245         version.
48247 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48250         Define.
48251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48252         LOAD_PIC_REG_STR.
48254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48256         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48257         (SETUP_PIC_REG): Use GET_PC_THUNK.
48258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48259         macro.
48261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48264         for non-PIC compilation.
48265         (SETUP_PIC_REG): Add .p2align directive.
48266         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48267         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48268         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48271         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48298         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48302         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48303         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48304         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48305         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48306         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48310         * math/tst-CMPLX.c: Include <stdio.h>.
48312 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48314         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48315         float.
48316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48317         * sysdeps/sparc/bits/mathdef.h: Likewise.
48319 2012-01-31  Marek Polacek  <polacek@redhat.com>
48321         * libio/libio.h: Don't define _PARAMS.
48322         * locale/programs/config.h: Don't define PARAMS.
48323         * stdlib/strtol_l.c: Likewise.
48324         (__strtol_l): Remove PARAMS from the prototype.
48326 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48328         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48329         names.  Just use the correct names.  Remove unnecessary wrapper
48330         functions.
48331         * malloc/arena.c: Likewise.
48332         * malloc/hooks.c: Likewise.
48334         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48335         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48336         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48338 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48340         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48341         into tail calls.
48342         (update_get_addr): New function.
48343         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48344         GET_ADDR_MODULE parameter.
48346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48348         * crypt/cert.c: Remove __STDC__ conditionals.
48349         * crypt/crypt-entry.c: Likewise.
48350         * crypt/crypt_util.c: Likewise.
48351         * libio/filedoalloc.c: Likewise.
48352         * libio/fileops.c: Likewise.
48353         * libio/genops.c: Likewise.
48354         * libio/iofclose.c: Likewise.
48355         * libio/iofdopen.c: Likewise.
48356         * libio/iofopen.c: Likewise.
48357         * libio/iofopen64.c: Likewise.
48358         * libio/iogetdelim.c: Likewise.
48359         * libio/iopopen.c: Likewise.
48360         * libio/obprintf.c: Likewise.
48361         * libio/oldfileops.c: Likewise.
48362         * libio/oldiofclose.c: Likewise.
48363         * libio/oldiofdopen.c: Likewise.
48364         * libio/oldiofopen.c: Likewise.
48365         * libio/oldiopopen.c: Likewise.
48366         * libio/wfiledoalloc.c: Likewise.
48367         * libio/wgenops.c: Likewise.
48368         * locale/programs/xmalloc.c: Likewise.
48369         * misc/syslog.c: Likewise.
48370         * stdio-common/xbug.c: Likewise.
48371         * string/memchr.c: Likewise.
48372         * string/memcmp.c: Likewise.
48373         * string/memrchr.c: Likewise.
48374         * string/rawmemchr.c: Likewise.
48375         * sysdeps/posix/getcwd.c: Likewise.
48376         * time/strftime_l.c: Likewise.
48378 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48380         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48381         * config.make.in (config-cflags-sse2avx): Define.
48382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48383         Fix typo.
48385 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48387         * scripts/config.guess: Update from upstream config git repository.
48388         * scripts/config.sub: Likewise.
48390 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48392         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48393         (EM_NUM): Update.
48394         (R_TILEPRO_*, R_TILEGX_*): New macros.
48396         * scripts/firstversions.awk: Fix bug in version range handling.
48398         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48402         * include/sys/epoll.h: New file.
48403         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48404         libc_hidden_def.
48406 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48408         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48409         Avoid unnecessary __WORDSIZE == 64 test.
48410         (fmaxf): Use VEX format if possible.
48411         (fmax): Likewise.
48412         (fminf): Likewise.
48413         (fmin): Likewise.
48415         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48416         * math/math_private.h: Remove libc_fegetround* and
48417         libc_fesetround*.
48418         * sysdeps/i386/configure.in: Check for -msse2avx.
48419         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48420         also if SSE2AVX is defined.
48421         Remove libc_fegetround* and libc_fesetround*.
48422         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48423         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48425         of HAS_YMM_USABLE.
48426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48428         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48432         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48434 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48436         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48437         size is not set.
48438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48440 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48442         [BZ #13618]
48443         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48444         relocation.
48445         * Makeconfig (libm): Define.
48446         * elf/Makefile: Add rules to build and run tst-relsort1.
48447         * elf/tst-relsort1.c: New file.
48448         * elf/tst-relsort1mod1.c: New file.
48449         * elf/tst-relsort1mod2.c: New file.
48451 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48453         * math/s_ldexp.c: Remove __STDC__ conditionals.
48454         * math/s_ldexpf.c: Likewise.
48455         * math/s_ldexpl.c: Likewise.
48456         * math/s_nextafter.c: Likewise.
48457         * math/s_nexttowardf.c: Likewise.
48458         * math/s_significand.c: Likewise.
48459         * math/s_significandf.c: Likewise.
48460         * math/s_significandl.c: Likewise.
48461         * math/w_jnl.c: Likewise.
48462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48468         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48474         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48475         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48479         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48492         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48493         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48494         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48496         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48499         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48500         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48501         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48502         * sysdeps/ieee754/k_standard.c: Likewise.
48503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48549         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48556         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48579         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48580         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48582         * sysdeps/ieee754/s_matherr.c: Likewise.
48583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48590         * crypt/md5.h: Remove __STDC__ conditionals.
48591         * libio/libioP.h: Likewise.
48592         * locale/programs/config.h: Likewise.
48593         * sysdeps/generic/sysdep.h: Likewise.
48594         * sysdeps/i386/asm-syntax.h: Likewise.
48595         * sysdeps/s390/asm-syntax.h: Likewise.
48596         * sysdeps/unix/sysdep.h: Likewise.
48597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48602         * libio/libio.h: Remove __STDC__ conditionals.
48603         * malloc/obstack.h: Likewise.
48604         * math/complex.h: Likewise.
48605         * math/math.h: Likewise.
48606         * sysdeps/generic/_G_config.h: Likewise.
48607         * sysdeps/gnu/_G_config.h: Likewise.
48608         * sysdeps/mach/hurd/_G_config.h: Likewise.
48609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48610         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48611         * sysdeps/sparc/bits/mathdef.h: Likewise.
48613 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48615         [BZ #13583]
48616         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48617         Clean up HAS_* macros.
48618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48619         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48620         possible.
48621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48622         HAS_AVX.
48623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48624         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48625         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48629 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48631         * elf/tst-unique3.cc (gets): Remove declaration.
48632         * elf/tst-unique3lib.cc (gets): Likewise.
48633         * elf/tst-unique3lib2.cc (gets): Likewise.
48634         * elf/tst-unique4.cc (gets): Likewise.
48636 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48638         * include/stdio.h: Add C++ protection.  Add gets declarations and
48639         definitions.
48640         * debug/tst-chk1.c: Don't declare gets here.
48641         * stdio-common/tst-gets.c: Likewise.
48643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48645         * posix/glob: Remove directory.
48647 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48649         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48651 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48653         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48654         of the non-standard EPFNOSUPPORT.
48656 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48658         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48659         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48660         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48662 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48664         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48666 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48668         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48669         transient errors.
48670         * nscd/grpcache.c (cache_addgr): Likewise.
48671         * nscd/hstcache.c (cache_addhst): Likewise.
48672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48673         * nscd/pwdcache.c (cache_addpw): Likewise.
48674         * nscd/servicescache.c (cache_addserv): Likewise.
48676 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48678         * malloc/malloc.c: Various cleanups.
48679         * malloc/hooks.c: Likewise.
48681         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48682         * stdlib/bug-fmtmsg1.c: New file.
48684         * stdlib/fmtmsg.c (init): Add missing unlock.
48685         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48687 2012-01-12  Marek Polacek  <polacek@redhat.com>
48689         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48690         and _GNU_SOURCE.
48692 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48694         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48695         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48696         macro to ensure uniqueness of label name.
48697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48700 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48702         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48709 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48711         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48713         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48714         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48715         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48717         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48720         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48724         * math/bits/math-finite.h: Add ldexp support.
48726 2012-01-10  Marek Polacek  <polacek@redhat.com>
48728         * locale/programs/localedef.h (show_archive_content): Add noreturn
48729         attribute.
48731 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48733         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48735 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48737         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48739         * io/Makefile (headers): Add bits/poll2.h.
48741 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48744         typo #include statement.
48746 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48748         * include/sys/cdefs.h: Define __attribute_alloc_size.
48749         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48750         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48751         * elf/pldd.c: Likewise.
48752         * iconv/iconv_charmap.c: Likewise.
48753         * iconv/iconvconfig.c: Likewise.
48754         * iconv/strtab.c: Likewise.
48755         * locale/programs/locale.c: Likewise.
48756         * locale/programs/localedef.h: Likewise.
48757         * locale/programs/simple-hash.c: Likewise.
48758         * nscd/nscd.h: Likewise.
48759         * nss/makedb.c: Likewise.
48760         * sysdeps/generic/ldconfig.h: Likewise.
48761         * locale/programs/localedef.c: Remove xmalloc prototype.
48762         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48764 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48767         appropriate.
48769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48771         * math/Makefile (tests): Add tst-CMPLX.
48772         * math/tst-CMPLX.c: New file.
48774         * math/complex.h (CMPLXL): Fix typo.
48776         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48777         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48778         GLIBC_2.16.
48779         * debug/tst-chk1.c: Add poll and ppoll tests.
48780         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48781         * include/sys/poll.h: Add hidden proto for ppoll.
48782         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48783         * sysdeps/mach/hurd/ppoll.c: Likewise.
48784         * io/ppoll.c: Likewise.
48785         * debug/poll_chk.c: New file.
48786         * debug/ppoll_chk.c: New file.
48787         * include/bits/poll2.h: New file.
48788         * io/bits/poll2.h: New file.
48790         [BZ #1350]
48791         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48793         * configure.in: static is always set to yes.  Remove.
48794         * config.make.in: Don't set build-static.
48795         * Makeconfig: Remove use of build-static.
48796         * dlfcn/Makefile: Likewise.
48797         * elf/Makefile: Likewise.
48798         * math/Makefile: Likewise.
48799         * misc/Makefile: Likewise.
48800         * nptl/Makefile: Likewise.
48801         * sysdeps/mach/hurd/Makefile: Likewise.
48803         * configure.in: PWD_P is not used anymore.
48804         * config.make.in: Remove PWD_P entry.
48806         * configure.in: Remove last remnants of RANLIB.
48807         No need to check for signed size_t anymore.
48808         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48809         and IA-64.
48810         Remove __builtin_expect test because we require at least gcc 3.4.
48811         * aclocal.m4: Likewise.
48813         * wcsmbs/mbrtoc16.c: Implement using towc function.
48814         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48815         * wcsmbs/wcsmbsload.c: Likewise.
48816         * iconv/gconv_simple.c: Likewise.
48817         * iconv/gconv_int.h: Likewise.
48818         * iconv/gconv_builtin.h: Likewise.
48819         * iconv/iconv_prog.c: Remove CHAR16 handling.
48821         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48823         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48825         * configure.in: Remove --with-elf and --enable-bounded options.
48826         Dont set base_machine for ia64.  More non-ELF conditions removed.
48827         Remove testing and setting of leading underscore information.
48828         * config.make.in (build-bounded): Set to no.
48829         * config.h.in: Remove NO_UNDERSCORES entry.
48830         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48831         them.
48832         * csu/start.c: Remove !NO_UNDERSCORE code.
48833         * locale/localeinfo.h: Likewise.
48834         * sysdeps/generic/machine-gmon.h: Likewise.
48835         * sysdeps/generic/sysdep.h: Likewise.
48836         * sysdeps/i386/sysdep.h: Likewise.
48837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48838         * sysdeps/mach/sysdep.h: Likewise.
48839         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48841         * sysdeps/sh/sysdep.h: Likewise.
48842         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48843         * sysdeps/unix/i386/sysdep.S: Likewise.
48844         * sysdeps/unix/sparc/start.c: Likewise.
48845         * sysdeps/unix/sparc/sysdep.S: Likewise.
48846         * sysdeps/unix/sparc/sysdep.h: Likewise.
48847         * sysdeps/unix/start.c: Likewise.
48848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48849         * sysdeps/x86_64/sysdep.h: Likewise.
48851 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48853         [BZ #13553]
48854         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48855         for non-gcc.
48856         * argp/argp-fmtstream.h: Use const instead __const.
48857         * argp/argp.h: Likewise.
48858         * assert/assert.h: Likewise.
48859         * bits/fenv.h: Likewise.
48860         * bits/sched.h: Likewise.
48861         * bits/sigset.h: Likewise.
48862         * bits/sigthread.h: Likewise.
48863         * catgets/nl_types.h: Likewise.
48864         * conform/data/pthread.h-data: Likewise.
48865         * crypt/crypt-private.h: Likewise.
48866         * crypt/crypt.h: Likewise.
48867         * crypt/crypt_util.c: Likewise.
48868         * ctype/ctype.h: Likewise.
48869         * debug/execinfo.h: Likewise.
48870         * debug/mbsnrtowcs_chk.c: Likewise.
48871         * debug/mbsrtowcs_chk.c: Likewise.
48872         * debug/wcsnrtombs_chk.c: Likewise.
48873         * debug/wcsrtombs_chk.c: Likewise.
48874         * debug/wcstombs_chk.c: Likewise.
48875         * dirent/dirent.h: Likewise.
48876         * dlfcn/dlfcn.h: Likewise.
48877         * elf/neededtest4.c: Likewise.
48878         * grp/grp.h: Likewise.
48879         * gshadow/gshadow.h: Likewise.
48880         * iconv/gconv.h: Likewise.
48881         * iconv/gconv_int.h: Likewise.
48882         * iconv/gconv_simple.c: Likewise.
48883         * iconv/iconv.h: Likewise.
48884         * iconv/loop.c: Likewise.
48885         * iconv/skeleton.c: Likewise.
48886         * include/aio.h: Likewise.
48887         * include/aliases.h: Likewise.
48888         * include/argz.h: Likewise.
48889         * include/arpa/inet.h: Likewise.
48890         * include/assert.h: Likewise.
48891         * include/dirent.h: Likewise.
48892         * include/dlfcn.h: Likewise.
48893         * include/execinfo.h: Likewise.
48894         * include/fcntl.h: Likewise.
48895         * include/fenv.h: Likewise.
48896         * include/glob.h: Likewise.
48897         * include/grp.h: Likewise.
48898         * include/libintl.h: Likewise.
48899         * include/mntent.h: Likewise.
48900         * include/netdb.h: Likewise.
48901         * include/pwd.h: Likewise.
48902         * include/rpc/netdb.h: Likewise.
48903         * include/sched.h: Likewise.
48904         * include/search.h: Likewise.
48905         * include/shadow.h: Likewise.
48906         * include/signal.h: Likewise.
48907         * include/stdio.h: Likewise.
48908         * include/stdlib.h: Likewise.
48909         * include/string.h: Likewise.
48910         * include/sys/socket.h: Likewise.
48911         * include/sys/stat.h: Likewise.
48912         * include/sys/statfs.h: Likewise.
48913         * include/sys/statvfs.h: Likewise.
48914         * include/sys/syslog.h: Likewise.
48915         * include/sys/time.h: Likewise.
48916         * include/sys/uio.h: Likewise.
48917         * include/time.h: Likewise.
48918         * include/unistd.h: Likewise.
48919         * include/utmp.h: Likewise.
48920         * include/wchar.h: Likewise.
48921         * include/wctype.h: Likewise.
48922         * inet/aliases.h: Likewise.
48923         * inet/arpa/inet.h: Likewise.
48924         * inet/netinet/ether.h: Likewise.
48925         * inet/netinet/in.h: Likewise.
48926         * intl/libintl.h: Likewise.
48927         * io/bits/fcntl2.h: Likewise.
48928         * io/fcntl.h: Likewise.
48929         * io/ftw.h: Likewise.
48930         * io/sys/poll.h: Likewise.
48931         * io/sys/stat.h: Likewise.
48932         * io/sys/statfs.h: Likewise.
48933         * io/sys/statvfs.h: Likewise.
48934         * io/utime.h: Likewise.
48935         * libio/bits/stdio.h: Likewise.
48936         * libio/bits/stdio2.h: Likewise.
48937         * libio/libio.h: Likewise.
48938         * libio/libioP.h: Likewise.
48939         * libio/stdio.h: Likewise.
48940         * locale/lc-ctype.c: Likewise.
48941         * locale/locale.h: Likewise.
48942         * login/utmp.h: Likewise.
48943         * malloc/arena.c: Likewise.
48944         * malloc/malloc.c: Likewise.
48945         * malloc/malloc.h: Likewise.
48946         * malloc/mcheck.c: Likewise.
48947         * malloc/mtrace.c: Likewise.
48948         * math/bits/mathcalls.h: Likewise.
48949         * math/fenv.h: Likewise.
48950         * math/math_private.h: Likewise.
48951         * misc/bits/error.h: Likewise.
48952         * misc/bits/syslog.h: Likewise.
48953         * misc/err.h: Likewise.
48954         * misc/error.h: Likewise.
48955         * misc/fstab.h: Likewise.
48956         * misc/mntent.h: Likewise.
48957         * misc/regexp.h: Likewise.
48958         * misc/search.h: Likewise.
48959         * misc/sgtty.h: Likewise.
48960         * misc/sys/mman.h: Likewise.
48961         * misc/sys/syslog.h: Likewise.
48962         * misc/sys/uio.h: Likewise.
48963         * misc/sys/xattr.h: Likewise.
48964         * misc/ttyent.h: Likewise.
48965         * nis/rpcsvc/ypclnt.h: Likewise.
48966         * nss/nss.h: Likewise.
48967         * posix/bits/unistd.h: Likewise.
48968         * posix/fnmatch.h: Likewise.
48969         * posix/glob.h: Likewise.
48970         * posix/sched.h: Likewise.
48971         * posix/spawn.h: Likewise.
48972         * posix/sys/wait.h: Likewise.
48973         * posix/unistd.h: Likewise.
48974         * posix/wordexp.h: Likewise.
48975         * pwd/pwd.h: Likewise.
48976         * resolv/netdb.h: Likewise.
48977         * resource/sys/resource.h: Likewise.
48978         * rt/aio.h: Likewise.
48979         * rt/bits/mqueue2.h: Likewise.
48980         * rt/mqueue.h: Likewise.
48981         * shadow/shadow.h: Likewise.
48982         * signal/signal.h: Likewise.
48983         * socket/send.c: Likewise.
48984         * socket/sendto.c: Likewise.
48985         * socket/sys/socket.h: Likewise.
48986         * stdio-common/printf.h: Likewise.
48987         * stdlib/bits/stdlib.h: Likewise.
48988         * stdlib/fmtmsg.h: Likewise.
48989         * stdlib/monetary.h: Likewise.
48990         * stdlib/stdlib.h: Likewise.
48991         * stdlib/ucontext.h: Likewise.
48992         * streams/stropts.h: Likewise.
48993         * string/argz.h: Likewise.
48994         * string/bits/string2.h: Likewise.
48995         * string/string.h: Likewise.
48996         * string/strings.h: Likewise.
48997         * sunrpc/rpc/auth.h: Likewise.
48998         * sunrpc/rpc/auth_des.h: Likewise.
48999         * sunrpc/rpc/clnt.h: Likewise.
49000         * sunrpc/rpc/netdb.h: Likewise.
49001         * sunrpc/rpc/pmap_clnt.h: Likewise.
49002         * sunrpc/rpc/xdr.h: Likewise.
49003         * sysdeps/generic/inttypes.h: Likewise.
49004         * sysdeps/generic/net/if.h: Likewise.
49005         * sysdeps/generic/sys/swap.h: Likewise.
49006         * sysdeps/gnu/net/if.h: Likewise.
49007         * sysdeps/gnu/utmpx.h: Likewise.
49008         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49009         * sysdeps/i386/i486/bits/string.h: Likewise.
49010         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49011         * sysdeps/s390/bits/string.h: Likewise.
49012         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49013         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49014         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49015         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49016         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49017         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49018         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49019         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49020         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49021         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49022         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49023         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49024         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49027         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49028         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49034         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49035         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49036         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49037         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49040         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49042         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49043         * sysvipc/sys/ipc.h: Likewise.
49044         * sysvipc/sys/msg.h: Likewise.
49045         * sysvipc/sys/sem.h: Likewise.
49046         * sysvipc/sys/shm.h: Likewise.
49047         * termios/termios.h: Likewise.
49048         * time/sys/time.h: Likewise.
49049         * time/time.h: Likewise.
49050         * wcsmbs/bits/wchar2.h: Likewise.
49051         * wcsmbs/uchar.h: Likewise.
49052         * wcsmbs/wchar.h: Likewise.
49053         * wctype/wctype.h: Likewise.
49055         [BZ #13551]
49056         * Makeconfig: Remove all but ELF support including AIX support.
49057         * Makerules: Likewise.
49058         * config.h.in: Likewise.
49059         * config.make.in: Likewise.
49060         * configure: Likewise.
49061         * configure.in: Likewise.
49062         * csu/Makefile: Likewise.
49063         * csu/version.c: Likewise.
49064         * debug/Makefile: Likewise.
49065         * dlfcn/Makefile: Likewise.
49066         * elf/Makefile: Likewise.
49067         * extra-lib.mk: Likewise.
49068         * iconv/Makefile: Likewise.
49069         * include/libc-symbols.h: Likewise.
49070         * include/shlib-compat.h: Likewise.
49071         * resolv/Makefile: Likewise.
49072         * resolv/res_libc.c: Likewise.
49073         * rt/Makefile: Likewise.
49074         * sysdeps/i386/asm-syntax.h: Likewise.
49075         * sysdeps/i386/sysdep.h: Likewise.
49076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49077         * sysdeps/mach/sysdep.h: Likewise.
49078         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49079         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49080         * sysdeps/s390/asm-syntax.h: Likewise.
49081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49083         * sysdeps/sh/sysdep.h: Likewise.
49084         * sysdeps/unix/sparc/sysdep.h: Likewise.
49085         * sysdeps/wordsize-32/divdi3.c: Likewise.
49086         * sysdeps/x86_64/sysdep.h: Likewise.
49088         * argp/Versions: Remove _argp_unlock_xxx.
49090         [BZ #13559]
49091         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49092         * abilist/libBrokenLocale.abilist: Likewise.
49093         * abilist/libanl.abilist: Likewise.
49094         * abilist/libc.abilist: Likewise.
49095         * abilist/libcrypt.abilist: Likewise.
49096         * abilist/libdl.abilist: Likewise.
49097         * abilist/libm.abilist: Likewise.
49098         * abilist/libnsl.abilist: Likewise.
49099         * abilist/libpthread.abilist: Likewise.
49100         * abilist/libresolv.abilist: Likewise.
49101         * abilist/librt.abilist: Likewise.
49102         * abilist/libthread_db.abilist: Likewise.
49103         * abilist/libutil.abilist: Likewise.
49104         * abilist/libnss_db.abilist: New file.
49106         * scripts/abilist.awk: Add support for indirect functions.
49108         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49110         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49112         * shlib-versions: Remove entries for ports architectures.
49114         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49115         files in ports.
49116         * elf/stackguard-macros.h: Remove support for IA-64.
49117         * elf/tst-auditmod1.c: Likewise.
49118         * sysdeps/generic/ldsodefs.h: Likewise.
49120         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49121         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49122         configure files.
49124         [BZ #13552]
49125         * configure.in: Remove --enable-omitfp support.
49126         * FAQ.in: Adjust.
49127         * config.make.in: Likewise.
49128         * Makeconfig: Likewise.
49129         * manual/install.texi: Likewise.
49131         In case anyone cares, the IA-64 architecture could move to ports.
49132         * sysdeps/ia64/*: Removed.
49133         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49134         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49136         [BZ #13555]
49137         * configure.in: Remove entries for unsupported architectures.
49139         [BZ #13533]
49140         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49141         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49142         routines.
49143         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49144         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49145         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49146         fall back to using wcrtomb.
49147         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49148         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49149         renaming.
49150         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49151         * wcsmbs/tst-c16c32-1.c: New file.
49153         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49154         local variable.
49156         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49158         * elf/tst-unique3.cc: Add explicit declaration of gets.
49159         * elf/tst-unique3lib.cc: Likewise.
49160         * elf/tst-unique3lib2.cc: Likewise.
49161         * elf/tst-unique4.cc: Likewise.
49163         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49165 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49167         [BZ #13566]
49168         * assert/assert.h (static_assert): Don't define for C++.
49169         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49170         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49172 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49174         * iconv/loop.c (single loop): Fix assertion in storing of
49175         remaining bytes.
49177         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49179 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49181         * posix/getconf.c: Update copyright year.
49182         * nss/getent.c: Likewise.
49183         * nss/makedb.c: Likewise.
49184         * iconv/iconvconfig.c: Likewise.
49185         * iconv/iconv_prog.c: Likewise.
49186         * elf/ldconfig.c: Likewise.
49187         * elf/pldd.c: Likewise.
49188         * elf/sotruss.ksh: Likewise.
49189         * catgets/gencat.c: Likewise.
49190         * csu/version.c: Likewise.
49191         * elf/ldd.bash.in: Likewise.
49192         * elf/sprof.c (print_version): Likewise.
49193         * locale/programs/locale.c: Likewise.
49194         * locale/programs/localedef.c: Likewise.
49195         * login/programs/pt_chown.c: Likewise.
49196         * nscd/nscd.c (print_version): Likewise.
49197         * debug/xtrace.sh: Likewise.
49198         * malloc/memusage.sh: Likewise.
49199         * malloc/mtrace.pl: Likewise.
49200         * debug/catchsegv.sh: Likewise.
49202 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49204         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49205         pure attribute.
49207 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49209         [BZ #13533]
49210         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49211         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49212         transformations.
49213         * iconv/gconv_int.h: Likewise.
49214         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49215         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49216         from libc for GLIBC_2.16.
49217         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49218         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49219         * wcsmbs/uchar.h: Really define mbstate_t.
49220         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49221         * wcsmbs/c16rtomb.c: New file.
49222         * wcsmbs/mbrtoc16.c: New file.
49223         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49224         for C/POSIX locale.
49225         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49226         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49228         * wcsmbs/wchar.h: Add missing __restrict.
49230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49232         [BZ #13532]
49233         * time/Makefile (routines): Add timespec_get.
49234         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49235         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49236         timespec for ISO C11.
49237         * time/timespec_get.c: New file.
49238         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49241         [BZ #13531]
49242         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49243         * stdlib/stdlib.h: Declare aligned_alloc.
49244         * Versions.def: Add GLIBC_2.16 for libc.
49245         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49247         [BZ 13527]
49248         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49249         ISO C11.
49251         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49252         code.
49254         [BZ #13528]
49255         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49257         [BZ #13529]
49258         * assert/assert.h (static_assert): Define.
49260         * version.h: Update for 2.16 development version.
49262         [BZ #13526]
49263         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49264         _ISOC11_SOURCE.
49266         * version.h (RELEASE): Bump for 2.15 release.
49267         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49269         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49270         Patch by Marek Polacek <mpolacek@redhat.com>.
49272         * bits/byteswap.h: Protect long long constants with __extension__.
49273         * sysdeps/i386/bits/byteswap.h: Likewise.
49274         * sysdeps/ia64/bits/byteswap.h: Likewise.
49275         * sysdeps/s390/bits/byteswap.h: Likewise.
49276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49280         [BZ #13540]
49281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49282         destination buffer.
49283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49285 2011-12-23  Marek Polacek  <polacek@redhat.com>
49287         * elf/dl-addr.c (determine_info): Add inline keyword.
49288         * elf/tst-auditmod4b.c (check_avx): Likewise.
49289         * elf/tst-auditmod6b.c (check_avx): Likewise.
49290         * elf/tst-auditmod6c.c (check_avx): Likewise.
49291         * elf/tst-auditmod7b.c (check_avx): Likewise.
49293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49295         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49296         !__SSE_MATH__.
49298 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49300         [BZ #13540]
49301         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49302         processing for last bytes.
49304 2011-08-06  Bruno Haible  <bruno@clisp.org>
49306         [BZ #13061]
49307         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49308         U+0385, not to U+1FEE.
49310         [BZ #13062]
49311         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49312         entry for U+00A5 U+0301.
49314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49316         [BZ #13166]
49317         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49318         buffer for the output is too small.
49320         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49321         optimization.
49323         [BZ #13185]
49324         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49325         SSE flags if possible.
49327 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49329         [BZ #13540]
49330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49331         processing for last bytes.
49333 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49336         (syscall-list-default-options, syscall-list-default-condition)
49337         (syscall-list-includes): Define.
49338         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49339         list of ABIs and options and #if conditions for each ABI.  Do not
49340         handle common syscalls between ABIs specially.
49341         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49342         Remove.
49343         (syscall-list-variants, syscall-list-32bit-options)
49344         (syscall-list-32bit-condition, syscall-list-64bit-options)
49345         (syscall-list-64bit-condition): Define.
49346         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49347         (syscall-list-variants, syscall-list-32bit-options)
49348         (syscall-list-32bit-condition, syscall-list-64bit-options)
49349         (syscall-list-64bit-condition): Define.
49350         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49351         Remove.
49352         (syscall-list-variants, syscall-list-32bit-options)
49353         (syscall-list-32bit-condition, syscall-list-64bit-options)
49354         (syscall-list-64bit-condition): Define.
49355         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49356         Remove.
49357         (syscall-list-variants, syscall-list-32bit-options)
49358         (syscall-list-32bit-condition, syscall-list-64bit-options)
49359         (syscall-list-64bit-condition): Define.
49361 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49363         * locale/iso-639.def: Add brx entry.
49365         [BZ #13328]
49366         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49367         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49369         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49370         __feraiseexcept_renamed.
49372 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49374         [BZ #13538]
49375         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49376         EPOLLET with unsigned values.
49377         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49380         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49381         to large cancellation.
49382         * math/s_cacoshf.c: Likewise.
49383         * math/s_cacoshl.c: Likewise.
49385 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49387         [BZ #13305]
49388         [BZ #12786]
49389         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49390         * math/s_cacoshf.c: Likewise.
49391         * math/s_cacoshl.c: Likewise.
49393 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49395         [BZ #13439]
49396         * iconv/gconv.h: Define __GCONV_SWAP.
49397         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49398         * iconvdata/utf-16.c: Likewise.
49399         * iconvdata/utf-32.c: Likewise.
49401 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49403         [BZ #13524]
49404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49405         numerator after shifting it by one limb.
49407 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49409         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49410         under [__USE_EXTERN_INLINES].
49412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49414         [BZ #13446]
49415         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49417 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49419         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49420         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49421         optimized code.
49422         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49424         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49425         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49426         for strncasecmp/strncasecmp_l compilation.
49427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49428         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49430 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49432         [BZ #13484]
49433         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49434         of __asm__.
49436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49438         [BZ #13506]
49439         * time/tzfile.c (__tzfile_read): Check values from file header.
49441 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49443         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49444         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49445         * powerpc/powerpc32/dl-start.S: Likewise.
49446         * powerpc/powerpc32/elf/start.S: Likewise.
49447         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49448         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49449         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49450         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49451         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49452         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49453         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49454         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49455         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49456         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49457         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49458         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49459         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49460         * powerpc/powerpc32/memset.S: Likewise.
49461         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49462         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49463         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49464         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49465         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49466         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49467         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49468         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49469         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49470         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49475 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49477         * math/libm-test.inc: Added more nearbyint tests.
49478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49483 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49485         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49486         FD_CLOEXEC.
49488 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49490         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49491         Add wcscpy-ssse3 wcscpy-c.
49492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49493         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49494         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49495         * sysdeps/x86_64/wcschr.S: New file.
49496         * sysdeps/x86_64/wcsrchr.S: New file.
49497         * string/test-strcmp.c: Remove checking of wcscmp function for
49498         wrong alignments.
49499         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49500         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49501         wcsrchr-sse2 wcsrchr-c.
49502         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49503         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49505         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49508         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49509         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49511         * wcsmbc/wcschr.c (WCSCHR): New macro.
49513 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49515         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49516         * wcsmbs/test-wcsrchr.c: New file.
49517         * string/test-strrchr.c: Add wcsrchr support.
49518         (WIDE): New macro.
49519         * wcsmbs/test-wcscpy.c: New file.
49520         * string/test-strcpy.c: Add wcscpy support.
49521         (WIDE): New macro.
49523 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49526         the inner loop.
49528 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49530         [BZ #13472]
49531         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49533 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49536         Minor optimizations.
49538         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49539         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49540         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49542 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49544         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49545         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49546         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49547         for gcc to avoid warnings.
49548         * inet/Makefile (tests): Add tst-checks.
49549         * inet/tst-checks.c: New file.
49551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49552         warning.
49554         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49555         __wmemcmp_sse2.
49557         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49558         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49560         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49562 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49564         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49565         problem.
49567         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49569 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49572         conditional on GCC version.
49573         (__arch_compare_and_exchange_val_8_acq)
49574         (__arch_compare_and_exchange_val_16_acq)
49575         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49576         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49577         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49579 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49581         * sysdeps/sh/backtrace.c: New file.
49583 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49585         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49586         parenthesis.
49588 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49590         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49591         falling back to utime.
49593 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49595         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49596         expectations for float.
49598 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49600         * locale/weight.h (findidx): Add parameter len.
49601         * locale/weightwc.h (findidx): Likewise.
49602         * posix/fnmatch_loop.c (FCT): Adjust caller.
49603         * posix/regcomp.c (build_equiv_class): Likewise.
49604         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49605         * posix/regexec.c (check_node_accept_bytes): Likewise.
49606         * string/strcoll_l.c (STRCOLL): Likewise.
49607         * string/strxfrm_l.c (STRXFRM): Likewise.
49609 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49611         * Makefile.in: Remove CVSOPT handling.
49612         * configure.in: Remove use of AC_REVISION.
49613         * iconvdata/Makefile (distribute): No need to filter out CVS.
49614         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49615         handling.
49617 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49620         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49621         [USE_AS_STRNCASECMP_L]: Likewise.
49622         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49623         NO_TLS_DIRECT_SEG_REFS.
49624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49625         Fix argument offsets for non-PIC.
49626         [USE_AS_STRNCASECMP_L]: Likewise.
49627         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49628         NO_TLS_DIRECT_SEG_REFS.
49630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49632         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49633         O_CLOEXEC.
49634         * locale/loadlocale.c (_nl_load_locale): Likewise.
49636 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49639         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49641         (SYSCALL_GETTIME): Set errno on error.
49643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49644         count references to noai6ai_cached.
49646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49648         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49650         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49651         FD_CLOEXEC for /proc/self/maps.
49653         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49654         FD_CLOEXEC for /proc/meminfo.
49656         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49657         gai.conf.
49659         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49660         FD_CLOEXEC for given file.
49662         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49664         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49665         FD_CLOEXEC for /etc/hosts.
49666         (_gethtent): Likewise.
49668         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49670         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49671         cancellation and set FD_CLOEXEC for /etc/netgroup.
49673         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49674         reading /etc/publickey.
49676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49677         allow cancellation when reading /etc/group.
49679         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49680         cancellation.
49681         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49683         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49684         when using data file.
49686         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49688         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49689         (write_nis_obj): Use "c" and "e" in fopen.
49691         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49693         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49695         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49697         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49699         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49700         locale.alias.
49702         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49704         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49706         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49708         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49709         file parsing and set FD_CLOEXEC.
49711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49713         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49715 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49717         * malloc/arena.c (arena_get2): Don't call reused_arena when
49718         _int_new_arena failed.
49720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49723         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49726         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49728         to compile strcasecmp and strncasecmp.
49729         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49730         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49734 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49737         locale-defines.sym to gen-as-const-headers.
49738         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49739         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49741         to compile strcasecmp and strncasecmp.
49742         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49743         strcasecmp_l and strncasecmp_l.
49744         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49745         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49746         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49748         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49749         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49750         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49751         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49752         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49753         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49754         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49756 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49758         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49759         result of SYSDEP_GETTIME_CPU to retval.
49760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49761         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49763         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49764         variable.
49766         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49767         mantissa words.
49768         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49771         from unused variable.
49773         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49774         DWARF definitions.
49775         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49776         for assembling.
49778         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49779         over namespaces.
49781         * sunrpc/rpc_prot.c (rejected): Fix case value.
49783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49784         unsigned long long int to avoid warnings in shift.
49786         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49787         of use of trans.
49788         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49789         variable tmp.
49791         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49795         * nis/nis_table.c (nis_list): Use variable of correct type for
49796         result of __follow_path call.
49798 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49800         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49801         of math functions ceil, trunc, floor, round, and sqrt, when
49802         avaliable on the platform.
49803         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49804         name clash.
49805         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49806         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49807         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49809 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49811         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49814 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49816         * include/unistd.h: Fix __readlink return type.
49817         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49819 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49821         * stdlib/ucontext.h: Undo last change for makecontext.
49823 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49825         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49827         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49828         * setjmp/setjmp.h: Mark functions as non-leaf.
49829         * setjmp/bits/setjmp2.h: Likewise.
49830         * stdlib/ucontext.h: Likewise.
49832 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49834         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49835         (reused_arena): Don't check arena limit.
49836         (arena_get2): Atomically check arena limit.
49838 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49840         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49841         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49844         instructions.
49846 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49848         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49849         handler when locking.
49851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49852         Fix size of allocated buffer.
49854 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49856         [BZ #10103]
49857         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49858         declarations for long double functions.
49859         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49861         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49863 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49865         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49866         installed.
49868         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49869         is disabled.
49871 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49873         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49875 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49877         * include/alloca.h (stackinfo_alloca_round): Define.
49878         (extend_alloca): Use it.
49879         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49880         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49881         here.
49883         * scripts/check-local-headers.sh: Ignore libaudit.h.
49885         * nscd/Makefile (extra-objs): Make recursively expanded.
49887 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49889         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49892         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49893         * posix/tst-rfc3484-2.c: Likewise.
49894         * posix/tst-rfc3484-3.c: Likewise.
49896         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49897         process_vm_writev.
49898         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49899         process_vm_writev.
49900         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49901         process_vm_writev from libc using GLIBC_2.15 version.
49903         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49905 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49907         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49908         stack usage.
49910 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49912         [BZ #13367]
49913         * nss/getent.c (initgroups_keys): Show error message in case no group
49914         names are given.
49916         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49917         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49918         __bump_nl_timestamp.
49919         * nscd/connections (nscd_init): When host database is served open
49920         netlink socket and request notification about configuration changes.
49921         (main_loop_poll): Track netlink file descriptor and bump timestamp
49922         in case data becomes available.
49923         (main_loop_epoll): Likewise.
49924         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49925         (database_pers_head): Add extra_data fileds.
49926         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49928         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49929         Adjust caller.
49930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49931         in6ai data, call __free_in6ai.
49932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49933         Add -DHAVE_NETLINK.
49934         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49935         interface information.  Reuse previous data if netlink timestamp
49936         is not changed.
49937         (__bump_nl_timestamp): New function.
49938         (__free_in6ai): New function.
49940 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49942         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49943         close_not_cancel_no_status here.
49944         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49946 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49948         [BZ #13276]
49949         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49950         return value.
49952         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49953         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49954         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49956 2011-07-03  Andreas Jaeger  <aj@suse.de>
49958         [BZ #10709]
49959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49960         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49961         * math/libm-test.inc (sin_test): Add test case.
49963 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49965         [BZ #13337]
49966         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49969         * elf/chroot_canon.c (chroot_canon): Cleanups.
49971         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49973         [BZ #13335]
49974         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49975         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49977         * string/test-strchr.c: Make usable for strchrnul testing.
49978         * string/test-strchrnul.c: New file.
49979         * string/Makefile (strop-tests): Add strchrnul.
49981         * po/it.po: Update from translation team.
49982         * po/es.po: Likewise.
49984 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49987         the three constants needed as parameters.  Drop the others.
49988         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49989         __m128i_strloadu_tolower.
49990         Create and initialize variable zero and use it in all the places
49991         where _mm_setzero_si128 was used.
49993         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49994         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49995         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49997         anymore.
49998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50001         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50003         __mpranred, __mptan.
50004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50008         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50009         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50012         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50014 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50016         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50017         redefine if SHARED.
50018         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50021         wide char related routines to wcsmbs subdir.
50023 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50025         [BZ #13344]
50026         * misc/sys/cdefs.h (__THROWNL): Define.
50027         * posix/unistd.h: Use __THREADNL instead of __THREAD
50028         for memory synchronization functions.
50030 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50032         [BZ #13349]
50033         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50034         doesn't exist.
50035         * manual/stdio.texi (Obstack Streams): Node removed.
50037 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50039         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50043         * math/math_private.h (math_force_eval): Allow non-addressable
50044         arguments.
50045         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50050         file is not needed.
50052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50059         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50060         Add AVX variants.
50061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50066         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50067         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50071         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50072         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50075         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50076         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50077         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50079         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50081         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50082         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50084         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50085         place.  Use VEX encoding when compiling for AVX.
50087 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50089         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50092         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50096         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50097         useless if() expression.
50098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50099         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50102         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50111         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50113         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50116         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50118         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50122         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50123         condition.
50124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50128         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50129         .text section.  Avoid duplicate constants.
50130         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50139         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50142         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50143         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50144         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50150         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50151         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50152         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50158         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50161         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50163         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50164         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50165         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50166         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50168         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50169         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50172         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50173         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50174         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50176 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50178         * sysdeps/x86_64/dla.h: Move to ...
50179         * sysdeps/x86_64/fpu/dla.h: ...here.
50180         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50181         situations.  Use __builtin_fma only for gcc 4.6 and up.
50183         * config.make.in: Add have-mfma4 entry.
50184         * configure.in: Substitute libc_cv_cc_fma4.
50185         * math/Makefile (dbl-only-routines): Add sincostab.
50186         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50187         Use __sincostab not sincos.
50188         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50189         name is a macro.
50190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50194         using __copysign.
50195         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50196         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50197         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50198         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50199         and __inv.
50200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50201         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50202         __copysign.
50203         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50204         define aliases when function name is a macro.
50205         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50206         sysdeps/ieee754/dbl-64/sincos.tbl.
50207         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50208         fma4-enabled routines.
50209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50213         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50216         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50218         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50219         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50220         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50232         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50240         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50241         rename.
50242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50246         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50251 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50253         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50260         prediction.
50261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50263         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50264         Remove unused variable magic_bits.
50265         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50267         * string/strnlen.c: Define and use STRNLEN macro.
50268         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50269         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50271         * wcsmbs/wcslen.c: Define and use WCSLEN.
50272         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50273         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50274         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50275         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50276         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50277         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50278         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50280 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50283         strnlen-sse2-no-bsf.
50284         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50287         Add strnlen support.
50288         (USE_AS_STRNLEN): New macro.
50289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50291         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50292         * sysdeps/x86_64/wcslen.S: New file.
50294 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50297         XMM-moves are used for copying on small sizes.
50299 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50301         * wcsmbs/Makefile (strop-tests): Add wcschr.
50302         * wcsmbs/test-wcschr.c: New file.
50303         * string/test-strchr.c: Update.
50304         Add wcschr support.
50305         (WIDE): New macro.
50307 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50309         * wcsmbs/Makefile (strop-tests): Add wcslen.
50310         * wcsmbs/test-wcslen.c: New file.
50311         * string/test-strlen.c: Update.
50312         Add wcslen support.
50313         (WIDE): New macro.
50315 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50317         * po/it.po: Update from translation team.
50319 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50321         * sysdeps/x86_64/wcscmp.S: Update.
50322         Fix wrong comparison semantics.
50323         wcscmp shall use signed comparison not unsigned.
50324         Don't use substraction to avoid overflow bug.
50325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50326         * wcsmbc/wcscmp.c: Likewise.
50327         * string/test-strcmp.c: Likewise.
50328         Add new tests to check cases with negative values.
50330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50332         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50333         * sysdeps/x86_64/dla.h: ...here.  New file.
50334         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50344 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50347         __ynl_finite aliases.
50349 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50353         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50354         define DLA_FMA.
50355         [DLA_FMA] (EMULV): Use DLA_FMA.
50356         [DLA_FMA] (MUL12): Use EMULV.
50357         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50358         that are not needed.
50359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50367 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50369         * math/s_nan.c: Undef __nan.
50370         * math/s_nanf.c: Undef __nanf.
50371         * math/s_nanl.c: Undef __nanl.
50372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50373         "math_private.h".
50375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50377         * math/s_catan.c: Add branch predictions.
50378         * math/s_catanf.c: Likewise.
50379         * math/s_catanh.c: Likewise.
50380         * math/s_catanhf.c: Likewise.
50381         * math/s_catanhl.c: Likewise.
50382         * math/s_catanl.c: Likewise.
50383         * math/s_cexp.c: Likewise.
50384         * math/s_cexpf.c: Likewise.
50385         * math/s_cexpl.c: Likewise.
50386         * math/s_clog.c: Likewise.
50387         * math/s_clog10.c: Likewise.
50388         * math/s_clog10f.c: Likewise.
50389         * math/s_clog10l.c: Likewise.
50390         * math/s_clogf.c: Likewise.
50391         * math/s_clogl.c: Likewise.
50392         * math/s_csqrt.c: Likewise.
50393         * math/s_csqrtf.c: Likewise.
50394         * math/s_csqrtl.c: Likewise.
50395         * math/s_ctanf.c: Likewise.
50396         * math/s_ctanh.c: Likewise.
50397         * math/s_ctanhf.c: Likewise.
50398         * math/s_ctanhl.c: Likewise.
50399         * math/s_ctanl.c: Likewise.
50401         * math/math_private.h: Define __nan, __nanf, __nanl.
50402         * math/s_cacosh.c: Include <math_private.h>.
50403         * math/s_cacoshl.c: Likewise.
50404         * math/s_casinh.c: Likewise.
50405         * math/s_casinhf.c: Likewise.
50406         * math/s_casinhl.c: Likewise.
50407         * math/s_ccos.c: Rely entire on ccosh.
50408         * math/s_ccosf.c: Rely entire on ccoshf.
50409         * math/s_ccosl.c: Rely entirely on ccoshl.
50410         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50411         Remove tests for FE_INVALID.
50412         * math/s_ccoshf.c: Likewise.
50413         * math/s_ccoshl.c: Likewise.
50414         * math/s_csin.c: Likewise.
50415         * math/s_csinf.c: Likewise.
50416         * math/s_csinh.c Likewise.
50417         * math/s_csinhf.c: Likewise.
50418         * math/s_csinhl.c: Likewise.
50419         * math/s_csinl.c: Likewise.
50420         * math/s_ctan.c: Likewise.
50421         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50422         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50425 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50428         compilation problems.
50430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50431         __builtin_expect.
50433 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50435         * sysdeps/i386/configure.in: Test for -mfma4 option.
50436         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50437         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50438         COMMON_CPUID_INDEX_80000001.
50439         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50440         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50441         use it if FMA3 is not supported.
50442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50444         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50445         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50447 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50449         [BZ #12892]
50450         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50451         it would create a cycle with a link time dependency.
50453 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50455         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50456         instruction.
50457         * string/Makefile (strop-tests): Add rawmemchr.
50458         * string/test-rawmemchr.c: New file.
50460         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50462         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50463         when compiling str{,n}casecmp and when AVX is available.  Hook up
50464         new optimized code in initializers.
50466 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50468         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50469         __feraiseexcept instead of feraiseexcept.
50471 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50473         * math/math_private.h: Define defaults for libc_fetestexcept and
50474         libc_feupdateenv.
50475         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50476         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50477         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50479         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50480         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50481         libc_fetestexcept and libc_feupdateenv.
50483         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50484         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50485         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50486         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50487         libc_feholdexcept_setround.
50489         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50490         Add s_nearbyint-c and s_nearbyintf-c.
50491         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50492         nearbyintf inlines.
50493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50494         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50495         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50496         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50498         * math/math_private.h: Define defaults for libc_fegetround,
50499         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50500         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50501         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50503         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50504         standard functions.
50505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50506         Remove comments and hacks for old compiler versions.
50507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50508         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50509         libc_feholdexceptl.
50511 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50513         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50514         (__feraiseexcept_renamed): Add __NTH.
50515         (feraiseexcept): Add __NTH.  Rename local variables to fix
50516         namespace violations.
50518 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50524         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50525         recently added interfaces.
50526         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50528         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50529         about macro parameter expansion.
50531         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50532         __NO_MATH_INLINES is defined.  Cleanups.
50534         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50535         and __floorf is target has SSE4.1.
50536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50541         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50542         name.
50543         (floorf): Likewise.
50545         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50547 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50549         * misc/sys/cdefs.h: Fix last change.
50551         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50552         database lookup.
50554 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50556         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50558         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50564         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50567         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50568         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50569         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50570         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50571         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50573         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50575         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50577         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50578         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50579         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50582         ceil, ceilf, floor, floorf.
50584         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50585         Perform IRELATIVE relocations last.
50587         * elf/do-rel.h: Add another parameter nrelative, replacing the
50588         local variable with the same name.  Change name of the function
50589         to end in Rel or Rela (uppercase).
50590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50591         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50592         elf_dynamic_do_##reloc function.
50594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50596         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50597         is sufficient, at least on modern CPUs.
50599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50601         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50604         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50605         __expl_finite.
50606         * math/bits/math-finite.h: Add entries for exp.
50607         * math/e_expl.c: Add __*_finite alias.
50608         * sysdeps/i386/fpu/e_exp.S: Likewise.
50609         * sysdeps/i386/fpu/e_expf.S: Likewise.
50610         * sysdeps/i386/fpu/e_expl.c: Likewise.
50611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50615         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50616         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50619         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50620         is sufficient, at least on modern CPUs.
50622         * ctype/ctype-info.c (__ctype_init): Define.
50623         * include/ctype.h (__ctype_init): Declare.
50624         (__ctype_b_loc): The variable is always initialized.
50625         (__ctype_toupper_loc): Likewise.
50626         (__ctype_tolower_loc): Likewise.
50627         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50628         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50630 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50632         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50634         * configure.in: Also look in $cxxmachine/include for C++ system
50635         headers.
50637 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50639         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50640         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50641         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50642         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50644         (USE_AS_WMEMCMP): New macro.
50645         Fixing indents.
50646         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50647         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50648         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50649         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50651         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50652         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50653         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50654         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50655         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50656         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50657         (USE_AS_WMEMCMP): New macro.
50658         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50659         * sysdeps/string/test-memcmp.c: Update.
50660         Fix simple_wmemcmp.
50661         Add new tests.
50662         * wcsmbs/wmemcmp.c: Update.
50663         (WMEMCMP): New macro.
50664         Fix overflow bug.
50666 2011-10-12  Andreas Jaeger  <aj@suse.de>
50668         [BZ #13268]
50669         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50673         * libio/iofwide.c (do_length): Avoid warning.
50675         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50677 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50679         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50681         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50682         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50683         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50684         * sysdeps/i386/i686/fpu/e_log.S: New file.
50685         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50686         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50688         * ctype/ctype.h: Add support for inlined isXXX functions when
50689         compiling C++ code.
50691 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50693         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50697 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50699         [BZ #13291]
50700         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50702 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50705         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50706         feraiseexcept.
50708         * sysdeps/x86_64/memrchr.S: Check for zero size.
50710         * string/stratcliff.c: Add memrchr tests.
50712 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50715         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50716         rawmemchr-sse2 rawmemchr-sse2-bsf.
50717         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50718         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50720         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50721         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50722         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50724         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50725         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50726         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50727         * string/memrchr.c (MEMRCHR): New macro.
50729 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50731         Add integration with gcc's -ffinite-math-only and optimize wrapper
50732         functions in libm.
50733         * Versions.def: Define GLIBC_2.15 version for libm.
50734         * math/Makefile (headers): Add bits/math-finite.h.
50735         * math/bits/math-finite.h: New file.
50736         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50737         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50738         * math/e_acoshl.c: Add __*_finite alias.
50739         * math/e_acosl.c: Likewise.
50740         * math/e_asinl.c: Likewise.
50741         * math/e_atan2l.c: Likewise.
50742         * math/e_atanhl.c: Likewise.
50743         * math/e_coshl.c: Likewise.
50744         * math/e_exp10.c: Likewise.
50745         * math/e_exp10f.c: Likewise.
50746         * math/e_exp10l.c: Likewise.
50747         * math/e_exp2l.c: Likewise.
50748         * math/e_fmodl.c: Likewise.
50749         * math/e_gammal_r.c: Likewise.
50750         * math/e_hypotl.c: Likewise.
50751         * math/e_j0l.c: Likewise.
50752         * math/e_j1l.c: Likewise.
50753         * math/e_jnl.c: Likewise.
50754         * math/e_lgammal_r.c: Likewise.
50755         * math/e_log10l.c: Likewise.
50756         * math/e_log2l.c: Likewise.
50757         * math/e_logl.c: Likewise.
50758         * math/e_powl.c: Likewise.
50759         * math/e_sinhl.c: Likewise.
50760         * math/e_sqrtl.c: Likewise.
50761         * math/e_scalb.c: Completely rewritten and optimized.
50762         * math/e_scalbf.c: Likewise.
50763         * math/e_scalbl.c: Likewise.
50764         * math/w_acos.c: Likewise.
50765         * math/w_acosf.c: Likewise.
50766         * math/w_acosl.c: Likewise.
50767         * math/w_acosh.c: Likewise.
50768         * math/w_acoshf.c: Likewise.
50769         * math/w_acoshl.c: Likewise.
50770         * math/w_asin.c: Likewise.
50771         * math/w_asinf.c: Likewise.
50772         * math/w_asinl.c: Likewise.
50773         * math/w_atan2.c: Likewise.
50774         * math/w_atan2f.c: Likewise.
50775         * math/w_atan2l.c: Likewise.
50776         * math/w_atanh.c: Likewise.
50777         * math/w_atanhf.c: Likewise.
50778         * math/w_atanhl.c: Likewise.
50779         * math/w_exp10.c: Likewise.
50780         * math/w_exp10f.c: Likewise.
50781         * math/w_exp10l.c: Likewise.
50782         * math/w_fmod.c: Likewise.
50783         * math/w_fmodf.c: Likewise.
50784         * math/w_fmodl.c: Likewise.
50785         * math/w_j0.c: Likewise.
50786         * math/w_j0f.c: Likewise.
50787         * math/w_j0l.c: Likewise.
50788         * math/w_j1.c: Likewise.
50789         * math/w_j1f.c: Likewise.
50790         * math/w_j1l.c: Likewise.
50791         * math/w_jn.c: Likewise.
50792         * math/w_jnf.c: Likewise.
50793         * math/w_log.c: Likewise.
50794         * math/w_logf.c: Likewise.
50795         * math/w_logl.c: Likewise.
50796         * math/w_log10.c: Likewise.
50797         * math/w_log10f.c: Likewise.
50798         * math/w_log10l.c: Likewise.
50799         * math/w_log2.c: Likewise.
50800         * math/w_log2f.c: Likewise.
50801         * math/w_log2l.c: Likewise.
50802         * math/w_pow.c: Likewise.
50803         * math/w_powf.c: Likewise.
50804         * math/w_powl.c: Likewise.
50805         * math/w_remainder.c: Likewise.
50806         * math/w_remainderf.c: Likewise.
50807         * math/w_remainderl.c: Likewise.
50808         * math/w_scalb.c: Likewise.
50809         * math/w_scalbf.c: Likewise.
50810         * math/w_scalbl.c: Likewise.
50811         * math/w_sqrt.c: Likewise.
50812         * math/w_sqrtf.c: Likewise.
50813         * math/w_sqrtl.c: Likewise.
50814         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50815         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50816         used.
50817         * math/math_private.h: Declare __kernel_standard_f.
50818         * math/w_cosh.c: Remove cruft and optimize a bit.
50819         * math/w_coshf.c: Likewise.
50820         * math/w_coshl.c: Likewise.
50821         * math/w_exp2.c: Likewise.
50822         * math/w_exp2f.c: Likewise.
50823         * math/w_exp2l.c: Likewise.
50824         * math/w_hypot.c: Likewise.
50825         * math/w_hypotf.c: Likewise.
50826         * math/w_hypotl.c: Likewise.
50827         * math/w_lgamma.c: Likewise.
50828         * math/w_lgamma_r.c: Likewise.
50829         * math/w_lgammaf.c: Likewise.
50830         * math/w_lgammaf_r.c: Likewise.
50831         * math/w_lgammal.c: Likewise.
50832         * math/w_lgammal_r.c: Likewise.
50833         * math/w_sinh.c: Likewise.
50834         * math/w_sinhf.c: Likewise.
50835         * math/w_sinhl.c: Likewise.
50836         * math/w_tgamma.c: Likewise.
50837         * math/w_tgammaf.c: Likewise.
50838         * math/w_tgammal.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50841         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50842         Minor optimizations.  Pretty printing.  Remove cruft.
50843         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50847         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50848         * sysdeps/i386/fpu/e_asin.S: Likewise.
50849         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50850         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50851         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50852         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50854         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50856         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50857         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50858         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50859         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50860         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50861         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50862         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50863         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50864         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50865         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50866         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50867         * sysdeps/i386/fpu/e_log.S: Likewise.
50868         * sysdeps/i386/fpu/e_log10.S: Likewise.
50869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50871         * sysdeps/i386/fpu/e_log2.S: Likewise.
50872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50873         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50874         * sysdeps/i386/fpu/e_logf.S: Likewise.
50875         * sysdeps/i386/fpu/e_logl.S: Likewise.
50876         * sysdeps/i386/fpu/e_pow.S: Likewise.
50877         * sysdeps/i386/fpu/e_powf.S: Likewise.
50878         * sysdeps/i386/fpu/e_powl.S: Likewise.
50879         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50880         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50881         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50885         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50886         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50887         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50888         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50889         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50892         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50894         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50895         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50896         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50898         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50901         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50902         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50908         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50913         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50914         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50917         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50919         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50920         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50922         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50923         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50924         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50925         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50929         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50930         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50933         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50934         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50935         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50936         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50985         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50986         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50987         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50988         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50989         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50990         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50991         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50996         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50997         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50998         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50999         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51000         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51001         (__isnanf): Likewise.
51002         (__isinf_ns): Likewise.
51003         (__isinf_nsf): Likewise.
51004         (__finite): Likewise.
51005         (__finitef): Likewise.
51006         (__ieee754_sqrt): Define as macro.
51007         (__ieee754_sqrtf): Define as macro.
51008         (__ieee754_sqrtl): Define as macro.
51009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51010         inlined copy.
51011         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51012         __FINITE_MATH_ONLY__ consistent.
51013         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51015 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51017         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51018         of rawmemchr.
51020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51022 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51024         * po/ja.po: Update from translation team.
51026 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51028         * locale/programs/locarchive.c (prepare_address_space): New function.
51029         (create_archive, enlarge_archive, open_archive): Use it.
51031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51032         inside [SHARED], where it is used.
51034         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51036         * nss/getent.c (netgroup_keys): Remove unused variable.
51037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51039 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51041         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51047         * math/Makefile (libm-calls): Add s_isinf_ns.
51048         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51049         * math/multc3.c: Likewise.
51050         * math/s_casin.c: Likewise.
51051         * math/s_casinf.c: Likewise.
51052         * math/s_casinl.c: Likewise.
51053         * math/s_ccos.c: Likewise.
51054         * math/s_ccosf.c: Likewise.
51055         * math/s_ccosl.c: Likewise.
51056         * math/s_ctan.c: Likewise.
51057         * math/s_ctanf.c: Likewise.
51058         * math/s_ctanh.c: Likewise.
51059         * math/s_ctanhf.c: Likewise.
51060         * math/s_ctanhl.c: Likewise.
51061         * math/s_ctanl.c: Likewise.
51062         * math/w_fmod.c: Likewise.
51063         * math/w_fmodf.c: Likewise.
51064         * math/w_fmodl.c: Likewise.
51065         * math/w_remainder.c: Likewise.
51066         * math/w_remainderf.c: Likewise.
51067         * math/w_remainderl.c: Likewise.
51068         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51069         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51072         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51073         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51074         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51075         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51077         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51078         of the number.
51079         * stdio-common/printf_fphex.c: Likewise.
51080         * stdio-common/printf_size.c: Likewise.
51082         * math/e_exp10.c: Include math_private.h using <...> not "...".
51083         * math/e_exp10f.c: Likewise.
51084         * math/e_exp10l.c: Likewise.
51085         * math/e_exp2l.c: Likewise.
51086         * math/e_j0l.c: Likewise.
51087         * math/e_j1l.c: Likewise.
51088         * math/e_jnl.c: Likewise.
51089         * math/e_lgammal_r.c: Likewise.
51090         * math/e_rem_pio2l.c: Likewise.
51091         * math/e_scalb.c: Likewise.
51092         * math/e_scalbf.c: Likewise.
51093         * math/e_scalbl.c: Likewise.
51094         * math/k_cosl.c: Likewise.
51095         * math/k_sinl.c: Likewise.
51096         * math/k_tanl.c: Likewise.
51097         * math/s_cacoshf.c: Likewise.
51098         * math/s_catan.c: Likewise.
51099         * math/s_catanf.c: Likewise.
51100         * math/s_catanh.c: Likewise.
51101         * math/s_catanhf.c: Likewise.
51102         * math/s_catanhl.c: Likewise.
51103         * math/s_catanl.c: Likewise.
51104         * math/s_ccosh.c: Likewise.
51105         * math/s_ccoshf.c: Likewise.
51106         * math/s_ccoshl.c: Likewise.
51107         * math/s_cexp.c: Likewise.
51108         * math/s_cexpf.c: Likewise.
51109         * math/s_cexpl.c: Likewise.
51110         * math/s_clog.c: Likewise.
51111         * math/s_clog10.c: Likewise.
51112         * math/s_clog10f.c: Likewise.
51113         * math/s_clog10l.c: Likewise.
51114         * math/s_clogf.c: Likewise.
51115         * math/s_clogl.c: Likewise.
51116         * math/s_csin.c: Likewise.
51117         * math/s_csinf.c: Likewise.
51118         * math/s_csinh.c: Likewise.
51119         * math/s_csinhf.c: Likewise.
51120         * math/s_csinhl.c: Likewise.
51121         * math/s_csinl.c: Likewise.
51122         * math/s_csqrt.c: Likewise.
51123         * math/s_csqrtf.c: Likewise.
51124         * math/s_csqrtl.c: Likewise.
51125         * math/s_ctan.c: Likewise.
51126         * math/s_ctanf.c: Likewise.
51127         * math/s_ctanh.c: Likewise.
51128         * math/s_ctanhf.c: Likewise.
51129         * math/s_ctanhl.c: Likewise.
51130         * math/s_ctanl.c: Likewise.
51131         * math/s_ldexp.c: Likewise.
51132         * math/s_ldexpf.c: Likewise.
51133         * math/s_ldexpl.c: Likewise.
51134         * math/s_significand.c: Likewise.
51135         * math/s_significandf.c: Likewise.
51136         * math/s_significandl.c: Likewise.
51137         * math/w_acos.c: Likewise.
51138         * math/w_acosf.c: Likewise.
51139         * math/w_acosh.c: Likewise.
51140         * math/w_acoshf.c: Likewise.
51141         * math/w_acoshl.c: Likewise.
51142         * math/w_acosl.c: Likewise.
51143         * math/w_asin.c: Likewise.
51144         * math/w_asinf.c: Likewise.
51145         * math/w_asinl.c: Likewise.
51146         * math/w_atan2.c: Likewise.
51147         * math/w_atan2f.c: Likewise.
51148         * math/w_atan2l.c: Likewise.
51149         * math/w_atanh.c: Likewise.
51150         * math/w_atanhf.c: Likewise.
51151         * math/w_atanhl.c: Likewise.
51152         * math/w_cosh.c: Likewise.
51153         * math/w_coshf.c: Likewise.
51154         * math/w_coshl.c: Likewise.
51155         * math/w_dremf.c: Likewise.
51156         * math/w_exp10.c: Likewise.
51157         * math/w_exp10f.c: Likewise.
51158         * math/w_exp10l.c: Likewise.
51159         * math/w_exp2.c: Likewise.
51160         * math/w_exp2f.c: Likewise.
51161         * math/w_fmod.c: Likewise.
51162         * math/w_fmodf.c: Likewise.
51163         * math/w_fmodl.c: Likewise.
51164         * math/w_hypot.c: Likewise.
51165         * math/w_hypotf.c: Likewise.
51166         * math/w_hypotl.c: Likewise.
51167         * math/w_j0.c: Likewise.
51168         * math/w_j0f.c: Likewise.
51169         * math/w_j0l.c: Likewise.
51170         * math/w_j1.c: Likewise.
51171         * math/w_j1f.c: Likewise.
51172         * math/w_j1l.c: Likewise.
51173         * math/w_jn.c: Likewise.
51174         * math/w_jnf.c: Likewise.
51175         * math/w_jnl.c: Likewise.
51176         * math/w_lgamma.c: Likewise.
51177         * math/w_lgamma_r.c: Likewise.
51178         * math/w_lgammaf.c: Likewise.
51179         * math/w_lgammaf_r.c: Likewise.
51180         * math/w_lgammal.c: Likewise.
51181         * math/w_lgammal_r.c: Likewise.
51182         * math/w_log.c: Likewise.
51183         * math/w_log10.c: Likewise.
51184         * math/w_log10f.c: Likewise.
51185         * math/w_log10l.c: Likewise.
51186         * math/w_log2.c: Likewise.
51187         * math/w_log2f.c: Likewise.
51188         * math/w_log2l.c: Likewise.
51189         * math/w_logf.c: Likewise.
51190         * math/w_logl.c: Likewise.
51191         * math/w_pow.c: Likewise.
51192         * math/w_powf.c: Likewise.
51193         * math/w_powl.c: Likewise.
51194         * math/w_remainder.c: Likewise.
51195         * math/w_remainderf.c: Likewise.
51196         * math/w_remainderl.c: Likewise.
51197         * math/w_scalb.c: Likewise.
51198         * math/w_scalbf.c: Likewise.
51199         * math/w_scalbl.c: Likewise.
51200         * math/w_sinh.c: Likewise.
51201         * math/w_sinhf.c: Likewise.
51202         * math/w_sinhl.c: Likewise.
51203         * math/w_sqrt.c: Likewise.
51204         * math/w_sqrtf.c: Likewise.
51205         * math/w_sqrtl.c: Likewise.
51206         * math/w_tgamma.c: Likewise.
51207         * math/w_tgammaf.c: Likewise.
51208         * math/w_tgammal.c: Likewise.
51210         * po/ja.po: Update from translation team.
51212 2011-09-29  Andreas Jaeger  <aj@suse.de>
51214         [BZ #13179]
51215         * sunrpc/netname.c (netname2host): Fix logic.
51217         [BZ #6779]
51218         [BZ #6783]
51219         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51220         correctly.
51221         * math/w_remainder.c (__remainder): Likewise.
51222         * math/w_remainderf.c (__remainderf): Likewise.
51223         * math/libm-test.inc (remainder_test): Add test cases.
51225 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51227         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51228         sdiv_qrnnd.
51230 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51232         * string/test-memcmp.c: Avoid unncessary #defines.
51233         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51235 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51237         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51238         Use new sse2 version for core i3 - i7 as it's faster
51239         than sse42 version.
51240         (bit_Prefer_PMINUB_for_stringop): New.
51241         * sysdeps/x86_64/rawmemchr.S: Update.
51242         Replace with faster SSE2 version.
51243         * sysdeps/x86_64/memrchr.S: New file.
51244         * sysdeps/x86_64/memchr.S: Update.
51245         Replace with faster SSE2 version.
51247 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51249         * elf/dl-load.c (lose): Add cast to avoid warning.
51251 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51253         * po/ca.po: Update from translation team.
51255         * inet/getnetgrent_r.c: Hook up nscd.
51256         * nscd/Makefile (routines): Add nscd_netgroup.
51257         (nscd-modules): Add netgroupcache.
51258         (CFLAGS-netgroupcache.c): Define.
51259         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51260         (cache_search): Add const to second parameter.
51261         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51262         INNETGR.
51263         (dbs): Add netgrdb entry.
51264         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51265         (verify_persistent_db): Handle netgrdb.
51266         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51267         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51268         GETFDNETGR.
51269         (netgroup_response_header): Define.
51270         (innetgroup_response_header): Define.
51271         (datahead): Add netgroup_response_header and innetgroup_response_header
51272         elements.
51273         * nscd/nscd.conf: Add entries for netgroup cache.
51274         * nscd/nscd.h (dbtype): Add netgrdb.
51275         (_PATH_NSCD_NETGROUP_DB): Define.
51276         (netgroup_iov_disabled): Declare.
51277         (xmalloc, xcalloc, xrealloc): Move declarations here.
51278         (cache_search): Adjust prototype.
51279         Add netgroup-related prototypes.
51280         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51281         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51282         (__nscd_innetgr): Declare.
51283         * nscd/selinux.c (perms): Use access_vector_t as element type and
51284         add netgroup-related initializers.
51285         * nscd/netgroupcache.c: New file.
51286         * nscd/nscd_netgroup.c: New file.
51287         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51288         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51289         For four parameters use innetgr.
51290         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51291         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51292         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51293         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51295         * nscd/connections.c (register_traced_file): Don't register file
51296         for disabled databases.
51298 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51300         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51302         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51303         from tree and freeing node.
51305 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51307         * nss/nsswitch.c (__nss_database_lookup): Handle
51308         nss_parse_service_list out of memory case.
51310 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51312         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51313         out of memory case.
51315 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51317         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51318         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51319         pass it down.
51320         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51321         elf_machine_rela, elf_machine_lazy_rel.
51322         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51323         (ELF_DYNAMIC_DO_REL): Likewise.
51324         (ELF_DYNAMIC_DO_RELA): Likewise.
51325         (ELF_DYNAMIC_RELOCATE): Likewise.
51326         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51327         to ELF_DYNAMIC_DO_REL.
51328         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51329         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51330         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51331         elf_machine_rela.
51332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51333         skip_ifunc, don't call ifunc function if non-zero.
51334         (elf_machine_rela): Likewise.
51335         (elf_machine_lazy_rel): Likewise.
51336         (elf_machine_lazy_rela): Likewise.
51337         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51338         (elf_machine_lazy_rel): Likewise.
51339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51340         Likewise.
51341         (elf_machine_lazy_rel): Likewise.
51342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51343         Likewise.
51344         (elf_machine_lazy_rel): Likewise.
51345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51346         (elf_machine_lazy_rel): Likewise.
51347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51348         (elf_machine_lazy_rel): Likewise.
51349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51350         (elf_machine_lazy_rel): Likewise.
51351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51352         (elf_machine_lazy_rel): Likewise.
51353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51354         (elf_machine_lazy_rel): Likewise.
51355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51356         (elf_machine_lazy_rel): Likewise.
51358 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51360         * nss/nss_files/files-init.c (_nss_files_init): Use static
51361         initialization for all the *_traced_file variables.
51363 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51367 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51369         [BZ #13226]
51370         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51372 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51375         Reread the line before reparsing it.
51377 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51379         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51381 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51382             Maxim Kuvyrkov  <maxim@codesourcery.com>
51383             Joseph Myers  <joseph@codesourcery.com>
51385         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51386         if needed for __stack_chk_guard.
51388 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51390         * sysdeps/posix/spawni.c (script_execute): Always define it.
51391         It will be optimized away if unused.
51392         (maybe_script_execute): New function.
51393         (__spawni): Call it.
51395         * Makerules: Don't include tls.make.
51396         (config-tls): Always set to thread.
51397         * tls.make.c: File removed.
51399 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51401         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51402         * config.make.in (CPPFLAGS-config): New substituted variable.
51404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51408         [BZ #13192]
51409         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51410         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51412 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51415         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51417         (CALL_FAIL): Likewise.
51418         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51419         (CALL_FAIL): Macro removed.
51420         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51425         for __FINITE_MATH_ONLY__ == 1.
51427 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51429         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51430         __ieee754_sqrt instead of sqrt.
51431         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51432         __ieee754_sqrtf instead of sqrtf.
51433         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51434         __floorf instead of floorf.
51435         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51436         __floorf, __truncf instead of floorf, truncf.
51438 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51440         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51442         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51443         __extern_always_inline.
51444         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51445         32-bit.
51447 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51449         * elf/rtld.c (dl_main): Also relocate in dependency order when
51450         doing symbol dependency testing.
51452 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51455         Always define `refsym'.
51457 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51459         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51460         (__FD_ELT): Renamed from __FDELT.
51461         * misc/bits/select2.h (__FD_ELT): Likewise.
51462         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51463         __FD_MASK instead of __FDELT, __FDMASK.
51464         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51465         Likewise.
51466         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51467         Likewise.
51469         * elf/Makefile (gen-ldd): Fix pattern.
51471         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51472         (init_tls): Likewise.
51474 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51478 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51480         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51481         `struct cmsghdr *' instead of `void *'.
51482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51483         Likewise.
51485 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51487         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51488         if non-absolute.
51489         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51490         ldd_rewrite_script.
51492 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51494         * configure.in: Remove --with-tls option.
51495         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51496         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51497         out in case it is missing.
51498         * sysdeps/ia64/elf/configure.in: Likewise.
51499         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51500         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51501         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51502         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51503         * sysdeps/sh/elf/configure.in: Likewise.
51504         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51506         * sysdeps/x86_64/elf/configure.in: Likewise.
51507         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51508         * sysdeps/mach/hurd/tls.h: Likewise.
51510         [BZ #13067]
51511         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51513         [BZ #13090]
51514         * configure.in: Fix use of AC_INIT.
51516         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51518 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51520         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51521         __set_errno.
51522         * malloc/hooks.c: Likewise.
51524         [BZ #11929]
51525         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51526         variables statically.
51527         (narenas): Initialize.
51528         (list_lock): Initialize.
51529         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51530         initializtion of main_arena and list_lock.  Small cleanups.
51531         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51532         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51533         Add initializers to main_arena and mp_.
51534         (malloc_state): Remove pagesize member.  Change all users to use
51535         GLRO(dl_pagesize).
51537         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51538         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51539         is always initialized.
51541         * malloc/malloc.c: Removed unused configurations and dead code.
51542         * malloc/arena.c: Likewise.
51543         * malloc/hooks.c: Likewise.
51544         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51546         * include/tls.h: Removed.  USE___THREAD must always be defined.
51547         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51548         * elf/dl-libc.c: Likewise.
51549         * elf/dl-tsd.c: Likewise.
51550         * include/errno.h: Likewise.
51551         * include/netdb.h: Likewise.
51552         * include/resolv.h: Likewise.
51553         * inet/herrno-loc.c: Likewise.
51554         * inet/herrno.c: Likewise.
51555         * malloc/arena.c: Likewise.
51556         * malloc/hooks.c: Likewise.
51557         * malloc/malloc.c: Likewise.
51558         * resolv/res-state.c: Likewise.
51559         * resolv/res_libc.c: Likewise.
51560         * sysdeps/i386/dl-machine.h: Likewise.
51561         * sysdeps/ia64/dl-machine.h: Likewise.
51562         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51564         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51566         * sysdeps/sh/dl-machine.h: Likewise.
51567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51569         * sysdeps/unix/i386/sysdep.S: Likewise.
51570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51571         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51581         * sysdeps/x86_64/dl-machine.h: Likewise.
51582         * tls.make.c: Likewise.
51584         * configure.in: Remove --with-__thread option.  Make tests for
51585         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51586         tls_model attribute fail if no support is available.  Remove
51587         USE_IN_LIBIO.
51588         * Makeconfig: Adjust for dropped configure option.  All features are
51589         now mandatory.
51590         * Makerules: Likewise.
51591         * Versions.def: Likewise.
51592         * argp/argp-fmtstream.c: Likewise.
51593         * argp/argp-fmtstream.h: Likewise.
51594         * argp/argp-help.c: Likewise.
51595         * assert/assert.c: Likewise.
51596         * config.h.in: Likewise.
51597         * config.make.in: Likewise.
51598         * configure: Likewise.
51599         * configure.in: Likewise.
51600         * csu/Versions: Likewise.
51601         * csu/init.c: Likewise.
51602         * elf/tst-audit2.c: Likewise.
51603         * elf/tst-tls10.c: Likewise.
51604         * elf/tst-tls10.h: Likewise.
51605         * elf/tst-tls11.c: Likewise.
51606         * elf/tst-tls12.c: Likewise.
51607         * elf/tst-tls14.c: Likewise.
51608         * elf/tst-tlsmod11.c: Likewise.
51609         * elf/tst-tlsmod12.c: Likewise.
51610         * elf/tst-tlsmod13.c: Likewise.
51611         * elf/tst-tlsmod13a.c: Likewise.
51612         * elf/tst-tlsmod14a.c: Likewise.
51613         * elf/tst-tlsmod15b.c: Likewise.
51614         * elf/tst-tlsmod16a.c: Likewise.
51615         * elf/tst-tlsmod16b.c: Likewise.
51616         * elf/tst-tlsmod7.c: Likewise.
51617         * elf/tst-tlsmod8.c: Likewise.
51618         * elf/tst-tlsmod9.c: Likewise.
51619         * gmon/gmon.c: Likewise.
51620         * grp/fgetgrent_r.c: Likewise.
51621         * grp/putgrent.c: Likewise.
51622         * hurd/fopenport.c: Likewise.
51623         * include/libc-symbols.h: Likewise.
51624         * include/tls.h: Likewise.
51625         * intl/gettextP.h: Likewise.
51626         * intl/loadinfo.h: Likewise.
51627         * locale/global-locale.c: Likewise.
51628         * locale/localeinfo.h: Likewise.
51629         * mach/devstream.c: Likewise.
51630         * malloc/arena.c: Likewise.
51631         * malloc/set-freeres.c: Likewise.
51632         * misc/err.c: Likewise.
51633         * misc/getttyent.c: Likewise.
51634         * misc/mntent_r.c: Likewise.
51635         * posix/getopt.c: Likewise.
51636         * posix/wordexp.c: Likewise.
51637         * pwd/fgetpwent_r.c: Likewise.
51638         * resolv/Versions: Likewise.
51639         * resolv/res_hconf.c: Likewise.
51640         * shadow/fgetspent_r.c: Likewise.
51641         * shadow/putspent.c: Likewise.
51642         * stdio-common/printf_fphex.c: Likewise.
51643         * stdio-common/tmpfile.c: Likewise.
51644         * stdlib/abort.c: Likewise.
51645         * stdlib/fmtmsg.c: Likewise.
51646         * sunrpc/auth_unix.c: Likewise.
51647         * sunrpc/clnt_perr.c: Likewise.
51648         * sunrpc/clnt_tcp.c: Likewise.
51649         * sunrpc/clnt_udp.c: Likewise.
51650         * sunrpc/clnt_unix.c: Likewise.
51651         * sunrpc/openchild.c: Likewise.
51652         * sunrpc/svc_simple.c: Likewise.
51653         * sunrpc/svc_tcp.c: Likewise.
51654         * sunrpc/svc_udp.c: Likewise.
51655         * sunrpc/svc_unix.c: Likewise.
51656         * sunrpc/xdr.c: Likewise.
51657         * sunrpc/xdr_array.c: Likewise.
51658         * sunrpc/xdr_rec.c: Likewise.
51659         * sunrpc/xdr_ref.c: Likewise.
51660         * sunrpc/xdr_stdio.c: Likewise.
51662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51664         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51666 2011-07-03  Andreas Jaeger  <aj@suse.de>
51668         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51669         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51670         regenerate with gen-libm-tests.pl.
51672 2010-05-12  Petr Baudis  <pasky@suse.cz>
51674         [BZ #11589]
51675         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51676         around j0() zero points by switching to j1().
51677         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51685         instead of 0.
51686         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51687         instead of 0.
51688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51689         Patch in part by Pavel Roskin <proski@gnu.org>.
51691         [BZ #13138]
51692         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51693         realloc.
51694         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51695         Free memory block if necessary.
51697         [BZ #12847]
51698         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51699         be NULL.  Don't lock in this case.
51701 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51703         * elf/elf.h (ELFOSABI_GNU): New macro.
51704         (ELFOSABI_LINUX): Define to that.
51706 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51708         * string/strncat.c (strncat): Undef the symbol in case it has been
51709         defined in bits/string.h.
51711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51713         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51715         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51716         link map.
51718 2011-08-17  Andreas Jaeger  <aj@suse.de>
51720         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51722 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51723             Ian Lance Taylor  <iant@google.com>
51725         * math/libm-test.inc (lround_test): New testcase.
51726         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51728 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51730         * Makefile: Remove support for automatic cvs check-ins.
51731         * Makerules: Likewise.
51732         * config.make.in: Likewise.
51733         * configure.in: Likewise.
51734         * intl/Makefile: Likewise.
51735         * locale/Makefile: Likewise.
51736         * po/Makefile: Likewise.
51737         * posix/Makefile: Likewise.
51738         * sysdeps/gnu/Makefile: Likewise.
51739         * sysdeps/mach/hurd/Makefile: Likewise.
51740         * sysdeps/sparc/sparc32/Makefile: Likewise.
51742         [BZ #13118]
51743         * posix/Makefile (bug-regex32-ENV): Define.
51744         Patch by John Stanley <jpsinthemix@verizon.net>.
51746         * misc/Makefile (headers): Add bits/select2.h.
51747         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51748         * misc/bits/select2.h: New file.
51749         * include/bits/select2.h: New file.
51750         * debug/Makefile (routines): Add fdelt_chk.
51751         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51752         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51753         FD_ISSET.
51754         * debug/fdelt_chk.c: New file.
51756         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51757         * wcsmbs/test-wmemcmp.c: Likewise.
51758         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51759         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51761 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51763         * string/Makefile (strop-tests): Add memcmp.
51764         * string/test-wmemcmp.c: New file.
51765         * string/test-memcmp.c: Add wmemcmp support.
51767 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51769         [BZ #13153]
51770         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51771         2011-07-19 change.
51773         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51774         garbage value in a __mach_port_mod_refs call in the cases of the
51775         task-self and thread-self ports.
51777 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51779         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51781 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51783         * elf/dl-load.c (lose): Check for non-null L.
51785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51787         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51789         * elf/dl-libc.c (dlerror_run): Pass back error code from
51790         dl_catch_error.
51792         [BZ #13123]
51793         * elf/dl-load.c (lose): Free l_origin if it is valid.
51795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51796         names.
51797         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51801         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51802         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51804 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51806         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51807         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51808         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51810         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51811         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51812         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51813         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51814         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51815         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51817 2011-08-15  Alan Modra  <amodra@gmail.com>
51819         [BZ #13092]
51820         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51821         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51822         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51823         ppc_mcount to static-only-routines.
51824         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51825         __mcount_internal.
51826         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51827         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51829 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51832         for finite and infinity parameters.
51834 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51837         and add nop instructions for throughput optimization.
51838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51840 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51843         aligned copy for power7 with vector-scalar instructions.
51844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51846 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51849         AVX check.
51851 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51853         [BZ #13144]
51854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51855         last change.
51857 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51860         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51861         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51863         clock_gettime.
51865 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51867         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51868         Forgot to demangle the pointer.
51870         * sysdeps/i386/sysdep.h: Define atom_text_section.
51871         * sysdeps/x86_64/sysdep.h: Likewise.
51872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51873         section with atom_text_section.
51874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51876         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51878         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51882         already be defined.  Change to take two parameters and don't assign
51883         result to variable.  Adjust all users.
51884         Define INTERNAL_GETTIME if not already defined.
51885         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51886         call.
51887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51888         HAVE_CLOCK_GETTIME_VSYSCALL.
51889         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51892         gettimeofday vsyscall, just use time.
51894 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51897         <errno.h>.
51899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51901         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51902         syscall on x86-64.
51903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51904         syscall.
51905         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51907         syscall if possible.
51909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51911         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51912         e_ident.  Don't pass to find_mapsXX.
51913         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51915 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51918         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51919         * sysdeps/x86_64/multiarch/strchr.S: Update.
51920         Check bit_slow_BSF bit.
51921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51927         [BZ #13134]
51928         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51929         before glibc 2.15.
51930         (tryshell): Define.
51931         (__spawni): Change last parameter to be flag.  Test
51932         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51933         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51934         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51935         * posix/spawni.c: Likewise.
51936         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51937         * posix/spawnp.c: Likewise.  Change normal version to use
51938         SPAWN_XFLAGS_USE_PATH.
51939         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51940         SPAWN_XFLAGS_TRY_SHELL.
51942         [BZ #13150]
51943         * posix/glob.h: Remove gcc 1.x support.
51945         [BZ #13068]
51946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51951         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51952         strrchr-sse2-bsf
51953         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51954         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51957         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51960 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51962         * sysdeps/x86_64/wcscmp.S: New file.
51964         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51965         wcscmp-c wcscmp-sse2
51966         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51967         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51969         * wcsmbs/wcscmp.c: Allow renaming.
51971 2011-09-05  David S. Miller  <davem@davemloft.net>
51973         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51974         stack slot, rather than the struct return pointer slot.
51975         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51976         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51982         * po/ja.po: Update from translation team.
51984         [BZ #13144]
51985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51986         kernel in 64-bit binaries.
51988 2011-09-01  David S. Miller  <davem@davemloft.net>
51990         * elf/elf.h (HWCAP_SPARC_*): Move to..
51991         * sysdeps/sparc/sysdep.h: this new file and add new values.
51992         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51993         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51994         _DL_HWCAP_COUNT to 24.
51995         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51996         entries.
51997         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51998         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51999         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52001         instead of magic constants.
52002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52004 2011-08-31  David S. Miller  <davem@davemloft.net>
52006         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52008         Reimplement to do errno handling inline.
52009         (SYSCALL_ERROR_HANDLER): New macro.
52010         (__SYSCALL_STRING): Do not do errno handling in asm.
52011         (__CLONE_SYSCALL_STRING): Delete.
52012         (__INTERNAL_SYSCALL_STRING): Delete.
52013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52014         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52015         (PSEUDO): Reimplement to do errno handling inline.
52016         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52017         (SYSCALL_ERROR_HANDLER): New macro.
52018         (__SYSCALL_STRING): Do not do errno handling in asm.
52019         (__CLONE_SYSCALL_STRING): Delete.
52020         (__INTERNAL_SYSCALL_STRING): Delete.
52021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52022         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52023         i386.
52024         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52025         (inline_syscall*): Add 'err' argument.
52026         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52027         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52028         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52029         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52031         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52034 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52036         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52038 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52040         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52041         directive.
52043 2011-08-24  David S. Miller  <davem@davemloft.net>
52045         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52047 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52049         * elf/Makefile: Add rules to build and run unload8 test.
52050         * elf/unload8.c: New file.
52051         * elf/unload8mod1.c: New file.
52052         * elf/unload8mod1x.c: New file.
52053         * elf/unload8mod2.c: New file.
52054         * elf/unload8mod3.c: New file.
52056         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52057         it wasn't used.
52059 2011-08-23  David S. Miller  <davem@davemloft.net>
52061         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52062         subtract stack bias.
52063         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52064         %sp not %fp in calculations.
52065         (_JMPBUF_UNWINDS_ADJ): Likewise.
52067         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52068         (aio_suspend): Call it to force an exception region around the
52069         AIO_MISC_WAIT() invocation.
52071 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52073         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52074         backslash.
52076 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52078         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52079         protection macro.
52080         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52081         and <dl-machine.h>.
52082         (Elf64_FuncDesc): Remove.
52084 2011-08-22  David S. Miller  <davem@davemloft.net>
52086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52087         sigaltstack check, add missing cfi directives.
52088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52089         missing cfi directives, and sigaltstack handling.
52091 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52093         [BZ #11724]
52094         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52095         object is seen twice.
52096         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52098         * elf/Makefile (distribute): Add tst-initorder2.c.
52099         (tests): Add tst-initorder2.
52100         (modules-names): Add tst-initorder2a tst-initorder2b
52101         tst-initorder2c tst-initorder2d.  Add rules to build them.
52102         ($(objpfx)tst-initorder2.out): New rule.
52103         * elf/tst-initorder2.c: New file.
52104         * elf/tst-initorder2.exp: New file.
52106 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52108         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52110         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52111         dependencies back to end of function.
52113         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52114         $(elfobjdir)/ld.so.
52116 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52119         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52121         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52122         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52123         of __vdso_gettimeofday.
52124         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52125         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52126         attribute_hidden.
52127         (_libc_vdso_platform_setup): Remove initialization of
52128         __vdso_gettimeofday and __vdso_time.
52130 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52132         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52133         and fgetc_unlocked.
52134         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52135         getc_unlocked.
52137         * elf/dl-open.c (add_to_global): Report additions to the global scope
52138         for LD_DEBUG=scopes.
52139         (dl_open_worker): Also print scope of newly loaded dependencies.
52140         (_dl_show_scope): Indicate if there is no scope.
52142         [BZ #13114]
52143         * stdio-common/Makefile (tests): Add bug24.
52144         * stdio-common/bug24.c: New file.
52146 2011-08-19  Andreas Jaeger  <aj@suse.de>
52148         [BZ #13114]
52149         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52150         non-existant file when using close-on-exec mode.
52152 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52155         the very first instruction.
52157         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52158         the CFI state in the end.
52159         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52160         inclusion of dl-trampoline.h.
52161         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52163 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52165         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52166         expectations for long double.
52168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52169         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52171 2011-08-14  David S. Miller  <davem@davemloft.net>
52173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52174         artificual limit depends upon the system page size.
52176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52178         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52179         * resolv/Makefile: Define CFLAGS-libresolv.
52181 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52183         * nss/makedb.c (compute_tables): Make variables used in nested
52184         function static.
52186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52188         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52189         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52190         if buffer was too small.
52192         * elf/pldd.c (main): Attach to all threads in the process.
52193         Rewrite /proc handling to use *at functions.
52195 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52197         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52198         specifies first scope to show.
52199         (dl_open_worker): Update callers.  Move printing scope of new
52200         object to before the relocation.
52201         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52202         * sysdeps/generic/ldsodefs.h: Update declaration.
52204         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52205         string for the scope number.
52207 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52209         * nscd/servicescache.c (cache_addserv): Make sure written is always
52210         initialized.
52212 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52214         * sysdeps/i386/i486/bits/atomic.h
52215         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52216         statement expression, so as to suppress "set but not used" warning.
52217         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52219         * string/strncat.c (STRNCAT): Use prototype definition.
52221         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52222         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52223         -Iprograms here.
52224         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52225         (localedef-modules): Add localedef.
52226         (locale-modules): Add locale.
52228         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52229         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52230         to avoid a warning.
52232 2011-08-14  David S. Miller  <davem@davemloft.net>
52234         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52235         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52237 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52239         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52240         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52241         * elf/rtld.c (dl_main): Set l_name of vDSO.
52242         Call _dl_show_scope when DL_DEBUG_SCOPES.
52243         (process_dl_debug): Recognize scopes flag and also set it for all.
52244         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52245         Declare _dl_show_scope.
52247         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52248         (do_dlopen): Pass caller_dlopen to dl_open.
52249         (__libc_dlopen_mode): Initialize caller_dlopen.
52251         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52252         of libc.  Make tolower call locale-independent.  Optimize a bit by
52253         using isdigit instead of isalnum.
52254         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52256 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52258         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52259         was a dependency or dynamically loaded.
52261 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52263         * intl/l10nflist.c: Allow architecture-specific pop function.
52264         * sysdeps/x86_64/l10nflist.c: New file.
52266         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52267         classification.
52269 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52271         * include/dirent.h: Add libc_hidden_proto for scandirat and
52272         scandirat64.  Don't declare __scandirat64.
52273         * dirent/scandirat.c: Add libc_hidden_def.
52274         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52275         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52277 2011-08-10  David S. Miller  <davem@davemloft.net>
52279         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52280         enum.
52281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52285 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52287         * Versions.def [libc]: Add GLIBC_2.15.
52288         * dirent/Makefile (routines): Add scandirat and scandirat64.
52289         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52290         GLIBC_2.15.
52291         * dirent/dirent.h: Declare scandirat and scandirat64.
52292         * dirent/scandirat.c: New file.
52293         * dirent/scandirat64.c: New file.
52294         * sysdeps/wordsize-64/scandirat.c: New file.
52295         * sysdeps/wordsize-64/scandirat64.c: New file.
52296         * dirent/opendir.c: Define opendirat.
52297         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52298         using scandirat.
52299         * dirent/scandir64.c: Adjust for scandir.c change.
52300         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52301         __scandirat64, and __scandir_cancel_handler.
52302         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52303         additional parameter and use openat instead of open (outside of ld.so).
52304         Add new __opendir as wrapper around __opendirat.
52305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52306         here without requiring old scandirat implementation.
52308 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52310         * dirent/scandir.c (cancel_handler): Renamed to
52311         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52312         defined.  Adjust users.
52313         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52316 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52318         * string/test-string.h (IMPL): Use __STRING to expand name and then
52319         stringify it.
52321         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52322         of cleanups.
52324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52326         * string/Makefile: Update.
52327         (strop-tests): Append strncat.
52328         * string/test-wcscmp.c: New file.
52329         New comprehensive test for wcscmp.
52330         * string/test-strcmp.c: Update.
52331         (WIDE): New define.
52333 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52335         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52336         line.
52338 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52341         encoding to ACE if AI_IDN.
52343 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52346         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52351         Fix overflow bug in strncat.
52352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52354         * string/test-strncat.c: Update.
52355         Add new tests for checking overflow bugs.
52357 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52360         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52361         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52362         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52365         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52366         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52367         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52369         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52370         (USE_AS_STRCAT): Define.
52371         Add strcat and strncat support.
52372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52374 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52376         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52377         __n bigger than INT_MAX+1.
52378         (__strncmp_g): Likewise.
52380 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52382         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52383         * libio/stido.h: Likewise.
52385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52386         (AF_NFC): Define.
52387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52388         (AF_NFC): Define.
52390         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52393         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52396         [BZ #13021]
52397         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52398         installed.
52400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52401         typo.
52402         (_dl_x86_64_save_sse): Likewise.
52404 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52407         OSXSAVE.
52408         (_dl_x86_64_save_sse): Likewise.
52410         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52412         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52414 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52417         change.
52418         (_dl_x86_64_save_sse): Use correct AVX check.
52420 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52423         bug in strncpy/strncat.
52424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52426 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52428         * string/tester.c (test_strcat): Add tests for different alignments
52429         of source and destination.
52430         (test_strncat): Likewise.
52432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52434         [BZ #12852]
52435         * posix/glob.c (glob): Check passed in values before using them in
52436         expressions to avoid some overflows.
52437         (glob_in_dir): Likewise.
52439         [BZ #13007]
52440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52441         check for AVX enablement so that we don't crash with old kernels and
52442         new hardware.
52443         * elf/tst-audit4.c: Add same checks here.
52444         * elf/tst-audit6.c: Likewise.
52446         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52448 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52450         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52452 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52454         * po/cs.po: Update from translation team.
52455         * po/bg.po: Likewise.
52457 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52459         * misc/sys/cdefs.h: Add support for const attribute.
52460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52461         to gnu_dev_{major,minor,makedev} functions.
52463 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52465         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52467 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52469         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52470         strlen results.
52472 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52475         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52476         register in order to avoid conflicts with the soft frame pointer
52477         being held in r11 when necessary.
52478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52479         (INTERNAL_VSYSCALL_NCS): Likewise.
52481 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52483         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52484         * elf/dl-fini.c (_dl_fini): Adjust caller.
52485         * elf/dl-close.c (_dl_close_worker): Likewise.
52486         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52490         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52491         "aux_cache->nlibs < 0".
52493         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52494         in the reload-count case.
52496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52499         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52500         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52502         * sysdeps/x86_64/multiarch/strcat.S: New file.
52503         * sysdeps/x86_64/multiarch/strncat.S: New file.
52504         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52506         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52507         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52509         (USE_AS_STRCAT): Define.
52510         Add strcat and strncat support.
52511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52512         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52514         * string/strncat.c: Update.
52515         (USE_AS_STRNCAT): Define.
52516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52517         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52518         and i7.
52519         * sysdeps/x86_64/multiarch/init-arch.h
52520         (bit_Prefer_PMINUB_for_stringop): New.
52521         (index_Prefer_PMINUB_for_stringop): Likewise.
52522         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52523         bit_Prefer_PMINUB_for_stringop.
52525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52527         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52528         buffer64.
52529         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52530         of casting of buffer.
52531         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52532         buffer32 and buffer64.
52533         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52534         writes instead of casting of buffer.
52535         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52536         buffer32.
52537         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52538         casting of buffer.
52540 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52542         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52546         * nscd/nscd.c (termination_handler): Don't do anything for a database
52547         if it has not yet been initialized.
52549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52555         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52557 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52559         * po/nl.po: Update from translation team.
52560         * po/sv.po: Likewise.
52562 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52564         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52565         now disallowed by GCC.
52567         * configure.in (use-default-link): Default to yes if a test -shared
52568         link meets our qualifications.
52569         * configure: Regenerated.
52571         * config.make.in (output-format): New variable.
52572         * configure.in: Check for ld --print-output-format support.
52573         * configure: Regenerated.
52574         * Makerules ($(common-objpfx)format.lds)
52575         [$(output-format) != unknown]: Just use $(output-format),
52576         instead of the linker-script munging.
52578 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52580         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52581         of $(common-objpfx)shlib.lds.
52582         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52584         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52585         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52587         * configure.in (-z relro check): Adjust test code to add a large
52588         writable data section after it.
52589         * configure: Regenerated.
52591 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52593         * configure.in (-z relro check): Fix test code to make the variable
52594         truly const.
52595         * configure: Regenerated.
52597 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52599         * nscd/nscd.h (struct traced_file): Define.
52600         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52601         elements.  Add traced_files.
52602         (inotify_fd): Declare.
52603         (register_traced_file): Declare.
52604         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52605         (inotify_fd): Export.
52606         (resolv_conf_descr): Remove.
52607         (nscd_init): Move inotify descriptor creation to main.
52608         Don't register files for notification here.
52609         (register_traced_file): New function.
52610         (invalidate_cache): Don't use reset_res to determine whether to call
52611         res_init, go through the list of registered files.
52612         (main_loop_poll): The inotify descriptors are now stored in the
52613         structures for the traced files.
52614         (main_loop_epoll): Likewise
52615         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52616         to __nss_disable_nscd.
52617         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52618         for a database anymore.  Check the records for all the registered
52619         files instead.
52620         * nss/Makefile (libnss_files-routines): Add files-init.
52621         (libnss_db-routines): Add db-init.
52622         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52623         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52624         * nss/nss_db/db-init.c: New file.
52625         * nss/nss_files/files-init.c: New file.
52626         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52627         __nss_lookup_function.
52628         (__nss_lookup_function): Call nss_load_library.
52629         (nss_load_all_libraries): New function.
52630         (__nss_disable_nscd): Take parameter with callback function for files
52631         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52632         used for the cached services.
52633         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52635         options for features to all the files in nscd.
52637         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52639 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52641         * csu/elf-init.c (__libc_csu_init): Comment typo.
52643 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52645         * po/pl.po: Update from translation team.
52646         * po/ja.po: Likewise.
52647         * po/ru.po: Likewise.
52648         * po/ko.po: Likewise.
52649         * po/fr.po: Likewise.
52651 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52653         * configure.in (.ctors/.dtors header and trailer check):
52654         Use an empirical test on a built program.
52655         * configure: Regenerated.
52657         * configure.in (-z relro check): Use an empirical test on a built DSO.
52658         Detect, but do not require, on ia64.
52659         * configure: Regenerated.
52661         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52662         Update tests that use readelf to use $READELF instead.
52663         * configure: Regenerated.
52665 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52667         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52668         if the result is not used.
52670 2011-07-05  Andreas Jaeger  <aj@suse.de>
52672         [BZ#9696]
52673         * stdlib/tst-strtod.c: Add testcase.
52675 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52677         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52678         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52679         The latter has a higher limit.  Take additional parameter to pass to
52680         the new function.
52681         (__pathconf): Pass file to __statfs_link_max.
52682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52683         __statfs_link_max.
52684         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52685         __statfs_link_max.
52687         [BZ #12868]
52688         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52690         Handle Lustre.
52691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52692         (__statfs_filesize_max): Likewise.
52693         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52695 2011-07-05  Andreas Jaeger  <aj@suse.de>
52697         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52699 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52701         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52702         `status' variable.
52703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52704         Likewise.
52706 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52708         * Makefile (strop-tests): Add strncat.
52709         * string/test-strncat.c: New file.
52711 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52713         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52715 2011-06-21  Andreas Jaeger  <aj@suse.de>
52717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52718         Copy rule from iconvdata/Makefile.
52720 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52722         [BZ #12922]
52723         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52724         but no long options are defined, just return 'W'.
52726 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52728         [BZ #9696]
52729         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52731 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52733         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52734         netgroups to read.
52735         (innetgr): Likewise.
52737 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52739         * config.make.in (install_root): Default to $(DESTDIR).
52741 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52745 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52747         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52749         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52750         containing directory rather than embedding absolute directory names.
52752         * scripts/check-local-headers.sh: Rewritten using awk.
52753         Match by word, not by line.  Print error messages for matches.
52754         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52756         * Makerules [shlib-lds-flags empty]:
52757         ($(common-objpfx)libc_pic.opts): New target.
52758         ($(common-objpfx)libc_pic.os.clean): New target.
52759         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52761         * config.make.in (OBJCOPY): New variable.
52762         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52763         * configure: Regenerated.
52765         * config.make.in (use-default-link): New variable.
52766         * configure.in (use_default_link): Grok --with-default-link to set it.
52767         * configure: Regenerated.
52768         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52769         (shlib-lds, shlib-lds-flags): Define to empty.
52771         * Makerules (shlib-lds): New variable.
52772         (shlib-lds-flags): New variable.
52773         (build-shlib, build-moduile, build-module-asneeded): Use it.
52774         ($(common-objpfx)libc.so): Use $(shlib-lds).
52775         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52776         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52778         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52779         DT_FLAGS/DT_FLAGS_1 with zero flags.
52781         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52782         linker script munging.
52784 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52786         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52787         as 128-bit value.
52788         * crypt/sha512.c (sha512_process_block): Perform total addition using
52789         128-bit if possible.
52790         (__sha512_finish_ctx): Likewise.
52791         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52792         as 64-bit value.
52793         * crypt/sha256.c (SWAP64): Define.
52794         (sha256_process_block): Perform total addition using 64-bit if
52795         possible.
52796         (__sha256_finish_ctx): Likewise.
52798 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52800         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52802         * nscd/hstcache.c (cache_addhst): Likewise.
52803         * nscd/grpcache.c (cache_addgr): Likewise.
52804         * nscd/aicache.c (addhstaiX): Likewise
52805         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52807 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52809         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52811         * nscd/hstcache.c (cache_addhst): Likewise.
52812         * nscd/grpcache.c (cache_addgr): Likewise.
52813         * nscd/aicache.c (addhstaiX): Likewise
52815 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52818         domain only when needed.
52820 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52823         is always restored.
52825 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52827         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52828         are re-adding the entry.
52829         * nscd/servicescache.c (cache_addserv): Likewise.
52831 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52833         * sysdeps/generic/dl-irel.h: fix protection against multiple
52834         inclusions.
52835         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52837 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52839         [BZ #12935]
52840         * malloc/memusage.sh: Fix quoting in message.
52841         * debug/xtrace.sh: Likewise.
52843         * configure.in: Remove support for --experimental-malloc option, make
52844         it the default.
52845         * config.make.in: Likewise.
52846         * malloc/Makefile: Likewise.
52848 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52850         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52851         two-byte characters.
52853 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52855         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52856         AC_CACHE_CHECK invocation.
52857         * configure: Regenerated.
52859         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52861 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52863         [BZ #12350]
52864         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52865         bit from old_res_options.
52867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52869         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52870         value type for setfct.
52872 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52875         __gettimeofday instead of gettimeofday.
52877 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52879         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52881 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52886         info.
52888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52891         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52892         strcpy-sse2-unaligned strncpy-sse2-unaligned
52893         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52894         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52895         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52896         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52897         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52900         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52901         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52902         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52903         (STRCPY): Support SSE2 and SSSE3 versions.
52905 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52907         [BZ #12874]
52908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52909         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52910         kernels which artificially limit size of requests.
52912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52915         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52916         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52917         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52918         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52919         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52920         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52921         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52924         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52925         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52926         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52927         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52928         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52930         Enable unaligned load optimization for Intel Core i3, i5 and i7
52931         processors.
52932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52933         Define.
52934         (index_Fast_Unaligned_Load): Define.
52935         (HAS_FAST_UNALIGNED_LOAD): Define.
52937 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52939         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52941 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52943         [BZ #12907]
52944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52945         until it is clear that the information is realy needed.
52946         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52948 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52952 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52955         /sys/devices/system/cpu/online if it is usable.
52957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52958         reading the information from the /proc filesystem to once a second.
52960 2011-06-21  Andreas Jaeger  <aj@suse.de>
52962         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52963         NULL after inclusion of kernel headers.
52965 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52967         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52968         calls to internal_setent.
52970         [BZ #12885]
52971         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52972         addresses using gethostbyname4_r ignore IPv4 addresses.
52974         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52975         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52977         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52979 2011-06-20  David S. Miller  <davem@davemloft.net>
52981         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52982         inclusions.
52983         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52985         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52986         (elf_irel): Use it.
52987         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52988         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52989         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52990         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52991         * sysdeps/x86_64/dl-irel.h: Likewise.
52993         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52994         * elf/dl-sym.c: Likewise.
52996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52998         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52999         need to dereference resplen2.
53001 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53003         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53007         * Makeconfig: Define vardbdir and inst_vardbdir.
53008         * nss/Makefile: Add rules to install db-Makefile.
53010         * nss/nss_db/db-XXX.c: Cleanup.
53012         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53013         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53014         GLIBC_PRIVATE.
53015         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53016         * nss/makedb.c: Implement -g option to specify that value strings
53017         are generated and should not be added to table iterated over for
53018         get*ent calls.
53019         * nss/nss_db/db-initgroups.c: New file.
53021         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53022         interface.
53024         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53025         (internal_getgrouplist): Adjust to name change.
53026         Update use_initgroups_entry if this is not the first call.
53027         * nss/databases.def: Add initgroups entry.
53029         * nss/makedb.c (compute_tables): Check result of multiple hash table
53030         sizes to minimize maximum chain length.
53032 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53034         * Versions.def: Add entry for libnss_db.
53035         * shlib-versions: Likewise.
53036         * nss/Makefile: Add rules to build libnss_db.
53037         * nss/Versions: Add libnss_db information.  Organize libnss_files
53038         entries better.
53039         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53040         makedb progra.  Some minor improvements to generate smaller files.
53041         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53042         here from...
53043         * nss/makedb.c: ...here.
53044         Improve database format to be smaller and require less memory at
53045         runtime.
53046         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53047         db anymore.
53048         * nss/nss_db/db-netgrp.c: Likewise.
53049         * nss/nss_db/db-open.c: Likewise.
53050         * nss/nss_files/flies-XXX.x: Adjust comments.
53051         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53052         * nss/nss_files/files-grp.c: Likewise.
53053         * nss/nss_files/files-hosts.c: Likewise.
53054         * nss/nss_files/files-network.c: Likewise.
53055         * nss/nss_files/files-proto.c: Likewise.
53056         * nss/nss_files/files-pwd.c: Likewise.
53057         * nss/nss_files/files-rpc.c: Likewise.
53058         * nss/nss_files/files-service.c: Likewise.
53059         * nss/nss_files/files-sgrp.c: Likewise.
53060         * nss/nss_files/files-spwd.c: Likewise.
53061         * nss/nss_db/db-alias.c: Removed.
53062         * nss/nss_db/dummy-db.h: Removed.
53064 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53066         * nss/makedb.c: Rewritten to not use database library.
53067         * nss/Makefile: Update to build new makedb program.
53069 2011-06-14  Andreas Jaeger  <aj@suse.de>
53071         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53072         memset declaration.
53074 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53077         tmpbuf.
53079 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53081         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53082         * elf/Makefile ($(objpfx)ld.so): Likewise.
53084         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53085         Don't list ld.so twice in dependencies.
53087         * posix/bug-regex31.c: Include <stdlib.h>.
53089         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53091         * nis/nss_compat/compat-spwd.c
53092         (getspent_next_nss_netgr): Remove unused variable.
53093         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53095         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53096         nonmembers" output to use the right array.
53098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53100         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53102         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53103         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53104         * catgets/gencat.c (read_input_file): Likewise.
53105         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53107         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53108         variable definition inside #if's controlling its use.
53110         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53114         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53116         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53117         unreachable code.
53119         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53121         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53122         * configure: Regenerated.
53124         * Makerules: Revert last change.
53125         * elf/Makefile: Likewise.
53127 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53129         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53130         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53131         (reloc-link): Likewise.
53133 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53135         * elf/Makefile: Add rules to build pldd.
53136         * elf/pldd.c: New file.
53137         * elf/pldd-xx.c: New file.
53139 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53141         * version.h: Update for 2.15 development version.
53143 2011-06-07  David S. Miller  <davem@davemloft.net>
53145         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53146         ifuncs.
53147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53148         elf_machine_lazy_rel): Likewise.
53149         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53151         elf_machine_lazy_rel): Likewise.
53152         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53153         dl_hwcap via passed in argument.
53154         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53155         Likewise.
53157 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53159         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53161 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53163         [BZ #12849]
53164         * manual/fdl-1.1.texi: New file, verbatim from:
53165         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53166         * manual/lgpl-2.1.texi: New file, verbatim from:
53167         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53168         * manual/Makefile (licenses): New variable, list those new file names.
53169         (texis): Use it.
53170         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53172         * manual/fdl.texi: File removed.
53173         * manual/lesser.texi: File removed.
53174         * manual/libc.texinfo (Copying, Documentation License):
53175         Use new @include file names, put @appendix directive before @include.
53177 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53179         [BZ #12841]
53180         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53181         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53182         (mq_open): Add __NTH.
53184 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53187         Assume Intel Core i3/i5/i7 processor if AVX is available.
53189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53192         typo.
53194 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53196         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53197         memory.  Use alloca_account.  Fix memory leak when retrying.
53199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53201         * version.h (RELEASE): Bump for 2.14 release.
53202         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53204         * config.make.in (RANLIB): Remove entry.
53206 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53208         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53209         (libc.pot): Work around missing support for .ksh extension in xgettext.
53211         [BZ #12684]
53212         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53213         if both request failed.
53214         (send_dg): In case of server errors clear resplen or *resplen2.
53216         [BZ #12454]
53217         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53218         when there are multiple maps.
53219         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53220         (_dl_fini): Remove test here.
53222         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53224 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53226         [BZ #12350]
53227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53228         bit from old_res_options.
53229         (gaih_inet): Likewise.
53231         [BZ #11099]
53232         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53233         as signed.
53235         * resolv/res_init.c (res_setoptions): Make the code more compact.
53237         [BZ #11558]
53238         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53239         set RES_USEVC.
53241         [BZ #11634]
53242         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53244         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53246         [BZ #11781]
53247         * malloc/malloc.h: Declare malloc hook variables as volatile.
53249         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53250         in last patch.
53252         [BZ #11799]
53253         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53254         raise in the comment.
53255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53259 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53261         [BZ #12811]
53262         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53263         grow the buffers more if it already has to be sufficient.
53264         (build_wcs_upper_buffer): Likewise.
53265         * posix/regexec.c (check_matching): Likewise.
53266         (clean_state_log_if_needed): Likewise.
53267         (extend_buffers): Don't enlarge buffers beyond size of the input
53268         buffer.
53269         Patches mostly by Emil Wojak <emil@wojak.eu>.
53270         * posix/bug-regex32.c: New file.
53271         * posix/Makefile (tests): Add bug-regex32.
53273         * locale/findlocale.c (_nl_find_locale): Return right away if
53274         _nl_explode_name failed.
53275         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53279         * debug/xtrace.sh: Unify messages.
53280         * malloc/memusage.sh: Likewise.
53282         [BZ #12813]
53283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53284         time symbol from vDSO.  Substitute with vsyscall if not available.
53285         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53286         __vdso_time.
53288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53289         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53291         Add sendmmsg and internal_sendmmsg.
53292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53294         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53296         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53297         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53300 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53302         [BZ #12813]
53303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53304         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53305         available.
53306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53307         __vdso_getcpu.
53309         [BZ #12814]
53310         * iconvdata/Makefile (tests): Add bug-iconv9.
53311         * iconvdata/bug-iconv9.c: New file.
53313 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53315         [BZ #12814]
53316         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53318 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53321         (struct user_regs_struct): Change intcs field back to cs.
53323 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53325         * po/ja.po: Update from translation team.
53327 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53329         [BZ #12795]
53330         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53333 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53335         * stdlib/longlong.h: Update from GCC.
53337 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53339         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53340         parameter name.
53341         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53342         Add parameter name.
53343         (__sysconf): Pass it down.
53345 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53347         [BZ #12671]
53348         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53349         some situations.
53350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53351         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53352         add in in __libc_use_alloca calls.  Adjust callers.
53353         (glob): Use malloc in some situations.
53355         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53356         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53357         pltexit.
53359 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53361         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53362         and CLOCK_BOOTTIME_ALARM.
53364         [BZ #12782]
53365         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53366         is returned.
53368         * string/_strerror.c (__strerror_r): Print negative errors as signed
53369         numbers.
53371         [BZ #12777]
53372         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53373         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53374         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53376         * configure.in: Fix typo in redirection and correct removal of test
53377         files in two cases.
53379         [BZ #12788]
53380         * locale/setlocale.c (new_composite_name): Fix test to check for
53381         identical name of all categories.
53383         [BZ #12792]
53384         * libio/filedoalloc.c (local_isatty): New function.
53385         (_IO_file_doallocate): Use local_isatty.
53386         * stdio-common/perror.c (perror): In case a new stream is used
53387         forward the stream error.
53388         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53389         error flag.
53391 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53393         [BZ #11869]
53394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53395         alloca.
53396         * include/alloca.h (extend_alloca_account): Define.
53398         [BZ #11857]
53399         * posix/regex.h: Fix comments with documentation of user-accessible
53400         fields after compilation and describe correct free'ing of pattern
53401         after re_compile_pattern.
53402         Patch by Reuben Thomas <rrt@sc3d.org>.
53404 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53406         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53407         and -mno-altivec to prevent the compiler from using Altivec and/or
53408         VSX instructions when the corresponding registers are not available.
53410 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53412         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53414 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53416         * libio/freopen.c (freopen): Use __dup2, not dup2.
53417         * libio/freopen64.c (freopen64): Likewise.
53419 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53421         [BZ #12775]
53422         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53423         * math/Makefile (tests): Add test-powl.
53424         (CFLAGS-test-powl.c): Define.
53425         * math/test-powl.c: New file.
53427 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53429         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53431 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53433         [BZ #11837]
53434         * iconvdata/gb18030.c: Update to GB18020-2005.
53436 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53438         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53439         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53440         Patch by Aharon Robbins <arnold@skeeve.com>.
53442         [BZ #11892]
53443         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53444         on the stack.
53446         [BZ #11895]
53447         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53448         through underflows.
53450         [BZ #12766]
53451         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53452         point to strings before performing equality test for error_one_per_line
53453         mode.
53455         [BZ #11697]
53456         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53458         [BZ #11820]
53459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53460         (struct user_fpregs_struct): Avoid __uint*_t types.
53462         [BZ #6420]
53463         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53464         symbol info.  Use it instead of calling _dl_addr locally.
53465         (lock_and_info): New function.
53466         (tr_freehook): Call lock_and_info and pass symbol info as additional
53467         parameter to tr_where.
53468         (tr_mallochook): Likewise.
53469         (tr_reallochook): Likewise.
53470         (tr_memalignhook): Likewise.
53472         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53473         used and couldn't be at all thread-safe.
53475 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53477         * libio/freopen.c (freopen): Don't close old file descriptor
53478         before the new one is opened.  Instead dup the new file descriptor
53479         to the old one after the new stream is created.
53480         * libio/freopen64.c (freopen64): Likewise.
53481         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53482         * libio/fileops.c (_IO_new_file_close_it): Handle new
53483         _IO_FLAGS2_NOCLOSE flag.
53484         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53485         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53486         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53487         _IO_FLAGS2_NOCLOSE flag.
53488         * include/unistd.h: Add hidden_proto for dup3.
53489         Define __have_dup3.
53490         * io/dup3.c: Define hidden symbol.
53491         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53493         [BZ #7101]
53494         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53495         when an incomplete long option is used.
53496         * posix/tst-getopt_long1.c: New file.
53497         * posix/Makefile (tests): Add tst-getopt_long1.
53499         [BZ #10138]
53500         * scripts/config.guess: Update from autoconf-2.68.
53501         * scripts/config.sub: Likewise.
53503         [BZ #10157]
53504         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53505         tests into ...
53506         (has_cpuclock): ...this.  New function.
53507         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53508         macro here based on has_cpuclock code.
53510         [BZ #10149]
53511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53512         First byte (not low byte) is now always NUL.
53513         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53516         Use non-cancelable interfaces.
53518         [BZ #9809]
53519         * locale/iso-639.def: Add entry for Sorani.
53521         [BZ #11901]
53522         * include/stdlib.h: Move include protection to the right place.
53523         Define abort_msg_s.  Declare __abort_msg with it.
53524         * stdlib/abort.c (__abort_msg): Adjust type.
53525         * assert/assert.c (__assert_fail_base): New function.  Majority
53526         of code from __assert_fail.  Allocate memory for __abort_msg with
53527         mmap.
53528         (__assert_fail): Now call __assert_fail_base.
53529         * assert/assert-perr.c: Remove bulk of implementation.  Use
53530         __assert_fail_base.
53531         * include/assert.hL Declare __assert_fail_base.
53532         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53533         mmap.
53534         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53536 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53538         [BZ #11952]
53539         [BZ #12453]
53540         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53541         until all modules are registered in the DTV.
53542         * elf/Makefile: Add rules to build and run tst-tls19.
53543         * elf/tst-tls19.c: New file.
53544         * elf/tst-tls19mod1.c: New file.
53545         * elf/tst-tls19mod2.c: New file.
53546         * elf/tst-tls19mod3.c: New file.
53547         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53549         [BZ #12083]
53550         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53551         correctly.
53553         [BZ #12601]
53554         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53555         two-byte sequence errors.
53556         * iconvdata/Makefile (tests): Add bug-iconv8.
53557         * iconvdata/bug-iconv8.c: New file.
53559         [BZ #12626]
53560         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53561         buf2 definition.
53563         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53565         [BZ #12432]
53566         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53567         (dummy_getcfa): New function.
53568         (init): Get _Unwind_GetCFA address, use dummy if not found.
53569         (backtrace_helper): In recursion check, also check whether CFA changes.
53570         (__backtrace): Completely initialize arg.
53572         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53573         storing incomplete byte sequence in state object.  Avoid testing for
53574         guaranteed too small input if we know there is enough data available.
53576 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53578         * Makeconfig (+link-pie): Indent.
53579         * Rules (binaries-pie): Define if $(have-fpie) and
53580         $(build-shared).
53581         (binaries-shared): Also filter out $(binaries-pie).
53582         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53583         * nscd/Makefile (others-pie): Add nscd.
53584         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53585         ($(objpfx)nscd): Remove command override.
53586         * login/Makefile (others-pie): Add pt_chown.
53587         ($(objpfx)pt_chown): Remove command override.
53588         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53589         remove command overrides.
53591 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53593         * libio/tst_putwc.c: Fix error messages.
53595         [BZ #12724]
53596         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53597         currently writing and seek to current position when not.
53598         * libio/Makefile (tests): Add bug-fclose1.
53599         * libio/bug-fclose1.c: New file.
53601 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53603         [BZ #12511]
53604         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53605         don't set DF_1_NODELETE here.
53606         (do_lookup_x): When entering new entry test for copy relocation
53607         and if necessary set DF_1_NODELETE flag.
53608         * elf/tst-unique4.cc: New file.
53609         * elf/tst-unique4.h: New file.
53610         * elf/tst-unique4lib.cc: New file.
53611         * elf/Makefile: Add rules to build and run tst-unique4.
53612         Patch by Piotr Bury <pbury@goahead.com>.
53614 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53616         [BZ #12052]
53617         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53619         [BZ #12625]
53620         * misc/mntent_r.c (addmntent): Flush the stream after the output
53622         [BZ #12393]
53623         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53624         (is_trusted_path_normalize): Skip initial colon.  Append slash
53625         to empty buffer.  Duplicate is_trusted_path code but allow
53626         constructed patch to be prefix.
53627         (is_dst): Allow $ORIGIN followed by /.
53628         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53629         Correct testing of result of is_trusted_path_normalize
53630         (decompose_rpath): Fix warning.
53632 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53634         [BZ #11257]
53635         * grp/initgroups.c (internal_getgrouplist): When we found the service
53636         list through the initgroups entry in nsswitch.conf do not always
53637         continue on a successful lookup.  Don't always use the
53638         __nss_group_database value if it is set.
53639         * nss/nsswitch.conf (initgroups): Change action for successful db
53640         lookup to continue for compatibility.
53642 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53644         [BZ #11532]
53645         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53646         and CP774 modules.
53647         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53648         and CP774 modules.
53649         * iconvdata/tst-tables.sh: Likewise.
53650         * iconvdata/cp770.c: New file.
53651         * iconvdata/cp771.c: New file.
53652         * iconvdata/cp772.c: New file.
53653         * iconvdata/cp773.c: New file.
53654         * iconvdata/cp774.c: New file.
53655         * iconvdata/testdata/CP770: New file.
53656         * iconvdata/testdata/CP770..UTF8: New file.
53657         * iconvdata/testdata/CP771: New file.
53658         * iconvdata/testdata/CP771..UTF8: New file.
53659         * iconvdata/testdata/CP772: New file.
53660         * iconvdata/testdata/CP772..UTF8: New file.
53661         * iconvdata/testdata/CP773: New file.
53662         * iconvdata/testdata/CP773..UTF8: New file.
53663         * iconvdata/testdata/CP774: New file.
53664         * iconvdata/testdata/CP774..UTF8: New file.
53666         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53667         END CHARMAP line.
53668         * iconvdata/gen-8bit-gap.sh: Likewise.
53669         * iconvdata/gen-8bit.sh: Likewise.
53671         * locale/iso-639.def: Add ary entry.
53673         [BZ #11258]
53674         * locale/C-translit.h.in: Add U20A1 transliteration.
53676         [BZ #12178]
53677         * locale/iso-639.def: Add wae entry.
53678         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53680         [BZ #12545]
53681         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53682         for n.
53684         [BZ #12711]
53685         * locale/C-translit.h.in: Add entry for U20B9.
53686         Patch by pravin.d.s@gmail.com.
53688 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53690         [BZ #12713]
53691         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53692         ENAMETOOLONG use generic getcwd.
53693         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53694         in rtld.  Use *stat64.
53695         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53696         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53697         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53698         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53699         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53700         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53701         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53702         __fstatat64 macros.
53703         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53704         * dirent/rewinddir.c: Add libc_hidden_def.
53705         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53706         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53708         * include/dirent.h (__alloc_dir): Add flags parameter.
53709         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53710         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53711         __alloc_dir.
53712         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53713         from fdopendir if O_CLOEXEC is already set.
53715 2011-03-15  Alan Modra  <amodra@gmail.com>
53717         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53718         l_tls_firstbyte_offset non-zero.  Save padding offset in
53719         l_tls_firstbyte_offset for later use.
53720         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53721         freeing static tls block.
53723 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53725         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53726         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53727         being defined by the kernel headers.
53729 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53731         [BZ #12734]
53732         * resolv/resolv.h: Define RES_NOTLDQUERY.
53733         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53734         no-tld-query and set RES_NOTLDQUERY.
53735         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53736         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53737         modern BIND to search name as TLD unless forbidden.
53739 2011-05-07  Petr Baudis  <pasky@suse.cz>
53740             Ulrich Drepper  <drepper@gmail.com>
53742         [BZ #12393]
53743         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53744         (is_trusted_path): ...to here.
53745         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53746         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53747         using is_trusted_path_normalize() in setuid scripts.
53749 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53752         __BEGIN/__END_DECLS.
53754 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53757         NSS_STATUS_NOTFOUND if no record was found.
53759 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53761         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53762         (headers-not-in-tirpc): Remove rpc/netdb.h
53763         * resolv/netdb.h: Revert last change.
53765 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53767         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53768         circular dependency between libgcc.a and libc.a.
53770 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53772         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53773         * nis/Makefile: Don't install rpcsvc/*.
53774         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53775         instead of <rpc/types.h>.
53776         (MAXHOSTNAMELEN): Define.
53778 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53780         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53782 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53784         [BZ #12714]
53785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53786         gethostbyname4_r when IPv6 results are possible.
53788 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53790         [BZ #12723]
53791         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53792         _PC_PIPE_BUF handling.
53794 2011-04-30  Bruno Haible  <bruno@clisp.org>
53796         [BZ #12717]
53797         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53798         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53799         to 'int'.
53800         * inet/getnameinfo.c (getnameinfo): Likewise.
53802 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53804         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53805         to groups setting in database lookup.
53806         * nss/nsswitch.conf: Add initgroups entry.
53808 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53810         [BZ #12685]
53811         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53812         mode string.
53813         Patch by Eric Blake <eblake@redhat.com>.
53815 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53817         * sunrpc/Makefile (need-export-routines): Add svc_run.
53818         (routines): Remove svc_run.
53819         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53820         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53821         * sunrpc/svc_run.c (svc_run): Likewise.
53822         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53824 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53827         problem in reallocation in last patch.
53829 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53831         * sunrpc/Makefile: Move inclusion of Rules.
53833 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53835         * nss/nss_files/files-initgroups.c: New file.
53836         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53837         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53838         _nss_files_initgroups_dyn.
53840 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53842         * elf/elf.h (R_ARM_IRELATIVE): Define.
53844 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53846         * po/ru.po: Update from translation team.
53848 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53850         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53851         dependencies.
53853 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53855         [BZ #12653]
53856         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53857         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53862 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53865         differing bytes.
53866         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53870 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53872         [BZ #12420]
53873         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53874         storing it.
53875         * stdlib/bug-getcontext.c: New file.
53876         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53878 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53880         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53881         instructions into .machine "z9-109".
53882         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53883         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53885 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53887         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53888         between environment variables and auxiliary vector.
53890 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53892         * Makefile: Add rules to build linkobj/libc.so.
53893         * include/libc-symbols.h: Define libc_hidden_nolink.
53894         * include/rpc/auth.h: Mark functions which are to be hidden.
53895         * include/rpc/auth_des.h: Likewise.
53896         * include/rpc/auth_unix.h: Likewise.
53897         * include/rpc/clnt.h: Likewise.
53898         * include/rpc/des_crypt.h: Likewise.
53899         * include/rpc/key_prot.h: Likewise.
53900         * include/rpc/pmap_clnt.h: Likewise.
53901         * include/rpc/pmap_prot.h: Likewise.
53902         * include/rpc/pmap_rmt.h: Likewise.
53903         * include/rpc/rpc_msg.h: Likewise.
53904         * include/rpc/svc.h: Likewise.
53905         * include/rpc/svc_auth.h: Likewise.
53906         * include/rpc/xdr.h: Likewise.
53907         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53908         * nss/Makefile: Likewise.
53909         * sunrpc/Makefile: Don't install headers.  Build library with normal
53910         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53911         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53912         for the compat linking library.  Remove use of INTDEF/INTUSE.
53913         * sunrpc/auth_none.c: Likewise.
53914         * sunrpc/auth_unix.c: Likewise.
53915         * sunrpc/authdes_prot.c: Likewise.
53916         * sunrpc/authuxprot.c: Likewise.
53917         * sunrpc/clnt_gen.c: Likewise.
53918         * sunrpc/clnt_perr.c: Likewise.
53919         * sunrpc/clnt_raw.c: Likewise.
53920         * sunrpc/clnt_simp.c: Likewise.
53921         * sunrpc/clnt_tcp.c: Likewise.
53922         * sunrpc/clnt_udp.c: Likewise.
53923         * sunrpc/clnt_unix.c: Likewise.
53924         * sunrpc/des_crypt.c: Likewise.
53925         * sunrpc/des_soft.c: Likewise.
53926         * sunrpc/get_myaddr.c: Likewise.
53927         * sunrpc/key_call.c: Likewise.
53928         * sunrpc/key_prot.c: Likewise.
53929         * sunrpc/netname.c: Likewise.
53930         * sunrpc/pm_getmaps.c: Likewise.
53931         * sunrpc/pm_getport.c: Likewise.
53932         * sunrpc/pmap_clnt.c: Likewise.
53933         * sunrpc/pmap_prot.c: Likewise.
53934         * sunrpc/pmap_prot2.c: Likewise.
53935         * sunrpc/pmap_rmt.c: Likewise.
53936         * sunrpc/publickey.c: Likewise.
53937         * sunrpc/rpc_cmsg.c: Likewise.
53938         * sunrpc/rpc_common.c: Likewise.
53939         * sunrpc/rpc_dtable.c: Likewise.
53940         * sunrpc/rpc_prot.c: Likewise.
53941         * sunrpc/rpc_thread.c: Likewise.
53942         * sunrpc/rtime.c: Likewise.
53943         * sunrpc/svc.c: Likewise.
53944         * sunrpc/svc_auth.c: Likewise.
53945         * sunrpc/svc_authux.c: Likewise.
53946         * sunrpc/svc_raw.c: Likewise.
53947         * sunrpc/svc_run.c: Likewise.
53948         * sunrpc/svc_simple.c: Likewise.
53949         * sunrpc/svc_tcp.c: Likewise.
53950         * sunrpc/svc_udp.c: Likewise.
53951         * sunrpc/svc_unix.c: Likewise.
53952         * sunrpc/svcauth_des.c: Likewise.
53953         * sunrpc/xcrypt.c: Likewise.
53954         * sunrpc/xdr.c: Likewise.
53955         * sunrpc/xdr_array.c: Likewise.
53956         * sunrpc/xdr_float.c: Likewise.
53957         * sunrpc/xdr_intXX_t.c: Likewise.
53958         * sunrpc/xdr_mem.c: Likewise.
53959         * sunrpc/xdr_rec.c: Likewise.
53960         * sunrpc/xdr_ref.c: Likewise.
53961         * sunrpc/xdr_sizeof.c: Likewise.
53962         * sunrpc/xdr_stdio.c: Likewise.
53964 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53966         [BZ #12650]
53967         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53968         * sysdeps/ia64/dl-tls.h: Likewise.
53969         * sysdeps/powerpc/dl-tls.h: Likewise.
53970         * sysdeps/s390/dl-tls.h: Likewise.
53971         * sysdeps/sh/dl-tls.h: Likewise.
53972         * sysdeps/sparc/dl-tls.h: Likewise.
53973         * sysdeps/x86_64/dl-tls.h: Likewise.
53974         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53976 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53978         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53979         rpath element also skip the following colon.
53980         (expand_dynamic_string_token): Add is_path parameter and pass
53981         down to DL_DST_REQUIRED and _dl_dst_substitute.
53982         (decompose_rpath): Call expand_dynamic_string_token with
53983         non-zero is_path.  Ignore empty rpaths.
53984         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53985         with zero is_path.
53987 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53990         Make cancelable.
53992 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53994         [BZ #12655]
53995         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53996         Patch by Filipe David Manana <fdmanana@apache.org>.
53998 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54001         Maintain aligned stack.
54002         (CHECK_RSP): Remove unused macro.
54004 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54006         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54009 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54011         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54013         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54015 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54017         [BZ #12518]
54018         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54019         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54020         * sysdeps/x86_64/memmove.c: New file.
54021         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54022         (memcpy): Renamed to ...
54023         (__new_memcpy): This.
54024         (memcpy): Provide GLIBC_2_14 memcpy.
54025         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54026         (memcpy): Provide GLIBC_2_2_5 memcpy.
54028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54030         [BZ #12631]
54031         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54033 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54035         * misc/syncfs.c: New file.
54036         * misc/Makefile (routines): Add syncfs.
54037         * posix/unistd.h: Declare syncfs.
54038         * sysdeps/unix/syscalls.list: Add syncfs.
54040 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54042         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54043         open_by_handle_at.
54044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54049         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54056         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54062         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54063         sync_file_range.c with -fexceptions.
54064         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54065         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54066         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54067         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54068         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54071         sync_file_range as cancellation point
54072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54073         now a wrapper around __call_sync_file_range with cancellation handling.
54074         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54076         function name to __call_sync_file_range.
54077         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54078         Add call_sync_file_range.
54080 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54083         bits/timex.h.
54085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54087         * iconv/iconv.h: Fix typo in comment.
54088         * io/fcntl.h: Likewise.
54089         * libio/stdio.h: Likewise.
54090         * posix/spawn.h: Likewise.
54091         * posix/unistd.h: Likewise.
54092         * stdlib/stdlib.h: Likewise.
54093         * time/time.h: Likewise.
54094         * wcsmbs/wchar.h: Likewise.
54096         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54097         open_by_handle): Add.
54098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54099         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54100         Augment a few comments.
54101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54106         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54107         open_by_handle.
54109         * io/fcntl.h (AT_EMPTY_PATH): Define.
54111 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54113         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54114         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54115         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54116         to...
54117         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54118         * Versions.def: Add GLIBC_2.14.
54119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54120         Export.
54122 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54125         round counter.
54126         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54128 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54130         [BZ #12597]
54131         * string/test-strncmp.c (do_page_test): New function.
54132         (check2): Likewise.
54133         (test_main): Call check2.
54134         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54136 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54138         [BZ #12587]
54139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54140         Handle cache information in CPU leaf 4.
54141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54143 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54145         [BZ #12583]
54146         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54147         character representation.
54148         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54150 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54152         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54153         END(__isnan) to END(__isnanf) to match function entry point/label
54154         EALIGN(__isnanf,...).
54156 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54158         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54160 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54162         [BZ #12510]
54163         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54164         copy from the symbol referenced in the relocation to initialize the
54165         used variable.
54166         Patch by Piotr Bury <pbury@goahead.com>.
54167         * elf/Makefile: Add rules to build and tst-unique3.
54168         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54169         * elf/tst-unique3.cc: New file.
54170         * elf/tst-unique3.h: New file.
54171         * elf/tst-unique3lib.cc: New file.
54172         * elf/tst-unique3lib2.cc: New file.
54174         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54176 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54178         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54179         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54180         to _start.
54182 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54184         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54185         to-be-loaded object along a path to loader is ld.so.
54187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54188             Ulrich Drepper  <drepper@gmail.com>
54190         * sysdeps/x86_64/memset.S: After aligning destination, code
54191         branches to different locations depending on the value of
54192         misalignment, when multiarch is enabled. Fix this.
54194 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54196         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54197         Set _x86_64_preferred_memory_instruction for AMD processsors.
54198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54199         Set bit_Prefer_SSE_for_memop for AMD processors.
54201 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54203         * libio/fmemopen.c (fmemopen): Optimize a bit.
54205 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54207         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54209 2011-03-03  Roland McGrath  <roland@redhat.com>
54211         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54213 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54215         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54216         __bzero_ultra1 instead of __memset_ultra1.
54218 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54219             Ulrich Drepper  <drepper@gmail.com>
54221         [BZ #12509]
54222         * include/link.h (struct link_map): Add l_orig_initfini.
54223         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54224         returning unsuccessfully.
54225         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54226         close of a file loaded at startup, restore the original l_initfini
54227         list.
54228         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54229         list, store the pointer.
54230         * elf/Makefile ($(objpfx)noload-mem): New rule.
54231         (noload-ENV): Define.
54232         (tests): Add $(objpfx)noload-mem.
54233         * elf/noload.c: Include <memcheck.h>.
54234         (main): Call mtrace.  Close all opened handles.
54236 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54238         [BZ #12454]
54239         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54240         dependencies are missing.
54242 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54244         Fix __if_freereq crash: Unlike the generic version which uses free,
54245         Hurd needs munmap.
54246         * sysdeps/mach/hurd/ifreq.h: New file.
54248 2011-01-27  Petr Baudis  <pasky@suse.cz>
54249             Ulrich Drepper  <drepper@gmail.com>
54251         [BZ 12445]#
54252         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54253         to extend_alloca().
54254         * stdio-common/bug23.c: New file.
54255         * stdio-common/Makefile (tests): Add bug23.
54257 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54258             Ulrich Drepper  <drepper@gmail.com>
54260         [BZ #12489]
54261         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54262         before performing relro protection.  At old place add assertion
54263         to make sure nothing changed.
54265 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54266             Glauber de Oliveira Costa  <glommer@gmail.com>
54268         * elf/elf.h: Add new ARM TLS relocs.
54270 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54273         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54274         cast from r3.
54275         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54276         'tests' variable.
54277         * sysdeps/wordsize-64/tst-writev.c: New file.
54279 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54281         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54282         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54283         insns in _dl_start to prevent a TOC reference before relocs are
54284         resolved.
54286 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54288         [BZ #12469]
54289         * Makeconfig: Remove RANLIB definition.
54290         * Makerules: Don't use RANLIB.
54291         * aclocal.m4: Remove ranlib test.
54292         * configure.in: No need to check for ranlib.
54293         * elf/rtld-Rules: Don't use RANLIB.
54295 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54297         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54298         protection macro.
54299         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54300         inclusion protection macro.
54302         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54303         SIGRTMIN and SIGRTMAX and print information in that case only when
54304         SIGRTMIN is defined.
54306 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54308         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54309         arginfo fn returning -1.
54311         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54312         and thousands string is zero terminated.
54314 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54317         sysdeps/unix/sysv/linux/bits/socket.h.
54319 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54321         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54322         (__CPU_COUNT): Remove old macros.
54323         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54324         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54325         (__CPU_ALLOC, __CPU_FREE): Add macros.
54326         (__sched_cpualloc, __sched_cpufree): Add declarations.
54328 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54330         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54331         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54332         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54333         (readdhstai): Return value of addhstaiX call.
54334         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54335         (addgrbyX): Return value returned by cache_addgr.
54336         (readdgrbyname): Return value returned by addgrbyX.
54337         (readdgrbygid): Likewise.
54338         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54339         (addpwbyX): Return value returned by cache_addpw.
54340         (readdpwbyname): Return value returned by addhstbyX.
54341         (readdpwbyuid): Likewise.
54342         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54343         (addservbyX): Return value returned by cache_addserv.
54344         (readdservbyname): Return value returned by addservbyX:
54345         (readdservbyport): Likewise.
54346         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54347         (addhstbyX): Return value returned by cache_addhst.
54348         (readdhstbyname): Return value returned by addhstbyX.
54349         (readdhstbyaddr): Likewise.
54350         (readdhstbynamev6): Likewise.
54351         (readdhstbyaddrv6): Likewise.
54352         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54353         (readdinitgroups): Return value returned by addinitgroupsX.
54354         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54355         (prune_cache): Keep track of timeout value of re-added entries.
54356         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54357         * nscd/nscd.h: Adjust prototypes of readd* functions.
54359 2011-02-04  Roland McGrath  <roland@redhat.com>
54361         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54362         (nis_stats): Likewise.
54363         * nis/nis_modify.c (nis_modify): Likewise.
54364         * nis/nis_remove.c (nis_remove): Likewise.
54365         * nis/nis_add.c (nis_add): Likewise.
54367         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54369         * posix/fnmatch_loop.c: Add some consts.
54371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54373 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54375         [BZ #12460]
54376         * config.make.in (config-cflags-novzeroupper): Define.
54377         * configure.in: Substitute libc_cv_cc_novzeroupper.
54378         * elf/Makefile (AVX-CFLAGS): Define.
54379         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54380         (CFLAGS-tst-auditmod4a.c): Likewise.
54381         (CFLAGS-tst-auditmod4b.c): Likewise.
54382         (CFLAGS-tst-auditmod6b.c): Likewise.
54383         (CFLAGS-tst-auditmod6c.c): Likewise.
54384         (CFLAGS-tst-auditmod7b.c): Likewise.
54385         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54387 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54389         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54390         function to the callback.
54391         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54393 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54395         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54396         of errno.
54398 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54400         [BZ #11724]
54401         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54402         of constructors.
54403         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54404         of destructors.
54405         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54407         [BZ #11724]
54408         * elf/Makefile: Add rules to build and run new test.
54409         * elf/tst-initorder.c: New file.
54410         * elf/tst-initorder.exp: New file.
54411         * elf/tst-initordera1.c: New file.
54412         * elf/tst-initordera2.c: New file.
54413         * elf/tst-initordera3.c: New file.
54414         * elf/tst-initordera4.c: New file.
54415         * elf/tst-initorderb1.c: New file.
54416         * elf/tst-initorderb2.c: New file.
54417         * elf/tst-order-a1.c: New file.
54418         * elf/tst-order-a2.c: New file.
54419         * elf/tst-order-a3.c: New file.
54420         * elf/tst-order-a4.c: New file.
54421         * elf/tst-order-b1.c: New file.
54422         * elf/tst-order-b2.c: New file.
54423         * elf/tst-order-main.c: New file.
54424         New test case by George Gensure <werkt0@gmail.com>.
54426 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54429         decoding ACE if AI_CANONIDN.
54431 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54433         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54435 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54437         * version.h (RELEASE): Bump for 2.13 release.
54438         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54440         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54443         MADV_NOHUGEPAGE.
54444         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54446         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54447         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54451         * posix/getconf.c: Update copyright year.
54452         * catgets/gencat.c: Likewise.
54453         * csu/version.c: Likewise.
54454         * debug/catchsegv.sh: Likewise.
54455         * debug/xtrace.sh: Likewise.
54456         * elf/ldconfig.c: Likewise.
54457         * elf/ldd.bash.in: Likewise.
54458         * elf/sprof.c (print_version): Likewise.
54459         * iconv/iconv_prog.c: Likewise.
54460         * iconv/iconvconfig.c: Likewise.
54461         * locale/programs/locale.c: Likewise.
54462         * locale/programs/localedef.c: Likewise.
54463         * malloc/memusage.sh: Likewise.
54464         * malloc/mtrace.pl: Likewise.
54465         * nscd/nscd.c (print_version): Likewise.
54466         * nss/getent.c: Likewise.
54468         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54469         PF_CAIF, and PF_ALG.
54470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54472 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54474         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54475         (modules-names): Use them.
54476         (ifunc-test-modules, ifunc-pie-tests): Define.
54477         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54478         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54479         (test-extras): Likewise.
54480         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54481         $(compile-command.c).
54482         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54483         (all-built-dso): Define.
54484         (check-textrel.out, check-execstack.out): Depend on it.
54486         * configure.in: Don't override --enable-multi-arch.
54488 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54490         [BZ #6812]
54491         * nscd/hstcache.c (tryagain): Define.
54492         (cache_addhst): Return tryagain not notfound for temporary errors.
54493         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54494         failed.
54496 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54498         [BZ #10563]
54499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54500         to make the syscall.
54501         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54503         [BZ #12378]
54504         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54505         and fall back to matching as normal character if the string ends before
54506         the matching ']' is found.  This is what POSIX requires.
54507         * posix/testfnm.c: Adjust test result.
54508         * posix/globtest.sh: Adjust test result.  Add new test.
54509         * posix/tst-fnmatch.input: Likewise.
54510         * posix/tst-fnmatch2.c: Add new test.
54512 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54514         * elf/Makefile (check-execstack): Revert last change.  Depend on
54515         check-execstack.h.
54516         (check-execstack.h): New target.
54517         (generated): Add check-execstack.h.
54518         * elf/check-execstack.c: Include "check-execstack.h".
54519         (main): Revert last change.
54520         (handle_file): Return zero if GNU_STACK is absent and
54521         DEFAULT_STACK_PERMS doesn't include PF_X.
54523 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54525         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54526         in child fails because the descriptor is already closed.
54527         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54528         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54531         [BZ #12397]
54532         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54533         syscall.
54535         [BZ #10484]
54536         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54537         temporary buffer used to handle multi lookups locally.
54538         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54542         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54543         loader is ld.so.
54545 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54547         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54548         alignment for SSE2.
54550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54552         [BZ #12394]
54553         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54554         characters.  When rounding increased number of integer digits recompute
54555         number of groups.
54556         * stdio-common/tst-grouping.c: New file.
54557         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54559 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54561         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54562         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54564         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54565         void.
54566         * bits/select.h: Likewise.
54568 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54570         * po/ja.po: Update from translation team.
54572 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54574         [BZ #11155]
54575         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54576         implementation just like for lxstat, fxstatat, et al.
54578 2010-12-27  Jim Meyering  <meyering@redhat.com>
54580         [BZ #12348]
54581         * posix/regexec.c (build_trtable): Return failure indication upon
54582         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54584 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54586         [BZ #12201]
54587         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54588         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54589         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54592         [BZ #12207]
54593         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54595         [BZ #12204]
54596         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54597         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54599 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54601         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54602         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54603         script has SORT_BY_INIT_PRIORITY.
54604         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54605         NO_CTORS_DTORS_SECTIONS is defined.
54606         * elf/soinit.c: Likewise.
54607         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54608         NO_CTORS_DTORS_SECTIONS is defined.
54609         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54610         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54611         * sysdeps/sh/init-first.c: Likewise.
54612         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54614 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54616         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54617         always use the slow path.
54619 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54621         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54622         similar rule which adds the sysdep directories to the header search in
54623         order to pick up the correct platform stackinfo.h.
54624         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54625         perform test if it is, otherwise return successfully without testing.
54626         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54627         DEFAULT_STACK_PERMS define in stackinfo.h.
54628         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54629         defined in stackinfo.h.
54630         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54631         DEFAULT_STACK_PERMS defined in stackinfo.h.
54632         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54633         * sysdeps/ia64/stackinfo.h: Likewise.
54634         * sysdeps/s390/stackinfo.h: Likewise.
54635         * sysdeps/sh/stackinfo.h: Likewise.
54636         * sysdeps/sparc/stackinfo.h: Likewise.
54637         * sysdeps/x86_64/stackinfo.h: Likewise.
54638         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54639         PF_X for powerpc64.  Retain PF_X for powerpc32.
54641 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54643         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54644         accurately.
54645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54646         GETDENTS_64BIT_ALIGNED.
54648 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54650         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54652 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54655         _GNU_SOURCE.
54657         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54658         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54659         Remove __restrict.
54660         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54661         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54663 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54665         [BZ #11655]
54666         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54667         are initialized.
54669 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54671         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54673 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54675         * po/it.po: Update from translation team.
54677 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54680         unused codes.
54682 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54684         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54686 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54688         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54689         specially.
54690         (gaih_getanswer_slice): Likewise.
54692 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54696 2010-05-31  Petr Baudis  <pasky@suse.cz>
54698         [BZ #11149]
54699         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54700         silently even in the chroot mode.
54702 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54704         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54705         last patch a bit.  Pretty printing
54707 2010-05-31  Petr Baudis <pasky@suse.cz>
54709         [BZ #10085]
54710         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54711         initialization of skip_initgroups_dyn.
54713 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54718 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54720         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54722 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54724         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54725         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54726         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54727         ($(objpfx)tst-fnmatch-mem): New rule.
54728         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54729         * posix/tst-fnmatch.c (main): Call mtrace.
54731 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54734         Support Intel processor model 6 and model 0x2c.
54736 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54739           signed comparison.
54741 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54743         [BZ #12205]
54744         * string/test-strncasecmp.c (check_result): New function.
54745         (do_one_test): Use it.
54746         (check1): New function.
54747         (test_main): Use it.
54748         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54749         Support strcasecmp and strncasecmp.
54751 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54753         [BZ #12194]
54754         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54757 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54759         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54760         IFUNC support.
54761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54762         memset-x86-64.
54763         * sysdeps/x86_64/multiarch/bzero.S: New file.
54764         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54765         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54766         * sysdeps/x86_64/multiarch/memset.S: New file.
54767         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54769         Set bit_Prefer_SSE_for_memop for Intel processors.
54770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54771         Define.
54772         (index_Prefer_SSE_for_memop): Define.
54773         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54775 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54777         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54780 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54782         [BZ #12191]
54783         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54784         (__x86_64_raw_data_cache_size_half): Likewise.
54785         (__x86_64_raw_shared_cache_size): Likewise.
54786         (__x86_64_raw_shared_cache_size_half): Likewise.
54788         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54789         (__x86_64_raw_data_cache_size_half): Likewise.
54790         (__x86_64_raw_shared_cache_size): Likewise.
54791         (__x86_64_raw_shared_cache_size_half): Likewise.
54792         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54793         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54794         and __x86_64_raw_shared_cache_size_half.  Round
54795         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54796         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54797         to multiple of 256 bytes.
54799 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54801         [BZ #12167]
54802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54803         of inacessible symlinks.  Verify result of symlink before returning it.
54804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54805         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54807 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54809         * math/math.h (isinf): Fix typo in comment.
54811 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54813         * po/da.po: Update from translation team.
54815 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54817         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54818         is added to the list.
54820 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54821             Ulrich Drepper  <drepper@gmail.com>
54823         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54824         the global list here.  Move code to...
54825         (_dl_add_to_namespace_list): ...here.  New function.
54826         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54827         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54828         * elf/dl-load.c (lose): Don't remove the element from the list.
54829         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54830         (_dl_map_object): Likewise.
54832 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54834         [BZ #12159]
54835         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54836         into all bytes of SSE register.
54837         Patch by Richard Li <richardpku@gmail.com>.
54839 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54841         [BZ #12140]
54842         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54843         perturbing.
54845 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54847         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54848         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54852         submachine.
54853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54855 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54857         * include/dlfcn.h (__RTLD_SECURE): Define.
54858         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54859         mode & __RTLD_SECURE instead.
54860         (open_path): Rename preloaded parameter to secure.
54861         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54862         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54863         * elf/dl-deps.c (openaux): Likewise.
54864         * elf/rtld.c (struct map_args): Remove is_preloaded.
54865         (map_doit): Don't use it.
54866         (dl_main): Likewise.
54867         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54868         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54870 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54872         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54873         (sysd-rules-targets): Remove duplicates.
54874         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54875         rtld-%.$o dependency.
54877 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54879         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54880         _dl_map_object do it.
54882 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54884         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54885         fast fma builtins, define the macros in the C99 standard.
54886         (FP_FAST_FMAF): Likewise.
54887         (FP_FAST_FMAL): Likewise.
54888         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54890         * bits/mathdef.h: Update copyright year.
54891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54893 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54895         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54896         builtins, define the macros in the C99 standard.
54897         (FP_FAST_FMAF): Likewise.
54898         (FP_FAST_FMAL): Likewise.
54899         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54900         multiply/add.
54901         (FP_FAST_FMAF): Likewise.
54903 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54905         [BZ #3268]
54906         * math/libm-test.inc (fma_test): Some new testcases.
54907         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54909         y and infinite z.  Do multiplication by C already in long double.
54910         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54912         y and infinite z.  Do bitwise or of inexact bit into u.d.
54913         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54914         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54915         * sysdeps/i386/fpu/s_fma.S: Removed.
54916         * sysdeps/i386/fpu/s_fmal.S: Removed.
54918 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54920         [BZ #3268]
54921         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54923         computation is not scheduled after fetestexcept.  Fix value
54924         of minimum denormal long double.
54926 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54928         [BZ #3268]
54929         * math/libm-test.inc (fma_test): Add some more tests.
54930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54931         correctly.
54933 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54935         * scripts/data/localplt-s390-linux-gnu.data: New file.
54936         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54938 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54940         [BZ #3268]
54941         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54942         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54943         instead of dbl-64.
54944         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54945         inlines.
54946         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54948         if one of x and y is very large and the other is subnormal.
54949         * sysdeps/s390/fpu/s_fmaf.c: New file.
54950         * sysdeps/s390/fpu/s_fma.c: New file.
54951         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54952         * sysdeps/powerpc/fpu/s_fma.S: New file.
54953         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54954         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54955         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54957 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54959         [BZ #3268]
54960         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54961         fma tests.
54962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54963         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54964         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54965         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54966         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54967         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54968         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54970 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54972         [BZ #12078]
54973         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54974         * posix/bug-regex31.input: Add test case.
54976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54978         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54979         * posix/bug-regex31.input: New file.
54981         [BZ #12078]
54982         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54983         (parse_sub_exp): Fix last change, use postorder.
54985         * posix/bug-regex31.c: New file.
54986         * posix/Makefile: Add rules to build and run bug-regex31.
54988         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54990         [BZ #12078]
54991         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54993         [BZ #12108]
54994         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54995         to have entries in sys_siglist.
54997         [BZ #12093]
54998         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54999         be NULL.
55001 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55003         [BZ #3268]
55004         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55005         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55006         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55007         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55008         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55009         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55010         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55011         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55012         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55013         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55014         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55017         * math/ftestexcept.c (fetestexcept): Likewise.
55018         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55019         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55020         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55022         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55023         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55024         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55026 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55028         [BZ #12107]
55029         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55030         newline.
55032 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55034         * string/bug-strstr1.c: New file.
55035         * string/Makefile: Add rules to build and run bug-strstr1.
55037 2010-10-05  Eric Blake  <eblake@redhat.com>
55039         [BZ #12092]
55040         * string/str-two-way.h (two_way_long_needle): Always clear memory
55041         when skipping input due to the shift table.
55043 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55045         [BZ #12005]
55046         * malloc/mcheck.c: Handle large requests.
55048         [BZ #12077]
55049         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55050         for strncmp and strncasecmp.
55051         * string/stratcliff.c: Add tests for strcmp and strncmp.
55052         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55054 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55056         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55057         __set_fpscr.
55059 2010-09-30  Andreas Jaeger  <aj@suse.de>
55061         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55062         (CGROUP_SUPER_MAGIC): Define.
55063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55064         Handle btrfs and cgroup file systems.
55065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55066         Likewise.
55068 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55070         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55071         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55073 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55075         [BZ #12067]
55076         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55077         trying to locate the ELF header.
55079 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55081         [BZ #11611]
55082         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55083         Mask out sign-bit copies when constructing f_fsid.
55085 2010-09-24  Petr Baudis <pasky@suse.cz>
55087         * debug/stack_chk_fail_local.c: Add missing licence exception.
55088         * debug/warning-nop.c: Likewise.
55090 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55093         implementing getdents64 using getdents syscall, set d_type if
55094         __ASSUME_GETDENTS32_D_TYPE.
55096 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55098         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55099         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55103         [BZ #12037]
55104         * posix/unistd.h: Undo change of feature selection for ftruncate from
55105         2010-01-11.
55107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55110         detection.
55112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55115         fanotify_mark.
55116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55121         variables after CHECK_SP call.
55122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55125             Ulrich Drepper  <drepper@redhat.com>
55127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55128         re-relocationg ld.so.
55129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55130         _dl_init_paths call.
55131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55132         here anymore.
55134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55136         * resolv/res_init.c (__res_vinit): Count the default server we added.
55138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55139             Ulrich Drepper  <drepper@redhat.com>
55141         [BZ #11968]
55142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55143         (____longjmp_chk): Use %ebx for saving value across system call.
55144         Add unwind info.
55146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55148         * manual/Makefile: Don't mix pattern rules with normal rules.
55150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55153         operation.
55154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55159         Likewise.
55161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55163         [BZ #11979]
55164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55170         * sysdeps/x86_64/addmul_1.S: Likewise.
55171         * sysdeps/x86_64/lshift.S: Likewise.
55172         * sysdeps/x86_64/mul_1.S: Likewise.
55173         * sysdeps/x86_64/rshift.S: Likewise.
55174         * sysdeps/x86_64/sub_n.S: Likewise.
55175         * sysdeps/x86_64/submul_1.S: Likewise.
55177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55180         Define __sched_param instead of SCHED_* and sched_param when
55181         <bits/sched.h> is included with __need_schedparam defined.
55182         * bits/sched.h [__need_schedparam]
55183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55185         (__defined_schedparam): Define to 1.
55186         (__sched_param): New structure, identical to sched_param.
55187         (__need_schedparam): Undefine.
55189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55192         (epoll_create1): Declare.
55194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55198         [BZ #7066]
55199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55200         shifting retval into place.
55202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55204         * nis/rpcsvc/nis.h: Update copyright notice.
55205         * nis/rpcsvc/nis.x: Likewise.
55206         * nis/rpcsvc/nis_callback.h: Likewise.
55207         * nis/rpcsvc/nis_callback.x: Likewise.
55208         * nis/rpcsvc/nis_object.x: Likewise.
55209         * nis/rpcsvc/nis_tags.h: Likewise.
55210         * nis/rpcsvc/yp.h: Likewise.
55211         * nis/rpcsvc/yp.x: Likewise.
55212         * nis/rpcsvc/ypupd.h: Likewise.
55213         * nis/yp_xdr.c: Likewise.
55214         * nis/ypupdate_xdr.c: Likewise.
55216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55218         (pmap_getport): Use __libc_rpc_getport.
55219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55226         fanotify_mark.
55228 2010-08-27  Roland McGrath  <roland@redhat.com>
55230         * sysdeps/i386/i686/multiarch/Makefile
55231         (CFLAGS-varshift.c): New variable.
55233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55244         * sysdeps/x86_64/strlen.S: Unroll the loop.
55245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55246         strlen-sse2 strlen-sse2-bsf.
55247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55248         __strlen_no_bsf if bit_Slow_BSF is set.
55249         (__strlen_sse42): Removed.
55250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55253 2010-08-25  Roland McGrath  <roland@redhat.com>
55255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55256         * sysdeps/x86_64/multiarch/varshift.c: New file.
55257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55265         strlen-sse2 strlen-sse2-bsf.
55266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55268         (__strlen_sse2): Removed.
55269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55272         bit_Slow_BSF for Atom.
55273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55274         (index_Slow_BSF): Define.
55275         (HAS_SLOW_BSF): Define.
55277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55279         [BZ #10851]
55280         * resolv/res_init.c (__res_vinit): When no server address at all
55281         is given default to loopback.
55283 2010-08-24  Roland McGrath  <roland@redhat.com>
55285         * configure.in: Remove config-name.h generation.
55286         * configure: Regenerated.
55287         * config-name.in: File removed.
55288         * scripts/config-uname.sh: New file.
55289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55290         ($(objdir)config-name.h): New target.
55292         * sunrpc/rpc_parse.h: Avoid nested comment.
55294 2010-08-24  Richard Henderson  <rth@redhat.com>
55295             Ulrich Drepper  <drepper@redhat.com>
55296             H.J. Lu  <hongjiu.lu@intel.com>
55298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55302         _mm_alignr_epi8 with _mm_loadu_si128.
55303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55305         (__m128i_shift_right): Removed.
55306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55308         * sysdeps/x86_64/multiarch/varshift.h: New file.
55309         * sysdeps/x86_64/multiarch/varshift.S: New file.
55311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55313         * configure.in: Move assembler checks to before sysdep dir checking.
55315 2010-08-20  Petr Baudis  <pasky@suse.cz>
55317         * LICENSES: Sync the sunrpc license.
55319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55321         * sunrpc/auth_des.c: Update copyright notice once again.
55322         * sunrpc/auth_none.c: Likewise.
55323         * sunrpc/auth_unix.c: Likewise.
55324         * sunrpc/authdes_prot.c: Likewise.
55325         * sunrpc/authuxprot.c: Likewise.
55326         * sunrpc/bindrsvprt.c: Likewise.
55327         * sunrpc/clnt_gen.c: Likewise.
55328         * sunrpc/clnt_perr.c: Likewise.
55329         * sunrpc/clnt_raw.c: Likewise.
55330         * sunrpc/clnt_simp.c: Likewise.
55331         * sunrpc/clnt_tcp.c: Likewise.
55332         * sunrpc/clnt_udp.c: Likewise.
55333         * sunrpc/clnt_unix.c: Likewise.
55334         * sunrpc/des_crypt.c: Likewise.
55335         * sunrpc/des_soft.c: Likewise.
55336         * sunrpc/get_myaddr.c: Likewise.
55337         * sunrpc/getrpcport.c: Likewise.
55338         * sunrpc/key_call.c: Likewise.
55339         * sunrpc/key_prot.c: Likewise.
55340         * sunrpc/openchild.c: Likewise.
55341         * sunrpc/pm_getmaps.c: Likewise.
55342         * sunrpc/pm_getport.c: Likewise.
55343         * sunrpc/pmap_clnt.c: Likewise.
55344         * sunrpc/pmap_prot.c: Likewise.
55345         * sunrpc/pmap_prot2.c: Likewise.
55346         * sunrpc/pmap_rmt.c: Likewise.
55347         * sunrpc/rpc/auth.h: Likewise.
55348         * sunrpc/rpc/auth_unix.h: Likewise.
55349         * sunrpc/rpc/clnt.h: Likewise.
55350         * sunrpc/rpc/des_crypt.h: Likewise.
55351         * sunrpc/rpc/key_prot.h: Likewise.
55352         * sunrpc/rpc/netdb.h: Likewise.
55353         * sunrpc/rpc/pmap_clnt.h: Likewise.
55354         * sunrpc/rpc/pmap_prot.h: Likewise.
55355         * sunrpc/rpc/pmap_rmt.h: Likewise.
55356         * sunrpc/rpc/rpc.h: Likewise.
55357         * sunrpc/rpc/rpc_des.h: Likewise.
55358         * sunrpc/rpc/rpc_msg.h: Likewise.
55359         * sunrpc/rpc/svc.h: Likewise.
55360         * sunrpc/rpc/svc_auth.h: Likewise.
55361         * sunrpc/rpc/types.h: Likewise.
55362         * sunrpc/rpc/xdr.h: Likewise.
55363         * sunrpc/rpc_clntout.c: Likewise.
55364         * sunrpc/rpc_cmsg.c: Likewise.
55365         * sunrpc/rpc_common.c: Likewise.
55366         * sunrpc/rpc_cout.c: Likewise.
55367         * sunrpc/rpc_dtable.c: Likewise.
55368         * sunrpc/rpc_hout.c: Likewise.
55369         * sunrpc/rpc_main.c: Likewise.
55370         * sunrpc/rpc_parse.c: Likewise.
55371         * sunrpc/rpc_parse.h: Likewise.
55372         * sunrpc/rpc_prot.c: Likewise.
55373         * sunrpc/rpc_sample.c: Likewise.
55374         * sunrpc/rpc_scan.c: Likewise.
55375         * sunrpc/rpc_scan.h: Likewise.
55376         * sunrpc/rpc_svcout.c: Likewise.
55377         * sunrpc/rpc_tblout.c: Likewise.
55378         * sunrpc/rpc_util.c: Likewise.
55379         * sunrpc/rpc_util.h: Likewise.
55380         * sunrpc/rpcinfo.c: Likewise.
55381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55382         * sunrpc/rpcsvc/key_prot.x: Likewise.
55383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55384         * sunrpc/rpcsvc/mount.x: Likewise.
55385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55387         * sunrpc/rpcsvc/rex.x: Likewise.
55388         * sunrpc/rpcsvc/rstat.x: Likewise.
55389         * sunrpc/rpcsvc/rusers.x: Likewise.
55390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55391         * sunrpc/rpcsvc/spray.x: Likewise.
55392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55393         * sunrpc/rtime.c: Likewise.
55394         * sunrpc/svc.c: Likewise.
55395         * sunrpc/svc_auth.c: Likewise.
55396         * sunrpc/svc_authux.c: Likewise.
55397         * sunrpc/svc_raw.c: Likewise.
55398         * sunrpc/svc_run.c: Likewise.
55399         * sunrpc/svc_simple.c: Likewise.
55400         * sunrpc/svc_tcp.c: Likewise.
55401         * sunrpc/svc_udp.c: Likewise.
55402         * sunrpc/svc_unix.c: Likewise.
55403         * sunrpc/svcauth_des.c: Likewise.
55404         * sunrpc/xcrypt.c: Likewise.
55405         * sunrpc/xdr.c: Likewise.
55406         * sunrpc/xdr_array.c: Likewise.
55407         * sunrpc/xdr_float.c: Likewise.
55408         * sunrpc/xdr_mem.c: Likewise.
55409         * sunrpc/xdr_rec.c: Likewise.
55410         * sunrpc/xdr_ref.c: Likewise.
55411         * sunrpc/xdr_sizeof.c: Likewise.
55412         * sunrpc/xdr_stdio.c: Likewise.
55414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55415         handling.
55417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55438 2010-07-26  Anton Blanchard  <anton@samba.org>
55440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55441         * malloc/arena.c (heap_trim): Likewise.
55443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55446         here.  Not...
55447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55452         * sysdeps/i386/elf/Makefile: New file.
55454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55457         from fanotify_init.
55458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55464         of strncasecmp_l.
55465         * sysdeps/multiarch/strcmp.S: Likewise.
55467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55470         strncase_l-nonascii.
55471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55472         Add strncase_l-ssse3.
55473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55474         * sysdeps/x86_64/strcmp.S: Likewise.
55475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55477         * sysdeps/x86_64/strncase.S: New file.
55478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55479         * sysdeps/x86_64/strncase_l.S: New file.
55480         * string/Makefile (strop-tests): Add strncasecmp.
55481         * string/test-strncasecmp.c: New file.
55483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55484         warning.
55486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55499 2010-05-01  Alan Modra  <amodra@gmail.com>
55501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55506         tidying.  Don't tail-call __sigjmp_save for static lib.
55507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55508         save location.
55509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55510         (CALL_MCOUNT): Add eh info, and nop after bl.
55511         (TAIL_CALL_SYSCALL_ERROR): New macro.
55512         (PSEUDO_RET): Use it.
55513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55514         Correct save location of integer regs and cr.
55515         (_dl_profile_resolve): Correct cr save location.  Delete nops
55516         after bl when SHARED.  Reduce cfi size a little by better
55517         placement of cfi directives.
55518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55519         make a stack frame.  Instead use parm save area as a temp.
55520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55523         Don't make a stack frame for parent, use parm save area.
55524         Increase child stack frame to 112 bytes.  Don't save unused reg,
55525         and adjust reg usage.  Set up cfi on error recovery and
55526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55528         (__makecontext): Add dummy nop after jump to exit.
55529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55530         Use correct parm save area and cr save, reduce stack frame.
55531         Correct cfi for possible PSEUDO_RET frame setup.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55533         Branch to local label emitted by PSEUDO_RET rather than
55534         __syscall_error.
55536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55538         [BZ #11904]
55539         * locale/programs/locale.c (print_assignment): New function.
55540         (show_locale_vars): Use it.
55542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55545         field.
55546         (struct statfs64): Likewise.
55547         (_STATFS_F_FLAGS): Define.
55548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55551         (ST_VALID): Define locally.
55552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55553         __statvfs_getflags, use the provided value.
55554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55555         __ASSUME_STATFS_F_FLAGS.
55557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55560         Add sys/fanotify.h.
55561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55562         fanotify_mask for GLIBC_2.13.
55563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55564         fanotify_init and fanotify_mark.
55565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55569         Add prlimit.
55570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55571         prlimit64 for GLIBC_2.13.
55572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55573         prlimit64.
55574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55575         syscall.
55576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55581         add prlimit alias.
55582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55584         [BZ #11903]
55585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55588         * nss/Makefile: Add rules to build and run tst-nss-test1.
55589         * shlib-versions: Add entry for libnss_test1.
55590         * nss/nss_test1.c: New file.
55591         * nss/tst-nss-test1.c: New file.
55593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55594         (__nss_configure_lookup): Set appropriate entry in
55595         __nss_configure_lookup to true.
55596         * nss/nsswitch.h: Define enum with indeces of databases in
55597         databases and __nss_database_custom arrays.  Declare
55598         __nss_database_custom.
55599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55600         to avoid using nscd when custom rules are installed.
55601         * nss/getXXbyYY_r.c: Likewise.
55602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55604         * nss/nss_files/files-parse.c: Whitespace fixes.
55606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55608         [BZ #11883]
55609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55610         * posix/fnmatch_loop.c: Likewise.
55612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55617         * Versions.def [GLIBC_2.13]: Add.
55619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55622         Also fail if tpwd after pwuid call is NULL.
55624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55627         when converting to ms.
55629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55632         EOPNOTSUPP errors with ENOTTY.
55633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55634         EOPNOTSUPP errors with ENOTTY.
55636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55639         Add strcasecmp_l-ssse3.
55640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55641         strcasecmp.
55642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55650         * string/Makefile (strop-tests): Add strcasecmp.
55651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55652         strcasecmp_l-nonascii.
55653         (gen-as-const-headers): Add locale-defines.sym.
55654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55655         * sysdeps/x86_64/strcasecmp.S: New file.
55656         * sysdeps/x86_64/strcasecmp_l.S: New file.
55657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55658         * sysdeps/x86_64/locale-defines.sym: New file.
55659         * string/test-strcasecmp.c: New file.
55661         * string/test-strcasestr.c: Test both ends of the range of characters.
55662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55664 2010-07-29  Roland McGrath  <roland@redhat.com>
55666         [BZ #11856]
55667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55672         for ld.so.
55674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55676         * manual/memory.texi (Malloc Tunable Parameters): Document
55677         M_PERTURB.
55679 2010-07-26  Roland McGrath  <roland@redhat.com>
55681         [BZ #11840]
55682         * configure.in (-fgnu89-inline check): Set and substitute
55683         gnu89_inline, not libc_cv_gnu89_inline.
55684         * configure: Regenerated.
55685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55689         * string/test-strnlen.c: New file.
55690         * string/Makefile (strop-tests): Add strnlen.
55691         * string/tester.c (test_strnlen): Add a few more test cases.
55692         * string/tst-strlen.c: Better error reporting.
55694         * sysdeps/x86_64/strnlen.S: New file.
55696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55699         lower-latency instructions.
55701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55703         * string/test-strcasestr.c: New file.
55704         * string/test-strstr.c: New file.
55705         * string/Makefile (strop-tests): Add strstr and strcasestr.
55706         * string/str-two-way.h: Don't undefine MAX.
55707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55712         strcasestr-nonascii.
55713         (CFLAGS-strcasestr-nonascii.c): Define.
55714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55716         Remove unused attribute.
55718 2010-07-20  Roland McGrath  <roland@redhat.com>
55720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55723         like LD_HWCAP_MASK can disable hwcaps.
55725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55732         call in strcasestr.
55733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55734         __strcasestr_sse42_nonascii.
55735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55736         strcasestr-nonascii.c.
55737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55749         fcntl.
55751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55753         [BZ #11577]
55754         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55755         dl_signal_cerror.
55757 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55760         _PC_PIPE_BUF using F_GETPIPE_SZ.
55762 2010-07-05  Roland McGrath  <roland@redhat.com>
55764         * manual/arith.texi (Rounding Functions): Fix rint description
55765         implicit in round description.
55767 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55769         * elf/Makefile: Fix linking for a few tests to make recent linker
55770         happy.
55772 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55774         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55775         $(common-objpfx)libc_nonshared.a.
55777 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55779         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55780         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55781         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55782         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55783         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55786         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55801         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55802         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55803         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55804         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55805         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55806         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55807         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55808         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55809         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55810         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55811         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55812         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55828 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55830         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55831         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55832         * string/memmove.c (memmove): Renamed to ...
55833         (MEMMOVE): ...this.  Default to memmove.
55834         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55835         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55836         (END_CHK): Define.
55837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55838         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55839         mempcpy-ssse3-back memmove-ssse3-back.
55840         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55843         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55844         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55845         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55846         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55847         * sysdeps/x86_64/multiarch/memmove.c: New file.
55848         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55849         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55850         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55851         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55854         Define.
55855         (index_Fast_Copy_Backward): Define.
55856         (HAS_ARCH_FEATURE): Define.
55857         (HAS_FAST_REP_STRING): Define.
55858         (HAS_FAST_COPY_BACKWARD): Define.
55860 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55863         Restore proper fallback handling.
55865 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55867         [BZ #11701]
55868         * posix/group_member.c (__group_member): Correct checking loop.
55870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55871         OOM in getpwuid_r correctly.  Return error number when the caller
55872         should return, otherwise -1.
55873         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55874         call returning > 0 value.
55875         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55877 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55879         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55880         libc_nonshared.a from targets in modules-names.
55882 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55884         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55885         requires it.
55887 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55894 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55896         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55898 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55900         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55901         and F_GETPIPE_SZ.
55902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55909 2010-06-14  Roland McGrath  <roland@redhat.com>
55911         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55913 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55915         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55916         __REDIRECT followed by __THROW.
55917         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55918         * posix/getopt.h (getopt): Likewise.
55920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55922         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55923         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55924         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55925         in AT_FLAGS.
55926         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55927         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55929 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55933 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55935         [BZ #11640]
55936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55937         Properly check family and model.
55939 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55943 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55945         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55947 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55949         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55950         symbol reference.
55952 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55954         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55955         symbol reference.
55957 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55960         and internal_recvmmsg.
55961         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55964         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55966         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55967         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55968         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55970 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55972         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55974 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55976         POWER7 optimizations.
55977         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55978         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55980 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55982         * version.h: Update for 2.13 development version.
55984 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55986         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55987         exceptions.  Return 0.
55989 2010-05-07  Roland McGrath  <roland@redhat.com>
55991         * elf/ldconfig.c (main): Add a const.
55993 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55995         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55996         (args_options): Add no-idn option.
55997         (ahosts_keys_int): Add idn_flags to ai_flags.
55998         (parse_option): Handle 'i' option to clear idn_flags.
56000         * malloc/malloc.c (_int_free): Possible race in the most recently
56001         added check.  Only act on the data if no current modification
56002         happened.
56004 See ChangeLog.17 for earlier changes.